Topic
  • No replies
SDoyle
SDoyle
1 Post

Pinned topic Modifying the id attribute in the portlet-app element in portlet.xml

‏2008-02-21T14:47:36Z |
We would like to be able to change the value of the id attribute in the portlet-app element in the portlet.xml file. By default it appears that Portlet Factory wants to generate a value like "com.bowstreet.portlet.WebAppRunner_<Project name>".

For example:
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" id="com.bowstreet.portlet.WebAppRunner_<Project name>">

Is there a way to easily change the id attribute via a builder?
If we do change it does it affect the functionality of the application?