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 angelochen...@yahoo.com.hk 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

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 angelochen...@yahoo.com.hk 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

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 angelochen...@yahoo.com.hk escreveu: Hi, Hi! I use layout pattern

Re: t5: layout

2009-05-13 Thread Thiago H. de Paula Figueiredo
On Wed, May 13, 2009 at 10:05 AM, Angelo Chen angelochen...@yahoo.com.hk wrote: Hi, Hi! in 5.1.0.5, I tried this: context:layout/images/img20.gif Shouldn't it be something like img src=${asset:context:layout/images/img20.gif}/? -- Thiago

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 On Wed

Re: t5: layout

2009-05-13 Thread Thiago H. de Paula Figueiredo
On Wed, May 13, 2009 at 12:01 PM, Blower, Andy andy.blo...@proquest.co.uk 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

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 13, 2009 at 12:01 PM, Blower

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 t:body/ injection). what are the pros/cons for that? Site.tml (style

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 ald...@gmx.de 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 t:body/

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 ald...@gmx.de 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

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 ald...@gmx.de 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

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 ald...@gmx.de 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

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

Re: [T5] Layout component: resolving unclarities

2009-01-20 Thread SergeEby
Hi, t:body/ 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,

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 have the

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

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

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 that Thread.

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's what

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/your_app_pkg/components. I recommend you to create a directory called src/main/resources/your_app_pkg/pages and put your pages inside it too. 2008/6/24 Tan [EMAIL PROTECTED] [EMAIL PROTECTED]: hi all, i

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/your_app_pkg/components src/main/resources/your_app_pkg/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

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 div ? 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 put

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

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 div

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 div

Re: Re : Re : T5: Layout question

2008-04-03 Thread Onno Scheffers
. - Message d'origine De : Onno Scheffers [EMAIL PROTECTED] À : Tapestry users users@tapestry.apache.org 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

Re: T5: Layout question

2008-04-02 Thread 宁德辉
PROTECTED] To: Tapestry users users@tapestry.apache.org 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 div class=text-column t:type=Border Page content /div will be discarded and the Layout

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: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

Re : T5: Layout question

2008-04-02 Thread Julien HENRY
Hi Onno, You don't need to do anything else. Everything outside of div class=text-column t:type=Border Page content /div will be discarded and the Layout component will be used instead. Is it not the case? Regards, Julien - Message d'origine De : Onno Scheffers

Re: T5: Layout question

2008-04-02 Thread Onno Scheffers
- Original Message - From: Julien HENRY [EMAIL PROTECTED] To: Tapestry users users@tapestry.apache.org 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 div class=text-column t:type=Border

Re : Re : T5: Layout question

2008-04-02 Thread Julien HENRY
. - Message d'origine De : Onno Scheffers [EMAIL PROTECTED] À : Tapestry users users@tapestry.apache.org 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 : Re : T5: Layout question

2008-04-02 Thread Peter Beshai
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] À : Tapestry users users@tapestry.apache.org Envoyé le : Mercredi, 2 Avril 2008, 12h59mn 26s Objet : Re: Re : T5

Re: Re : Re : T5: Layout question

2008-04-02 Thread Onno Scheffers
: 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 supposed to work like that, then I must be doing something wrong here. My Start.tml: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http

Re: Re : Re : T5: Layout question

2008-04-02 Thread Peter Beshai
that will be discarded at runtime to only keep the outside of the template. - Message d'origine De : Onno Scheffers [EMAIL PROTECTED] À : Tapestry users users@tapestry.apache.org Envoyé le : Mercredi, 2 Avril 2008, 12h59mn 26s Objet : Re: Re : T5: Layout question Hi Julien

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 t:body/ in the layout template? My immediate problem is I need to include common header and footer contents in the

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 make a header

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 i

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

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