[ http://mc4j.org/jira/browse/STS-129?page=all ]

Tim Fennell resolved STS-129.
-----------------------------

    Resolution: Fixed

#3 has been done for a while - the attribute is called 'beanclass'.

Three new attributes have been introduced:
  validate: run all applicable validations including custom validation methods
  alwaysExecuteEvent: force the event handler to be executed in all 
circumstances
  executeResolution: to execute whatever resolution is returned by the bean

> Enhancements to stripes:useActionBean tag
> -----------------------------------------
>
>                 Key: STS-129
>                 URL: http://mc4j.org/jira/browse/STS-129
>             Project: Stripes
>          Issue Type: Improvement
>          Components: Tag Library
>            Reporter: Tim Fennell
>         Assigned To: Tim Fennell
>             Fix For: Release 1.4
>
>
> There are several things that could be done to make the stripes:useActionBean 
> tag more useful.
> 1. Ability to have more control over whether the handler method is executed 
> or not.  Right now the logic is simply: if the bean gets instantiated then 
> the method is executed, and if the bean was already there then the method is 
> not executed.  This probably works for 80% of the cases, but it would be nice 
> to be able to have more explicit control over this.  E.g.
>     <stripes:useActionBean binding="/foo/Bar.action" event="view" 
> invoke="always"/>
> 2. Ability to do something with the resolution returned by the ActionBean.  
> This would essentially allow the use of ActionBeans as components in pages.  
> You could call the useActionBean tag to render a component of a page.  It'd 
> get a bit tricky though because in a page you probably wouldn't want to 
> execute a Redirect/ForwardResolution .... so would those be forbidden in this 
> case?  Or translated into includes? This would require some more thought.
> 3. Ability to specify the ActionBean by class name as well as URL Binding.  
> The binding is generally more compact, but some IDEs will be better an 
> completing class names and spotting typos in class names.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to