Ah yes...this the chap I was looking for!!
Since I first put this question to the list the formatting issues have all
been resolved. What has not been resolved is the usage of xhtml as opposed
to html in the ajax-request section:
<map:select type="ajax-request">
<map:when test="true">
<map:serialize type="xml"/>
</map:when>
<map:otherwise>
<map:serialize type="xhtml"/>
</map:otherwise>
</map:select>
which gives the dreaded
'cocoon is not defined dojo_ajax.js (line 1)'
Any ideas as to why declaring the serialize type as xhtml would cause
this? I have attached the rendered xhtml page as xml.
--
Regards
Andrew
On 09/08/06, Andrew <[EMAIL PROTECTED]> wrote:
Hi Antonio,
a thought! As you know your xhtml serializer is working could you please
post me all of your assciated web-inf/lib serializer-block/charset jars. If
that doesn't work then I will know that something else is causing the
problem.
regards
Andrew
On 09/08/06, Andrew <[EMAIL PROTECTED]> wrote:
>
> Hi Antonio,
> I tried the branch and that made no difference and my classpath is fine,
> so I am completely stuck with this one.
>
> regards
>
> Andrew
>
>
> On 08/08/06, Antonio Gallardo <[EMAIL PROTECTED]> wrote:
> >
> > Hi Andrew,
> >
> > Would you try the 2.1.-x branch? Few weeks ago we did test with the
> > xhtml serializer and it worked nicely. Maybe you should also check
> > your
> > classpath?
> >
> > Best Regards,
> >
> > Antonio Gallardo.
> >
> > Andrew escribió:
> > > Hi Antonio,
> > > no that is not the problem unfortunately, as my
> > > local.blocks.properties setting for serializers is definately set as
> > so:
> > >
> > > include.block.serializers=true
> > >
> > > and the cocoon-serializers-block.jar is most definately in my
> > > WEB-INF/lib folder, so the problem lays elsewhere! Any ideas anyone?
> > >
> > > regards
> > >
> > > Andrew
> > >
> > > On 08/08/06, *Antonio Gallardo* < [EMAIL PROTECTED]
> > > <mailto: [EMAIL PROTECTED]>> wrote:
> > >
> > > Hi Andrew,
> > >
> > > Seems like you are missing the serializers block. Try to add
> > this
> > > block
> > > in your build, rebuild cocoon and the message should not show
> > > anymore. :-)
> > >
> > > Best Regards,
> > >
> > > Antonio Gallardo.
> > >
> > > Andrew escribió:
> > > > Hi,
> > > > in fact I just tried the 'exhtml' serializer and got the
> > following
> > > > error (snippet):
> > > >
> > > > java.lang.NoClassDefFoundError
> > > >
> > >
> > org.apache.cocoon.components.serializers.EncodingSerializer.configure
> > > > (EncodingSerializer.java:167)
> > > >
> > >
> > org.apache.cocoon.components.serializers.XHTMLSerializer.configure (
> > XHTMLSerializer.java:114)
> > > >
> > > org.apache.avalon.framework.container.ContainerUtil.configure
> > > (ContainerUtil.java:201)
> > > >
> > > >
> > > >
> > > > Joy of joys!! This should be part of the standard build for
> > > 2.1.9 right!?!
> > > >
> > > > regards
> > > >
> > > > Andrew
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > <mailto: [EMAIL PROTECTED]>
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > <mailto: [EMAIL PROTECTED]>
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>