[
https://jira.jboss.org/browse/GTNPORTAL-1060?page=com.atlassian.jira.plug...
]
Trong Tran commented on GTNPORTAL-1060:
---------------------------------------
i would provide to you an example here if you need to check right now :
{code}
<portlet-application>
<portlet>
<application-ref>dashboard</application-ref>
<portlet-ref>GadgetPortlet</portlet-ref>
<preferences>
<preference>
<name>url</name>
<value>local://Currency</value>
<read-only>false</read-only>
</preference>
</preferences>
</portlet>
<title>Gadget Wrapper test</title>
<access-permissions>Everyone</access-permissions>
</portlet-application>
{code}
then we are going to update the doc later
Alternative to URL preference for local gadgets in Gadget Wrapper
portlet
-------------------------------------------------------------------------
Key: GTNPORTAL-1060
URL:
https://jira.jboss.org/browse/GTNPORTAL-1060
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 3.0.0-GA
Reporter: Patrice Lamarque
Fix For: 3.1.0-CR01
Attachments: GTNPORTAL-1060.diff, improve_url_gadget.diff
Currently it accepts a "url" portlet preference where the gadget url needs to
be hardcoded.
This cannot work in a portable manner because hostname, and rest-context may vary
depending on the environement.
This can not be known when writing the pages.xml file
URLs are fine for external gadgets, but one should be offered an alternative to URLs to
target local container gadgets.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira