Hi,

Thanks for the help. Found a followup problem, for some reasons the attributes don't get propagated, below lAID is null in actionExecutionListener?!

       Map lAParams = event.getComponent().getAttributes();
       Object lAID =lAParams.get("actionID");


<t:dataList var="action" value="#{wizard.actions}" layout="simple">
<h:commandButton value="#{action.label}" actionListener="#{wizard.actionExecutionListener}" action="#{wizard.actionExecution}">
  <f:attribute name="actionID" value="#{action.ID}"/>
</h:commandButton>
</t:dataList>

regards
/anders

Bruno Aranda wrote:
Hi, have you tried the t:dataList [1] component in tomahawk? I guess
it does what you need...

Regards,

Bruno

[1] http://myfaces.apache.org/tomahawk/dataList.html

On 6/21/06, Anders W. Tell <[EMAIL PROTECTED]> wrote:
Hi,

I want to create list of commandButtons based on a collection of
ActionObjects. so I want to loop over my collection of this.
But I cant seem to find looping constructs in JSF except from the DataTable.

Does <c:forEach> work or how do I mix it with Java constructs in a JSP file

thanks for any hints
/anders






Reply via email to