You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ashish Kheterpal <ak...@bhlinc.com> on 2006/12/14 02:14:50 UTC

For Component Question

I am new to Tapestry and want to display a collection of items in a
table with the ability to control the number of rows and columns to
display the entries 

 

Is there a component that exists in Tapestry or Contrib library that can
be used ?

 

Any help is much appreciated

 

Thanks,

 

- Ashish K

 

 


Re: For Component Question

Posted by Andy Pahne <an...@skaffen.de>.

Yes, there's the For component. See
   http://tapestry.apache.org/tapestry4.1/components/general/for.html

In order to control the number of rows I would filter the collection 
before I pass it to the For component.

Andy




Ashish Kheterpal schrieb:
> I am new to Tapestry and want to display a collection of items in a
> table with the ability to control the number of rows and columns to
> display the entries 
> 
>  
> 
> Is there a component that exists in Tapestry or Contrib library that can
> be used ?
> 
>  
> 
> Any help is much appreciated
> 
>  
> 
> Thanks,
> 
>  
> 
> - Ashish K
> 
>  
> 
>  
> 
> 

-- 
Andy Pahne

Email     ap@der-die-das.org
Telefon   +49 (721) 722 84 67
Mobil     +49 (174) 171 68 70

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


RE: Re: For Component Question

Posted by Ashish Kheterpal <ak...@bhlinc.com>.
Sorry, did not switch the message format.

 

Ashish

 

 

-----Original Message-----
From: Ashish Kheterpal [mailto:akheterpal@bhlinc.com] 
Sent: Thursday, December 14, 2006 1:33 PM
To: Tapestry users
Subject: RE: Re: For Component Question

 

Also, attaching the html, if it is not viewable in the message.

 

This is what I want to be able to do with # of columns as a parameter

and the #rows being determined at runtime depending on the entries in

the list.

 

 

I am not sure, if it is doable with either "Contrib:Table" or "For"

Components. Is it?

 

Thanks,

- Ashish 

 

-----Original Message-----

From: Ashish Kheterpal [mailto:akheterpal@bhlinc.com] 

Sent: Thursday, December 14, 2006 1:21 PM

To: Tapestry users

Subject: RE: Re: For Component Question

 

Hi,

 

 

 

This is what I want to be able to do with # of columns as a parameter

and the #rows being determined at runtime depending on the entries in

the list.

 

 

 

I am not sure, if it is doable with either "Contrib:Table" or "For"

components. Is it ? 

 

 

 

 

Table 1 (Display with 3 Columns)

 

Entry1

 

Entry2

 

Entry3

 

Entry4

 

  

 

 

 

 

Table 2(Display with 2 Columns)

 

Entry1

 

Entry2

 

Entry3

 

Entry4

 

 

 

 

 

 

 

Thanks,

 

- Ashish

 

 

 

-----Original Message-----

From: news [mailto:news@sea.gmane.org] On Behalf Of Andy Pahne

Sent: Wednesday, December 13, 2006 6:00 PM

To: users@tapestry.apache.org

Subject: Re: For Component Question

 

 

 

 

 

Oh, and there is contrib:Table of course:

 

 

 

http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreferen

ce/table.html

 

 

 

A.

 

 

 

 

 

 

 

Ashish Kheterpal schrieb:

 

> I am new to Tapestry and want to display a collection of items in a

 

> table with the ability to control the number of rows and columns to

 

> display the entries 

 

> 

 

>  

 

> 

 

> Is there a component that exists in Tapestry or Contrib library that

can

 

> be used ?

 

> 

 

>  

 

> 

 

> Any help is much appreciated

 

> 

 

>  

 

> 

 

> Thanks,

 

> 

 

>  

 

> 

 

> - Ashish K

 

> 

 

>  

 

> 

 

>  

 

> 

 

> 

 

 

 

 

 

---------------------------------------------------------------------

 

To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org

 

For additional commands, e-mail: users-help@tapestry.apache.org

 

 

 

 

 

 


RE: Re: For Component Question

Posted by Ashish Kheterpal <ak...@bhlinc.com>.
Also, attaching the html, if it is not viewable in the message.

This is what I want to be able to do with # of columns as a parameter
and the #rows being determined at runtime depending on the entries in
the list.


I am not sure, if it is doable with either "Contrib:Table" or "For"
Components. Is it?

Thanks,
- Ashish 

-----Original Message-----
From: Ashish Kheterpal [mailto:akheterpal@bhlinc.com] 
Sent: Thursday, December 14, 2006 1:21 PM
To: Tapestry users
Subject: RE: Re: For Component Question

Hi,

 

This is what I want to be able to do with # of columns as a parameter
and the #rows being determined at runtime depending on the entries in
the list.

 

I am not sure, if it is doable with either "Contrib:Table" or "For"
components. Is it ? 

 


Table 1 (Display with 3 Columns)

Entry1

Entry2

Entry3

Entry4

  

 


Table 2(Display with 2 Columns)

Entry1

Entry2

Entry3

Entry4



 

 

Thanks,

- Ashish

 

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Andy Pahne
Sent: Wednesday, December 13, 2006 6:00 PM
To: users@tapestry.apache.org
Subject: Re: For Component Question

 

 

Oh, and there is contrib:Table of course:

 

http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreferen
ce/table.html

 

A.

 

 

 

Ashish Kheterpal schrieb:

> I am new to Tapestry and want to display a collection of items in a

> table with the ability to control the number of rows and columns to

> display the entries 

> 

>  

> 

> Is there a component that exists in Tapestry or Contrib library that
can

> be used ?

> 

>  

> 

> Any help is much appreciated

> 

>  

> 

> Thanks,

> 

>  

> 

> - Ashish K

> 

>  

> 

>  

> 

> 

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org

For additional commands, e-mail: users-help@tapestry.apache.org

 

 



RE: Re: For Component Question

Posted by Ashish Kheterpal <ak...@bhlinc.com>.
Hi,

 

This is what I want to be able to do with # of columns as a parameter

and the #rows being determined at runtime depending on the entries in

the list.

 

 

I am not sure, if it is doable with either "Contrib:Table" or "For"

components. Is it ? 

 

 

 

 

-----Original Message-----
From: Ashish Kheterpal [mailto:akheterpal@bhlinc.com] 
Sent: Thursday, December 14, 2006 1:21 PM
To: Tapestry users
Subject: RE: Re: For Component Question

 

Hi,

 

 

 

This is what I want to be able to do with # of columns as a parameter

and the #rows being determined at runtime depending on the entries in

the list.

 

 

 

I am not sure, if it is doable with either "Contrib:Table" or "For"

components. Is it ? 

 

 

 

 

Table 1 (Display with 3 Columns)

 

Entry1

 

Entry2

 

Entry3

 

Entry4

 

  

 

 

 

 

Table 2(Display with 2 Columns)

 

Entry1

 

Entry2

 

Entry3

 

Entry4

 

 

 

 

 

 

 

Thanks,

 

- Ashish

 

 

 

-----Original Message-----

From: news [mailto:news@sea.gmane.org] On Behalf Of Andy Pahne

Sent: Wednesday, December 13, 2006 6:00 PM

To: users@tapestry.apache.org

Subject: Re: For Component Question

 

 

 

 

 

Oh, and there is contrib:Table of course:

 

 

 

http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreferen

ce/table.html

 

 

 

A.

 

 

 

 

 

 

 

Ashish Kheterpal schrieb:

 

> I am new to Tapestry and want to display a collection of items in a

 

> table with the ability to control the number of rows and columns to

 

> display the entries 

 

> 

 

>  

 

> 

 

> Is there a component that exists in Tapestry or Contrib library that

can

 

> be used ?

 

> 

 

>  

 

> 

 

> Any help is much appreciated

 

> 

 

>  

 

> 

 

> Thanks,

 

> 

 

>  

 

> 

 

> - Ashish K

 

> 

 

>  

 

> 

 

>  

 

> 

 

> 

 

 

 

 

 

---------------------------------------------------------------------

 

To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org

 

For additional commands, e-mail: users-help@tapestry.apache.org

 

 

 

 

 


RE: Re: For Component Question

Posted by Ashish Kheterpal <ak...@bhlinc.com>.
Hi,

 

This is what I want to be able to do with # of columns as a parameter
and the #rows being determined at runtime depending on the entries in
the list.

 

I am not sure, if it is doable with either "Contrib:Table" or "For"
components. Is it ? 

 


Table 1 (Display with 3 Columns)

Entry1

Entry2

Entry3

Entry4

  

 


Table 2(Display with 2 Columns)

Entry1

Entry2

Entry3

Entry4



 

 

Thanks,

- Ashish

 

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Andy Pahne
Sent: Wednesday, December 13, 2006 6:00 PM
To: users@tapestry.apache.org
Subject: Re: For Component Question

 

 

Oh, and there is contrib:Table of course:

 

http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreferen
ce/table.html

 

A.

 

 

 

Ashish Kheterpal schrieb:

> I am new to Tapestry and want to display a collection of items in a

> table with the ability to control the number of rows and columns to

> display the entries 

> 

>  

> 

> Is there a component that exists in Tapestry or Contrib library that
can

> be used ?

> 

>  

> 

> Any help is much appreciated

> 

>  

> 

> Thanks,

> 

>  

> 

> - Ashish K

> 

>  

> 

>  

> 

> 

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org

For additional commands, e-mail: users-help@tapestry.apache.org

 

 


Re: For Component Question

Posted by Andy Pahne <ap...@der-die-das.org>.
Oh, and there is contrib:Table of course:
 
http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/table.html

A.



Ashish Kheterpal schrieb:
> I am new to Tapestry and want to display a collection of items in a
> table with the ability to control the number of rows and columns to
> display the entries 
> 
>  
> 
> Is there a component that exists in Tapestry or Contrib library that can
> be used ?
> 
>  
> 
> Any help is much appreciated
> 
>  
> 
> Thanks,
> 
>  
> 
> - Ashish K
> 
>  
> 
>  
> 
> 


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