Hello ,

I am trying to get the textfield list working (in parallel to the check
boxes) but couldn't ??
the function I set to be called is never called after the submit.
I know that the values in the textfiels are sent, and the setter function
for the Checkboxes (setConfigs) is called but not the function for the
textfields (setConfigsList) ??? I assument that this setter should have
String[] for argument as well ?

can you please explain what this function look like in order to be invoked ?

 thank you 

<s:iterator value="configsList" status="confStatus">
   <s:checkbox name="configs"  fieldValue="%{name}" />
   <s:textfield name="configsList[%{#confStatus.index}].value"
value="%{value}"  />
</s:iterator>




Roger Varley wrote:
> 
> On Friday 12 September 2008 16:18:02 Jeromy Evans wrote:
> 
>>
>> In the last line, did you confirm that count has the correct value?
>> What if the list is empty? (in that case count has never been set)
>>
> <s:iterator ........ >
> </s:iterator>
> <s:if test = "%{count}"/>
> <s:else>
> <s:set name="count" value="0"/>
> </s:else>
> 
> seems to take of things nicely :-) Thanks for your help.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Indexed-Lists-tp19455272p21148710.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to