on 04-13-2006 9:53 PM
hello ,
i am creating jsp dynpro component . my approach is trying to get information from jsp page, read the data in the jspDynPage , setting the data temporarily in bean and retreiving thru jsp. my problem is i am trying to from to jsp using setJspName like this.setJspName("JspPrg1.jsp"); and this.setJspName("JspPrg2.jsp");
based on a condition flag.
do i need to add both the jsp names in portalapp.xml , if so it is going to the one that is added is property as last ..
i think i am doing some thing wrong in the portalapp.xml ..
can any one help me in this..
thanks..
rajesh
HAI RAJESH,
you need to add them both in portalapp.xml using the property "ComponentType" in two separate tags.
It will work.
regards,
Siva.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi siva,
thanks for the reply but i already did it ..
<property name="ClassName" value="JavaPrg"/>
<property name="ComponentType" value="jspnative"/>
<property name="JSP" value="pagelet/JspPrg2.jsp"/>
<property name="JSP" value="pagelet/JspPrg.jsp"/>
this is the actual code in portalapp.xml .. when i export it , application is taking only the last jsp what ever my code in java prg
thanks..
rajesh
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.