Hi,
no, i was thinking about plain text field with only answer text as its
value. But if You want to make xml from some things on your page than
You probably need to use javascript.

Best greetings,
Paweł Wielgus.


2010/7/2 Jawahar Nayak <j...@chambal.com>:
>
> is this "response text " the xml what I talk about my above thread.
>
> I need to make that xml and setting response to and hidden text field. And
> that text is read in Action.
>
> Is this what you suggesting ? To set the xml, I need to do javascript... am
> i getting correct ?
>
>
>
>
> Paweł Wielgus wrote:
>>
>> Hi Jawahar,
>> what i would do is create one html:form's with 3 different response
>> presentation parts, one for every question type.
>> But the submit of such a form can always go to same action and have
>> one field "response". Then in action You can check if this question
>> has predefined answer and if yes select it as a response or if not use
>> a response text from form.
>>
>> Best greetings,
>> Paweł Wielgus.
>>
>> 2010/7/1 Jawahar Nayak <j...@chambal.com>:
>>>
>>> One Solution what I am thinking... I don't know is it possible or not
>>>
>>> - Creating a simple html form
>>> - On submitting, I will make a xml of user response i.e. Options
>>> selected,
>>> and not selected for examle
>>>
>>> <Answer>
>>>    <Description> ... </Description>
>>>    <Options>
>>>          <Option name="Opt1" selected="true"/>
>>>          <Option name="Opt2" selected="false"/>
>>>    </Options>
>>> </Answer>
>>>
>>> then setting this xml string to ResponseActionForm - which have only one
>>> string property.
>>>
>>>
>>> Is it possible ? How to do that ?
>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Mapping-a-dynamic-html-form-with-ActionForm-tp29045058p29045132.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
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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://old.nabble.com/Mapping-a-dynamic-html-form-with-ActionForm-tp29045058p29054947.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
>
>

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

Reply via email to