De : Javed Mahmud [mailto:[EMAIL PROTECTED]]
> 
> Anyone who can clarify???
> 

It's not really a clarification but do you really see any advantage in
setting a "top.enabled" configuration option in a read-only-on-startup
config file vs simply modify one line in the layout/default.jsp file 
to achieve what you want ?

I personnally consider that all these "layout switches" are mostly legacy
settings from the time when the layout and navigations were actual Java
classes. I always find much more convenient to simply edit the layout/
navigation/screen files (which can be done withut stopping the portal)
rather than use these switches.

However, I do agree that we should be consistent in the use of these
switches, either remove them altogether from the config files or use
them in the layout files.

> 
> > Hi all,
> > I am not sure but somewaht sure As I have checked out from 
> CVS head what
> > I see is that the previous logic of checking the top.enabled is not
> > followed as in the default.jsp has the following entry :
> >
> > <table cellspacing="0" width="100%" border="0" cellpadding="0">
> >   <tr>
> >     <td>
> >       <img src="<jetspeed:contentUri href="images/jetspeed-logo.gif"
> > />">
> >     </td>
> >     <td>
> >       <jetspeed:navigation  
> defaultTemplate="html/en/top_default.jsp"
> > loggedInTemplate="html/top_loggedIn.jsp" />
> >     </td>
> >   </tr>
> > </table>
> >
> >
> > Rather than the entry which was in older version as:
> >
> > <%if (JetspeedResources.getBoolean("topnav.enable") == true) {%>
> > <table cellspacing="0" width="100%" border="0" cellpadding="0">
> >   <tr>
> >       <%
> >       //
> >       // Display the company logo with link back to the the 
> portal home
> > page //
> >       %>
> >     <td align="left" width="30%">
> >       <a href="<jetspeed:uriLookup type="Home"/>">
> >         <img border="0" alt="<jetspeed:l10n key="HOME"/>"
> > src="<jetspeed:contentUri href="<%=logoFile%>"/>">
> >       </a>
> >     </td>
> >     <td>
> >       <jetspeed:navigation  defaultTemplate="top_default.jsp"
> > loggedInTemplate="top_loggedIn.jsp" />
> >     </td>
> >   </tr>
> >
> > Is it me who is seeing this or is it being done in the latest
> > version????? I dont think its a good idea..... I prefer the way when
> > enabled is checked..
> >
> > As it took me quite a while to understand why my 
> MY.properties file was
> > not working.
> >
> > Thanks
> > Javed
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]> For additional
> > commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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

Reply via email to