google-code-export / activeweb Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/activeweb
Automatically exported from code.google.com/p/activeweb
so that we can write: ${app_context.blah} in view to access various objects
Original issue reported on code.google.com by [email protected]
on 17 May 2011 at 5:29
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 reported on code.google.com by [email protected]
on 4 May 2011 at 5:49
this is because the initialization is client code, and it needs to fail the app
if it itself fails
Original issue reported on code.google.com by [email protected]
on 24 May 2011 at 1:49
needs to log the method that is invoked, because log coming out of AW only
lists the "index" method
Original issue reported on code.google.com by [email protected]
on 4 May 2011 at 2:30
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 reported on code.google.com by [email protected]
on 8 Aug 2011 at 6:42
this needs to be dome in HttpSupport, as well as testing framework
Original issue reported on code.google.com by [email protected]
on 28 May 2011 at 3:12
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 reported on code.google.com by [email protected]
on 27 Jul 2011 at 9:25
Create a simple GWT integration example app
Original issue reported on code.google.com by [email protected]
on 24 May 2011 at 2:06
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 reported on code.google.com by [email protected]
on 21 Apr 2011 at 4:14
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 reported on code.google.com by [email protected]
on 10 Jul 2011 at 4:36
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 reported on code.google.com by [email protected]
on 8 May 2011 at 12:54
Prevent view(), assign(), render(), redirect(), etc. inside
ControllerFilter.after() this is because the controller already
rendered.
Original issue reported on code.google.com by [email protected]
on 16 Apr 2011 at 6:03
this will be called when the app goes down - with server or being undeployed
Original issue reported on code.google.com by [email protected]
on 7 May 2011 at 1:20
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 reported on code.google.com by [email protected]
on 1 Jun 2011 at 5:45
this is to improve testing
Original issue reported on code.google.com by [email protected]
on 6 Jun 2011 at 5:33
this is during tests, needs to be pre-pended so that the path() looked the same
during the test as during runtime.
Original issue reported on code.google.com by [email protected]
on 15 Apr 2011 at 11:19
Implement FreeMarker exception handler
Original issue reported on code.google.com by [email protected]
on 16 Apr 2011 at 6:02
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 reported on code.google.com by [email protected]
on 1 Jun 2011 at 5:51
this is to eliminate duplication in DB configurations
Original issue reported on code.google.com by [email protected]
on 9 May 2011 at 2:39
this can be implemented similarly to statistics collection in ActiveJDBC.
Can be done as a global filter: StatisticsFilter
Original issue reported on code.google.com by [email protected]
on 15 Jun 2011 at 4:43
Develop Maven archetype for ActiveWeb
Original issue reported on code.google.com by [email protected]
on 25 Mar 2011 at 3:16
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 reported on code.google.com by [email protected]
on 4 May 2011 at 10:46
this:
WARN YieldTag - Failed to find content for:...
is annoying, of some pages are not sending content_for
Original issue reported on code.google.com by [email protected]
on 26 May 2011 at 4:08
change log level to debug
Original issue reported on code.google.com by [email protected]
on 4 May 2011 at 10:43
currently it returns 500:
[INFO] Caused by: java.lang.NoSuchMethodException:
app.controllers.TemplateController.show()
[INFO] at java.lang.Class.getMethod(Class.java:1581)
[INFO] at activeweb.ControllerRunner.executeAction(ControllerRunner.java:204)
Original issue reported on code.google.com by [email protected]
on 10 May 2011 at 1:33
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 reported on code.google.com by [email protected]
on 17 Jun 2011 at 5:30
this breaks compilation on Windows
Original issue reported on code.google.com by [email protected]
on 6 May 2011 at 12:57
implement addGlobalFilters(new TimingFilter()).except(MyController.class,
BooksController.class, etc.);
Original issue reported on code.google.com by [email protected]
on 16 Apr 2011 at 6:02
refresh packages on each request if active_reload is set to true
Original issue reported on code.google.com by [email protected]
on 10 Apr 2011 at 10:12
Current message is confusing
Original issue reported on code.google.com by [email protected]
on 27 Jun 2011 at 4:22
this will make init code cleaner
Original issue reported on code.google.com by [email protected]
on 23 May 2011 at 8:56
makes sense to do it on filter rather than baking into the framework
Original issue reported on code.google.com by [email protected]
on 6 May 2011 at 9:10
this is to allow to catch more runtime problems thank with just exceptions
Original issue reported on code.google.com by [email protected]
on 6 Jun 2011 at 8:13
Add a JSP to project, and make that JSP fail, see NPE
Original issue reported on code.google.com by [email protected]
on 18 Apr 2011 at 4:43
this includes before, after and onException methods
Original issue reported on code.google.com by [email protected]
on 28 Apr 2011 at 10:42
this needs to be configurable - boolean argument for a cinstructor:
new DBConnectionFilter("dbname", true) => to manage transaction.
Original issue reported on code.google.com by [email protected]
on 27 Apr 2011 at 4:35
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 reported on code.google.com by [email protected]
on 15 Jul 2011 at 4:03
this will allow for better debugging in environments other than development
Original issue reported on code.google.com by [email protected]
on 6 May 2011 at 4:16
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 reported on code.google.com by [email protected]
on 4 May 2011 at 10:24
this was an oversight in API design
Original issue reported on code.google.com by [email protected]
on 16 May 2011 at 7:29
need to be able to do this:
<#if activeweb.environment = 'development'> ... </#if>
Original issue reported on code.google.com by [email protected]
on 17 May 2011 at 5:38
this needs to happen on setInjector() call
Original issue reported on code.google.com by [email protected]
on 9 May 2011 at 5:31
all the tag names used in the
http://code.google.com/p/activeweb/source/browse/trunk/activeweb/src/main/java/a
ctiveweb/freemarker/FreeMarkerTemplateManager.java
need to be added to Keywords class:
http://code.google.com/p/activeweb/source/browse/trunk/activeweb/src/main/java/a
ctiveweb/KeyWords.java
Original issue reported on code.google.com by [email protected]
on 1 Aug 2011 at 4:56
the system property seems not matching what the framework does
Original issue reported on code.google.com by [email protected]
on 15 Jul 2011 at 3:58
this will allow to save uploaded content to a file.
another version: FormItem.saveTo(File)
Original issue reported on code.google.com by [email protected]
on 25 Apr 2011 at 11:35
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 reported on code.google.com by [email protected]
on 16 Apr 2011 at 6:04
(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 reported on code.google.com by [email protected]
on 16 Apr 2011 at 6:01
http://guides.rubyonrails.org/layouts_and_rendering.html#using-head-to-build-hea
der-only-responses
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
Original issue reported on code.google.com by [email protected]
on 5 May 2011 at 1:29
hard to pass ID to a controller
Original issue reported on code.google.com by [email protected]
on 25 Apr 2011 at 4:11
Add controller and action to TimingFilter info
Original issue reported on code.google.com by [email protected]
on 15 Jun 2011 at 3:24
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.