Henrik Bentel wrote:
> Hi
>
> I have a JSF portlet (running on Liferay) where I'm trying to use the
> tree2 component.
> It's a very simple tree with only a few nodes. I can get this tree
> compoenent to display fine in a regular JSF webapp but when
> running as a portlet, it seems that URLs are treated very differently.
>
> So I have something like this:
> <t:tree2 id="clientTree" value="#{folderTracker.treeData}"
> var="node" varNodeToggler="t" showRootNode="false">
> <f:facet name="foo-folder">
> <h:panelGroup>
> <f:facet name="expand">
> <t:graphicImage value="/images/yellow-folder-open.png"
> rendered="#{t.nodeExpanded}" border="0"/>
> </f:facet>
> ...more stuff
>
> The problem is that the t:graphicsImage value seems to resolve to a
> completely wrong url, and if I change it
> to relative path then the portal pukes.
>
> Does anyone have a few tips and tricks you want to share related to
> combining JSF and portals? Especially on the topics of
> URLs/paths?
> I also am using JSF with portlets. I'm pretty sure that you should use a full absolute URL with the domain and everything. I haven't had to do so yet, so I can't advise how to construct it. -- Dave Brondsema Software Developer Cornerstone University
signature.asc
Description: OpenPGP digital signature

