Trying to display action errors when trying to save a row in a <sj:grid>  .... 
Is there an example I can follow?
 

Followed 

https://code.google.com/p/struts2-jquery/wiki/EditGrid  ---- Simple Edit  ---- 
and wrote validate method which is returning the action errors.
 

1. How should be the struts.xml configured?  as success return type is json, 
what should it be for input?
 
                <action name="editResultsAJAXAction" 
class="xxx.EditAddEmpGridEntryAction">

                         <result name="success" type="json"></result>

                        <result name="error" type="json"></result>

                        <result name="input">/jsp/createFidAddCas.jsp</result>

                </action>
 
 
2. how to display these action errors and how to highlight the column cell in 
the grid that's not valid. 
 
 

Need help with this please.
                                          

Reply via email to