dev@woodstock.java.net

TableRowGroup first Tag

From: John Yeary <johnyeary_at_gmail.com>
Date: Sat, 23 Jun 2007 10:59:59 -0400

Hello All,

I am trying to determine if the behavior I am seeing is abnormal. If I set
the tag to a value such as 8 as noted below. This results in the table
displaying rows starting at 9. This is okay.

<webuijsf:tableRowGroup first="8" binding="#{Page1.tableRowGroup1}"
id="tableRowGroup1" rows="3"
                                sourceData="#{Page1.tripDataProvider}"
sourceVar="currentRow">


The quirk is if I use a binding to set the value, it does correctly set it
to the appropriate value. See below.

This is in the SessionBean:

private int selectedValue = 8;

public int getSelectedValue() {
        return selectedValue;
}

This is the new binding on the JSP:

<webuijsf:tableRowGroup first="#{SessionBean1.selectedValue}" binding="#{
Page1.tableRowGroup1}" id="tableRowGroup1" rows="3"
                                sourceData="#{Page1.tripDataProvider}"
sourceVar="currentRow">

Am I missing something, or is this a bug?

John

-- 
John Yeary
--
"If I have seen further, it is because I have stood on the shoulders of
giants..."  Sir Isaac Newton