Hi Jagadesh,
U can hava a java that extends Grid.. Let's say:
public class MyGrid extends org.apache.tapestry5.corelib.components.Grid {
}
The class doesn't have anything inside...
For this class u create a template that overrides the Tapestry Grid.
Something like this:
MyGrid.tml
http://tapest
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 wrote:
> U can extend the Grid component. In the tml of the new component u create
> the empty blo
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 t
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 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 Cordenie
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
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
> Hi Everyone,
>
> In Tapestry, Grid gets generated wh