T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
Hi, I am exploring Tapestry (currently looking at 4.1.4 snapshot). So far, the experience has been very positive. I was able to convert a Struts based application to Tapestry4 in just a couple days. However, I still need answer to the following questions, 1) Layout management: I couldn't find a

Re: T4: Newbie's questions

2008-01-10 Thread Norman Franke
On Jan 10, 2008, at 2:05 PM, Zheng, Xiahong wrote: 1) Layout management: I couldn't find a documented solution to replace tiles used by the old application. Not sure on that one, I don't believe there really is anything dealing with layout other than a table. 2) Dynamic attribute value

Re: T4: Newbie's questions

2008-01-10 Thread Ulrich Stärk
Zheng, Xiahong schrieb: Hi, I am exploring Tapestry (currently looking at 4.1.4 snapshot). So far, the experience has been very positive. I was able to convert a Struts based application to Tapestry4 in just a couple days. However, I still need answer to the following questions, 1) Layout

Re: T4: Newbie's questions

2008-01-10 Thread Marcus
Hi Zheng, Since you are newbie, I think you should try T5. I'm a Tapestry user since T3. T5 is more intuitive and easy to learn, in my opinion. Marcus

Re: T4: Newbie's questions

2008-01-10 Thread Kalle Korhonen
On 1/10/08, Ulrich Stärk [EMAIL PROTECTED] wrote: Zheng, Xiahong schrieb: 1) Layout management: I couldn't find a documented solution to replace tiles used by the old application. I'm no Struts expert but AFAICR tiles are just some kind of reusable templates. In Tapestry every component

RE: T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
OGNL expression to the onclick attribute? -Original Message- From: Norman Franke [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 2:15 PM To: Tapestry users Subject: Re: T4: Newbie's questions On Jan 10, 2008, at 2:05 PM, Zheng, Xiahong wrote: 1) Layout management: I couldn't

Re: T4: Newbie's questions

2008-01-10 Thread Norman Franke
On Jan 10, 2008, at 3:04 PM, Zheng, Xiahong wrote: Thanks Norman and Ulrich for your quick response. Now I am getting closer. In my scenario, I want to append a dynamic content to the onclick attribute, not to replace it entirely. See below, input jwcid=@Any

RE: T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
PROTECTED] Sent: Thursday, January 10, 2008 3:38 PM To: Tapestry users Subject: Re: T4: Newbie's questions On Jan 10, 2008, at 3:04 PM, Zheng, Xiahong wrote: Thanks Norman and Ulrich for your quick response. Now I am getting closer. In my scenario, I want to append a dynamic content

Re: T4: Newbie's questions

2008-01-10 Thread Jesse Kuhnert
class which is vulnerable to UI changes (form element id changes, i.e.). -Original Message- From: Norman Franke [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 3:38 PM To: Tapestry users Subject: Re: T4: Newbie's questions On Jan 10, 2008, at 3:04 PM, Zheng, Xiahong

RE: T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
How to escape single quote inside my string constant? -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 4:19 PM To: Tapestry users Subject: Re: T4: Newbie's questions input jwcid=@Any stringValue=ognl:'myStringValue' + page.user.name

Re: T4: Newbie's questions

2008-01-10 Thread Norman Franke
: Newbie's questions On Jan 10, 2008, at 3:04 PM, Zheng, Xiahong wrote: Thanks Norman and Ulrich for your quick response. Now I am getting closer. In my scenario, I want to append a dynamic content to the onclick attribute, not to replace it entirely. See below, input jwcid=@Any onclick

Re: T4: Newbie's questions

2008-01-10 Thread Jesse Kuhnert
in my Page class which is vulnerable to UI changes (form element id changes, i.e.). -Original Message- From: Norman Franke [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 3:38 PM To: Tapestry users Subject: Re: T4: Newbie's questions On Jan 10, 2008, at 3:04 PM

Re: T4: Newbie's questions

2008-01-10 Thread Yunhua Sang
Hi Xiahong, For Layout management, there is a example in Workbench demo: src\Workbench\src\context\WEB-INF\Border.html You may have better sense after you take a look of this page. Cheers, Yunhua On Jan 10, 2008 2:26 PM, Ulrich Stärk [EMAIL PROTECTED] wrote: Zheng, Xiahong schrieb: Hi, I

RE: T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
It works!!! Thanks a bunch. -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 4:33 PM To: Tapestry users Subject: Re: T4: Newbie's questions \' On Jan 10, 2008 4:29 PM, Zheng, Xiahong [EMAIL PROTECTED] wrote: How to escape single quote

Re: T4: Newbie's questions

2008-01-10 Thread Norman Franke
] Sent: Thursday, January 10, 2008 4:33 PM To: Tapestry users Subject: Re: T4: Newbie's questions \' On Jan 10, 2008 4:29 PM, Zheng, Xiahong [EMAIL PROTECTED] wrote: How to escape single quote inside my string constant? -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent

RE: T4: Newbie's questions

2008-01-10 Thread Zheng, Xiahong
Thanks, I'll look into the example. -Original Message- From: Yunhua Sang [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 4:35 PM To: Tapestry users Subject: Re: T4: Newbie's questions Hi Xiahong, For Layout management, there is a example in Workbench demo: src\Workbench\src