On 10/19/05, Martin van den Bemt <[EMAIL PROTECTED]> wrote:
It would be nice if you found a way to say how you achieved it, so
others can learn from that too...
Mvgr,
Martin
[EMAIL PROTECTED] wrote:
> I found a way. If You have an elegant solution You tell it me.
>
>
>>-- Original-Nachricht --
>>Reply-To: "MyFaces Discussion" <[email protected]>
>>Date: Tue, 18 Oct 2005 23:56:34 +0200
>>From: [EMAIL PROTECTED]
>>Subject: Conditional include in JSF page
>>To: [email protected]
>>
>>
>>
>>Hello
>>
>>Who can give me a working solution for a conditional include.
>>In the config file a have this entry
>>
>> <managed-bean>
>> <description>Partner</description>
>> <managed-bean-name>Partner</managed-bean-name>
>> <managed-bean-class>org.partneragency.web.PartnerBean</managed-bean-class>
>> <managed-bean-scope>request</managed-bean-scope>
>> </managed-bean>
>>
>>In the partner bean I the loggedIn property which is true if the partner
>>is logged in.
>>I need a working code like this
>> if not loggedIn then
>> include page login.jsp
>>
>>What can I realize this?
>>
>>Thanks
>>
>>Urs
>>
>
>
>

