And the page to include:
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
|
xmlns:s="http://jboss.com/products/seam/taglib"
|
xmlns:ui="http://java.sun.com/jsf/facelets"
|
xmlns:f="http://java.sun.com/jsf/core"
|
xmlns:h="http://java.sun.com/jsf/html">
| <!-- FIRST -->
| <s:div id="tabcontainer" rendered="#{firstItem <
batchSize}">
| <s:div styleClass="pageresults" rendered="#{itemCount
> 0}">
| <div class="middle_highlight">
| <h:outputText value="#{firstItem + 1} ... #{itemCount
< firstItem + batchSize ? itemCount : firstItem + batchSize}"/>
| </div>
| </s:div>
| <s:div styleClass="pageresults" rendered="#{itemCount
> batchSize}">
| <s:link styleClass="middle" action="#{next}"
value="#{firstItem + batchSize + 1} ... #{itemCount <= firstItem + (batchSize
* 2) ? itemCount : firstItem + (batchSize * 2)}"></s:link>
| </s:div>
| ......
To sum up, the dynamic s:link is:
<s:link styleClass="middle" action="#{next}" value...
can it be done?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100796#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...