You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dave (JIRA)" <de...@myfaces.apache.org> on 2005/12/16 00:40:45 UTC
[jira] Created: (MYFACES-954) does not work inside
<commandButton> does not work inside <dataList>
-----------------------------------------------
Key: MYFACES-954
URL: http://issues.apache.org/jira/browse/MYFACES-954
Project: MyFaces
Type: Bug
Components: Tomahawk
Versions: Nightly
Environment: Windows XP, JBoss 4.0.3 SP1
Reporter: Dave
<commandButton> or <commandLink> inside a <dataList> does not work. Its action listener and action binding method were not called.
<t:dataList
styleClass="standardList"
var="x"
value="#{bean.list}"
layout="simple"
rowCountVar="rowCount"
rowIndexVar="rowIndex">
<h:commandButton value="#{x.name}"
actionListener="#{bean.listener}"
action="#{bean.go}"/>
</t:dataList>
--
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] Commented: (MYFACES-954) does not work inside
Posted by "Dennis Byrne (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-954?page=comments#action_12361708 ]
Dennis Byrne commented on MYFACES-954:
--------------------------------------
Hello Mike,
Yes, the problem is not in commandButton or commandLink. Thanks.
> <commandButton> does not work inside <dataList>
> -----------------------------------------------
>
> Key: MYFACES-954
> URL: http://issues.apache.org/jira/browse/MYFACES-954
> Project: MyFaces
> Type: Bug
> Components: Tomahawk
> Versions: Nightly
> Environment: Windows XP, JBoss 4.0.3 SP1
> Reporter: Dave
>
> <commandButton> or <commandLink> inside a <dataList> does not work. Its action listener and action binding method were not called.
>
> <t:dataList
> styleClass="standardList"
> var="x"
> value="#{bean.list}"
> layout="simple"
> rowCountVar="rowCount"
> rowIndexVar="rowIndex">
> <h:commandButton value="#{x.name}"
> actionListener="#{bean.listener}"
> action="#{bean.go}"/>
>
> </t:dataList>
--
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] Commented: (MYFACES-954) does not work inside
Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-954?page=comments#action_12361644 ]
Mike Kienenberger commented on MYFACES-954:
-------------------------------------------
Dennis,
I also flagged MYFACES-853 as a potential duplicate of this issue yesterday, but I didn't have time to investigate it in detail.
Shall I go ahead and mark this issue as a duplicate of MYFACES-853?
> <commandButton> does not work inside <dataList>
> -----------------------------------------------
>
> Key: MYFACES-954
> URL: http://issues.apache.org/jira/browse/MYFACES-954
> Project: MyFaces
> Type: Bug
> Components: Tomahawk
> Versions: Nightly
> Environment: Windows XP, JBoss 4.0.3 SP1
> Reporter: Dave
>
> <commandButton> or <commandLink> inside a <dataList> does not work. Its action listener and action binding method were not called.
>
> <t:dataList
> styleClass="standardList"
> var="x"
> value="#{bean.list}"
> layout="simple"
> rowCountVar="rowCount"
> rowIndexVar="rowIndex">
> <h:commandButton value="#{x.name}"
> actionListener="#{bean.listener}"
> action="#{bean.go}"/>
>
> </t:dataList>
--
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-954) does not work inside
Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-954?page=all ]
Mike Kienenberger reopened MYFACES-954:
---------------------------------------
On 1/2/06, Dennis Byrne <de...@dbyrne.net> wrote:
> Can you reopen this and mark it as 'in progress' ? I have the same problem as Dave does ;) All I know at this point is that the events for dataList children stopped firing somewhere between the 1.1.1 release and at least as early as december 10 . I'll try to get a patch in there in week or two.
> <commandButton> does not work inside <dataList>
> -----------------------------------------------
>
> Key: MYFACES-954
> URL: http://issues.apache.org/jira/browse/MYFACES-954
> Project: MyFaces
> Type: Bug
> Components: Tomahawk
> Versions: Nightly
> Environment: Windows XP, JBoss 4.0.3 SP1
> Reporter: Dave
>
> <commandButton> or <commandLink> inside a <dataList> does not work. Its action listener and action binding method were not called.
>
> <t:dataList
> styleClass="standardList"
> var="x"
> value="#{bean.list}"
> layout="simple"
> rowCountVar="rowCount"
> rowIndexVar="rowIndex">
> <h:commandButton value="#{x.name}"
> actionListener="#{bean.listener}"
> action="#{bean.go}"/>
>
> </t:dataList>
--
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-954) does not work inside
Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-954?page=all ]
Mike Kienenberger closed MYFACES-954:
-------------------------------------
Resolution: Duplicate
Duplicate of MYFACES-853
> <commandButton> does not work inside <dataList>
> -----------------------------------------------
>
> Key: MYFACES-954
> URL: http://issues.apache.org/jira/browse/MYFACES-954
> Project: MyFaces
> Type: Bug
> Components: Tomahawk
> Versions: Nightly
> Environment: Windows XP, JBoss 4.0.3 SP1
> Reporter: Dave
>
> <commandButton> or <commandLink> inside a <dataList> does not work. Its action listener and action binding method were not called.
>
> <t:dataList
> styleClass="standardList"
> var="x"
> value="#{bean.list}"
> layout="simple"
> rowCountVar="rowCount"
> rowIndexVar="rowIndex">
> <h:commandButton value="#{x.name}"
> actionListener="#{bean.listener}"
> action="#{bean.go}"/>
>
> </t:dataList>
--
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-954) does not work inside
Posted by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-954?page=all ]
Mike Kienenberger closed MYFACES-954:
-------------------------------------
Resolution: Invalid
Unlikely to be a bug in dataList. I'm using the latest MyFaces with nearly identical code and it works fine for my application.
You're probably using a request-scoped bean or bean.list is empty on resubmit.
Try using t:saveState on your bean or setting your bean to be session-scoped.
I recommend asking on the mailing list first before opening a JIRA whenever you think you find a major bug that would have affected many users to verify it's a bug. The exception is when you've shown that it's a regression (it worked in another version of MyFaces but the same code doesn't work in the current version).
> <commandButton> does not work inside <dataList>
> -----------------------------------------------
>
> Key: MYFACES-954
> URL: http://issues.apache.org/jira/browse/MYFACES-954
> Project: MyFaces
> Type: Bug
> Components: Tomahawk
> Versions: Nightly
> Environment: Windows XP, JBoss 4.0.3 SP1
> Reporter: Dave
>
> <commandButton> or <commandLink> inside a <dataList> does not work. Its action listener and action binding method were not called.
>
> <t:dataList
> styleClass="standardList"
> var="x"
> value="#{bean.list}"
> layout="simple"
> rowCountVar="rowCount"
> rowIndexVar="rowIndex">
> <h:commandButton value="#{x.name}"
> actionListener="#{bean.listener}"
> action="#{bean.go}"/>
>
> </t:dataList>
--
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