Am I writing this correctly?

<s:form action="LocationAddNode" validate="false" id="LocationAddNode"
name="LocationAddNode">
        <s:textfield name="locationNode.location.id"  label="Location Id" 
maxlength="20" />
        <s:action name="FillSelectBoxes" executeResult="true">
                <s:param name="myString" value="Hello" />
                <s:param name="location.id" value="1234" />
        </s:action>
</s:form>

My FillSelectBoxes action only does work in the preparable method.  And
there is a private String myString and private LocationDTO location in this
action.  I only implement preparable

But they are always null.

And suppose I wanted to take locationNode.location.id and use its value
instead of thw "1234", what is the ONGL syntax for that.  I do not really
understand the syntax language very well.  Would I replace "1234" with
"${locationNode.locatio.id}"?

Any ideas?

Thanks,
Justin
-- 
View this message in context: 
http://www.nabble.com/-S2--Action-tag-along-with-param-tag-tp14530331p14530331.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to