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
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.
-
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:
...
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
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
---
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
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
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
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
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
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
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
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
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
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
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
16 matches
Mail list logo