You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Slava Schmidt <Sl...@gmx.de> on 2006/06/29 20:02:40 UTC

AjaxRequestSelector problem?

Hi All!


I have a matcher for CForms and i always have "true" here:

**<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>

Client sended always this:

cocoon-ajax=true&forms_submit_id=send&address.country=AT&address.state=17&.......

independently from used submit-widget.

**anybody have any suggestions?

thx,
Slava
**

**


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: AjaxRequestSelector problem?

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi Slava,

If do you have an @ajax="true" in your form template then that is ok.

Best Regards,

Antonio Gallardo

Slava Schmidt escribió:
> Hi All!
>
>
> I have a matcher for CForms and i always have "true" here:
>
> **<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>
>
> Client sended always this:
>
> cocoon-ajax=true&forms_submit_id=send&address.country=AT&address.state=17&....... 
>
>
> independently from used submit-widget.
>
> **anybody have any suggestions?
>
> thx,
> Slava
> **
>
> **
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org