cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Madu" <andrewm...@gmail.com>
Subject Re: Matcher not catching ajax-request
Date Fri, 14 Jul 2006 11:35:08 GMT
Hi,
anyone got any ideas about this one?

regards

Andrew

On 13/07/06, Andrew Madu <andrewmadu@gmail.com> wrote:
>
> Hi,
> I have a cform with ajax="true" and in my sitemap I have the following
> matcher:
>
>             <map:match pattern="**CreditCardDetails.xml">
>                 <map:generate type="jx" src="jx/CreditCardDetails_.jx"/>
>                 <map:transform type="browser-update"/>
>                 <map:transform type="forms"/>
>                 <map:transform type="i18n">
>                   <map:parameter name="locale" value="en-US"/>
>                 </map:transform>
>                 <map:transform src="resources/forms-
> advanced-field-styling2.xsl"/>
>                 <map:transform type="cinclude"/>
>                 <map:transform type="xslt-saxon"
> src="style/CreditCardDetails.xsl"/>
>                 <map:transform type="cinclude"/>
>                 <map:transform type="i18n">
>                   <map:parameter name="locale" value="en-US"/>
>                 </map:transform>
>                 <map:select type="ajax-request">
>                   <map:when test="true">
>                     <map:serialize type="xml"/>
>                   </map:when>
>                   <map:otherwise>
>                     <map:serialize type="html"/>
>                   </map:otherwise>
>                 </map:select>
>             </map:match>
>
> jx file:
> <ft:form-template action="creditCard.kont" id="Form1" method="post"
> ajax="true">
>
>
> Now even though a value of true has been set in my ft:form tag the html
> serializer is still being selected. What is the issue here?
>
> regards
>
> Andrew
>

Mime
View raw message