How can I hide the portal page URL in theme, once I logout in
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > How can I hide the portal page URL in theme, once I logout in




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How can I hide the portal page URL in theme, once I logout in  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-12-07 06:19 PM


Hi,

I do not use any Websphere Server login and I do not use any LDAP. I just us
e stand-alone application login in portlet that just checks the database use
r and password tables.

Once I login, I need show some of the portal page URLs in theme navigation. 
And once I logout, I need hide these URLs in theme navigation. Can I use ses
sion to pass login status from portlet to theme, and then hide URL in theme?

Thanks very much in advance!





[ Post a follow-up to this message ]



    Re: How can I hide the portal page URL in theme, once I logout in  
Oliver Then


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-07 12:24 PM

You can use the portal "if" tag to check if the user is logged in. In
your theme JSP, this could look like:
<portal-logic:if loggedIn="yes">
.. your URL...
</portal-logic:if>

This way, your URL should only be visible if the user is logged in. If
you need further details, have a look at the InfoCenter:

http://publib.boulder.ibm.com/infoc...dgn_ptltld.html


Oliver





[ Post a follow-up to this message ]



    Re: How can I hide the portal page URL in theme, once I logout in  
RuneH


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-15-07 06:24 PM

# I wrote earlier:

> As I remember it, any portlet should not be able to
> tell the portal how to render the theme according to
> best practice...

What I meant to say was that according to best practice the portlet should n
ot bother about the environment around, just itself. This due to the fact th
at the portlet developer never can be sure where the portlet will be deploye
d, and which other portlets
will be available on the site...

R.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:50 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register