Hi,
I have a web application that use tapestry framework to manage sessions,
and I want to setup Java Web Start.
I want a servlet to create a jnlp file generator according to user, but
I need know whether this user have already a tapestry session (Visit
object), or not.
If this user have one
Hi
I have a problem with injecting a "good old" visit object.
I do the following:
and in my BasePage i do the following:
@InjectState("visit")
public abstract BiteVisit getVisit();
As far as I can see, that should be all that
is to i
Thanks everyone for the confirmation about the visit object - I've been using
the ASO idea, but sticking to a "visit" object at present - worried about
drifting too far down aisles unknown (to me a beginner) and getting stuck!
- Original Message
From: Howard Lew
CTED]> wrote:
Are we supposed to use some other form of session persistence, or is it a good
pattern to create a user Visit Object and keep all user session variables
inside it?
Thanks
___
What kind of emailer are you? Find out today
t;,
and it starts feeling like a visit object.
I apologize to the list that I keep plugging this guy's book, but
without the book and Shing's website on hivemind stuff, I wouldn't
have gotten anywhere with Tapestry.
At first I bought "Tapestry in Action" thinking it would h
Are we supposed to use some other form of session persistence, or is it a good
pattern to create a user Visit Object and keep all user session variables
inside it?
Thanks
___
What kind of emailer are you? Find out
On 1/22/07, Jesper Zedlitz <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jesper Zedlitz wrote:
> I am still working on a solution for form based login.
>
Here is my first attempt for a form based login:
http://wiki.apache.org/tapestry/AcegiSpringJava5FormBased
I am su
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jesper Zedlitz wrote:
> I am still working on a solution for form based login.
>
Here is my first attempt for a form based login:
http://wiki.apache.org/tapestry/AcegiSpringJava5FormBased
I am sure you have some ideas how to improve it. It has only be
On 1/22/07, andyhot <[EMAIL PROTECTED]> wrote:
jake123 wrote:
> Hi James,
> You have to excuse me but I am on my first time on integrating tapestry and
> acegi. So I might have some question that is obvious for others...
>
again, simply follow http://wiki.apache.org/tapestry/AcegiSpringJava5
T
jake123 wrote:
Hi James,
You have to excuse me but I am on my first time on integrating tapestry and
acegi. So I might have some question that is obvious for others...
again, simply follow http://wiki.apache.org/tapestry/AcegiSpringJava5
Then create your own implementation of
org.acegisecur
ol part with Acegi's @Secured annotation but I
cant get there without some pointers
Cheers,
Jacob
--
View this message in context:
http://www.nabble.com/Acegi-and-Visit-object-tf3025484.html#a8504216
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
By the way, you don't *have* to implement your UserDetailsService
inside a Spring container. You can do so, but you lose the easy
ability to have other HiveMind services automatically injected into
your implementation instance. Since you're just implementing an
interface, I really see no need to
Just in case you have not come across it and might be
useful to you, the following is an example of using a
Tapestry
page as a form login page in Acegi.
http://wiki.javascud.org/display/hsa/Acegi+and+Tapestry--A+Step-by-Step+Guide
Shing
--- Jesper Zedlitz <[EMAIL PROTECTED]> wrote:
> -B
Thiago H de Paula Figueiredo wrote:
> What do I do if I want to use tapestry-acegi leaving the acegi
> configuration in spring instead of HiveMind?
>
You have your own org.acegisecurity.userdetails.UserDetailsService and want
to use it with tapestry-acegi? No problem!
Here is an example how to do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James Carman wrote:
> As for examples, I
> don't really have one, but somebody wrote a nice Wiki page detailing
> how to set it up.
>
http://wiki.apache.org/tapestry/AcegiSpringJava5
I am still working on a solution for form based login. Maybe the lo
Hi Andreas and James,
Please correct me if I am wrong. I am trying to understand what needs to be
done. The UserDetailsService is something where the user is returned back
given a userid. So we need to inject the visit object into the
UserDetailsService? and then set it. I agree that the user
nsulting.com/tapestry-acegi ?
>
>
Could you possible email me a copy of the documentation that you talking
about. That would help me a lot...
Thanks
Jacob
--
View this message in context:
http://www.nabble.com/Acegi-and-Visit-object-tf3025484.html#a8453882
.com/tapestry-acegi ?
>
>
Could you possible email me a copy of the documentation that you talking
about. That would help me a lot...
Thanks
Jacob
--
View this message in context:
http://www.nabble.com/Acegi-and-Visit-object-tf3025484.html#a8453882
Sent
te.ApplicationStateManager"/>
>>
>>
>>
>>
>> and also take a look at
>>
http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/engine/state/ApplicationStateManager.html
>>
>>
On Fri, 19 Jan 2007 15:09:58 -0200, James Carman
<[EMAIL PROTECTED]> wrote:
Basically, tapestry-acegi just allows you to glue all of the Acegi
stuff together using HiveMind, rather than Spring (it's all just
"object soup" right?).
[snip]
The cool part of tapestry-acegi is that it lets
you us
ework/apidocs/org/apache/tapestry/engine/state/ApplicationStateManager.html
>>
>>
>>
>>
>> Srinivas Yermal wrote:
>> > Hi Andreas,
>> >
>> > Thanks for the response. Does tapestry-acegi automagically fill-in the
>> > user
>>
g?
What do we need to configure to make it work? If you could give some example
that would bee really nice
Thanks a lot
Jacob
--
View this message in context:
http://www.nabble.com/Acegi-and-Visit-object-tf3025484.html#a8449953
Sent from the
abble.com/Acegi-and-Visit-object-tf3025484.html#a8449953
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
and also take a look at
http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/engine/state/ApplicationStateManager.html
Srinivas Yermal wrote:
> Hi Andreas,
>
> Thanks for the response. Does tapestry-acegi automagically fill-in the
> use
estry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/engine/state/ApplicationStateManager.html
Srinivas Yermal wrote:
> Hi Andreas,
>
> Thanks for the response. Does tapestry-acegi automagically fill-in the
> user
> details into the visit object? Or should I do som
Hi Andreas,
Thanks for the response. Does tapestry-acegi automagically fill-in the
user
details into the visit object? Or should I do something?
I use spring for my acegi declarations and specify my
UserDetailsService in
the DaoAuthenticationProvider. You mention ASO. How would I go about
doing
Hi Andreas,
Thanks for the response. Does tapestry-acegi automagically fill-in the user
details into the visit object? Or should I do something?
I use spring for my acegi declarations and specify my UserDetailsService in
the DaoAuthenticationProvider. You mention ASO. How would I go about
p.
Thanks
Srini.
On 1/17/07, Srinivas Yermal <[EMAIL PROTECTED]> wrote:
Hi,
I have been trying to initialize the Visit object with certain values
once
the user has logged in. The values needless to say are user specific.
So I
would need to access the auth details from acegi. What should I
, Srinivas Yermal <[EMAIL PROTECTED]> wrote:
Hi,
I have been trying to initialize the Visit object with certain values once
the user has logged in. The values needless to say are user specific. So I
would need to access the auth details from acegi. What should I be doing to
set these values? I
Hi,
I have been trying to initialize the Visit object with certain values once
the user has logged in. The values needless to say are user specific. So I
would need to access the auth details from acegi. What should I be doing to
set these values? I am bit lost here. We are using Acegi with
nard <[EMAIL PROTECTED]>
> wrote:
> >
> > On Sat, 24 Jun 2006 12:50:48 -0400, Yves Sy
> <[EMAIL PROTECTED]> wrote:
> >
> > > I have an old Tapestry app which I began to
> slowly port to Tapestry 4.
> > > How
> > > do I get a hold
evin Menard <[EMAIL PROTECTED]>
> wrote:
> >
> > On Sat, 24 Jun 2006 12:50:48 -0400, Yves Sy
> <[EMAIL PROTECTED]> wrote:
> >
> > > I have an old Tapestry app which I began to
> slowly port to Tapestry 4.
> > > How
> > > do I get a hold
PROTECTED]> wrote:
On Sat, 24 Jun 2006 12:50:48 -0400, Yves Sy <[EMAIL PROTECTED]> wrote:
> I have an old Tapestry app which I began to slowly port to Tapestry 4.
> How
> do I get a hold of the old visit object configured Tapestry-3 style in a
> Tapestry 4 page?
The easiest thi
On Sat, 24 Jun 2006 12:50:48 -0400, Yves Sy <[EMAIL PROTECTED]> wrote:
I have an old Tapestry app which I began to slowly port to Tapestry 4.
How
do I get a hold of the old visit object configured Tapestry-3 style in a
Tapestry 4 page?
The easiest thing to do is access it the same w
Hi,
I have an old Tapestry app which I began to slowly port to Tapestry 4. How
do I get a hold of the old visit object configured Tapestry-3 style in a
Tapestry 4 page?
I tried
MyVisit visit = (MyVisit) getApplicationStateManager().get("visit");
but this doesn't work
Thanks in
P.S. No one should have this issue with 4.1 as the visit and global objects
don't exist anymore. (The hivemind versions of course do exist)
On 6/1/06, Mário Lopes <[EMAIL PROTECTED]> wrote:
Yes, renaming actually did work.
Thank you very much for your kind help.
-- Mário
On 6/1/06, Andreas B
Yes, renaming actually did work.
Thank you very much for your kind help.
-- Mário
On 6/1/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
On 01. Jun 2006 - 16:39:06, James Carman wrote:
| Try renaming what you call the getter/setter. See what that does. There is
| a deprecated getVisit() metho
On 01. Jun 2006 - 16:39:06, James Carman wrote:
| Try renaming what you call the getter/setter. See what that does. There is
| a deprecated getVisit() method on IPage.
Yeah, I had the same problem once and renamed the getter to getVisitState()
which worked.
Cheers,
Andreas
--
Try renaming what you call the getter/setter. See what that does. There is
a deprecated getVisit() method on IPage.
-Original Message-
From: Mário Lopes [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 01, 2006 4:35 PM
To: Tapestry users
Subject: Re: Visit object
This is the error
setVisit(visit);
Hope it helps.
-- Mário
On 6/1/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
| Following your advice, I've created my own class, called Visit
| (original isn't it? :-) and added this to hivemind.xml
|
|
|
|
|
|
|
| This is t
| Following your advice, I've created my own class, called Visit
| (original isn't it? :-) and added this to hivemind.xml
|
|
|
|
|
|
|
| This is the code I've used to try accessing the Visit object:
|
| @InjectState("user-visit")
| public abstract V
rough Visit visit = (Visit) getVisit();
| seems to be deprecated.
Instead of using the deprecated Visit object as described in TiA
you should use an Application State Object (ASO) with "session" scope.
You should find examples in the list archives.
Following your advice, I've created
cated.
Instead of using the deprecated Visit object as described in TiA
you should use an Application State Object (ASO) with "session" scope.
You should find examples in the list archives.
Hope this helps,
Andreas
-
To
The way to do it in T4 is to use the ASO approach.
You can inject the visit ASO like this:
@InjectState("visit")
public abstract YourVisitObject getVisit();
On 6/1/06, Mário Lopes <[EMAIL PROTECTED]> wrote:
Hi.
I've been following Tapestry in Action to implement a Visit session
object but
Hi.
I've been following Tapestry in Action to implement a Visit session
object but I was unable to make it work. Declaring a getVisit(); as
abstract and then calling it through Visit visit = (Visit) getVisit();
seems to be deprecated.
What's the correct usage for Visit on T4?
Thanks in advance.
45 matches
Mail list logo