RE: Forcing Orboen external mode for Submits

Posted by ceebee on
URL: https://discuss.orbeon.com/Forcing-Orboen-external-mode-for-Submits-tp3010234p3013266.html

 

>Christian,
>f:url-norewrite="true"  should do the trick but you are saying it
>doesn't? Which build of Orbeon is this?

3.8 Stable

 

>Do you see a difference in behavior with f:url-norewrite="true" vs.
>f:url-norewrite="false"?

Yes, when f:url-norewrite is set to false, I get an url like  http://localhost:8080/application/application/myController.do


>Also, do you have only /application/, and /orbeon/, or do you have yet
>another servlet context?

 

No , its just those 2 … Orbeon is included through its filter into the application, orbeon and the application are both deployed parallel on the root context of the applicationserver



>Reason I am asking is that if the JSP page is under /application/...,
>resource="/myController.do" should reach back to /application/...
>a

 

Yes, the strange thing I don’t get it, it works fine as long as I use URLs with http://, when using relative URLs it dosen’t work ….

 

I wrote a filter to look at the httpRequests, and they both are really the same ..

 

Best regards & thanks

 

Christian

 


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



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


View message @ http://orbeon-forms-ops-users.24843.n4.nabble.com/Forcing-Orboen-external-mode-for-Submits-tp3010234p3013034.html
To unsubscribe from Forcing Orboen external mode for Submits, click here.