Re: Looping in JSF?

2006-06-22 Thread Anders W. Tell
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

Re: Looping in JSF?

2006-06-22 Thread Bruno Aranda
Maybe this is due to the fact that you have a java attribute names not following the convetions (ID), that can provoke problems when using reflection. Can you try to use this and see what happens? f:attribute name=actionID value=#{action.iD}/ (note the i of iD is lower case) To see if this is

Re: Looping in JSF?

2006-06-22 Thread Anders W. Tell
Hi, Youre probably right. I fixed it in another way where I skipped the attribute and hooked in the actionExecutionListener() to the Action object and kept the wizard.actionExecution() thanks anyway for your kind help! /anders Bruno Aranda wrote: Maybe this is due to the fact that you have

RE: Looping in JSF?

2006-06-21 Thread Julian Ray
I'm no expert on EL but what you are describing sounds like a good candidate for a custom component. -Original Message- From: Anders W. Tell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 11:05 AM To: MyFaces Discussion Subject: Looping in JSF? Hi, I want to create list of

Re: Looping in JSF?

2006-06-21 Thread Bruno Aranda
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

Re: Looping in JSF?

2006-06-21 Thread ::SammyRulez::
using facelets you can use also c:foreach but I think that you can do everithing also with t:datatable 2006/6/21, Bruno Aranda [EMAIL PROTECTED]: Hi, have you tried the t:dataList [1] component in tomahawk? I guess it does what you need... Regards, Bruno [1]

Re: Looping in JSF?

2006-06-21 Thread Andrew Robinson
data list should be your friend. With layout=simple there are no HTML tags added, only the contents of the list. It has index and max count properties as well that make it easy to work with. On 6/21/06, ::SammyRulez:: [EMAIL PROTECTED] wrote: using facelets you can use also c:foreach but I