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 &lt; batchSize}">
  |         <s:div styleClass="pageresults" rendered="#{itemCount &gt; 0}">
  |                  <div class="middle_highlight">
  |                      <h:outputText value="#{firstItem + 1} ... #{itemCount 
&lt; firstItem +  batchSize ? itemCount :  firstItem + batchSize}"/>
  |                  </div>
  |         </s:div>
  |         <s:div styleClass="pageresults" rendered="#{itemCount &gt; 
batchSize}">
  |             <s:link styleClass="middle" action="#{next}" value="#{firstItem 
+ batchSize + 1} ... #{itemCount &lt;= 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#4100796

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100796
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to