Form Builder Application name empty

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

Form Builder Application name empty

Bjørn Even Wahlstrøm
Hi,

I primarily use Form Builder to edit forms, and mysql as persistence layer.

When I save a form I noticed that the username column was empty, so I
added the

<property as="xs:string" name="oxf.fr.authentication.method"
value="container"/>

to my properties-local.xml. (I have a CAS authentication filter that
wraps getRemoteUser())

That works, so now my username column is filled out. But when I enter
the form builder, the controls are missing. I click Edit metadata, and
App drop down is empty. If I save this metadata the controls are again
visible. Removing the property fixes this, but then my username isn't
filled out in the database.

Using Orbeon 3.9.

--
Med vennlig hilsen
Bjørn Even Wahlstrøm

Rasjonell Elektrisk Nettvirksomhet AS
Pb. 6134, Bedriftssenter
5892 Bergen
mob. 957 808 18
[hidden email]



--
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 Application name empty

Erik Bruchez
Administrator
Bjørn,

Mmh, hard to tell from here. If you have a dropdown for the app name,
does that mean you are also using form-runner-roles.xml? (Which has
recently been renamed form-buidler-permissions.xml, as the earlier
name didn't make much sense.)

-Erik

2011/11/23 Bjørn Even Wahlstrøm <[hidden email]>:

> Hi,
>
> I primarily use Form Builder to edit forms, and mysql as persistence layer.
>
> When I save a form I noticed that the username column was empty, so I added
> the
>
> <property as="xs:string" name="oxf.fr.authentication.method"
> value="container"/>
>
> to my properties-local.xml. (I have a CAS authentication filter that wraps
> getRemoteUser())
>
> That works, so now my username column is filled out. But when I enter the
> form builder, the controls are missing. I click Edit metadata, and App drop
> down is empty. If I save this metadata the controls are again visible.
> Removing the property fixes this, but then my username isn't filled out in
> the database.
>
> Using Orbeon 3.9.
>
> --
> Med vennlig hilsen
> Bjørn Even Wahlstrøm
>
> Rasjonell Elektrisk Nettvirksomhet AS
> Pb. 6134, Bedriftssenter
> 5892 Bergen
> mob. 957 808 18
> [hidden email]
>
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Form Builder Application name empty

Bjørn Even Wahlstrøm
The contents of form-runner-roles.xml

<role name="*" app="MyAppName" form="*"/>

If I disable

"oxf.fr.authentication.method"

then the application name I expect is shown. But with it, an empty drop
down is shown.

I was previously using orbeon 3.8, and I am using the same database for
persistence as then.

This is the contents of properties-local.xml

<property as="xs:anyURI" name="oxf.fr.persistence.service.mysql.datasource" value="mysql"/>
<property as="xs:anyURI"  name="oxf.fr.persistence.app.uri.*.*.*" value="/fr/service/mysql"/>
<property as="xs:string"  name="oxf.fr.detail.buttons.*.*" value="close print pdf workflow-send"/>
<property as="xs:boolean" name="oxf.fr.detail.send.pdf" value="false"/>
<property as="xs:boolean" name="oxf.fr.email.attach-pdf" value="false"/>
<property as="xs:boolean" name="oxf.fr.alfresco.send-pdf" value="false"/>
<property as="xs:anyURI" name="oxf.fr.detail.send.success.uri.*.*" value="http://localhost:8080/orbeon/submission/submit.jsp"/>
<property as="xs:string" name="oxf.fr.detail.send.success.method.*.*" value="POST"/>
<property as="xs:anyURI" name="oxf.fr.detail.send.error.uri.*.*" value="http://google.com"/>
<property as="xs:string" name="oxf.fr.detail.send.error.method.*.*" value="get"/>
<property as="xs:string" name="oxf.fr.authentication.method" value="container"/>


On 11/30/2011 07:22 AM, Erik Bruchez wrote:

> Bjørn,
>
> Mmh, hard to tell from here. If you have a dropdown for the app name,
> does that mean you are also using form-runner-roles.xml? (Which has
> recently been renamed form-buidler-permissions.xml, as the earlier
> name didn't make much sense.)
>
> -Erik
>
> 2011/11/23 Bjørn Even Wahlstrøm<[hidden email]>:
>> Hi,
>>
>> I primarily use Form Builder to edit forms, and mysql as persistence layer.
>>
>> When I save a form I noticed that the username column was empty, so I added
>> the
>>
>> <property as="xs:string" name="oxf.fr.authentication.method"
>> value="container"/>
>>
>> to my properties-local.xml. (I have a CAS authentication filter that wraps
>> getRemoteUser())
>>
>> That works, so now my username column is filled out. But when I enter the
>> form builder, the controls are missing. I click Edit metadata, and App drop
>> down is empty. If I save this metadata the controls are again visible.
>> Removing the property fixes this, but then my username isn't filled out in
>> the database.
>>
>> Using Orbeon 3.9.
>>
>> --
>> Med vennlig hilsen
>> Bjørn Even Wahlstrøm
>>
>> Rasjonell Elektrisk Nettvirksomhet AS
>> Pb. 6134, Bedriftssenter
>> 5892 Bergen
>> mob. 957 808 18
>> [hidden email]
>>
>>
>>
>> --
>> 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
>>

--
Med vennlig hilsen
Bjørn Even Wahlstrøm

Rasjonell Elektrisk Nettvirksomhet AS
Pb. 6134, Bedriftssenter
5892 Bergen
mob. 957 808 18
[hidden email]



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