You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael Finney <fi...@ACM.org> on 2010/01/31 05:04:42 UTC

gwt and struts 2

Hi,

I am curious if / how people are getting GWT and Struts2 to work
together in the GWT development environment.

If you did get it to work, did you just copy files from your existing
struts 2 outputs to the war file so GWT can see it?  ( war file
mentioned at http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideDirectoriesPackageConventions
 )

I use eclipse, the GWT eclipse plugin, and ant. I'm considering just
using an ant script to copy files to where GWT needs it.

Thanks for sharing your insights on how to have struts 2 and GWT work
well together.

-- 
Michael Finney - "Always Striving To Serve You Better Every Day"
http://www.SmilingSoftwareSolutions.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Two error messages for validation on same attribute

Posted by "Mittal, Nitin (US - Mumbai)" <ni...@deloitte.com>.
Hello,
Is there a way to disable conversion failure error messages in struts 2 ?

My Problem :-
If the data is entered in the wrong format for a numeric field, the user sees two error messages on the page. For example:-
'7032A' is entered for 'ZIP Code', following error messages will be seen :-

.       Invalid field value for field "acquisition.acquisitionArrangementAddress.zipCd".
.       Please enter zip code

I think the first one is because of conversion failure and second one is the mandatory validation because the value could not be set in action.

Is there a way to disable conversion failure error messages ?

Thanks,
Nitin Mittal
Deloitte Consulting India Private Limited
cell:+91 9819213942 | office:+91 22 66445762 | VOIP:+1  615-718-8170 | Fax:+91 22 66445999
nimittal@deloitte.com

P Please consider the environment before printing.


This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Two error messages for validation on same attribute

Posted by "Mittal, Nitin (US - Mumbai)" <ni...@deloitte.com>.
Hello,
Is there a way to disable conversion failure error messages in struts 2 ?

My Problem :-
If the data is entered in the wrong format for a numeric field, the user sees two error messages on the page. For example:-
'7032A' is entered for 'ZIP Code', following error messages will be seen :-

.       Invalid field value for field "acquisition.acquisitionArrangementAddress.zipCd".
.       Please enter zip code

I think the first one is because of conversion failure and second one is the mandatory validation because the value could not be set in action.

Is there a way to disable conversion failure error messages ?

Thanks,
Nitin Mittal
Deloitte Consulting India Private Limited
cell:+91 9819213942 | office:+91 22 66445762 | VOIP:+1  615-718-8170 | Fax:+91 22 66445999
nimittal@deloitte.com

P Please consider the environment before printing.


This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org