You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Byrne (JIRA)" <de...@myfaces.apache.org> on 2006/02/16 03:15:00 UTC
[jira] Created: (MYFACES-1127) Non-null return types allowed for
@actionListener
Non-null return types allowed for @actionListener
-------------------------------------------------
Key: MYFACES-1127
URL: http://issues.apache.org/jira/browse/MYFACES-1127
Project: MyFaces
Type: Bug
Components: Implementation
Versions: 1.1.1
Environment: servlet 2.4 , tomcat 5.5.9, JSP 2.0
Reporter: Dennis Byrne
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
[jira] Reopened: (MYFACES-1127) Non-null return types allowed for
@actionListener
Posted by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org>.
[ 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
[jira] Closed: (MYFACES-1127) Non-null return types allowed for
@actionListener
Posted by "Dennis Byrne (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-1127?page=all ]
Dennis Byrne closed MYFACES-1127:
---------------------------------
Fix Version: Nightly
Resolution: Fixed
Fixed for valueChangeListener as well
> Non-null return types allowed for @actionListener
> -------------------------------------------------
>
> Key: MYFACES-1127
> URL: http://issues.apache.org/jira/browse/MYFACES-1127
> Project: MyFaces
> Type: Bug
> Components: Implementation
> Versions: 1.1.1
> Environment: servlet 2.4 , tomcat 5.5.9, JSP 2.0
> Reporter: Dennis Byrne
> Assignee: Dennis Byrne
> Fix For: Nightly
>
> 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