Thanks for your help

Do we have recommended approach to handle this. One.

Do we need to add any wrapper on top of the existing action class. Can you 
please suggest some approach on it.

Regards,
Siva

-----Original Message-----
From: Lukasz Lenart <lukaszlen...@apache.org>
Sent: Thursday, May 16, 2019 3:04 AM
To: Struts Users Mailing List <user@struts.apache.org>
Subject: [EXT] Re: Migration Help for angular2

wt., 14 maj 2019 o 16:50 Gopal, Siva Prakash (US - Mechanicsburg
Delivery) <sigo...@deloitte.com> napisał(a):
> Our current application is developed based on Strut2 with presentation layer 
> as JSP. We would like to upgrade presentation layer as responsive (Planning 
> to use Angular 6) and continue to reuse our backend code base (Strut2 as 
> controller).
>
> On high-level, we understand that add JSON plugin 
> https://secure-web.cisco.com/1SvOc2FXTfqLGn8EW8CYhF0w70KuLpoOiTBFbwmCxP9-q7unCUidwFGv9db_sLISDOrwsMm_Gxerv3DSujVnDq2vreunJsn78vbsgTPVcfe8vgjNiqmRSoKnlFtl9bzDufJxohvUfDR0zP_gTZdtyt8b_uiQFMK74QzPithLWVUg12WlzqYuVu9xRIY4WdexOlVBEttrPdRhfSVrAvg_Gy35Ck28DTrGW4EyWK0C0HyFymM9tpjKucHN1dvqS_V356XfsRVGtUvR2JB94mk7Un9IkYyvGy0e_2cnFENX-hV8WBJAURmkurzt9YcCmFIGdEh94XxXQuKNKqCAmGRYSwaI1-UXaeViYXn4k1ayHPT-7Ggx8TkM2L5xRSo3HsCZ7IB6j-VaxbqINflyvVr1tMnM4g-A0QIoUSuQM8XfzoXzhkwmno9PvXVtka-cJLQKOKvwxoiArkWx6RkOMwVrNswxj1w3cLTYnTsIQLeX1I0yyylrj9CCoFkcQFamtK67x8dlHwBbnuGp4FrmeYq7uEA/https%3A%2F%2Fstruts.apache.org%2Fplugins%2Fjson%2F
>   to get all class level parameter in action class as json. But how to reuse 
> chaining (one action to another action class), validation method in action 
> class, etc..

You can return validation errors via JSON as well [1] and chaining will work as 
usual

[1] 
https://secure-web.cisco.com/15UIo1NhgZKCKwTlinwkkEixEVMkF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8hi
+ yB-d_G8Kaui-UKJI_aqK4XNWe9M0E24SA4N-anS_1EnbvM9nVqsBoHxj-Mb25SJE52WBa5
+ xxA/http%3A%2F%2Fwww.lenart.org.pl%2F

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


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 and any 
disclosure, copying, or distribution of this message, or the taking of any 
action based on it, by you is strictly prohibited.

Deloitte refers to a Deloitte member firm, one of its related entities, or 
Deloitte Touche Tohmatsu Limited ("DTTL"). Each Deloitte member firm is a 
separate legal entity and a member of DTTL. DTTL does not provide services to 
clients. Please see www.deloitte.com/about to learn more.

v.E.1

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

Reply via email to