Sonntag, Juli 04, 2004

 

UIX: Build Context Relative Links

to build a resource URL including the context path you can use the ui:contextURI methode directly in your UIX-Page as follow:


<flowLayout>
<contents childData="${fileList.file} >
<link text="${uix.current.text}">
<boundAttribute name="destination">
<concat>
<contextProperty select="ui:contextURI"/>
<fixed text="/"/>
<ui:dataObject source="${uix.current.source}"/>
</concat>
</boundAttribute>
</link>
</contents>
</flowLayout>





<< Home

This page is powered by Blogger. Isn't yours?