On May 27, 2005, at 9:35 AM, Jonathan O'Connor wrote:

Well, I found what was happening. For some strange reason, the source must
be made persistent. Now everything works OK.
Does anyone know why it must be persistent?

The table component needs the original data in order to sort it. It doesn't necessarily have to be a persistent property, but it does need to be available when the sorting links are clicked - in other words, the data could be in Visit for example.

    Erik


Ciao,
Jonathan O'Connor
XCOM Dublin



"Jonathan O'Connor" <Jonathan.O'[EMAIL PROTECTED]>
27/05/2005 11:17
Please respond to
"Tapestry users" <[email protected]>


To
"Tapestry users" <[email protected]>
cc

Subject
contrib:Table problem sorting or going to next page [auf Viren geprueft]






Folks,
I set up a table to display some items:
<table jwcid="[EMAIL PROTECTED]:Table" width="90%"
        source="ognl:emailsModel"
columns="ReceiptTime, From, To, Type, DocumentsImported, Subject,
!Status"
/>

My page file has:
<property-specification name="emailsModel" type=
"org.apache.tapestry.contrib.table.model.IBasicTableModel"/>

Now the page shows the first 10 items, no problems! But when I click on a column header to sort it, or a page number, I get the following message: Either the tableModel parameter or both source and columns parameters must

be specified by component EmailLog/table.tableView

And of course, this doesn't make sense, because I have specified both
source and columns. So any ideas what's happening?

BTW, Using Tapestry 3.0.3
Ciao,
Jonathan O'Connor
XCOM Dublin



IBM Workplace 2.5 Launch Events:
XCOM AG und IBM laden zum weltweiten Launch von IBM Workplace
Collaboration Services 2.5 nach Duesseldorf, Frankfurt und Berlin:
http://lotus.xcom.de/events

XCOM Express Programm:
Der schnelle Einstieg in neueste Technologien zum kleinen Preis - Portale,
e-Mail Security und Mobility: http://lotus.xcom.de/express


*** XCOM AG Legal Disclaimer ***

Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist allein fur den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten ist
das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir
bitten, eine fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen
und uns eine Nachricht zukommen zu lassen.

This email may contain material that is confidential and for the sole use
of the intended recipient. Any review, distribution by others or
forwarding without express permission is strictly prohibited. If you are
not the intended recipient, please contact the sender and delete all
copies.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






IBM Workplace 2.5 Launch Events:
XCOM AG und IBM laden zum weltweiten Launch von IBM Workplace Collaboration Services 2.5 nach Duesseldorf, Frankfurt und Berlin: http://lotus.xcom.de/events

XCOM Express Programm:
Der schnelle Einstieg in neueste Technologien zum kleinen Preis - Portale, e-Mail Security und Mobility: http://lotus.xcom.de/express


*** XCOM AG Legal Disclaimer ***

Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist allein fur den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen und uns eine Nachricht zukommen zu lassen.

This email may contain material that is confidential and for the sole use of the intended recipient. Any review, distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to