As new to Struts 2 I guess this is a simple question for you:

I have an action class (ShowUserAction) with a populated list: private
List<Backend> backendsystems = new LinkedList<Backend>(); 

This action class has the usual public set, get and add methods for the
list.

Among other string fields I want to transfer these list values as hidden in
a form back to the action class:

<s:form action="showUserSave" method="POST">
        ...
        ...
        <s:hidden name="backendsystems"/>
        <s:submit value="Add"/>
</s:form>

And I have made a ShowUserAction-conversion.properties:
Element_backendsystems=Backend

But this does not work! The list is empty in the showUserSave method.

Henrik
-- 
View this message in context: 
http://www.nabble.com/Type-conversion--tp21546300p21546300.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