Re: t5: layout pattern and search engine indexing

2009-07-13 Thread Thiago H. de Paula Figueiredo
Em Mon, 13 Jul 2009 00:56:57 -0300, Angelo Chen escreveu: Hi Thiago, Hi! How to avoid event links? when you have a actionLink in the tml you will get that kind of links in the page, right? I'm sorry, I was not clear in the first message: I tried to tell you to not use ActionLink or E

Re: t5: layout pattern and search engine indexing

2009-07-12 Thread Angelo Chen
Hi Thiago, How to avoid event links? when you have a actionLink in the tml you will get that kind of links in the page, right? Thiago H. de Paula Figueiredo wrote: > > Em Sun, 12 Jul 2009 23:54:42 -0300, Angelo Chen > escreveu: > >> Hi, > > Hi! > >> I use layout pattern to layout the pag

Re: t5: layout pattern and search engine indexing

2009-07-12 Thread Thiago H. de Paula Figueiredo
Em Sun, 12 Jul 2009 23:54:42 -0300, Angelo Chen escreveu: Hi, Hi! I use layout pattern to layout the pages, it works well, but I notice sometimes URLs like following got indexd in the search engine: www.example/index.mylayout.home?t:ac=12345678 any idea how to turn above into www.example/

RE: t5: layout

2009-05-13 Thread Blower, Andy
I kind of assumed the ${} bit, guess we should wait for Angelo to chime in again now... > -Original Message- > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: 13 May 2009 16:10 > To: Tapestry users > Subject: Re: t5: layout > > On Wed, May

Re: t5: layout

2009-05-13 Thread Thiago H. de Paula Figueiredo
On Wed, May 13, 2009 at 12:01 PM, Blower, Andy wrote: > Not according to > http://tapestry.apache.org/tapestry5.1/guide/parameters.html, Context > Bindings. This works for us I think. You're right: you can now use context without using asset. I hadn't tested it before I answered that question.

RE: t5: layout

2009-05-13 Thread Blower, Andy
Not according to http://tapestry.apache.org/tapestry5.1/guide/parameters.html, Context Bindings. This works for us I think. > -Original Message- > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: 13 May 2009 14:36 > To: Tapestry users > Subject:

Re: t5: layout

2009-05-13 Thread Thiago H. de Paula Figueiredo
On Wed, May 13, 2009 at 10:05 AM, Angelo Chen wrote: > Hi, Hi! > in 5.1.0.5, I tried this: > context:layout/images/img20.gif Shouldn't it be something like ? -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.ap

Re: [T5] Layout component: resolving unclarities

2009-01-21 Thread Thiago H. de Paula Figueiredo
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

Re: [T5] Layout component: resolving unclarities

2009-01-21 Thread manuel aldana
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 a page, at l

Re: [T5] Layout component: resolving unclarities

2009-01-21 Thread Thiago H. de Paula Figueiredo
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 Layou

Re: [T5] Layout component: resolving unclarities

2009-01-21 Thread manuel aldana
Thiago H. de Paula Figueiredo schrieb: Em Wed, 21 Jan 2009 21:30:42 -0300, manuel aldana escreveu: looking at this layout injection pattern, i wonder whether a normal template, which references the dynamic site-parts directly wouldn't be even easier (i at least find it more intuitive as usin

Re: [T5] Layout component: resolving unclarities

2009-01-21 Thread Thiago H. de Paula Figueiredo
Em Wed, 21 Jan 2009 21:30:42 -0300, manuel aldana escreveu: looking at this layout injection pattern, i wonder whether a normal template, which references the dynamic site-parts directly wouldn't be even easier (i at least find it more intuitive as using the injection). what are the pros/

Re: [T5] Layout component: resolving unclarities

2009-01-21 Thread manuel aldana
Maybe reason is page flexibility. With below template the target address would always be the same page http://host/site, which is quite static. But when using the wrapper pattern the callee would be the page (e.g. http://host/login, http://host/item). this would feel more natural and layout it

Re: [T5] Layout component: resolving unclarities

2009-01-21 Thread manuel aldana
thanks for the link. looking at this layout injection pattern, i wonder whether a normal template, which references the dynamic site-parts directly wouldn't be even easier (i at least find it more intuitive as using the injection). what are the pros/cons for that? Site.tml (style stuff omit

Re: [T5] Layout component: resolving unclarities

2009-01-20 Thread SergeEby
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 (header, footer, navigati

Re: [T5] Layout component: resolving unclarities

2009-01-20 Thread manuel aldana
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

Re: [T5] Layout problem

2008-11-16 Thread DaniloP
Marinus Maris wrote: > > There are two files: > 1. Layout.java - goes in the src\main\java\MyApp\components folder. > 2. Layout.tml - goes in the src\main\resources\MyApp\components folder. > > So there are two different folder for one component. Did you do this? > Well, those two folder hav

Re: [T5] Layout problem

2008-11-14 Thread Geoff Callender
I much prefer to put them in the same folder. http://jumpstart.doublenegative.com.au/orientation.html http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/component/layout1 On 14/11/2008, at 11:43 PM, Marinus Maris wrote: DaniloP schreef: I`m trying to buil

Re: [T5] Layout problem

2008-11-14 Thread Marinus Maris
DaniloP schreef: I`m trying to build a layout, as described in http://tapestry.apache.org/tapestry5/guide/layout.html http://tapestry.apache.org/tapestry5/guide/layout.html . However, tapestry doesn`t read Layout.tml file. It`s in components package, as asked. Also, it woun`t read page .tml fi

Re: [T5] Layout and $remove$

2008-07-09 Thread Fabio Kreusch
Just one thing if anyone try this again: I had to add a xmlns, otherway it doesn't uses the Border component: t:type="Layout" xmlns:t=" > http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; Did it worked for you without the xmlns? 2008/7/9 Fabio Kreusch <[EMAIL PROTECTED]>: > Thanks, that'

Re: [T5] Layout and $remove$

2008-07-09 Thread Fabio Kreusch
Thanks, that's what I needed! 2008/7/8 Onno Scheffers <[EMAIL PROTECTED]>: > Hi Fabio, > > it looks like you're looking for the same thing I was looking for a while > ago. > > http://www.nabble.com/Re-%3A-Re-%3A-T5%3A-Layout-question-tc16448904.html#a16448904 > > Look for Peters' responses in tha

Re: [T5] Layout and $remove$

2008-07-08 Thread Onno Scheffers
Hi Fabio, it looks like you're looking for the same thing I was looking for a while ago. http://www.nabble.com/Re-%3A-Re-%3A-T5%3A-Layout-question-tc16448904.html#a16448904 Look for Peters' responses in that Thread. He really helped me out. regards, Onno Scheffers 2008/7/8 Fabio Kreusch <[EM

Re: [T5] Layout and $remove$

2008-07-08 Thread Shing Hing Man
To preview, I use something like the following. http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Hello! I use a simple remove component ,with no template, to remove the header tag. public class Remove { protected boolean beginRender(){

Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
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 ...

Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
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

Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
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

Re: [T5] Layout Component test prblem

2008-06-24 Thread Tan [EMAIL PROTECTED]
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?

Re: [T5] Layout Component test prblem

2008-06-24 Thread Marcelo Lotif
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

Re: Re : T5: Layout question

2008-04-04 Thread Howard Lewis Ship
This is not the case. T4 had the $content$ and $remove$ directives. These are useful features that have not yet made it into Tapestry 5. On Wed, Apr 2, 2008 at 3:49 AM, Julien HENRY <[EMAIL PROTECTED]> wrote: > Hi Onno, > > You don't need to do anything else. Everything outside of > > >

Re: Re : Re : T5: Layout question

2008-04-03 Thread Julian Wood
27;t work the way you (and I) expected. So it seems there is no official way to keep templates previewable with additionnal ouside markup that will be discarded at runtime to only keep the outside of the template. - Message d'origine De : Onno Scheffers <[EMAIL PROTECTED]> À :

Re: Re : Re : T5: Layout question

2008-04-02 Thread Onno Scheffers
Item 1 > > > Item 2 > > > > > > > > > > > > > > > > > > > > > > > > > > > >

Re: Re : Re : T5: Layout question

2008-04-02 Thread Peter Beshai
gt; > > > > > > Border.java: > > @Parameter > > @Property > > private Block _content; > > > > > > > > > > > > On Wed, Apr 2, 2008 at 7:52 AM, Julien HENRY <[EMAIL PROTECTED]> wrote: > > > > > Sorry Onno, I was

Re: Re : Re : T5: Layout question

2008-04-02 Thread Onno Scheffers
he way you (and > I) > > expected. So it seems there is no official way to keep templates > previewable > > with additionnal ouside markup that will be discarded at runtime to only > > keep the outside of the template. > > > > - Message d'origine &

Re: Re : Re : T5: Layout question

2008-04-02 Thread Peter Beshai
: Onno Scheffers <[EMAIL PROTECTED]> > À : Tapestry users > Envoyé le : Mercredi, 2 Avril 2008, 12h59mn 26s > Objet : Re: Re : T5: Layout question > > Hi Julien > > thanks for your answer and that was what I expected to see happening, but > it > doesn't. > So

Re : Re : T5: Layout question

2008-04-02 Thread Julien HENRY
plate. - Message d'origine De : Onno Scheffers <[EMAIL PROTECTED]> À : Tapestry users Envoyé le : Mercredi, 2 Avril 2008, 12h59mn 26s Objet : Re: Re : T5: Layout question Hi Julien thanks for your answer and that was what I expected to see happening, but it doesn't. So if it is suppo

Re: T5: Layout question

2008-04-02 Thread Onno Scheffers
can't help. > > Thanks! > > DH > > > > - Original Message - > From: "Julien HENRY" <[EMAIL PROTECTED]> > To: "Tapestry users" > Sent: Wednesday, April 02, 2008 6:49 PM > Subject: Re : T5: Layout question > > > Hi Onno,

Re: Re : T5: Layout question

2008-04-02 Thread Onno Scheffers
Hi Julien thanks for your answer and that was what I expected to see happening, but it doesn't. So if it is supposed to work like that, then I must be doing something wrong here. My Start.tml: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xmlns:t=" http://tap

Re: T5: Layout question

2008-04-02 Thread 宁德辉
HENRY" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Wednesday, April 02, 2008 6:49 PM Subject: Re : T5: Layout question Hi Onno, You don't need to do anything else. Everything outside of Page content will be discarded and the Layout component

Re : T5: Layout question

2008-04-02 Thread Julien HENRY
Hi Onno, You don't need to do anything else. Everything outside of Page content will be discarded and the Layout component will be used instead. Is it not the case? Regards, Julien - Message d'origine De : Onno Scheffers <[EMAIL PROTECTED]> À : Tapestry users Env

RE: T5: layout limitation?

2008-02-29 Thread Zheng, Xiahong
Ahh, that's how you do it tapestry. I guess I still can't get out of the tiles mindset. Thanks. -Original Message- From: Olof Næssén [mailto:[EMAIL PROTECTED] Sent: Friday, February 29, 2008 4:35 PM To: Tapestry users Subject: Re: T5: layout limitation? You can always mak

Re: T5: layout limitation?

2008-02-29 Thread Olof Næssén
You can always make a header and footer component and reuse them anywhere you like. /Olof On 29/02/2008, Zheng, Xiahong <[EMAIL PROTECTED]> wrote: > > > How can I have more than one in the layout template? My > immediate problem is I need to include common header and footer contents > in the tem

Re: [T5] - Layout and Templating in T5, how to ?

2007-09-23 Thread lasitha
Please search the archives of this mailing list - there have been several threads about layout. http://wiki.apache.org/tapestry/Tapestry5HowToSearchTheMailingLists Cheers. On 9/23/07, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > Dear friends, > > I looked all pages and tutorials related to T5, but

Re: T5 layout

2007-08-01 Thread Chris Lewis
Thanks Howard - its quite a nice feature. Godspeed with the rest of Tap5. Chris Howard Lewis Ship wrote: It is not yet possible; it is a feature to be added. Not sure of the JIRA number. On 7/31/07, Chris Lewis <[EMAIL PROTECTED]> wrote: Hello all, I've seen several threads about T5 and l

Re: T5 layout

2007-07-31 Thread Howard Lewis Ship
It is not yet possible; it is a feature to be added. Not sure of the JIRA number. On 7/31/07, Chris Lewis <[EMAIL PROTECTED]> wrote: > > Hello all, > > I've seen several threads about T5 and layout components, but still none > that show how to duplicate the functionality of $content$ in Tap 4. My