Re: [uportal-user] Accessing xml portlet-preference in SimpleJspPortlet
Sorry for the delay in replying. Thanks for the tip, I was able to get it to work with the custom preference -- thanks!
On Monday, February 11, 2019 at 6:26:35 PM UTC-5, awills wrote:
It's completely possible to add arbitrary preferences to a
portlet definition and then access them in the JSP that the
IIRC the object that the JSP has access to is called
renderRequest, and you can use EL (standard JSP expression syntax)
to navigate it's API.
You should consult a reference. (I'm not going to that just
now.) But, from memory, it's something like...
where '0' stands for the index you want within the list of values
for that preference.
On 2/11/19 10:24 AM, JJ Fila wrote:
Using portal 4.3, just wondering if we could add new prefs
to the portlet definition xml like so:
And then access it in the corresponding jsp file?
You received this message because you are subscribed to the Google
Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it,
Visit this group at <a href="https://groups.google.com/a/apereo.org/group/uportal-user/" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/a/apereo.org/group/uportal-user/';return true;" onclick="this.href='https://groups.google.com/a/apereo.org/group/uportal-user/';return true;">https://groups.google.com/a/apereo.org/group/uportal-user/.