You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org> on 2006/02/22 19:28:02 UTC

[jira] Reopened: (MYFACES-1127) Non-null return types allowed for @actionListener

     [ http://issues.apache.org/jira/browse/MYFACES-1127?page=all ]
     
Mario Ivankovits reopened MYFACES-1127:
---------------------------------------


current solution didnt work if you reference the *listener through the var= attribute (e.g. within an datatable)

> Non-null return types allowed for @actionListener
> -------------------------------------------------
>
>          Key: MYFACES-1127
>          URL: http://issues.apache.org/jira/browse/MYFACES-1127
>      Project: MyFaces Core
>         Type: Bug
>   Components: General
>     Versions: 1.1.1
>  Environment: servlet 2.4 , tomcat 5.5.9, JSP 2.0
>     Reporter: Dennis Byrne
>     Assignee: Dennis Byrne
>      Fix For: 1.1.2-SNAPSHOT

>
> See section 3.2.1.1 in JSF 1.1 for background.
> This will works, but shouldn't :
> <h:commandButton
> 	immediate="true"
> 	binding="#{backer.clear}"
> 	actionListener="#{backer.clear}" 
> 	value="Clear" />
> public Double clear(ActionEvent event){
> 	log.info("clear ");
> 	return null;
> }

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