Displaying different form view based on Login user

"Vindhyachal_Sharma" <[email protected]> Mon, 19 Nov 2007 21:57:18 +0530
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <EF2969FFE97CF846A6A7F1980B8787AA0CC99A0D@hstmsg002.corp.satyam.ad>
Hi,

We are developing Spring portlets and as per our requirement we have to display different form view based on login user business role, so can we have multiple entry in XML file:

<property name="formView" value="Sucess1"/>

<property name="formView" value="Sucess2"/>

<property name="formView" value="Sucess3"/>

 

Based on who is login we will call business method and render respective VIEW jsp.As we are using tiles all these name="formView" value="Sucess1" are going to be resolved in TILES xml file:

<definition name="Sucess1">

<put name="body" value="/WEB-INF/jsp/Sucess1.jsp"/>

</definition>

<definition name="Sucess2">

<put name="body" value="/WEB-INF/jsp/Sucess2.jsp"/>

</definition>

Please suggest.

Regards,

Vindhyachal Sharma



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

_______________________________________________
dev_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list