Hi Juan,

I tried doing this, but getting some wierd exceptions. Can you please
provide me with an example implementation.

Regards & Thanks,
Jagadesh


On Thu, Mar 11, 2010 at 1:48 PM, Juan E. Maya <maya.j...@gmail.com> wrote:

> U can extend the Grid component. In the tml of the new component u create
> the empty block and pass it as a parameter.
>
> On Thu, Mar 11, 2010 at 9:08 AM, Jagadesh Paladugula <
> jagadeshpaladug...@gmail.com> wrote:
>
> > Hi Chris,
> >
> > If I have 100 grids in my whole application, every where I have to do the
> > same. I am looking for a generalized approach, where ever the list is
> empty
> > grid component should render the grid with "no data message"
> >
> > Regards,
> > Jagadesh
> >
> > On Thu, Mar 11, 2010 at 11:50 AM, Chris Mylonas <ch...@opencsta.org>
> > wrote:
> >
> > > Hi,
> > >
> > > Could you just add a record to the List before it goes onto rendering?
> >  Are
> > > there hooks for that?
> > >
> > > - I'm only new to tapestry, just throwing an idea out there.
> > >
> > > Cheers
> > > Chris
> > >
> > >
> > >
> > > On Thu, Mar 11, 2010 at 4:35 PM, Jagadesh Paladugula <
> > > jagadeshpaladug...@gmail.com> wrote:
> > >
> > > > Hi Christophe Cordenier,
> > > >
> > > > If I use empty parameter, the default grid implementation renders the
> > > empty
> > > > block(which does'nt have grid look and feel).
> > > >
> > > > But my use case is some thing like, generate the grid structure with
> a
> > > row
> > > > which says "no data present".
> > > >
> > > > Please find the attachement for more clarity.
> > > >
> > > > Guide me how to implement the same
> > > >
> > > > Regards,
> > > > Jagadesh
> > > >
> > > > On Wed, Mar 10, 2010 at 3:29 PM, Christophe Cordenier <
> > > > christophe.corden...@gmail.com> wrote:
> > > >
> > > >> Hi
> > > >>
> > > >> Use empty parameter to customize the display when the list is empty
> > > >>
> > > >>
> > > >>
> > >
> >
> http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html
> > > >>
> > > >> Regards,
> > > >> Christophe Cordenier.
> > > >>
> > > >> 2010/3/10 Jagadesh Paladugula <jagadeshpaladug...@gmail.com>
> > > >>
> > > >> > Hi Everyone,
> > > >> >
> > > >> > In Tapestry, Grid gets generated when the "source" attribute of
> the
> > > grid
> > > >> > returns a collection with length>0. When the length of the
> > collection
> > > is
> > > >> 0,
> > > >> > by default it generates some text content saying "*There is no
> data
> > to
> > > >> > display*".
> > > >> >
> > > >> > I want to change the above functionality in such a way that, even
> > when
> > > >> the
> > > >> > collection size is 0, the grid should generate as as-usual and, it
> > > >> should
> > > >> > display *"There is no data to display" *inside the grid.
> > > >> >
> > > >> > Please suggest me a approach for customizing the gird component.
> > > >> > --
> > > >> > Thanks & Regards
> > > >> > Jagadesh
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Regards,
> > > >> Christophe Cordenier.
> > > >>
> > > >> Developer of wooki @wookicentral.com
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > Regards
> > > > Jagadesh
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > > >
> > >
> >
> >
> >
> > --
> > Regards
> > Jagadesh
> >
>



-- 
Regards
Jagadesh

Reply via email to