[opencms-dev] Problem with navigation links/css when viewing page from outside OpenCms

Chase Urich chaseurich at letu.edu
Tue Aug 12 02:35:02 CEST 2003


I may be confused about what you are asking but, have you tried using
CmsJspActionElement's link() method. Let's say you have a
CmsJspActionElement called cms. Simply wrap your link like this
cms.link(my_link);

Chase Urich 
On Mon, 2003-08-11 at 18:52, Nicholas Abboud wrote:
> Hello,
> 
> When I view an OpenCms page outside of OpenCms itself, after
> publishing it, a problem pops up. The links, like those to the
> stylesheet and for navigation, don't seem to be translated properly.
> For example, when previewing the document within OpenCms, it converts
> the links to their proper path, meaning for instance
> /opencms/opencms/my_module_dir/...; viewing it after publishing, it
> appears merely as /my_module_dir/..., so the navigation and css links
> end up pointing to empty locations.
> 
> I actually, fixed this by static exporting all the files, but found a
> different problem. I'm managing some dynamic data by passing it
> through the pages as URL parameters thanks to JSP, but this doesn't
> help at all with the static html pages that get generated by the
> export. I've had some initial success in using JavaScript within the
> JSP files to handle the parameters instead, but it's a bit of a messy
> solution.
> 
> I'm wondering if anyone can give some insight into this problem.
> 
> Thanks,
> Nick
> 
> 
> 
> Nicholas Abboud 
> Software Developer
> E-mail: nicholas.abboud at babelfish.com
> 780-944-9964 Main
> 780-432-5700 Fax
> 
> The Babel Fish Corporation
> 
> This e-mail message (including attachments, if any) is intended for
> the use
> of the individual or entity to which it is addressed and may contain
> information that is privileged, proprietary , confidential and exempt
> from
> disclosure. If you are not the intended recipient, you are notified
> that
> any dissemination, distribution or copying of this communication is
> strictly prohibited. If you have received this communication in error,
> please notify the sender and erase this e-mail message immediately.
> ---------------------------------------------------------------------------
> Le présent message électronique (y compris les pièces qui y sont
> annexées,
> le cas échéant) s'adresse au destinataire indiqué et peut contenir des
> renseignements de caractère privé ou confidentiel. Si vous n'êtes pas
> le
> destinataire de ce document, nous vous signalons qu'il est strictement
> interdit de le diffuser, de le distribuer ou de le reproduire. Si ce
> message vous a été transmis par erreur, veuillez en informer
> l'expéditeur
> et le supprimer immédiatement.
> 
> www.babelfish.com
> 




More information about the opencms-dev mailing list