Re: [T5] how to Eager Loading PERTHREAD_SCOPE service?

2007-08-19 Thread Jun Tsai
2007/8/19, Ben Tomasini [EMAIL PROTECTED]: It seems to me that the normal eager load behavior would be irrelevant for a perthread service because a perthread service must be bound to a thread which is using the registry, and the registry cannot be used until it is built. I wanto to eager

[T5] how to make page templates (like Tiles)

2007-08-19 Thread Anton Gavazuk
Hello all, How to implement page templates using tapestry 5 - like a page definitions in Tiles?

Re: [T5] how to make page templates (like Tiles)

2007-08-19 Thread Jun Tsai
2007/8/19, Anton Gavazuk [EMAIL PROTECTED]: Hello all, How to implement page templates using tapestry 5 - like a page definitions in Tiles? you can use layout component. -- regards, Jun Tsai

Re: [T5] how to Eager Loading PERTHREAD_SCOPE service?

2007-08-19 Thread Davor Hrg
do you want your service loaded for each thread, and for each thread a new instance created ? why do you need this ? consider avoiding this ? who creates the threads ? Davor Hrg On 8/19/07, Jun Tsai [EMAIL PROTECTED] wrote: 2007/8/19, Ben Tomasini [EMAIL PROTECTED]: It seems to me that

using Intellij with Tapestry

2007-08-19 Thread Angelo Chen
Hi, I follow the following tutorial to learn Tapestry: http://www.devshed.com/c/a/Apache/Creating-Your-First-Tapestry-Project/3/ the above sample is based on NetBeans, it works. I tried exactly the same steps in Intellij IDEA, but got an error when run: HTTP Status 404 - Servlet FirstTapestry

T4: Does forgetPage force finishLoad call?

2007-08-19 Thread Bill Holloway
I use finishLoad() to set up some persistent properties on a page from some ASOs. I need to be able to dump all the persistent properties on that page (forgetPage), update the ASOs, and then be confident that finishLoad() will be called on the next visit to the page to re-setup my persistent

[t4] Can't debug App

2007-08-19 Thread Ryan Fisch
Hi, I was curious if anyone ran into this issue. I just setup friendly urls and Acegi security and now I can't seem to debug my code in netbeans. I can attach my debugger to my jboss server but it won't hit any breaklines. Anyone have any ideas? -- View this message in context:

T3: Disable TextField

2007-08-19 Thread Nazmul Bhuiyan
Hi, I’m trying to disable one field according to the condition (new or update). But I’m getting the following error. Can any one please check and tell me what I’m doing wrong? I’ve been following the component reference in http://tapestry.apache.org/tapestry3/doc/ComponentReference/TextField.html

Re: Recursion of components

2007-08-19 Thread damien
Interesting, I hit this same wall a while ago when trying to render a tree. It seems to be a common occurrence, so supporting it in the framework would be highly desirable. I ended up doing almost all the rendering in Java code, using the template only to hold blocks which I called to render from

Re: T3: Disable TextField

2007-08-19 Thread Nazmul Bhuiyan
Disable works but it is failing when I put the condition. span jwcid=@Conditional condition=ognl:newUser disabled=ognl:false span jwcid=@Conditional condition=ognl:newUser disabled=ognl:true Nazmul Bhuiyan wrote: Hi, I’m trying to disable one field according to the condition

Re: T3: Disable TextField

2007-08-19 Thread 蝈蝈龙
there are one more inputUserLogin in .html file. It's not be allowed For this case, you have to define two components with different name in .page file. 2007/8/20, Nazmul Bhuiyan [EMAIL PROTECTED]: Hi, I'm trying to disable one field according to the condition (new or update). But I'm

Re: T3: Disable TextField

2007-08-19 Thread Nazmul Bhuiyan
Thanks a lot. Allen Guo wrote: there are one more inputUserLogin in .html file. It's not be allowed For this case, you have to define two components with different name in .page file. 2007/8/20, Nazmul Bhuiyan [EMAIL PROTECTED]: Hi, I'm trying to disable one field according to the

Re: T3: Disable TextField

2007-08-19 Thread Nick Westgate
The error says exactly what is wrong with your template. Each component must have a unique name (or be anonymous.) Cheers, Nick. Nazmul Bhuiyan wrote: Template for component UserEdit contains multiple references to embedded component inputUserLogin. ... input type=text

Re: Recursion of components

2007-08-19 Thread Nick Westgate
There's been plenty of discussion about this in the past, and using blocks from a template is the usual solution, eg: http://www.behindthesite.com/blog/C1931765677/E923478269/index.html I believe the static structure, dynamic behaviour mantra is for the sake of performance, and a fundamental

Re: [T5] how to make page templates (like Tiles)

2007-08-19 Thread Anton Gavazuk
Hi Jun, Do you have an example or link to example :)? I have looked through mail list and found only messages related to layout component about CSS. 2007/8/19, Jun Tsai [EMAIL PROTECTED]: 2007/8/19, Anton Gavazuk [EMAIL PROTECTED]: Hello all, How to implement page templates using tapestry

T5: Quotes in TextField component not escaped?

2007-08-19 Thread Josh Canfield
t:textfield t:id=title t:value=title size=50/ gets rendered to input id= title name=title size=50 type=text value=My quoted content I see a todo in org.apache.tapestry.dom.Element to URL encode the attributes... I haven't seen mention of it in the list, or in Jira, but it seems like a pretty