Re: T5: using a filter to manage virtual hosts

2007-12-18 Thread Andy Huhn
Hi Angelo, My solution didn't end up being elegant or complicated. Every page has a RqeustGlobals injected into it. And every page has a pageAttached method something like this: public void pageAttached() { . . HttpServletRequest r = _rqstGlbls.getHTTPServletRequest

Using in Tapestry 5

2007-12-18 Thread Yeeswara Nadapana (HCL Financial Services)
Hi, I am new to Tapestry5 and this is my first mail to the group. Can anyone please explain me the procedure to add a box to my form? If I write as: What goes behind the scene? Please explain me what each parameter does? I couldn't find any tutorial which goes deep into this framewo

T5:why my dispatcher not got called?

2007-12-18 Thread Angelo Chen
Hi, I have a dispatcher that I like it to be called before page renders, problem is, it was never called in the program, anything I miss here? thanks. Code: public class LocaleDispatcher implements Dispatcher { public boolean dispatch(Request request, Response response) throws IOException {

Re: T5-Can't find Ajax doco under tapestry-code

2007-12-18 Thread Howard Lewis Ship
Yes, and that's the point. The formos site contains nightly builds and up to date documentation for *unreleased* code. The main site contains documentation for the most recent release. On Dec 18, 2007 7:47 PM, Weisu <[EMAIL PROTECTED]> wrote: > > Sorry, I can see it now. > But if you go through

Re: T5-Can't find Ajax doco under tapestry-code

2007-12-18 Thread Weisu
Sorry, I can see it now. But if you go through the normal website, it is not there. Just in case someone is interest in this topic. it is under this link: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/ajax.html Wei. -- View this message in context: http://www.nabble.com/T5-C

Re: T5: using a filter to manage virtual hosts

2007-12-18 Thread Angelo Chen
Hi Andy, Were you able to make it run? any tips on accomplishing this? thanks, A.C. Andy Huhn wrote: > > All, > > I'm writing an app that will make use of virtual hosts (so that > domain1.com, domain2.org, etc. will all point to the same application). > The sticky piece is that each page wil

Re: T5: Quartz and the IoC Registry?

2007-12-18 Thread Andy Huhn
Thanks, Howard...ServiceResources did the trick! On Sat, 2007-12-15 at 06:53 -0800, Howard Lewis Ship wrote: > The Registry is not exposed, a service may be passed its > ServiceResources via a constructor parameter. This is an extension of > ServiceLocator, which includes all the key methods of Re

T5-Can't find Ajax doco under tapestry-code

2007-12-18 Thread Weisu
Hi, I am sure I read the Ajax and Zone doco in the tapestry site under Tapestry 5 Modules -> tapestry-code yesterday, but I can't see them today. Is there any chance to put them back, because it is very useful. Thanks in advance! Wei. -- View this message in context: http://www.nabble.com/T5-Can

[T5] overriding persistence strategy of all fields to conversation strategy

2007-12-18 Thread Kristian Marinkovic
Hi all,i'm currently implementing a conversation module (similar to seam) by defining an own persistence strategy. i thought of an explicit and an implicit mode for conversations. The explicit mode requires that every persistent field within a conversation is annotated with @Persist("conversation")

Re: T5: JumpStart 3.0.0 Preview ready for comments

2007-12-18 Thread Michael Courcy
Thanks a lot, I 'll try it. Francois Armand a écrit : Michael Courcy wrote: Hi I was really interested on how we could handle the edition of an entire list in a single page with T5. Let's say a List in a situation where we want the user to be able to edit the name and surname of all in a

Re: T5 : Failure writing parameter value of component because read only ???

2007-12-18 Thread Francois Armand
Penyihir Kecil wrote: Failure writing parameter value of component admin/PlayerForm:positionselect: Expression position for class ed

Re: T5: JumpStart 3.0.0 Preview ready for comments

2007-12-18 Thread Francois Armand
Michael Courcy wrote: Hi I was really interested on how we could handle the edition of an entire list in a single page with T5. Let's say a List in a situation where we want the user to be able to edit the name and surname of all in a single request. What could be the more elegant solutio

T5 : Failure writing parameter value of component because read only ???

2007-12-18 Thread Penyihir Kecil
Igot this err when i try to insert : ERROR Failure writing parameter value of component admin/PlayerForm:positionselect: Expressi

Re: T5: JumpStart 3.0.0 Preview ready for comments

2007-12-18 Thread Michael Courcy
Hi I was really interested on how we could handle the edition of an entire list in a single page with T5. Let's say a List in a situation where we want the user to be able to edit the name and surname of all in a single request. What could be the more elegant solution ? Michael. Geoff C

Re: T5: JumpStart 3.0.0 Preview ready for comments

2007-12-18 Thread Geoff Callender
LOL I like it. Marketing comes to the rescue once again! On 19/12/2007, at 12:28 AM, Francois Armand wrote: Geoff Callender wrote: Yes, I've been thinking of doing that. Not sure what I'd do about the elements that update the DB, though. Concurrency isn't a problem for the system but

Re: T5: JumpStart 3.0.0 Preview ready for comments

2007-12-18 Thread Francois Armand
Geoff Callender wrote: Yes, I've been thinking of doing that. Not sure what I'd do about the elements that update the DB, though. Concurrency isn't a problem for the system but it might be for the user experience - when user A goes from the edit screen to the display screen of an example they

Re: Antwort: Re: T5: Domain level localization

2007-12-18 Thread Angelo Chen
Hi Kristian, Thanks for the reply, my need is not to get the locale from the request but, I have two domain names, all will point to the same IP, one domain will have 'en' as locale while another one will have 'zh' as its locale, your solution works except I have to find out first the domain nam

Re: T5: JumpStart 3.0.0 Preview ready for comments

2007-12-18 Thread Geoff Callender
Yes, I've been thinking of doing that. Not sure what I'd do about the elements that update the DB, though. Concurrency isn't a problem for the system but it might be for the user experience - when user A goes from the edit screen to the display screen of an example they may see unexpected

Antwort: Re: T5: Domain level localization

2007-12-18 Thread Kristian Marinkovic
ok... just tried it myself... i get the same exception if you move your method call to getLocale it works. the DomainThreadLocale service is realized by the IOC container long before tapestry core initializes its Request service (that itself depends on RequestGlobals) because it is needed in a

Antwort: Re: T5: Domain level localization

2007-12-18 Thread Kristian Marinkovic
can you show me how you define your DomainThreadLocale service in your module class? Angelo Chen <[EMAIL PROTECTED]> 18.12.2007 11:33 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema Re: T5: Domain level localization Hi Kristian, This is a old post, i

Re: T5: @OnEvent and onActivate

2007-12-18 Thread Angelo Chen
Hi, I think I found the answer, it is: @OnEvent("activate") thanks, A.C. Francois Armand wrote: > > Angelo Chen wrote: >> Hi, >> >> Can we use @OnEvent to annotate a onActivate method, say: >> >> @OnEvent(???) >> void myActivate() { >> } >> >> > I'm not sure I understand what you want to do

Re: T5: Domain level localization

2007-12-18 Thread Angelo Chen
Hi Kristian, This is a old post, i finally tried it out, it works, but how to check domain name? calling 'request' s method cause exceptions, example: System.out.println(request.getContextPath()); ERROR] RequestExceptionHandler Processing of request failed with uncaught exception: Error invo

Tree, TreeTable or ...?

2007-12-18 Thread KLessou
Hi ! I search a simple very simple example to insert a Tree into a Html Table. Thx in advance ! -- ~ | klessou | ~

Re: T5 tapestry-hibernate error?

2007-12-18 Thread Michael Bernagou
Ok, the problem is the lib version. So, synchronized all the libraries versions :D 2007/12/18, Michael Bernagou <[EMAIL PROTECTED]>: > > Something wired when tapestry try to get the HibernateSession : > > Error invoking service builder method > org.apache.tapestry.hibernate.HibernateModule.build(

T5 tapestry-hibernate error?

2007-12-18 Thread Michael Bernagou
Something wired when tapestry try to get the HibernateSession : Error invoking service builder method org.apache.tapestry.hibernate.HibernateModule.build(HibernateSessionSource, ThreadCleanupHub) (at HibernateModule.java:62) (for service 'HibernateSessionManager'): Exception constructing service '

Re: T5: @OnEvent and onActivate

2007-12-18 Thread Francois Armand
Angelo Chen wrote: Hi, Can we use @OnEvent to annotate a onActivate method, say: @OnEvent(???) void myActivate() { } I'm not sure I understand what you want to do. The @OnEvent tag signal a handler for an Event. The method annotated may have any name you want, but you SHOULD avoid Tapest