enable-disable-switch for the Instance Inspector?

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

enable-disable-switch for the Instance Inspector?

Heinrich Götzger
Hi,

I'm wondering if there is a simple property to switch on or off the
function of eventually available widget:xforms-instance-inspector in the
within the page, if available there.

So that I can i.e. using the log4j property-Watchdog and parse a certain
logger to set the property in the session or as a request-attribute to
be read from either in the page or in the orbeon-servlet while rendering
the html.

Thanks

Cheers

Heinrich

--
Before printing this e-mail, think about our environmental responsibility.



--
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: enable-disable-switch for the Instance Inspector?

Erik Bruchez
Administrator
Heinrich,

There is a property in properties-local.xml:

<property as="xs:boolean" name="oxf.epilogue.xforms.inspector" value="true"/>

But you can't enable this from the session or request at this time.

-Erik

On Wed, Mar 23, 2011 at 5:59 AM, Heinrich Götzger <[hidden email]> wrote:

> Hi,
>
> I'm wondering if there is a simple property to switch on or off the function
> of eventually available widget:xforms-instance-inspector in the within the
> page, if available there.
>
> So that I can i.e. using the log4j property-Watchdog and parse a certain
> logger to set the property in the session or as a request-attribute to be
> read from either in the page or in the orbeon-servlet while rendering the
> html.
>
> Thanks
>
> Cheers
>
> Heinrich
>
> --
> Before printing this e-mail, think about our environmental responsibility.
>
>
>
> --
> 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: enable-disable-switch for the Instance Inspector?

Heinrich Götzger
Erik,

thanks for that pointer.

It's not the solution that I imagine, but I can at least switch on/off
the inspector with a properties-local configured in the sandbox
directory without changing the views. And without redeploy or restart,
once the sandbox is activated by context.xml.

But I need to remove all the local widget entries in the views.

Thanks

Cheers

Heinrich


On 03/29/11 04:47, Erik Bruchez wrote:

> Heinrich,
>
> There is a property in properties-local.xml:
>
> <property as="xs:boolean" name="oxf.epilogue.xforms.inspector" value="true"/>
>
> But you can't enable this from the session or request at this time.
>
> -Erik
>
> On Wed, Mar 23, 2011 at 5:59 AM, Heinrich Götzger <[hidden email]> wrote:
>> Hi,
>>
>> I'm wondering if there is a simple property to switch on or off the function
>> of eventually available widget:xforms-instance-inspector in the within the
>> page, if available there.
>>
>> So that I can i.e. using the log4j property-Watchdog and parse a certain
>> logger to set the property in the session or as a request-attribute to be
>> read from either in the page or in the orbeon-servlet while rendering the
>> html.
>>
>> Thanks
>>
>> Cheers
>>
>> Heinrich
>>
>> --
>> Before printing this e-mail, think about our environmental responsibility.
>>
>>
>>
>> --
>> 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: Re: enable-disable-switch for the Instance Inspector?

Erik Bruchez
Administrator
Heinrich,

That's right, with this property you don't need (or want) the widgets
in the view.

BTW the widget:xforms-instance-inspector has been deprecated for a
while now, as we have XBL controls and those are in the "fr"
namespace. The current name is fr:xforms-inspector.

-Erik

On Tue, Mar 29, 2011 at 1:44 AM, Heinrich Götzger <[hidden email]> wrote:

> Erik,
>
> thanks for that pointer.
>
> It's not the solution that I imagine, but I can at least switch on/off
> the inspector with a properties-local configured in the sandbox
> directory without changing the views. And without redeploy or restart,
> once the sandbox is activated by context.xml.
>
> But I need to remove all the local widget entries in the views.
>
> Thanks
>
> Cheers
>
> Heinrich
>
>
> On 03/29/11 04:47, Erik Bruchez wrote:
>> Heinrich,
>>
>> There is a property in properties-local.xml:
>>
>> <property as="xs:boolean" name="oxf.epilogue.xforms.inspector" value="true"/>
>>
>> But you can't enable this from the session or request at this time.
>>
>> -Erik
>>
>> On Wed, Mar 23, 2011 at 5:59 AM, Heinrich Götzger <[hidden email]> wrote:
>>> Hi,
>>>
>>> I'm wondering if there is a simple property to switch on or off the function
>>> of eventually available widget:xforms-instance-inspector in the within the
>>> page, if available there.
>>>
>>> So that I can i.e. using the log4j property-Watchdog and parse a certain
>>> logger to set the property in the session or as a request-attribute to be
>>> read from either in the page or in the orbeon-servlet while rendering the
>>> html.
>>>
>>> Thanks
>>>
>>> Cheers
>>>
>>> Heinrich
>>>
>>> --
>>> Before printing this e-mail, think about our environmental responsibility.
>>>
>>>
>>>
>>> --
>>> 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
>
>


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