cancel
Showing results for 
Search instead for 
Did you mean: 

Modify portalapp.xml file

Former Member
0 Kudos

Hi,

I need to add some extra code in portalapp.xml file of my Webdynpro Application. But when i add the code and deploy the application the code which i add are not present in the xml file.

I need to add some extra code in XML file. How is this possible ?

Thanks and Regards,

Kalaivani

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi i´ve got the same problem, i want to to map the roomid to a webdynpro property. And access the mapped roomid via code.

How did you solved the Problem?

lokesh_kamana
Active Contributor
0 Kudos

I think you have to assign some value .

Otherwise it will show the error.

Thanks & Regards,

Lokesh.

0 Kudos

the webdynpro application framework only let you change some code in some places

if you change the code out when rebuild this code is deleted

Try change properties in the framework instead of change the xml

lokesh_kamana
Active Contributor
0 Kudos

Hi,

can you be more specific what you like to do in ur portalapp.xml

u can add the Portal component & portal service properties in ur ur portalapp.xml.

So that when you deploy the application on the server this xml what are the things you want to carry on ur component.

I.e.it describes what the component is all about.

Whether it is a JSP(Jsp Native,component) or else a servlet.

using a standard taglib mention the sevice(/SERVICE/......../htmlb.tld).

So that it recognizes the tld and recognizes the extension which you write in ur JSP.

This is all what portalapp.xml is all for in web dynpro applications

Thanks & Regards,

Lokesh

Former Member
0 Kudos

Hi Lokesh,

Actually i want to add this following code in portalapp.xml file,

<components>

<component>

<component-profile>

<property name="RoomId" value=""/>

</component-profile>

</component>

</components>

(Here i am creating customized property called "RoomId", so that i can assign some value to this property and get the value in the code)

Thanks and Regards,

Kalaivani