RE: Re: RE: Re: How to hide the real URL ?

Posted by ricetrac on
URL: https://discuss.orbeon.com/How-to-hide-the-real-URL-tp1561436p1567748.html


I add  replace="all" in my submission, but it's the same.
I try the example xforms-wizard-pfc, and the url was modify :  xforms-wizard-pfc/lastname, /xforms-wizard-pfc/age, etc..

I try to set the propertie instance-passing to "redirect" (value by default) because for my webapp I set it to "forward", but I still have the problem.

An idea ?

Thank you.

Julien


-----Message d'origine-----
De : Alessandro Vernet [mailto:[hidden email]]
Envoyé : mercredi 24 février 2010 01:33
À : [hidden email]
Objet : [ops-users] Re: RE: Re: How to hide the real URL ?

Julien,

Exactly, that was a "bug" in 3.5.1, or at least something strange as people didn't understand why they had this xforms-server-submit in the URL. Also, if they bookmarked it, or someone went back to that URL, they were getting an error.

But: if you are on http://host.fr/Extranet_Demande/, and run an <xforms:submission id="suividemande"
action="/extranet/branchementSuiviDemande/" method="post"
replace="all"/>, then the URL should still be http://host.fr/Extranet_Demande/, which I think is what you want.

You can see this with http://localhost:8080/orbeon/xforms-wizard-pfc/.
When you click on Next, it goes to /xforms-wizard-pfc/lastname, but since this is a submission replace="all", the URL stays the same. Do you see this in that example? Isn't your case similar?

Alex


On Sat, Feb 20, 2010 at 6:51 AM, Bittard, Julien <[hidden email]> wrote:

> Hi Allessandro,
>
> Before (with orbeon 3.5.1), the users only knew the url of login page ( http://host.fr/Extranet_Demande/). But now (with Orbeon 3.7.2), they may try to go to a certain page of the application without going through the login page thanks to the good url ( http://host.fr/Extranet_Demande/suividemande). The result is an error on this page because data are not correctly initialized.
>
> So, how to display the same url in all the pages of application ?
>
> In each page, we construct the submission like this :
> <xforms:submission id="suividemande"
> action="/extranet/branchementSuiviDemande/" method="post"/>
>
> I tried to set oxf.xforms.optimize-get-all to false but it don't work. If I good understand the FAQ, this was in fact a bug in orbeon 3.5.1 and now this issue is closed with the 3.7.2, isn't it ?
>
> Thank you.
>
> Julien.
>
>
> -----Message d'origine-----
> De : Alessandro Vernet [mailto:[hidden email]] Envoyé : samedi 20
> février 2010 00:46 À : [hidden email] Objet : [ops-users] Re: How
> to hide the real URL ?
>
> Hi Julien,
>
> I must be missing something: don't uses see the URL (e.g.
> http://host.fr/Extranet_Demande/rechtiers) before they do the submission anyway? What is the benefit of hiding it after they do the submission if it is visible to them beforehand?
>
> Alex
>
> On Fri, Feb 19, 2010 at 2:17 AM, Bittard, Julien <[hidden email]> wrote:
>> Hello,
>>
>> With orbeon 3.5.1, when the user navigate in my application, the url
>> is always : http://host.fr/Extranet_Demande/xforms-server-submit
>>
>> Now with orbeon nightly builds (20100205), the url is not hide, it is
>> the path of the page-flow.xml :
>> http://host.fr/Extranet_Demande/rechtiers,
>> http://host.fr/Extranet_Demande/suividemande, etc...
>>
>> How to hide this url, in order to the user doesn't know the correct url ?
>>
>> Thank you.
>>
>>
>> Julien BITTARD
>>
>> Please help Logica to respect the environment by not printing this
>> email / Pour contribuer comme Logica au respect de l'environnement,
>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>> correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(s) only.
>> It may contain proprietary material, confidential information and/or
>> be subject to legal privilege. It should not be copied, disclosed to,
>> retained or used by, any other party. If you are not an intended
>> recipient then please promptly delete this e-mail and any attachment
>> and all copies and inform the sender. Thank you.
>>
>> --
>> 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
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/ My Twitter: http://twitter.com/avernet
>
> Please help Logica to respect the environment by not printing this email  / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.
>
>
>
> This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
>
>
>
> --
> 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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet

Please help Logica to respect the environment by not printing this email  / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.




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