You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Cromer, Deborah" <De...@team.telstra.com> on 2001/07/03 02:35:23 UTC
newbie having some simple probs
Hi,
I have just started using turbine, and I am having what I think are some
simple problems. I have a feeling this sort of stuff might be documented
somewhere, but I can't seem to find it, so if anyone can point me in the
right direction as well as answering these questions that'd be great.
Firstly, I have seen statments such as $page.setBgColor(), and
$link.setPage() etc. I was wondering wehre I could find a list of all the
methods that you can on a page and link.
Secondly, I would like to let a user navigate through some pages before
logging in. I have found some information which tells me that I need to
implement my own session validator that returns nothing, and then let my
secure pages use a differnt session Validator, but I am not sure of how to
implement my own session validator, where to put it, adn how to make the
"secure" layout execute a different session validator. Could you please help
me out here.
Thanks,
Deborah
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: newbie having some simple probs
Posted by Jon Stevens <jo...@latchkey.com>.
on 7/2/01 5:35 PM, "Cromer, Deborah" <De...@team.telstra.com>
wrote:
> Firstly, I have seen statments such as $page.setBgColor(), and
> $link.setPage() etc. I was wondering wehre I could find a list of all the
> methods that you can on a page and link.
./src/java/org/apache/turbine/util/template/TemplateLink.java
./src/java/org/apache/turbine/util/template/TemplatePageAttributes.java
> Secondly, I would like to let a user navigate through some pages before
> logging in. I have found some information which tells me that I need to
> implement my own session validator that returns nothing, and then let my
> secure pages use a differnt session Validator, but I am not sure of how to
> implement my own session validator, where to put it, adn how to make the
> "secure" layout execute a different session validator. Could you please help
> me out here.
In your TR.props file, if you use...
action.sessionvalidator=sessionvalidator.TemplateSessionValidator
Then that should do what you want.
Thanks,
-jon
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org