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 gus <gu...@gmx.net> on 2002/04/22 08:10:37 UTC
Minimize nested tables for Netscape
Hi!
I'm experiencing problems displaying my jetspeed site with Netscape 4.7x because
of the nested table problem.
Can someone please point me out which .vm templates I have to edit or which
changes are worth to try to get my site working with Netscape?
Regards
gus
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Minimize nested tables for Netscape
Posted by Paul Spencer <pa...@apache.org>.
Gus,
gus wrote:
> Hi!
>
> I'm experiencing problems displaying my jetspeed site with Netscape 4.7x because
> of the nested table problem.
Can you describe the "problems"
>
> Can someone please point me out which .vm templates I have to edit or which
> changes are worth to try to get my site working with Netscape?
<jetspeed-home>/WEB-INF/templates/vm/controllers/*
<jetspeed-home>/WEB-INF/templates/vm/controls/*
<jetspeed-home>/WEB-INF/templates/vm/layout/*
<jetspeed-home>/WEB-INF/templates/vm/navigation/*
Their has been some traffic on the mailing list around configuring
Jetspeed to work with Netscape 4.7. I have not seen a solution posted.
Jetspeed works very well with Netscape 6.2.x, which is the browser I
use. My suggestion is to upgrade the browser.
>
> Regards
> gus
>
Paul Spencer
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
a solution to display jetspeed for Netscape 4.7 (nested tables)
Posted by Mehmet Necati AYSAN <ne...@hotmail.com>.
Hi
There is a solution to display Jetspeed on Netscape 4.7.
If you are using tabs use jetspeed-tab-vm file on
<jetspeed-home>/WEB-INF/templates/vm/controls/ If not try to modify the file
on <jetspeed-home>/WEB-INF/templates/vm/controls/
Try to eliminate as much nested tables as you can in those files. There is a
jetspeed-tab-vm file below as an example. If you replace yours with this it
should work.
Thanks
Mehmet Necati Aysan
PTL Indiana University
file: jetspeed-tab-vm
##<!-- begin jetspeed-tab.vm -->
#if (! $data.Customized )
#if ( ! $tabs )
#parse ("jetspeed.vm")
#else
#foreach ( $tab in $tabs )
#if ($tab.isSelected() )
#set ($bgcolor = $!{skin.HighlightBackgroundColor} )
#set ($color = $!{skin.HighlightTextColor} )
#set ($titleclass = $!{skin.HighlightTitleStyleClass} )
#else
#set ($bgcolor = $!{skin.TitleBackgroundColor} )
#set ($color = $!{skin.TitleTextColor} )
#set ($titleclass = $!{skin.TitleStyleClass} )
#end
#if (${bgcolor})
#if (${color})
#set ($titlestyle = "background-color: $bgcolor; color: $color;" )
#else
#set ($titlestyle = "background-color: $bgcolor;" )
#end
#else
#if (${color})
#set ($titlestyle = "color: $color;" )
#else
#set ($titlestyle = "" )
#end
#end
<td valign="middle" #if ($titleclass) class="$titleclass" #end #if
($titlestyle) style="${titlestyle}" #end >
#if ($tab.Link && ($tab.isSelected() == false))
<a href="$tab.Link" #if ($color) style="color: $color"
#end>$tab.Title</a>
#else
$tab.Title
#end
#foreach ($action in $tab.Actions)
<a href="${action.Link}" title="${action.Name}"><img
src="images/${action.Name}.gif" alt="${action.Name}" border="0"></a>
#end
</td>
<td width="2"> </td>
#end
</tr>
</table>
<table align="right" cellspacing="0" border="0" cellpadding="0">
<tr width="100%">
<td align="right" nowrap="true" valign="middle">
#foreach ( $action in $actions )
<a href="${action.Link}" title="${action.Name}"><img
src="images/${action.Name}.gif" alt="${action.Name}" border="0"></a>
#end
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="0" width="100%" border="0" cellpadding="0" #if
(${skin.TabStyleClass}) class="${skin.TabStyleClass}" #end >
<tr><td height="2" #if (${skin.HighlightBackgroundColor})
style="background-color: ${skin.HighlightBackgroundColor}" #end ><img
height="2" width="2" src="images/dot.gif" /></td></tr>
<tr><td height="2" #if (${skin.BackgroundColor}) style="background-color:
${skin.BackgroundColor}" #end ><img height="2" width="2"
src="images/dot.gif" /></td></tr>
</table>
<table cellspacing="0" width="100%" border="0" cellpadding="0" #if
(${skin.TabStyleClass}) class="${skin.TabStyleClass}" #end >
<td valign="top" width="100%">
$portlet.getContent($data)
</td>
</table>
#end
#else
$portlet.getContent($data)
#end
##<!-- end jetspeed-tab.vm -->
----- Original Message -----
From: "Ozgur Balsoy" <ba...@grids.ucs.indiana.edu>
To: "'Jetspeed Users List'" <je...@jakarta.apache.org>;
<gu...@gmx.net>
Sent: Monday, April 22, 2002 9:55 AM
Subject: RE: Minimize nested tables for Netscape
> Try vm files in
> tomcat4\webapps\jetspeed\WEB-INF\templates\vm\controls\html\*.vm
>
> Our friend, Necati, was able to reduce the number of the nested tables.
> They are working fine with NN 4.x now. I'll let him answer your mail and
> maybe share the files.
>
> Ozgur
>
> -----Original Message-----
> From: gus [mailto:gusmail@gmx.net]
> Sent: Monday, April 22, 2002 1:11 AM
> To: Jetspeed Users List
> Subject: Minimize nested tables for Netscape
>
> Hi!
>
> I'm experiencing problems displaying my jetspeed site with Netscape 4.7x
> because
> of the nested table problem.
>
> Can someone please point me out which .vm templates I have to edit or
> which
> changes are worth to try to get my site working with Netscape?
>
> Regards
> gus
>
> --
> 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>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Minimize nested tables for Netscape
Posted by Ozgur Balsoy <ba...@grids.ucs.indiana.edu>.
Try vm files in
tomcat4\webapps\jetspeed\WEB-INF\templates\vm\controls\html\*.vm
Our friend, Necati, was able to reduce the number of the nested tables.
They are working fine with NN 4.x now. I'll let him answer your mail and
maybe share the files.
Ozgur
-----Original Message-----
From: gus [mailto:gusmail@gmx.net]
Sent: Monday, April 22, 2002 1:11 AM
To: Jetspeed Users List
Subject: Minimize nested tables for Netscape
Hi!
I'm experiencing problems displaying my jetspeed site with Netscape 4.7x
because
of the nested table problem.
Can someone please point me out which .vm templates I have to edit or
which
changes are worth to try to get my site working with Netscape?
Regards
gus
--
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>