Form Builder URL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Form Builder URL

Jim Cheesman
Hi,

How is the URL used by Form Builder constructed?

e.g.
http://ocu-pruebas:8080/orbeon/fr/orbeon/builder/edit/77e42c5a1594c1f08bba24c66c835e62

The first bit is obvious, of course, but how is the ID/hash calculated?

Regards,
Jim






--
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
Reply | Threaded
Open this post in threaded view
|

Re: Form Builder URL

Erik Bruchez
Administrator
Jim,

Upon created new form data, the id is generated  as follows:

digest(string(random(true())), 'MD5', 'hex')

https://github.com/orbeon/orbeon-forms/blob/master/src/resources/apps/fr/includes/persistence/persistence-model.xml

When editing form data, the id must be known. It is usually returned
by search in the Summary page.

-Erik

On Thu, Aug 4, 2011 at 4:53 AM, Jim Cheesman <[hidden email]> wrote:

> Hi,
>
> How is the URL used by Form Builder constructed?
>
> e.g.
> http://ocu-pruebas:8080/orbeon/fr/orbeon/builder/edit/77e42c5a1594c1f08bba24c66c835e62
>
> The first bit is obvious, of course, but how is the ID/hash calculated?
>
> Regards,
> Jim
>
>
>
>
>
>
> --
> 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