Still looking for help on this please...
 
> From: zy...@hotmail.com
> To: user@struts.apache.org
> Subject: sj:grid --- action errors and highlight the row/row cell that failed 
> validation
> Date: Fri, 18 Sep 2015 16:17:33 -0400
> 
>  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