Thanks for your reply Matt,

As nobody replied in a week i had to came out with another solution, i ended
out doing this:

<c:if test="${ACEGI_SECURITY_LAST_USERNAME == null}">
     <p>Some content to show to users that doesn't logged in, to stop seeing
this please login...</p>
</c:if>

It seems to work, any comments on that ?

I will take a look to the acegi jsf compenents, i'm sure they have some
interesting stuff i could use somewhere :-)

Best regards,
RL.


mraible wrote:
> 
> The acegijsf components might help:
> 
> http://cagataycivici.wordpress.com/2006/01/19/acegi_jsf_components_hit_the/
> 
> We've integrated this in the latest release - please search the
> archives for more information.
> 
> Matt
> 
> On 6/13/07, RL <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> First i would like to say I am new to appfuse and webdevelopment in java
>> (although i have experience in other languages).
>>
>> I want to display some content on a page only if the user if logged in. I
>> tried to use the acegi tags on the facelet template to do that but the
>> content always show.
>>
>> I'm probably missing something, does anyone have an idea of what is it?
>>
>> Thanks,
>> Ricardo Lopes.
>> --
>> View this message in context:
>> http://www.nabble.com/JSF---Display-content-on-page-if-user-is-logged-in-%28acegi-tags-not-working%29-tf3915549s2369.html#a11102299
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/JSF---Display-content-on-page-if-user-is-logged-in-%28acegi-tags-not-working%29-tf3915549s2369.html#a11801502
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to