ATTENTION:
This Github repository has been deprecated. The code has moved to and merged with https://github.com/javalite/javalite
ActiveWeb moved, see below
Home Page: http://javalite.io
ATTENTION:
This Github repository has been deprecated. The code has moved to and merged with https://github.com/javalite/javalite
Original author: [email protected] (May 16, 2011 19:29:57)
this was an oversight in API design
Original issue: http://code.google.com/p/activeweb/issues/detail?id=29
Original author: [email protected] (June 06, 2011 20:13:02)
this is to allow to catch more runtime problems thank with just exceptions
Original issue: http://code.google.com/p/activeweb/issues/detail?id=40
Original author: [email protected] (June 15, 2011 15:24:32)
Add controller and action to TimingFilter info
Original issue: http://code.google.com/p/activeweb/issues/detail?id=41
Original author: [email protected] (April 10, 2011 22:12:27)
refresh packages on each request if active_reload is set to true
Original issue: http://code.google.com/p/activeweb/issues/detail?id=2
Original author: [email protected] (May 09, 2011 05:31:39)
this needs to happen on setInjector() call
Original issue: http://code.google.com/p/activeweb/issues/detail?id=26
Original author: [email protected] (April 27, 2011 04:35:57)
this needs to be configurable - boolean argument for a cinstructor:
new DBConnectionFilter("dbname", true) => to manage transaction.
Original issue: http://code.google.com/p/activeweb/issues/detail?id=13
Original author: [email protected] (May 06, 2011 21:10:52)
makes sense to do it on filter rather than baking into the framework
Original issue: http://code.google.com/p/activeweb/issues/detail?id=23
Original author: [email protected] (March 25, 2011 03:16:36)
Develop Maven archetype for ActiveWeb
Original issue: http://code.google.com/p/activeweb/issues/detail?id=1
Original author: [email protected] (May 24, 2011 01:49:09)
this is because the initialization is client code, and it needs to fail the app if it itself fails
Original issue: http://code.google.com/p/activeweb/issues/detail?id=33
Original author: [email protected] (May 09, 2011 14:39:11)
this is to eliminate duplication in DB configurations
Original issue: http://code.google.com/p/activeweb/issues/detail?id=27
Original author: [email protected] (April 16, 2011 06:01:58)
(09:14:45 PM) [email protected]/102ED2CB: ...I should probably think it over
(09:14:55 PM) [email protected]/102ED2CB: maybe a better solution is necessary
(09:15:13 PM) [email protected]/102ED2CB: something like a FreeMarkerConfig.init() - in tests this needs to be called automatically in cases where integrateViews() is set.
(09:15:21 PM) [email protected]/102ED2CB: where you register all your tags
(09:15:28 PM) [email protected]/102ED2CB: and this is called in SpecHelper
(09:15:31 PM) [email protected]/102ED2CB: always
(09:15:58 PM) [email protected]/102ED2CB: do that you had the same tags available in tests, as at runtime, even if you do not have filters
(09:16:09 PM) [email protected]/102ED2CB: this is because pages can/do have tags
Original issue: http://code.google.com/p/activeweb/issues/detail?id=4
Original author: [email protected] (June 17, 2011 17:30:13)
this conversion should not even take place because java.util.Date is not DB -related.
The fix is to remove conversion all together and throw IllegalArgumentException in case someone sticks java.utul.Date into DB class. The Model class however needs to have friendlier conversion methods
Original issue: http://code.google.com/p/activeweb/issues/detail?id=43
Original author: [email protected] (April 21, 2011 16:14:14)
must look at the x-requested-with=XMLHttpRequest header and render error as is, without layout.
The x-requested-with header is could be in capitalized: X-Requested-With
Original issue: http://code.google.com/p/activeweb/issues/detail?id=10
Original author: [email protected] (August 09, 2011 16:02:32)
dateConverter method should allow to set value to attribute as date
Original issue: http://code.google.com/p/activeweb/issues/detail?id=51
Original author: [email protected] (June 27, 2011 04:22:20)
Current message is confusing
Original issue: http://code.google.com/p/activeweb/issues/detail?id=44
Original author: [email protected] (May 06, 2011 04:16:58)
this will allow for better debugging in environments other than development
Original issue: http://code.google.com/p/activeweb/issues/detail?id=22
Original author: [email protected] (April 18, 2011 16:43:32)
Add a JSP to project, and make that JSP fail, see NPE
Original issue: http://code.google.com/p/activeweb/issues/detail?id=9
Original author: [email protected] (July 15, 2011 15:58:51)
the system property seems not matching what the framework does
Original issue: http://code.google.com/p/activeweb/issues/detail?id=46
Original author: [email protected] (August 12, 2011 13:56:08)
When adding filter for specific action, e.g.
add(new MyFilter()).to(MyController.class).forActions("index");
members of filter are not Guice-injected.
ControllerRegistry, lines 86-91:
for (String key : metaDataMap.keySet()) {
ControllerMetaData controllerMetaData = metaDataMap.get(key);
for (ControllerFilter filter : controllerMetaData.getFilters()) {
injector.injectMembers(filter);
}
}
Here ControllerMetaData returns only filters that are applied to the whole controller. Specific action filters are not returned, hence members for them are not injected.
Original issue: http://code.google.com/p/activeweb/issues/detail?id=54
Original author: [email protected] (April 16, 2011 06:02:45)
implement addGlobalFilters(new TimingFilter()).except(MyController.class, BooksController.class, etc.);
Original issue: http://code.google.com/p/activeweb/issues/detail?id=5
Original author: [email protected] (May 28, 2011 15:12:03)
this needs to be dome in HttpSupport, as well as testing framework
Original issue: http://code.google.com/p/activeweb/issues/detail?id=36
Original author: [email protected] (April 25, 2011 16:11:13)
hard to pass ID to a controller
Original issue: http://code.google.com/p/activeweb/issues/detail?id=11
Original author: [email protected] (May 04, 2011 22:24:18)
activeweb.ControllerLoadException: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
at activeweb.ControllerFactory.getControllerClass(ControllerFactory.java:56)
at activeweb.ControllerFactory.createControllerInstance(ControllerFactory.java:62)
at activeweb.Router.recognize(Router.java:66)
at activeweb.RequestDispatcher.doFilter(RequestDispatcher.java:95)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
Original issue: http://code.google.com/p/activeweb/issues/detail?id=17
Original author: [email protected] (April 16, 2011 06:04:57)
WARN ParamCopy - found 'session' value set by controller. It is reserved by ActiveWeb and will be overwritten
this needs to be investigated, this shows up in logs when session is not set in controller
Original issue: http://code.google.com/p/activeweb/issues/detail?id=8
Original author: [email protected] (May 04, 2011 17:49:00)
If ACTIVE_ENV is set to a value without equivalent in DbConfig, there is an NPE:
activeweb.InitException: failed to create a new instance of class: app.config.AppBootstrap: class java.lang.NullPointerException:null
at java.util.Hashtable.put(Hashtable.java:394)
at java.util.Properties.setProperty(Properties.java:143)
at app.config.DbConfig.getTestingProperties(DbConfig.java:38)
at app.config.DbConfig.init(DbConfig.java:17)
at app.config.AppBootstrap.init(AppBootstrap.java:18)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at java.util.Properties.setProperty(Properties.java:143)
at app.config.DbConfig.getTestingProperties(DbConfig.java:38)
at app.config.DbConfig.init(DbConfig.java:17)
at app.config.AppBootstrap.init(AppBootstrap.java:18)
Truncated. see log file for complete stacktrace
Original issue: http://code.google.com/p/activeweb/issues/detail?id=16
Original author: [email protected] (April 16, 2011 06:02:59)
Implement FreeMarker exception handler
Original issue: http://code.google.com/p/activeweb/issues/detail?id=6
Original author: [email protected] (April 15, 2011 23:19:09)
this is during tests, needs to be pre-pended so that the path() looked the same during the test as during runtime.
Original issue: http://code.google.com/p/activeweb/issues/detail?id=3
Original author: [email protected] (August 12, 2011 01:58:33)
//TODO: use DeepUnwrap to get to the user object
protected Object get(Object name) {
try {
return FreeMarkerTL.getEnvironment().getVariable(name.toString());
} catch (Exception e) {
throw new ViewException(e);
}
}
Original issue: http://code.google.com/p/activeweb/issues/detail?id=53
Original author: [email protected] (May 05, 2011 01:29:27)
http://guides.rubyonrails.org/layouts_and_rendering.html#using-head-to-build-header-only-responses
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
Original issue: http://code.google.com/p/activeweb/issues/detail?id=20
Original author: [email protected] (June 01, 2011 17:45:41)
You can fix it easily, by adding next statements in LinkToTag.java
if(params.get("html_id")!= null){
tf.attribute("id", params.get("html_id").toString());
}
tf.addAttributesExcept(params, "controller", "action", "form", "id", "method",
"query_string", "query_params", "context_path", "destination",
"before", "before_arg", "after", "after_arg", "confirm", "error", "html_id");
(code from FormTag.java)
Original issue: http://code.google.com/p/activeweb/issues/detail?id=37
Original author: [email protected] (May 26, 2011 04:08:20)
this:
WARN YieldTag - Failed to find content for:...
is annoying, of some pages are not sending content_for
Original issue: http://code.google.com/p/activeweb/issues/detail?id=35
Original author: [email protected] (August 08, 2011 18:42:29)
What steps will reproduce the problem?
1.render("activity_content").noLayout(); //this works
2.render("activity_content", new HashMap()).noLayout(); //this all of the sudden breaks with FileNotFound exception
We expect the render(String, Map) to act the same way as render(String) does so if i decide to add a map to my previous render() method then nothing should break.
What version of the product are you using? On what operating system?
1.1
Original issue: http://code.google.com/p/activeweb/issues/detail?id=50
Original author: [email protected] (July 15, 2011 16:03:43)
in some cases, the tested code needs to operate transactions. ActiveWeb default behavior gets in the way, and there is no way to turn it off.
Original issue: http://code.google.com/p/activeweb/issues/detail?id=47
Original author: [email protected] (July 27, 2011 21:25:20)
proposed behavior:
<@flash name="greeting">
This is a greeting for ${user}
</@>
This also expects that the tag would process a body dynamically with interpolation.
Original issue: http://code.google.com/p/activeweb/issues/detail?id=48
Original author: [email protected] (May 24, 2011 02:06:17)
Create a simple GWT integration example app
Original issue: http://code.google.com/p/activeweb/issues/detail?id=34
Original author: [email protected] (June 15, 2011 16:43:39)
this can be implemented similarly to statistics collection in ActiveJDBC.
Can be done as a global filter: StatisticsFilter
Original issue: http://code.google.com/p/activeweb/issues/detail?id=42
Original author: [email protected] (May 07, 2011 01:20:22)
this will be called when the app goes down - with server or being undeployed
Original issue: http://code.google.com/p/activeweb/issues/detail?id=24
Original author: [email protected] (July 10, 2011 04:36:20)
While it is possible to execute any controller/action, it is impossible to
add parameters as a query string
This would be pretty nice:
controller("blah").queryString("name=value&name1=value1")....
Original issue: http://code.google.com/p/activeweb/issues/detail?id=45
Original author: [email protected] (May 04, 2011 02:30:45)
needs to log the method that is invoked, because log coming out of AW only lists the "index" method
Original issue: http://code.google.com/p/activeweb/issues/detail?id=15
Original author: [email protected] (May 23, 2011 20:56:59)
this will make init code cleaner
Original issue: http://code.google.com/p/activeweb/issues/detail?id=32
Original author: [email protected] (August 09, 2011 21:43:01)
sometimes developers forget to call integrateViews(), but then call responseContent(), which returns nothing.
Instead responseContent() needs to return a hard-coded string:
"Please, call integrateViews() to get real content from request"
Original issue: http://code.google.com/p/activeweb/issues/detail?id=52
Original author: [email protected] (May 06, 2011 00:57:35)
this breaks compilation on Windows
Original issue: http://code.google.com/p/activeweb/issues/detail?id=21
Original author: [email protected] (April 28, 2011 22:42:59)
this includes before, after and onException methods
Original issue: http://code.google.com/p/activeweb/issues/detail?id=14
Original author: [email protected] (June 06, 2011 05:33:50)
this is to improve testing
Original issue: http://code.google.com/p/activeweb/issues/detail?id=39
Original author: [email protected] (May 04, 2011 22:46:49)
Add ability to change logging parameters at run time
switch request parameters on/off
switch headers parameters on/off
switch controller execution on/off
switch filter execution on/off
Original issue: http://code.google.com/p/activeweb/issues/detail?id=19
Original author: [email protected] (May 04, 2011 22:43:57)
change log level to debug
Original issue: http://code.google.com/p/activeweb/issues/detail?id=18
Original author: [email protected] (May 08, 2011 12:54:59)
Error message thrown from Router.java:186 is missing a single quote.
184 if (action != null && !(action.equals("new_form") || action.equals("edit_form"))) {
185 throw new IllegalArgumentException("Illegal action name: '" + action +
186 ", allowed names for restful controllers: 'new_form' and 'edit_form'");
187 }
The single quote should be between the double-quote and the comma at the beginning of the line.
"',
Low priority. I realize this is a nit-pick.
Thanks for the great framework!
Phil
Original issue: http://code.google.com/p/activeweb/issues/detail?id=25
Original author: [email protected] (April 25, 2011 23:35:19)
this will allow to save uploaded content to a file.
another version: FormItem.saveTo(File)
Original issue: http://code.google.com/p/activeweb/issues/detail?id=12
Original author: [email protected] (June 01, 2011 17:51:24)
What steps will reproduce the problem?
1.I am using @link_to tag with some destination(ajax call)
2. In controller I do some action and want to render template, where some session variable used, as I see in case of Ajax request session variables are not copied in context(opposite general request). I mean ParamCopy.copyInto((controllerResponse.values())); isn't called
I didn't sure is it issue at all, but I want to hear your oppinion.
I can directly put in view my session object, anyway,
view("sessionAtr", session().get("sessionAttr"));
But I didn't sure is it proper.
Original issue: http://code.google.com/p/activeweb/issues/detail?id=38
Original author: [email protected] (May 17, 2011 17:38:12)
need to be able to do this:
<#if activeweb.environment = 'development'> ... </#if>
Original issue: http://code.google.com/p/activeweb/issues/detail?id=31
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.