I've changed the portlet.xml to:
| <?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" | xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd /opt/SUNWps/dtd/portlet.xsd" version="1.0"> | <portlet> | <portlet-name>PagePortlet</portlet-name> | <portlet-class>br.gov.trf2.jfes.intranet.portlets.PagePortlet</portlet-class> | <supported-locale>en</supported-locale> | <resource-bundle>Resource</resource-bundle> | <supports> | <mime-type>text/html</mime-type> | <portlet-mode>VIEW</portlet-mode> | <portlet-mode>HELP</portlet-mode> | </supports> | <portlet-info> | <title>Page include portlet</title> | </portlet-info> | <portlet-preferences> | <preference> | <name>teste</name> | <value>portlet</value> | </preference> | </portlet-preferences> | </portlet> | </portlet-app> | And the value returned was "portlet" and not anymore the default value. But I want it to return the instance value "teste" just as configured in portlet-instances.xml i've posted in the first message. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867288#3867288 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867288 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
