You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jonathan O'Connor <Jo...@xcom.de> on 2005/05/27 12:17:51 UTC

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

Folks,
I set up a table to display some items:
<table jwcid="table@contrib: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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


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

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
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" <Jo...@xcom.de>
> 27/05/2005 11:17
> Please respond to
> "Tapestry users" <ta...@jakarta.apache.org>
>
>
> To
> "Tapestry users" <ta...@jakarta.apache.org>
> 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="table@contrib: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: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
>
>
> 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: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


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

Posted by Jonathan O'Connor <Jo...@xcom.de>.
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?
Ciao,
Jonathan O'Connor
XCOM Dublin



"Jonathan O'Connor" <Jo...@xcom.de> 
27/05/2005 11:17
Please respond to
"Tapestry users" <ta...@jakarta.apache.org>


To
"Tapestry users" <ta...@jakarta.apache.org>
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="table@contrib: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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org






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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org