On 2/10/06, simon <[EMAIL PROTECTED]> wrote:
> On Don, 2006-02-09 at 22:11 -0500, Doug Chestnut wrote:
> hi doug :)
>
> > Hi Simon,
> >
> > simon wrote:
> > > hello all
> > >
> > > i'm using lenya 1.4.
> > cool, so am I ;)
> > >
> > > i have a jx template and don't get the & show up correctly. the
> > > LinkBrowserURL i need to set in the javascript uses multiple parameters.
> > > it never works because in the rendered page is still a &amp; instead of
> > > a &.
> > This should be fine (desired) if you are serializing xhtml (
> > http://www.w3.org/TR/xhtml1/#C_12 ).
>
> does it matter if the page with the link is html instead of xhtml?
>
> the problem is that the link is on a page provided by the fckeditor.
> it's a pop-up, very restrictive, no right-click, no toolbar, i don't
> know how to look at the rendered source.

Use Firefox.  Then, when the page pops up, do a control-u.  That will
show you the HTML source.

Also, get & use the "Tamper Data" extension with Firefox.  It lets you
easily see all the requests & responses between the browser & web
server.  For FCKeditor integration work I have found it essential. 
For example, you can replay the URL that invoked the pop-up window,
making it appear in a regular browser window, with all the right-click
actions then enabled.

> but i keep trying. maybe someone has a hint, would be very appreciated.
>
> simon
>
>
> > --Doug
> > >
> > > i went through the uscases/usecase.xmap and serialised just after the jx
> > > generator and i still got &amp;
> > > what do i oversee?
> > >
> > > any hint is very much appreciated.
> > >
> > > simon
> > >
> > >
> > > <?xml version="1.0"?>
> > > <page:page
> > >   xmlns:jx="http://apache.org/cocoon/templates/jx/1.0";
> > >   xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0";
> > >   xmlns="http://www.w3.org/1999/xhtml";
> > >   xmlns:i18n="http://apache.org/cocoon/i18n/2.1";
> > >   xmlns:cinclude="http://apache.org/cocoon/include/1.0";
> > >   >
> > >
> > >   <script type="text/javascript">
> > >
> > >     window.onload = function()
> > >     {
> > >             oFCKeditor.Config[ "LinkBrowserURL" ] = '<jx:out
> > > value="${usecase.getParameter('host')}"/><jx:out
> > > value="${usecase.getParameter('requesturi')}"/>?lenya.module=fckeditor&amp;lenya.step=link-show&#38;language=en'
> > >  ;
> > >     }
> > >   </script>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> --
> Simon Litwan                               [EMAIL PROTECTED]
> Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
> http://www.wyona.com                      http://lenya.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to