struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fea jabi <>
Subject sj:grid --- action errors and highlight the row/row cell that failed validation
Date Fri, 18 Sep 2015 20:17:33 GMT
 Trying to display action errors when trying to save a row in a <sj:grid>  .... Is there
an example I can follow?

Followed  ---- 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>

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.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message