Many thanks @Lance Java...
I have tried & created two components header, footer & integrated in my
Index.tml page!!
It works cool!!!
This example
http://jumpstart.doublenegative.com.au/jumpstart/examples/component/creatingcomponents
is very helpful...
Thanks again!!!
--
View this message in c
On 06.09.2012 11:14, wrote karthi:
> Here exactly what do you mean by:
> Create components for Header, TopItems, (Can you point
> me an example & Can you please explain a bit more?)
At first, create a layout component as described here:
https://tapestry.apache.org/layout-comp
A component is a java class and and an optional tml file that MUST be in the
foo.bar.components package (where foo.bar is your base package).
Documentation here: http://tapestry.apache.org/component-classes.html
Examples here:
http://jumpstart.doublenegative.com.au/jumpstart/examples/component/cre
Thanks again!!! & Sorry, I could not understand. My mistake!
Here exactly what do you mean by:
Create components for Header, TopItems, (Can you point
me an example & Can you please explain a bit more?)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/H
Yes, that's exactly what tapestry is great at!!
1. Create components for Header, TopItems, Categories and Footer
2. You could then use the components directly in a page
3. Or, you could create a Layout which contains the 4 components and then
re-use this Layout across all of your pages.
--
View
@Lance Java thanks for your reply...
Let us forget the terminologies, components & layouts..
All I want is to create a four separate tml pages:
i) Header (Contains styles, codes to display header alone)
ii) Top-items videos list (Contains codes to display top videos list)
iii) Categories vi
@Mahendra thanks for your reply.
That's not my requirement, I need to create 4 layout components separately
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-split-up-components-in-a-tapestry-page-tp5716079p5716085.html
Sent from the Tapestry - User mailing list ar
It sounds like you are either confusing terminology or actual functionality.
Let's clear one thing up.
1. You can have many components on a page
2. You can only have one Layout component per page (a Layout is a special
component)
3. Layout components can contain normal components
Most application
Do one thing. Create only one layout and that layout contain those four
components. Now that layout you can use in the pages.
Is it clear to you?
Regards,
Mahendra
-Original Message-
From: karthi [mailto:rathinasamy@snovabits.net]
Sent: Thursday, September 06, 2012 1:06 PM
To: use