[Yanel-usage] contact-form
Bettina Messmer
bettina.messmer at gmx.ch
Thu Jun 23 14:14:47 CEST 2011
Hi,
Thanks a lot for your comment. It's working now. :D
Now I just wondering how I can change the autogenerated message.
greets,
Bettina
-------- Original-Nachricht --------
> Datum: Thu, 23 Jun 2011 13:44:45 +0200
> Von: Michael Wechner <michael.wechner at wyona.com>
> An: yanel-usage at wyona.com
> Betreff: Re: [Yanel-usage] contact-form
> Hi Bettina
>
> Am 23.06.11 12:17, schrieb Bettina Messmer:
> > Hi,
> >
> > I'm trying to create a webpage using the contact-form resource. In order
> to use it I added contact.html to the map file
> >
> > <matcher pattern="**.contact.html" rcpath="contact.html.yanel-rc"/>
>
> I guess the matcher pattern would rather be something like
>
> **/contact.html
>
> whereas I would suggest that you use a one-to-one matching, e.g.
>
> http://127.0.0.1:8080/yanel/MY_REALM/en/contact.html
>
> res-configs/contact.html.yanel-rc
>
> instead using the map
>
> HTH
>
> Michael
> > and then provided a contact.html.yanel-rc
> >
> > <?xml version="1.0"?>
> >
> > <yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
> > <yanel:rti name="contact-form"
> namespace="http://www.wyona.org/yanel/resource/1.0"/>
> >
> > <yanel:property name="xslt" value="/app/xslt/global2.xsl"/>
> > <yanel:property name="mime-type" value="application/xhtml+xml"/>
> > <yanel:property name="to" value="....."/>
> >
> > </yanel:resource-config>
> >
> > now I get always a Page not found error....
> >
> > And I don't exactly understand, where my mistake is or which other file
> i need to add.
> >
> > thanks and greets,
> >
> > Bettina
> >
> >
> >
>
> --
> Yanel-usage mailing list Yanel-usage at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
--
NEU: FreePhone - kostenlos mobil telefonieren!
Jetzt informieren: http://www.gmx.net/de/go/freephone
More information about the Yanel-usage
mailing list