Hi,
I have a Login page, and user will navigate to, say, Work page after
success authenticate process.
But when an authenticated user access Login page, I wish to just
redirect to Work page.
How can I do that?
Allex J.
-
To
> Scenario: I am creating Projects and Issues under those projects and have a
> question about passing the projectid around.
>
> Project.tml
>Create
> New Issue
>
> CreateIssue.tml
> submitLabel="message:submitCreateIssueText" exclude="id" add="project">
>
>
Everything i used in the example is built into Tapestry except the
OnEvent mixin that is provided by the library
t5-components(http://87.193.218.134:8080/t5components/index.html).
The javascript stuff is part of prototype that is already bundled with
Tapestry.
James Hillyerd wrote:
Hugo,
Tha
Ah ... thanks James.
I didn't realize that rendering a page would invoke onPassivate for the
pages included via *link tags.
I need to look for and watch this happen ... thanks very much.
-Luther
On Tue, Dec 9, 2008 at 1:38 AM, James Hillyerd <[EMAIL PROTECTED]> wrote:
> (I'm still learning t
Hugo,
That's a great example. I think this belongs on the Wiki!
Is the JSON stuff built into Tapestry, or do I need a third party library
for that?
-james
On Tue, Dec 9, 2008 at 10:17 AM, Hugo Palma <[EMAIL PROTECTED]> wrote:
> Here's how i'm doing this now:
>
> On the source select i'm using
@Geoff
Thanks for the URLs!
In your first example, you are injecting _page2 into Forms1, setting the
_firstName and _lastName ... and then returning that page instance. Then, in
Forms2 you DEPEND on _firstName and _lastName already being set!
Then, it seems like Forms2.onPassivate will return th
Oops. Thanks Eric. The links should be:
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/input/forms1
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/onactivateandonpassivate/3
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/whati
is it possible to force a newline after a doctype declaration in tapestry
5?
Preserve whitespace didn't work.
in my layout template I have
http://www.w3.org/TR/html4/strict.dtd";>
but the generated output has on the same line as .
My app responds to Ajax event requests with JSON. If the event handler
throws an exception, I'd like to return a special JSON response with the
error text. Can I decorate RequestExceptionHandler for this? To do so, I'd
need to be able to tell that the request is an Ajax event request; if it
isn
Here's how i'm doing this now:
On the source select i'm using the OnEvent mixin to fire the change event:
The event listener method is then responsible for querying the database for
the value to be set in the destination select:
@OnEvent(component = "operator", value = "change")
public JSO
Hi,
I need to translate a WebObjects WOSwitchComponent to something equivalent
in T5.
I've looked at the BeanEditForm source, but I'm afraid I don't understand
how this is working. The relevant bit seems to be:
... but maybe the key is actually somewhere in PropertyEditor?
When you say "put
Hi Toby
> Is there an example of using the Beaneditform for ManyToMany and ManyToOne
> associations?
> Is there a more simple solution with less code then what is described in
> "Adding New Property Editors" ?
>
Check Trails's main trunk. Check the "Recipe" example. It's still a
work in progress
Cool, thanks again.
On Tue, Dec 9, 2008 at 3:22 PM, Sven Homburg <[EMAIL PROTECTED]>wrote:
> also done
>
> 2008/12/9 Hugo Palma <[EMAIL PROTECTED]>
>
> > Thanks.
> > One more thing, i noticed that the fix now forces the event listener
> method
> > to return a StreamResponse. If not a ClassCastExc
I'm currently evaluating Tapestry 5 as a replacement for Struts/JSP, but have
encountered a few difficulties that I presume are due to my lack of
experience with the framework, so I'm looking or a bit of help.
Is it possible to generate component ids from an expansion? For example:
Tapest
also done
2008/12/9 Hugo Palma <[EMAIL PROTECTED]>
> Thanks.
> One more thing, i noticed that the fix now forces the event listener method
> to return a StreamResponse. If not a ClassCastException is thrown.
> Shouldn't the component treat the same cases of return types from event
> listener meth
No problem. Turns out it works for pages too. I've moved my .tml
files into /src/main/resources (since I don't mind the split) without
difficulty.
Christian.
On 9-Dec-08, at 06:52 , Maximilian Weißböck wrote:
Thanks Christian! Exactly what I was looking for!
Max
-Ursprüngliche Na
Thanks Christian! Exactly what I was looking for!
Max
> -Ursprüngliche Nachricht-
> Von: Christian Edward Gruber [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 5. Dezember 2008 17:06
> An: Tapestry users
> Betreff: Re: AW: Advantages of various .tml storage locations?
>
> It's not a fix
done! named 5.0.18-SNAPSHOT but compiled against Tapestry 5.0.17
2008/12/9 Hugo Palma <[EMAIL PROTECTED]>
> Can you guys upload a SNAPSHOT release or something with this fix ?
>
> On Mon, Dec 1, 2008 at 9:31 PM, Sven Homburg <[EMAIL PROTECTED]
> >wrote:
>
> > changes submitted into trunk
> >
> >
Thanks.
One more thing, i noticed that the fix now forces the event listener method
to return a StreamResponse. If not a ClassCastException is thrown.
Shouldn't the component treat the same cases of return types from event
listener methods as Tapestry does ? In my current usecase for example i want
Can you guys upload a SNAPSHOT release or something with this fix ?
On Mon, Dec 1, 2008 at 9:31 PM, Sven Homburg <[EMAIL PROTECTED]>wrote:
> changes submitted into trunk
>
> 2008/12/1 Harald Geritzer <[EMAIL PROTECTED]>
>
> >
> > seems t5components/onEvent changed its behaviour and always sends b
So anyone at Devoxx?
Jérôme
On Fri, Dec 5, 2008 at 21:20, Oliver Geisser <[EMAIL PROTECTED]>wrote:
> Hi,
>
> is someone going to Devoxx next week and would like to meet and chat a
> little about Tapestry?
>
> As far as I know there is no Tapestry presentation scheduled but maybe we
> can meet at
Hi,
Version 1.0.1 of the tapestry5-appfuse project has been released.
It's built with Tapestry 5.0.18 and has several improvements and bug fixes.
See details here:
http://code.google.com/p/tapestry5-appfuse/
Feedback would be appreciated.
/Serge
--
View this message in context:
http://www.
Very useful info, if you change http://localhost:8080 to
http://jumpstart.doublenegative.com.au:8080 :-)
Thanks Geoff for the great service to the community.
Eric
Geoff Callender-2 wrote:
>
> Do these links help?
>
> http://localhost:8080/jumpstart/examples/input/forms1
> http://localhost:80
http://tapestry.apache.org/tapestry4.1/usersguide/state.html
kk4Nabble schrieb:
Thanks for the reply,
Problem is I am using Tapestry 4.1.1.
So Any ways to do it in this version .
Thank you
Ulrich Stärk wrote:
Use the @Persist annotation on your page properties (see
http://tapestry.apach
Do these links help?
http://localhost:8080/jumpstart/examples/input/forms1
http://localhost:8080/jumpstart/examples/navigation/onactivateandonpassivate/3
http://localhost:8080/jumpstart/examples/navigation/whatiscalledandwhen
Regardng pooling, you should assume the page instance you set up is
Use @Persist and read the docs (user's guide and tapestry-annotations
documentation).
Uli
kk4Nabble schrieb:
Thanks for the reply,
Problem is I am using Tapestry 4.1.1.
So Any ways to do it in this version .
Thank you
Ulrich Stärk wrote:
Use the @Persist annotation on your page properties (s
26 matches
Mail list logo