You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Javed Mahmud <jm...@it.uts.edu.au> on 2003/01/09 03:34:18 UTC

Change in Rendering TOP,BOTTOM AND LEFT templates

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Change in Rendering TOP,BOTTOM AND LEFT templates

Posted by Javed Mahmud <jm...@it.uts.edu.au>.
Anyone who can clarify???


> 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:
> <ma...@jakarta.apache.org> For additional
> commands, e-mail: <ma...@jakarta.apache.org>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>