[Actionframework-users] Proposals for 0.94
Status: Inactive
Brought to you by:
ptoman
|
From: Petr T. <Pet...@pi...> - 2002-06-19 19:11:06
|
Hello,
I have made the cvs working finally. I hope SF guys make the domain WWW
(vhost) respond correctly soon.
Here's a todo for AS 0.94:
[ ] enable passing of all HTTP parameters (= put everything to Context)
[ ] add ActionServlet.destroyComponent(String componentName) method
[ ] add ActionServlet.getTypeHandler(...) method
[ ] add BaseCompositeHandler + javadoc org.actionframework.th package
[ ] allow <on-exception>s common to all components
[ ] add new <on-new-session> element - allowing 'show-url' redirect
(ensure $SERVLET, $URL and $REQUEST are set before processing it!)
[ ] should newSession() return Object instead of Template?
[ ] implement <pre-condition>s - example:
<pre-condition if="$var" show-template="loggedIn.wm">
<input-variable name="var" component="auth"
value="isLoggedIn()"/>
</pre-condition>
<pre-condition if="!$REQUEST.isSecure()" show-url="https://...">
<pre-condition>s may be defined for:
- all components (inside <components>)
- all action of one component (inside <component>)
- single action (inside <action>)
[ ] allow evaluation of 'show-url' directly, not only via
<output-variable>
[ ] put $REQUEST (of type HttpServletRequest) to Context - like $SERVLET
[ ] enable <property> values like:
<property name="SomeProperty" value="$xyz">
<input-variable name="xyz" component="Comp" value="getValue()"/>
</property>
[ ] enable <template> names containing regexps
[ ] allow invocation of static method of components in <in/out-var>s
[ ] examples configuration + out-of-box ant task for Jetty
I'm saving few other idas for later versions (postprocessing - XSL/VSL,
ActionClient/ActionController architecture, enhancements to THs, better
logging, writing more sophisticated tutorial etc.)
I don't think I will have much time in the following two weeks, but I'm
going to commit two small bugfixes soon (JavaBeansInstantiator and
expiration of templates relict).
Comments are welcome (as always :))
-Petr
--
>>> http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 <<<
|