Thanks again...
I tried in the way you suggested but it gives the following exception:

Library 'contrib' not found in application namespace.

Is it necessary to put another library for contrib?
Could you tell me where to find it and configure?


Thanks & Regards
-----------------------------
Ananya Goswami
Software Developer

-----------------------------
mail: [EMAIL PROTECTED]
mob: 09886886320
ph: 080-57561000
extn:3720
 


-----Original Message-----
From: Steve Lianoglou [mailto:[EMAIL PROTECTED] 
Sent: 18 September 2005 02:52
To: Tapestry users
Subject: Re: sorting table

I can't remember, but I think I found the tutorials here helpfu:

https://tapestrywebcomponentexamples.dev.java.net/

-steve

On Sep 17, 2005, at 9:26 AM, Tomáš Drenčák wrote:

> The simplest implementation:
> .page:
> <component id="users" type="contrib:Table">
>   <binding name="source" value="users"/>
>   <binding name="columns" value="username:username,
> firstName:firstName,  lastName:lastName"/>
> </component>
>
> .html:
> <table jwcid="users" align="center" border="1" color="white"  
> cellspacing="0"
> cellpadding="0" width="60%" height="80%"/>
>
>
>
> 2005/9/17, Ananya Goswami <[EMAIL PROTECTED]>:
>
>> Thanks a lot for responding ... But could you kindly elaborate how to
>> implement.... It would be of great help...
>> Looking forward for your answer...
>>
>>
>>
>> Thanks & Regards
>> -----------------------------
>> Ananya Goswami
>> Software Developer
>>
>> -----------------------------
>> mail: [EMAIL PROTECTED]
>> mob: 09886886320
>> ph: 080-57561000
>> extn:3720
>>
>>
>>
>> -----Original Message-----
>> From: Tomáš Drencák [mailto:[EMAIL PROTECTED]
>> Sent: 17 September 2005 11:55
>> To: Tapestry users
>> Subject: Re: sorting table
>>
>> Your table seems to be a good candidate for contrib:Table. Use
>> informal parameters for table face and css for header.... And you  
>> have
>> the same logic in one component
>>
>> 2005/9/17, Ananya Goswami <[EMAIL PROTECTED]>:
>>
>>> Hi all!
>>>         I need help on sorting a table by column headers...
>>>
>>> My page specification is like this:
>>>
>>> <property name="currentUser"/>
>>>     <component id="users" type="For">
>>>         <binding name="source" value="users"/>
>>>         <binding name="value" value="currentUser"/>
>>>         <binding name="element" value="literal:tr"/>
>>>     </component>
>>>     <component id="username" type="Insert">
>>>         <binding name="value" value="currentUser.username"/>
>>>     </component>
>>>     <component id="firstName" type="Insert">
>>>         <binding name="value" value="currentUser.firstName"/>
>>>     </component>
>>>     <component id="lastName" type="Insert">
>>>         <binding name="value" value="currentUser.lastName"/>
>>>     </component>
>>>
>>> My HTML includes the following code for the table..
>>>
>>> <table align="center" border="1" color="white" cellspacing="0"
>>> cellpadding="0" width="60%" height="80%">
>>>           <thead>
>>>         <tr>
>>>                     <!--<td><a href="#" onclick="this.blur(); return
>>> sortTable('offTblBdy', 0, false);" title="User name">UserName</ 
>>> a></td> -->
>>>                         <td><strong><font face="arial"  
>>> color="#ffffff"
>>> size="3">Username</font></strong></td>
>>>              <td><strong><font face="arial" color="#ffffff"
>>> size="3">FirstName</font></strong></td>
>>>                     <td><strong><font face="arial" color="#ffffff"
>>> size="3">LastName</font></strong></td>
>>>                 </tr>
>>>       </thead>
>>>       <tbody id="offTblBdy">
>>>                 <tr jwcid="users">
>>>                     <td><span jwcid="username"/></td>
>>>                     <td><span jwcid="firstName"/></td>
>>>                     <td><span jwcid="lastName"/></td>
>>>
>>>                 </tr>
>>>       </tbody>
>>>         </table>
>>>
>>> Please help on what to include so that I could sort table columns  
>>> using
>>> tapestry 4...
>>>
>>>
>>>
>>> Thanks & Regards
>>> -----------------------------
>>> Ananya Goswami
>>> Software Developer
>>>
>>> -----------------------------
>>> mail: [EMAIL PROTECTED]
>>> mob: 09886886320
>>> ph: 080-57561000
>>> extn:3720
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: tapestry-user- 
>> [EMAIL PROTECTED]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: tapestry-user- 
>> [EMAIL PROTECTED]
>>
>>
>


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

Reply via email to