WebApplication Struts2.3 + Strtuts Jquery plugin 3.3.1 for asynch. operations.
There is a main page with 50 fields text, this is prevalued in init function, ok.
This all fields are inside a FORM for submit action, the final operation.
It is normally.
In the middle of operations I want async. refresh a single textfield Ty value whith jquery plugin tags.
The async. request (sj:submit or sj:a ) has as parameter the instaneous value of anothet texrt field Tx.
I want refresh the value, not hidden/appears. After change on Tx field Ty value appears A, before B.
I suppose it is necessary another FORM for asynch submit Tx value.
the questions :
1. the Strus Result type for async. what is ? dispatcher jsp ? json ?
2. refresh in main jsp. I must define a DIV section with FIELDTEXT inside and target the Id DIV ?
or is possible target the id <s:fieldtext name="Ty" id="Ty" > ?
3. Tha Struts action. IT must contains the Ty property. Depends of result type I suppose.
4. Is it possibile annidate FORM asyn inside synch FORM ?