Posted by ceebee on URL: https://discuss.orbeon.com/Forcing-Orboen-external-mode-for-Submits-tp3010234p3013462.html
Oky , found out one more thing
If I use the
relative URLs the Filter isn't called anymore, if its placed (in the
web.xml) behind the orbeon filter ... If I use absolute URLs
(http://) it gets called ...
also, when using
relative Urls the POST to the controller /application/myController.do is
completly missing ...
The Submit to
XForms itsself is in both cases identically, the Filter shows the following
request :
From: Erik Bruchez [via Orbeon Forms (ops-users)]
[mailto:[hidden email]] Sent:
Dienstag, 26. Oktober 2010 04:10 To: Christian
Belka Subject: Re: Forcing Orboen external mode for
Submits
Christian,
f:url-norewrite="true" should do the trick
but you are saying it doesn't? Which build of Orbeon is this?
Do you
see a difference in behavior with f:url-norewrite="true" vs.
f:url-norewrite="false"?
Also, do you have only /application/, and
/orbeon/, or do you have yet another servlet context?
Reason I am
asking is that if the JSP page is under /application/...,
resource="/myController.do" should reach back to /application/...
automatically.
-Erik
On Mon, Oct 25, 2010 at 5:47 AM, ceebee
<[hidden email]> wrote:
> > Hello, > > I have
the following problem : > > When submitting any formdata with an
XForms Submit, I want a spring > controller to be the target. >
> This all works well, as long as I am using absolute URLs like >
> http://localhost:8080/application/myController.do >
> eg: > > <xforms:submission id="gui-submission"
method="post" > ref="instance('Instance')" >
resource="http://127.0.0.1:8080/application/myController.do"
replace="all" > f:url-norewrite="true" /> > > but I want
to use relative paths like > > /application/myController.do
> > At this time, it seems, that the orboen Filter consumes this
URL and dosen't > redirect correctly ... How can I force orboen to use
this external URL mode > even on internal URLs > > Best
regards > > christian > > -- > View this
message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Forcing-Orboen-external-mode-for-Submits-tp3010234p3010234.html >
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
> > > -- > You receive this message as a subscriber
of the [hidden email] mailing list. > To
unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service
home page: http://www.ow2.org/wws > >