Re: AW: RE: Forcing Orboen external mode for Submits

Posted by Erik Bruchez on
URL: https://discuss.orbeon.com/Forcing-Orboen-external-mode-for-Submits-tp3010234p3023131.html

If there's going to be any chance we'll look at this, it better be
easy to reproduce ;) Ideally a pre-packaged WAR with your JSP and
web.xml and instructions as to how to reproduce it.

-Erik

On Fri, Oct 29, 2010 at 1:29 AM, ceebee <[hidden email]> wrote:

>
> I switched to nighly build from yesterday didn't help !
>
> The Problem is, I can't switch the project to Tomcat easily ...
>
> shall i post the complete sourcecode ? perhaps web.xml and the JSP code ?
>
> I really need help on this problem :/
>
>
> -----Ursprüngliche Nachricht-----
> Von: Erik Bruchez [via Orbeon Forms (ops-users)] [[hidden email]]
> Gesendet: Do 28.10.2010 04:28
> An: Christian Belka
> Betreff: Re: RE: Forcing Orboen external mode for Submits
>
> This might simply be a bug.
>
> I didn't have time to reproduce it, but I entered a bug anyway:
>
> http://forge.ow2.org/tracker/index.php?func=detail&aid=315590&group_id=168&atid=350207
>
> Is this with Tomcat?
>
> Also, can you give a nightly build a try?
>
> -Erik
>
> On Tue, Oct 26, 2010 at 12:52 AM, ceebee <[hidden email]> wrote:
>
>>
>>
>>>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
>>> <http://orbeon-forms-ops-users.24843.n4.nabble.com/Forcing-Orboen-external-mode-for-Submits-tp3010234p3010234.html?by-user=t&by-user=t>
>>> 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
>> <http://orbeon-forms-ops-users.24843.n4.nabble.com/Forcing-Orboen-external-mode-for-Submits-tp3010234p3013034.html?by-user=t&by-user=t>
>> To unsubscribe from Forcing Orboen external mode for Submits, click here.
>>
>>
>>
>> ________________________________
>> View this message in context: RE: Forcing Orboen external mode for Submits
>> 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-tp3010234p3016556.html
> To unsubscribe from Forcing Orboen external mode for Submits, click here
> <<Link Removed>> .
>
>
>
> ________________________________
> View this message in context: AW: RE: Forcing Orboen external mode for
> Submits
> 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