T5: Best page templating strategy

2007-04-09 Thread Yann Ramin
I'm using T5 to do some experimental testing, creating some mockup applications to teach me more about the framework. My question is, how do you best handle multi-part layouts? For instance, a Layout can be composed of a Body and a Sidebar. The Sidebar can be a component. My current approach is

Re: Pass parameter as custom url, www.example.com/pic?id=12345

2007-04-09 Thread Andrea Chiumenti
Hi, use the ExternalPageLink and derive your page from IExternalPage, that's all. http://tapestry.apache.org/tapestry4.1/components/link/externallink.html kiuma On 4/10/07, Josh Joy <[EMAIL PROTECTED]> wrote: Hi, For the most part, I think Tapestry is generating urls for me and with me speci

Pass parameter as custom url, www.example.com/pic?id=12345

2007-04-09 Thread Josh Joy
Hi, For the most part, I think Tapestry is generating urls for me and with me specifying client persistence it encodes state into the url... My question is, how can I do something similar to the following www.example.com/pic?id=12345 where I can define a page "pic" and have a default listener whi

Re: Is there any Tapestry Tree Table component which is similar to ADF Tree Table?

2007-04-09 Thread tapuser
Hi Jessek, I looked at this example. But, I want to add additional columns and action butttons to the tree row. Also I looked at TreeTable component. It seems that it has bugs. Thanks. Sri Jessek wrote: > > http://opencomponentry.com:8080/tacos/ajax/TreeExample.html > > On 4/9/

Re: [T4.1.2] How do you change dojo component styles

2007-04-09 Thread Chris Chiappone
Thanks for the pointers. On 4/9/07, Andreas Andreou <[EMAIL PROTECTED]> wrote: ... and here's some pointers http://dojotoolkit.org/pipermail/dojo-interest/2006-August/015538.html http://trac.dojotoolkit.org/ticket/1024 On 4/10/07, Andreas Andreou <[EMAIL PROTECTED]> wrote: > > You mean, apart f

Re: Is there any Tapestry Tree Table component which is similar to ADF Tree Table?

2007-04-09 Thread Jesse Kuhnert
http://opencomponentry.com:8080/tacos/ajax/TreeExample.html On 4/9/07, tapuser <[EMAIL PROTECTED]> wrote: Hi Tapestry Experts, I am trying to find a Tree Table component which is similar to ADF Tree Table component. http://download-east.oracle.com/docs/cd/B32110_01/web.1013/b28967/web_masterd

Re: .jwc-file-free components for libraries (4.1.1)

2007-04-09 Thread Jesse Kuhnert
I haven't forgotten about this one, it seems I've delved into some sticky bits of code so it's not been an easy task. (only sticky because of backwards compatibility stuff ) A fix is coming but it may be another day or two. (i know how to fix it already but need to make sure I don't just hack it

Re: [T4.1.2] How do you change dojo component styles

2007-04-09 Thread Andreas Andreou
... and here's some pointers http://dojotoolkit.org/pipermail/dojo-interest/2006-August/015538.html http://trac.dojotoolkit.org/ticket/1024 On 4/10/07, Andreas Andreou <[EMAIL PROTECTED]> wrote: You mean, apart from taking a look at the created nodes for those components and writing a css that

Re: [T4.1.2] How do you change dojo component styles

2007-04-09 Thread Andreas Andreou
You mean, apart from taking a look at the created nodes for those components and writing a css that uses (and overrides) the default styles? For the autocompleter, i see these classes used: dojoComboBoxItem dojoComboBoxItemEven dojoComboBoxItemOdd dojoComboBoxOptions ... Now, i'm not aware if th

RE: @Body causes IE6 crash when close the page (...0x623068e0 referenced memory. ..)

2007-04-09 Thread Ajit Raj
More: (...0x623068e0 referenced memory at 0x623068e0 seems only happens when you leave the page on for sometime (ex 20 minutes), then close the IE. From: "Ajit Raj" <[EMAIL PROTECTED]> Reply-To: "Tapestry users" To: users@tapestry.apache.org Subject: @Body causes IE6 crash when close the pa

Re: [T4.1.2] How do you change dojo component styles

2007-04-09 Thread Chris Chiappone
I'm still on the search on how to change css styling for dojo components in t4.1. Anyone able to help me out with this? On 4/6/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: Another reason I am curious about this is that I have about 40 dropdowndatepickers in one page and that page takes a long

@Body causes IE6 crash when close the page (...0x623068e0 referenced memory. ..)

2007-04-09 Thread Ajit Raj
Hi, All, I have the following codes that are very shot that I copied from "enjoying web development with tapestry" book. I found out that if put the @Body tag to the html file, it will cause IE (v 6.0.2900) to crash when close the page. Can anyone let me know anything wrong here, or someway to

Re: T5 Tapestry 5 Ajax abilities compared to 4.1

2007-04-09 Thread Daniel Jue
Thanks Howard! I'm changing over to 4.1 today. On 4/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Get started in 4.1. The T5 Ajax story is not yet written. Everything so far has been positioning. On 4/9/07, Daniel Jue <[EMAIL PROTECTED]> wrote: > Hi, > > I have an application in T4.0.1,

Re: T5: Hibernate integration question - with additional questions

2007-04-09 Thread Celia Mou
Thanks again, Howard! I think T5 is definitely going to be a great thing! I'm going to donate, and hope there would be good funding for it. Thanks! celia Howard Lewis Ship wrote: On 4/9/07, Celia Mou <[EMAIL PROTECTED]> wrote: Thanks for clarifying this, Howard! Now actually, i have relat

Re: T5 Tapestry 5 Ajax abilities compared to 4.1

2007-04-09 Thread Howard Lewis Ship
Get started in 4.1. The T5 Ajax story is not yet written. Everything so far has been positioning. On 4/9/07, Daniel Jue <[EMAIL PROTECTED]> wrote: Hi, I have an application in T4.0.1, and I have a problem than can be solved using AJAX. I have a feeling I'll want to do more and more AJAX for t

Re: T5: Hibernate integration question

2007-04-09 Thread Howard Lewis Ship
On 4/9/07, Celia Mou <[EMAIL PROTECTED]> wrote: Thanks for clarifying this, Howard! Now actually, i have related questions: My application needs to handle file uploads, and work with third-party packages to generate graphs (through generating from the backend either a custom link or javascript f

Re: T5: Hibernate integration question

2007-04-09 Thread Celia Mou
Thanks for clarifying this, Howard! Now actually, i have related questions: My application needs to handle file uploads, and work with third-party packages to generate graphs (through generating from the backend either a custom link or javascript for the html page), and occasionally redirect t

Is there any Tapestry Tree Table component which is similar to ADF Tree Table?

2007-04-09 Thread tapuser
Hi Tapestry Experts, I am trying to find a Tree Table component which is similar to ADF Tree Table component. http://download-east.oracle.com/docs/cd/B32110_01/web.1013/b28967/web_masterdetail005.htm If you write such component in Tapestry, could you please provide some hints to implement ADF

Re: Persisted Object with session scope is getting lost between the pages.

2007-04-09 Thread tapuser
Hi Martino, After persiting the state to the client. It is able to hold the original values. Thanks. Sri. Martino Piccinato wrote: > > Well, maybe you should post some code because it seems you are having some > specific problem in your pages/ASO persistence implementation and i

Re: Visit Object deprecated

2007-04-09 Thread Howard Lewis Ship
In Tapestry 4, they are more generic, called "ASOs". You can think of Visit as a legacy ASO, but it's better to create your own and name them differently (no Visit) since that conflicts with a deprectated method (Object getVisit()) on BasePage. On 4/4/07, Gareth <[EMAIL PROTECTED]> wrote: Are w

T5 Tapestry 5 Ajax abilities compared to 4.1

2007-04-09 Thread Daniel Jue
Hi, I have an application in T4.0.1, and I have a problem than can be solved using AJAX. I have a feeling I'll want to do more and more AJAX for this app once I get the hang of it. However merging in yet-another-plugin that allows AJAX functionality is a slight minus; I prefer abilities built in

Re: Visit Object deprecated

2007-04-09 Thread Daniel Jue
I would take a look at the 4th chapter in Kent Tong's book (first 4 chapters are free online). In that chapter he sets up an online store, using a shopping cart as the ASO. I used this chapter a whole lot when developing my first Tapestry app. Rename "cart" to "user", and it starts feeling like

Re: @Parameter(cache=true) ... am I misunderstanding this?

2007-04-09 Thread Howard Lewis Ship
When a parameter is cached, it is cached for at most, the duration of the component's render. If the parameter is accessed when the component is not rendering, or if the component is rendered multiple times (due to an enclosing Loop), then the container component property will be accessed multipl

Re: session persistance?

2007-04-09 Thread Howard Lewis Ship
That is correct behavior, and if you update the property (not the set stored in the property), then the Set will be stored into the session, and restored on the next request. On 4/8/07, Patrick Moore <[EMAIL PROTECTED]> wrote: Hi there -- does anyone have some thoughts on why: @Persist