I noticed this myself last week. An issue in JIRA would be helpful, yes.
On Mar 16, 2014 3:50 PM, "Jon Williams"
wrote:
> this is a fix
>
> @Import(stylesheet = {library =
> {"context:mybootstrap/dist/js/bootstrap.js"})
> public class Layout...
>
>
> On Sun, Mar 16, 2014 at 10:04 AM, Jon William
this is a fix
@Import(stylesheet = {library =
{"context:mybootstrap/dist/js/bootstrap.js"})
public class Layout...
On Sun, Mar 16, 2014 at 10:04 AM, Jon Williams
wrote:
> Hi,
>
> I am running the 5.4 beta 3 tapestry quickstart app.
> The navigation on the UI is not rendering properly.
> I am ne
Hi,
I am running the 5.4 beta 3 tapestry quickstart app.
The navigation on the UI is not rendering properly.
I am new to bootstrap, so I was hoping the quickstart bootstrap would be
all working.
from Layout.tml...
re-reading your question, I notice that you also want to use a different .tml
file. You might find help in Igor's post
http://blog.tapestry5.de/index.php/2011/06/24/template-skinning/
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/layout-component-selection-bas
access (by Environment.peek() or via the
@Environmental annotation). Then your layout component (and other
components) can make decisions based on the value of the Environmental
object.
http://tapestry.apache.org/environmental-services.html
http://tapestry.apache.org/request-processing.html
On Thu, 20 Dec 2012 13:56:28 -0200, ZKN __ wrote:
Hi Thiago,
Hi!
I've tried moving the base page to the "pages" package but that didn't
work again.
Please define 'didn't work'.
I'm not sure what you mean with block parameters but if it means using
some kind of IF statements in the bas
rst because for each new Subclass I will have to make changes to
the base template and second because it will make the base template harder to
read.
Thanks,
Ozkan
Оригинално писмо
От: "Thiago H de Paula Figueiredo" thiag...@gmail.com
Относно: Re: Layout co
On Thu, 20 Dec 2012 12:32:51 -0200, ZKN __ wrote:
Hi,
Hi!
I have a question regarding Layout component:
http://tapestry.apache.org/layout-component.html
Since pages and components "are more equal than they are different" I
was wondering if base pages (located in the base packa
Hi,
I have a question regarding Layout component:
http://tapestry.apache.org/layout-component.html
Since pages and components "are more equal than they are different" I was
wondering if base pages (located in the base package) can be used as layout
components?
We already hav
Thanks a lot.Fixed
On Fri, Oct 7, 2011 at 9:30 AM, Howard Lewis Ship wrote:
> The source component will be the Layout component, not the TextField
> inside the layout component. This is part of event bubbling; when an
> event bubbles, the source of the event bubbles up as well.
>
>
The source component will be the Layout component, not the TextField
inside the layout component. This is part of event bubbling; when an
event bubbles, the source of the event bubbles up as well.
On Thu, Oct 6, 2011 at 9:10 AM, Dimitris Zenios
wrote:
> Hi guys.
>
> I have a layout
Hi guys.
I have a layout component which has a textfield inside it with
autocomplete mixin and an id of "layoutSearch".Some pages now that use
the layout would like to provide completion for that text field.The
problem is that i cannot reference that component from the page like
this.
ntext:style/style.css"
>>
>> Regards nillehammer
>>
>> -
>> http://www.winfonet.eu
>> --
>> View this message in context:
>> http://tapestry.1045711.n5.nabble.com/Stylesheet-in-layout-component-causes-my-tests-to-fail-tp4616463p4616558.html
;)
>> That's a typo leave out the leading slash after the colon, i.e.
>> "context:style/style.css"
>>
>> Regards nillehammer
>>
>> -
>> http://www.winfonet.eu
>> --
>> View this message in context:
>> http://tapestry.1045711.n5.na
ot;context:/style/style.css")
> That's a typo leave out the leading slash after the colon, i.e.
> "context:style/style.css"
>
> Regards nillehammer
>
> -
> http://www.winfonet.eu
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble
Hi Julien,
> @Import(stylesheet = "context:/style/style.css")
That's a typo leave out the leading slash after the colon, i.e.
"context:style/style.css"
Regards nillehammer
-
http://www.winfonet.eu
--
View this message in context:
http://tapestry.1045711.n5.nab
Hello,
I am trying to get to grips with tests and Tapestry. The following layout
class...
*@Import(stylesheet = "context:/style/style.css")
public class Layout {
}*
...causes my tests to fail with the following exception:
*8392 [main] ERROR org.apache.tapestry5.ioc.Registry - Unable to locate
as
Thanks a lot for the info, Barry!
Will definitely check it out.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Customizing-the-Layout-Component-tp4234938p4258643.html
Sent from the Tapestry - User mailing list archive at Nabble.com
If you have a Blue/Red that inherit from BasePage I'd use a Layout
Environmental. Since you have a BasePage you can create the Environmental in
your BasePage class. The Red/Blue pages should be able to set the color
property and then the layout component can retrieve it. That way only th
On Mon, 21 Mar 2011 15:22:30 -0300, stephanos2k
wrote:
Thanks for the quick response!
Hm, I didn't know that this would break the class hierarchy.
It doesn't.
I understand the issue like this (hope it works in HTML/Mail):
Layout.tml > Page.tml --> Result <-- Page.java < BasePageRed.java <
rameter coming from the class
side.
Alternatively, setting the parameter in every Page.tml (few dozen) just
didn't seem so 'DRY'.
But your solution sounds very reasonable - I was just wondering :-)
Cheers
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Cust
On Mon, 21 Mar 2011 14:27:35 -0300, stephanos2k
wrote:
In my Layout I'd like to distinguish between 2 states (let's just say
red or blue). Those are known/set by each page individually - it
inherits from BasePageRed or BasePageBlue (which go back to BasePage
where the parameter Col is
d
ue from the BasePage (class) to the Layout
(tml)?
PS: I am aware that I can set the parameter in Page.tml - but I don't want
to repeat myself in each file.
Cheers,
Stephanos
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Customizing-the-Layout-Component-tp4234938p4
Ok, guess this would work in Gerry's case - although it feels like a bit of
a hack.
In my case this wont work as I have a single application and would like to
do the layout/branding in runtime - switching based on domain names.
2010/6/28 Pierce Wetter
>
> On Jun 25, 2010, at 1:31 PM, Magnus Kv
On Jun 25, 2010, at 1:31 PM, Magnus Kvalheim wrote:
> Hi,
> I have a similar requirement for our project where we plan to 'white label'
> an application and brand it in different ways.
> Have been thinking about a way of reusing pages by changing the layout
> dynamically - for example triggered b
put to your problem...
magnus
2010/6/24 tux4ever
>
> Dear listeners!
>
> I have a module with pages and components which is used by some other
> applications. Every application has its own style, defined in a layout
> component. Is there a possibility that this module can use the
Dear listeners!
I have a module with pages and components which is used by some other
applications. Every application has its own style, defined in a layout
component. Is there a possibility that this module can use the layout
component of every other application at runtime?
For better
t;
>>> Is it possible to handle events inside components that have been
>>> triggered by other events?
>>
>> Events are triggered by components, not by events themselves.
>>
>>> If a page does not handle an event wouldn't that event be bubbled up
>
It's not the exact subject, but this reminded me of a problem I had a while ago
related to Layout and Page's Forms submission events.
If the Layout component has a Form component (for whatever reason), every Page
injected into it needs to handle their Form submission lifecycle by the
On Thu, 22 Apr 2010 15:45:53 -0300, Raul Raja Martinez
wrote:
Yes if the body of a Layout component is considered a child component
of the Layoutand all events triggered from components that are
children would pass through Layout as well when bubbling up.
Right.
If that was the case
- Button
>
> Wouldn't it be
>
> PageA
> - Layout
> - - Button
Yes if the body of a Layout component is considered a child component
of the Layout and all events triggered from components that are
children would pass through Layout as well when bubbling up.
If that was the case
ves.
If a page does not handle an event wouldn't that event be bubbled up
to the Layout component since it wraps it?
It depends on who triggers the event. If it is the page itself, no,
as the layout wraps the content of the page, but the layout is
inside the page. If it's a compo
On Thu, 22 Apr 2010 15:20:13 -0300, Raul Raja Martinez
wrote:
Thanks Thiago, Makes sense,
What would be the right pattern If I have something like...
PageA
- Layout
- Button
Wouldn't it be
PageA
- Layout
- - Button
?
Image both Button and OtherButton are components and that Layout
ts inside components that have been
>> triggered by other events?
>
> Events are triggered by components, not by events themselves.
>
>> If a page does not handle an event wouldn't that event be bubbled up
>> to the Layout component since it wraps it?
>
> It dep
nt be bubbled up
to the Layout component since it wraps it?
It depends on who triggers the event. If it is the page itself, no, as the
layout wraps the content of the page, but the layout is inside the page.
If it's a component declared inside the layout, then yes.
We are trying to figure
Hi,
We have several pages that contain a Layout component wrapping the
context of a page.
Also those pages have components that trigger events. We would like to
handle some of the events in the Layout component.
The docs state that for Event Bubbling "The event will bubble up the
hierarchy,
You could do something like this:
Layout.tml
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
yadayada
public class Layout {
@Property
private Block _head;
@Property
private Block _body;
@Inject
private ComponentResources _resources;
I'm using 5.1.0.5 and thought I could do something like this...
[Page.tml]
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd
">
My Page Title
My Page Content
The 'passthru' component was easy to make, but apparently the
t:extension-point works much mo
Hi,
I have a page that is based on layout component, when I do a:
http://localhost.com:8080/myhome.layout.test
[ERROR] RequestExceptionHandler Processing of request failed with uncaught
exception: Component Myhome does not contain an embedded component with id
'test'. Available
Em Thu, 27 Aug 2009 05:39:51 -0300, Sebastian HennebrŸüder
escreveu:
Hello,
Hi!
my page uses a layout component.
The layout has my self made t:messages component to display messages.
I need this component injected into the page as I want to return it as
zone update.
Tapestry keeps
have you tried returning the zone from a getter method
within the layout component. this way any page that uses
this layout should be able to return the desired zone. i
think this could work with a block as well.
g,
kris
Sebastian Hennebrüder
27.08.2009 10:39
Bitte antworten an
Hello,
my page uses a layout component.
The layout has my self made t:messages component to display messages.
I need this component injected into the page as I want to return it as
zone update.
Tapestry keeps telling me, that the messages component is not included
in the page template
sage in context:
http://www.nabble.com/T5-How-to-onLoad-focus%28%29-to-textfield-in-Layout-component-tp23055988p23059682.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-u
Prototype comes to the rescue: http://www.prototypejs.org/api/event/observe.
Event.observe(window, 'load', function() {
$('text1').focus();
}
--
Thiago
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For add
o i thought in my textfield
>
> onchange="this.form.submit()"/>
>
> upon resubmit this page, the onLoad attribute in can call the
> javascript
> document.getElementById('text1').focus();
>
> but the environment of my page is using Layout component,
there's no such method. any alternatives is welcome.
please advise.
thanks & regards,
wesley
--
View this message in context:
http://www.nabble.com/T5-How-to-onLoad-focus%28%29-to-textfield-in-Layout-component-tp23055988p23055988.html
Sent from the Tapestry - User mailing li
Zenberg,
I added Tap5 pages to an existing struts 1 application. The trick is to
reimplement a login page (I presume you have a login page) as a T5 page,
and then you can initialize the JSP session variables you need for
working together. You will also have to be careful generating links from
Thanks for your advise. I'll try that.
On Thu, Mar 12, 2009 at 8:53 PM, Zenberg Ding
wrote:
Is it possible to nested normal jsp/html content into one layout
component
region?
No. Not possible. Completely incompatible approaches to ... everthing.
You might be able to c
But that's only put them together without runtime error. each of them is
working standalone, so it's not really working together...
As far as I know, you can have Tapestry pages and JSP pages and Struts
actions in the same application working together, but you cannot have
JSP and Tapest
Em Fri, 13 Mar 2009 01:06:08 -0300, Zenberg Ding
escreveu:
really sorry about that.
It's ok. :)
I know tapestry's template engine, that's why we try to using it.
but there are a big amount of leaving code useing struts 1.xx.
so if there is a way can mixing those code into t5 framework. I
On Thu, Mar 12, 2009 at 8:53 PM, Zenberg Ding wrote:
>
> Is it possible to nested normal jsp/html content into one layout component
> region?
No. Not possible. Completely incompatible approaches to ... everthing.
You might be able to cobble something together using Ajax and/or an
t
really sorry about that.
I know tapestry's template engine, that's why we try to using it.
but there are a big amount of leaving code useing struts 1.xx.
so if there is a way can mixing those code into t5 framework. I can wrote
a dispatcher to recognize '*.do' url and give it to one
ActionR
Is it possible to nested normal jsp/html content into one layout component
region?
for example, replace "content" region with jsp content when one jsp
request
Em Fri, 13 Mar 2009 00:43:45 -0300, 丁振波
escreveu:
If it possible, how to do it? any idea or suggestion is appreciate.
Please start new topics in new threads, not replying to old ones.
Tapestry has its own template engine, so you cannot embedded JSP there.
Layout is just an ordinary compone
If it possible, how to do it? any idea or suggestion is appreciate.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
If it possible, how to do it? any idea or suggestion is appreciate.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Em Wed, 21 Jan 2009 22:07:20 -0300, manuel aldana escreveu:
yes, it is a bit confusing that you could do your layout-concept
directly as a page (see starter mail of thread). But I see now it is not
a good idea, so will go for layout as a component :)
Technically speaking, I think it would
Thiago H. de Paula Figueiredo schrieb:
When people here talk about a Layout component, we are talking about
something described by the Tapestry documentation as "A Layout
component exists to provide common content across all pages in your
application.". A Layout is a component, not
Em Wed, 21 Jan 2009 21:46:20 -0300, manuel aldana escreveu:
OK, but why does the layout component need to know what the main content
is?
If it is a layout, yes. Otherwise, it would be an ordinary page.
As in other mail mentioned the only (but major) cons I can see is that
making the
s you named in your template below.
OK, but why does the layout component need to know what the main content is?
As in other mail mentioned the only (but major) cons I can see is that
making the Layout as the main-entry page is not very flexible and breaks
somehow the tapestry page concept.
--
m
below.
Site.tml (style stuff omitted):
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
If means "the real content of each page of your
application", it should be . A Layout component (or any other
component) has no other way to
g the
injection). what are the pros/cons for that?
Site.tml (style stuff omitted):
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
SergeEby schrieb:
Hi,
is the actual content of your page, and the layout
component is
just a wrapper
stuff omitted):
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
SergeEby schrieb:
Hi,
is the actual content of your page, and the layout component is
just a wrapper.
This link would probably help you better understand:
http://wi
Hi,
is the actual content of your page, and the layout component is
just a wrapper.
This link would probably help you better understand:
http://wiki.apache.org/tapestry/Tapestry5Layoutcomponent
/Serge
aldana wrote:
>
> Hi,
>
> I had a look how to template things (he
sorry... there was a discussion about this already
(http://www.mail-archive.com/users@tapestry.apache.org/msg17682.html),
but found it later as posting...
Just tell if information of above thread is out of date and tapestry
templates approach changed in latest tapestry.
manuel aldana schrieb
Hi,
I had a look how to template things (header, footer, navigation) at
http://tapestry.apache.org/tapestry5/guide/layout.html.
-What is the magic about the inclusion? This tag is a bit
unclear to me. How does Layout.tml connect to the Start.tml as the
tag in the example?
-How would I incl
I found the answer in the archives.
It's the componentResources which a method to return the pagename.
Thanks anyway,
Markus
On Sat, Jul 26, 2008 at 9:08 PM, Shing Hing Man <[EMAIL PROTECTED]> wrote:
> Have you tried the adding the following to your layout compon
Have you tried the adding the following to your layout component java class ?
@InjectContainer
private BasePage conatinerPage;
(assuming all your pages java class are a subclass of BasePage.)
Shing
Home page : http://www.lombok.demon.co.uk/
--- On Sun, 27/7/08, Markus Joschko <[EM
Hi all,
is there a way to get the page that is rendered by the layout
component from within the layout component?
I have a menu in my layout component where I want to highlight the
item that corresponds to the current page.
I know that I can pass a parameter to the layout component but I
ok. now all the function are successful go though.
[component:setupRender]
[component:beginRender]
[component:beforeRenderTemplate]
[component:beforeRenderBody]
[component:afterRenderBody]
[component:afterRenderTemplate]
[component:afterRender]
[component:cleanupRender]
but, still didn't show ...
sorry. should be after SetupRender. then it ended
by right if there is an error. it should go to cleanuprender. but, it didn't
go though that function.
On Tue, Jun 24, 2008 at 10:01 PM, Tan [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I did have put some message in setuprender and onac
Hi,
I did have put some message in setuprender and onactivate.
i did show me the System.out.println("test1");
but, how come it didn't render the ?
Thankk you.
On Tue, Jun 24, 2008 at 9:39 PM, Tan [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> hi marcelo,
>
> thanks for your reply. yes. i did p
hi marcelo,
thanks for your reply. yes. i did put
src/main/resources//components
src/main/resources//pages
is there any possibility?
Thank you.
Regards,
Cyber
On Tue, Jun 24, 2008 at 8:40 PM, Marcelo Lotif <[EMAIL PROTECTED]> wrote:
> Hi,
> Did you put the Layout.tml on the right package?
Hi,
Did you put the Layout.tml on the right package? It should be under
src/main/resources//components. I recommend you to
create a directory called src/main/resources//pages and
put your pages inside it too.
2008/6/24 Tan [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> hi all,
>
> i 'm testing tutorial
hi all,
i 'm testing tutorial in
http://tapestry.apache.org/tapestry5/tapestry-core/guide/layout.html
in start.tml
_
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Welcome to the Nifty Web Application!
n Derks <[EMAIL PROTECTED]> wrote:
> Hello
>
> I use a layout component for all my pages, like below.
> But for some reason, the page title is not passed to the layout component.
> What am I doing wrong?
> Leon
>
> Page.tml
> http://tapestry.apache.org/schema/tapestr
You're missing the t: namespace prefix on the title attribute.
Since you're putting it on a regular XHTML element, Tapestry won't
process the attribute without it.
-Filip
Leon Derks skrev:
Hello
I use a layout component for all my pages, like below.
But for some reason, th
Hello
I use a layout component for all my pages, like below.
But for some reason, the page title is not passed to the layout
component. What am I doing wrong?
Leon
Page.tml
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";
t:type="layout" title="
This blog seems to have vanished:
http://courcy-en.blogspot.com/2008/01/tapestry-5-create-layout-component.html
As linked to from the wiki. Anyone know what's happened or have an archive of
this? I found it very useful.
-
To un
rk for the Component templates. It does work for
> the Layout component, though. My question is what to add to other
> Components, in order to maintain previewability, but without extraneous
> element at runtime.
>
> -J.
>
> On Mon, 2008-04-14 at 11:09 -0700, Howa
Thanks Howard,
However this doesn't work for the Component templates. It does work for
the Layout component, though. My question is what to add to other
Components, in order to maintain previewability, but without extraneous
element at runtime.
-J.
On Mon, 2008-04-14 at 11:09 -0700, H
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
On Mon, Apr 14, 2008 at 11:02 AM, Jan Vissers <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Using
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/layout.html I
> have a setup where the layout com
Hi,
Using
http://tapestry.apache.org/tapestry5/tapestry-core/guide/layout.html I
have a setup where the layout component uses a couple of other
components. All of which have:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
at the top - to keep a certain degree of previewability.
Thanks for all your replies ...
Finally fixed the problem by looking at the generated html source file.
The problem was actually not with calling the div from the head of
layout.tml. Because after the page is rendered, all the elements are
available, so there is really no problem there. But fo
If all of this is within your start page, then it's quite easy. T5 is
built around the Prototype JS lib, which you can get a feel for here:
http://www.prototypejs.org/ (api here: http://www.prototypejs.org/api).
It is a staggeringly simply library to use.
Now you'll have to test this, but I'm
to do? What you're explaining doesn't really
> > make sense - that is, hard-coding a DOM id in a component that doesn't
> > contain such an id. What is your ultimate goal?
> >
> > chris
> >
> > Baofeng Yu wrote:
> >> Hi all,
> >>
&
ur ultimate goal?
chris
Baofeng Yu wrote:
Hi all,
I have a layout component that wraps around a page, say Start.tml.
Suppose there is a element on Start.tml. In the
Layout.tml header section, I want to have some JavaScript code to
change that element. What is the correct way to get that eleme
What exactly do you want to do? What you're explaining doesn't really
make sense - that is, hard-coding a DOM id in a component that doesn't
contain such an id. What is your ultimate goal?
chris
Baofeng Yu wrote:
Hi all,
I have a layout component that wraps around a page
Hi all,
I have a layout component that wraps around a page, say Start.tml.
Suppose there is a element on Start.tml. In the Layout.tml
header section, I want to have some JavaScript code to change that
element. What is the correct way to get that element? It seems
document.getElementById(
:left")
private Object left;
Object getLeftContent() {
return left;
}
if no left parameter is passed to the layout
component it will use the default block.
g,
kris
Michael Courcy <[EMAIL PROTECTED]>
22.01.2008 00:12
Bitte antworten an
"Tapestry users"
An
Tapestry
rameter is passed to the layout
component it will use the default block.
g,
kris
Michael Courcy <[EMAIL PROTECTED]>
22.01.2008 00:12
Bitte antworten an
"Tapestry users"
An
Tapestry users
Kopie
Thema
Layout component
Hi,
I propose a small tutorial to build a Layou
Hi,
I propose a small tutorial to build a Layout component.
http://courcy-en.blogspot.com/2008/01/tapestry-5-create-layout-component.html
This one is a bit more sophisticated than the exemple given in the
documentation, because you are able to override static content on case
by case.
Your
I had a similar problem
I just add a
beforeRender(MarkupWriter writer){
return true;
}
method that just return true and it solves the problem.
Dapeng a écrit :
Hi
First time try T5
i followed the link
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
http://tapes
Hi Dapeng,
Try this:
src/main/resources/com/my/components/Layout.tml
src/main/java/com/my/components/Layout.java
src/main/webapp/Start.tml or src/main/resources/com/my/pages/Start.tml
src/main/java/com/my/pages/Layout.java
Marcus
Start.tml is in
src/main/webapp/Start.tml
Davor Hrg wrote:
where's your start.tml located ?
Davor Hrg
On Dec 7, 2007 5:07 AM, Dapeng <[EMAIL PROTECTED]> wrote:
Hi
First time try T5
i followed the link
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
http:
where's your start.tml located ?
Davor Hrg
On Dec 7, 2007 5:07 AM, Dapeng <[EMAIL PROTECTED]> wrote:
> Hi
>
> First time try T5
>
> i followed the link
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
>
>
>
>
>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>
Hi
First time try T5
i followed the link
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
My Tapestry Application
copy the codes into respective
src/java/com/my/components/Lay
t;
>> you can pass the user name from the UserProfile page to the layout
>> component, something like this:
>>
>> public class Layout {
>> @parameter
>> private String userName;
>> // getter/setter here
>> }
>>
>> in UserProfile.tml
Thx Angelo. This seems to make sense, but I cannot make it to work.. will try
more.
Ronald
Angelo Chen wrote:
>
> hi ronaldlee,
>
> you can pass the user name from the UserProfile page to the layout
> component, something like this:
>
> public class Layout {
>
Hi Ronald,
You can declare same ASO(ApplicationStateObject) in both java classes,
passing any values between any components.
Basic.java and UserProfile.java
...
@ApplicationState
private Visit _visit;
... getters and setters
Basic.tml
... ${visit.username}
Marcus
-
1 - 100 of 118 matches
Mail list logo