RE: sj:grid --- action errors and highlight the row/row cell that failed validation
Thank you, for your response. I really appreciate it. I got it working. > From: mgai...@hotmail.com > To: user@struts.apache.org > Subject: RE: sj:grid --- action errors and highlight the row/row cell that > failed validation > Date: Fri, 9 Oct 2015 17:31:15 -0400 > > > > > > > From: zy...@hotmail.com > > To: user@struts.apache.org > > Subject: RE: sj:grid --- action errors and highlight the row/row cell that > > failed validation > > Date: Fri, 9 Oct 2015 15:50:39 -0400 > > > > 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 > > > 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? > MG>one is provided in each sample application > > as success return type is json, what should it be for input? > > > > > >> > class="xxx.EditAddEmpGridEntryAction"> > > > > > > > > > > > > > > > > > > /jsp/createFidAddCas.jsp > MG>you didnt specify default type for package so if type attribute is not > specified, the framework will MG>use the default dispatcher type, which > forwards to another web resource > https://struts.apache.org/docs/result-configuration.html > > > > > > > > > > > > > > > 2. how to display these action errors > class="com.jgeppert.struts2.jquery.richtext.actions.CkeditorUpload"> > name="error">/ckeditor/ckeditorError.ftl > > https://struts.apache.org/docs/result-types.html > > and how to highlight the column cell in the grid that's not valid. > MG>you have to add stylesheet class which contains, font,size and color of > the css stylesheet class to the control in question.. > MG>here is an example of cranking up the font size for tag id="errorElement" > MG>$("#errorElement").style.fontSize="20px"; > > > > > > > > > Need help with this please. > MG>you should have enough information > MG>consider paying for further help in answering your questions > > > > > >
RE: sj:grid --- action errors and highlight the row/row cell that failed validation
> From: zy...@hotmail.com > To: user@struts.apache.org > Subject: RE: sj:grid --- action errors and highlight the row/row cell that > failed validation > Date: Fri, 9 Oct 2015 15:50:39 -0400 > > 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 > > 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? MG>one is provided in each sample application as success return type is json, what should it be for input? > > > > > class="xxx.EditAddEmpGridEntryAction"> > > > > > > > > > > > > /jsp/createFidAddCas.jsp MG>you didnt specify default type for package so if type attribute is not specified, the framework will MG>use the default dispatcher type, which forwards to another web resource https://struts.apache.org/docs/result-configuration.html > > > > > > > > > > 2. how to display these action errors /ckeditor/ckeditorError.ftl https://struts.apache.org/docs/result-types.html and how to highlight the column cell in the grid that's not valid. MG>you have to add stylesheet class which contains, font,size and color of the css stylesheet class to the control in question.. MG>here is an example of cranking up the font size for tag id="errorElement" MG>$("#errorElement").style.fontSize="20px"; > > > > > > Need help with this please. MG>you should have enough information MG>consider paying for further help in answering your questions > > >
RE: sj:grid --- action errors and highlight the row/row cell that failed validation
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 > 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? > >class="xxx.EditAddEmpGridEntryAction"> > > > > > > /jsp/createFidAddCas.jsp > > > > > 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. >