[
http://www.stripesframework.org/jira/browse/STS-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Fennell resolved STS-307.
-----------------------------
Resolution: Not a Bug
Assignee: Tim Fennell
This is all doable today, as Andy suggested the beans' are in the request under
their URLs. That doesn't make them easy to use on the page, but you can always
do:
<s:useBean beanclass="com.foo.MyBeanOne" var="BeanOne"/>
<s:useBean beanclass="com.foo.MyBeanTwo" var="BeanTwo"/>
Bean one says ${BeanOne.say} but bean two says ${BeanTwo.say}
The Stripes tags for the most part just take whatever inputs they're given -
anything inside ${} is EL the container processed. The Stripes' form/input
tags cannot be used outside a form, but all other tags can.
> Remove dependancy on "actionBean" request attribute
> ---------------------------------------------------
>
> Key: STS-307
> URL: http://www.stripesframework.org/jira/browse/STS-307
> Project: Stripes
> Issue Type: New Feature
> Components: ActionBean Dispatching
> Reporter: Frank Das
> Assignee: Tim Fennell
>
> There doesn't seem to be a way of naming an action bean in the request
> attribute. They are all called "actionBean". It would be nice if Stripes had
> a new annotation that allowed you to name the request attribute you wanted to
> use to store the action bean in. Also, add an optional attribute to Stripes
> tags to allow you to specify an action bean name. The advantages of doing so
> are:
> - The controller becomes optionally decoupled from the view. This allows me
> to mix technologies. eg. Use Stripes only as a controller or only as a taglib.
> - Multiple forms can be associated with a single screen.
> - Allowing a bean name attribute on the tags would make it easier to migrate
> from Struts.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development