Re: T5 Services

2007-07-07 Thread Ben Acker
Thank you very much Howard for the explicit instructions. The most recent quickstart appmodule.java has it in there - I apologize for not having the grey matter to not check that - one can learn a lot from grabbing the source... -Ben On 7/7/07, Ben Acker <[EMAIL PROTECTED]> wrote: Thanks! On

Best way to get mutiple selection results back from a selection in a dynamic form

2007-07-07 Thread Ajit Raj
Hi,I have a page that contains a state selection, and a city(list) selection for that each state selected. The city list could be updatedif the state selection is changed. So, I use @Persist("client") to store the"state" lists. User could choose multiple "cities" in the selection and the city li

Re: Tap 5.0.5 Cannot parse url in href which contains query string page

2007-07-07 Thread Shing Hing Man
Replacing & by & does the trick. Thanks! Shing --- Marcus Schulte <[EMAIL PROTECTED]> wrote: > did you try foo&page=Show ? > > 2007/7/7, Shing Hing Man <[EMAIL PROTECTED]>: > > > > Tap 5.0.5 Cannot parse url in href which contains > query string page > > To: tapestry Tapestry > <[EMAIL PROT

Re: ==============================

2007-07-07 Thread Marcus Schulte
did you try foo&page=Show ? 2007/7/7, Shing Hing Man <[EMAIL PROTECTED]>: Tap 5.0.5 Cannot parse url in href which contains query string page To: tapestry Tapestry <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <[E

Re: Problem with non-ASCII form parameters in form containing upload component

2007-07-07 Thread Steven Coco
Hi. I have a couple of obvious thoughts: Does the form contain an accept-charset attribute? If the form in the HTML document does not specify an accept-charset, it is allowed to use the document's charset. Did you double-check the charset being returned by the server (what's seen by the agent

Re: Tap 5.0.5 : How to share a java class between two Tapestry pages

2007-07-07 Thread Howard Lewis Ship
This has come up a few times; please check the mailing list history. Subclasses are the proper way to go, and I'm strongly opposed to sharing templates in any other fashion. On 7/7/07, Shing Hing Man <[EMAIL PROTECTED]> wrote: In Tap 4, two different Tapestry pages can share the same java page c

Tap 5.0.5 : How to share a java class between two Tapestry pages

2007-07-07 Thread Shing Hing Man
In Tap 4, two different Tapestry pages can share the same java page class, foo.java say, by setting the page-specification attribute class="foo.java". How can this be done in Tap 5 ? A workaround would be to have a subclass of foo.java for each Tapestry page. But then I will have many subclasse

Re: Russian symbols problems

2007-07-07 Thread Ulrich Stärk
Have you tried this: http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding This will ensure that pages served by Tapestry are UTF8 encoded. For me this was enough to make T5 serve German UTF8 characters correctly. Uli Foror schrieb: I'm using message properties files in UTF-8 with russian s

Re: T5 Services

2007-07-07 Thread Ben Acker
Thanks! On 7/7/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: 1) Define your service interface 2) Provide an implementation 3) Inside your AppModule, update the bind() method, i.e. public static void bind(ServiceBinder binder) { binder.bind(MyInterface.class, MyImpl.class); } 4) Inject it

Re: Russian symbols problems

2007-07-07 Thread Igor Drobiazko
Hi, you have 2 possibilities: either convert your property files into native-encoded characters or start you server in UTF-8 mode. http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/native2ascii.html On 7/7/07, Foror <[EMAIL PROTECTED]> wrote: I'm using message properties files in UTF-8 wit

Re: TAP 4: How to override asset service.

2007-07-07 Thread Marcus Schulte
try to override the existing service like that: In the invoke-factory element, you'd reference the original tapestry implementation under a different service-id, under which you'd make it available by copying the original stuff from the tapestry hivemodules. hth, Marcus 2007/7/5, [EMAI

Russian symbols problems

2007-07-07 Thread Foror
I'm using message properties files in UTF-8 with russian symbols, for T4 it's work, but T5 it's not work - russian symbols is damaged Also problem with @ApplicationState, after save state and back to form, russian as well is damaged ---

Re: [t5] Error in tutorial

2007-07-07 Thread Stephen Summerfield
Evan Rawson - Work americanadtrader.com> writes: > > when doing the hi/lo tutorial > > this section of code >you will need to changeonActionFromLinktoonActionFromGuess Or just change the following in Guess.html: ${guess} to ${guess} (I think that was the typo as the code talks

Re: T4: Can I have dynamic component id or how do I solve this?

2007-07-07 Thread Marcus Schulte
cool, I was completely wrong then - didn't know, it worked with client-side id's. Something like that would really be a nice example for the docs, I think! 2007/7/6, Malin Ljungh <[EMAIL PROTECTED]>: Well, actually I works excellent! I have it like this in my template now: ...

passing parameters to the popup window

2007-07-07 Thread KBM
hi, Can anyone help how to pass the parameters to the popup window. thanks KBM -- View this message in context: http://www.nabble.com/passing-parameters-to-the-popup-window-tf4039456.html#a11476200 Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: T5 Services

2007-07-07 Thread Howard Lewis Ship
1) Define your service interface 2) Provide an implementation 3) Inside your AppModule, update the bind() method, i.e. public static void bind(ServiceBinder binder) { binder.bind(MyInterface.class, MyImpl.class); } 4) Inject it into your component: @Inject private MyInterface _myService; Tha