Disability orbeon cash

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

Disability orbeon cash

simone123456
How can I disability the orbeon cash?
Reply | Threaded
Open this post in threaded view
|

Re: Disability orbeon cash

fl.schmitt(ops-users)
simone123456,

> How can I disability the orbeon cash?

have you tried to change the oxf.cache.size property?
http://www.orbeon.com/ops/doc/reference-properties#cache-size

hth
florian


--
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: Disability orbeon cash

simone123456

hth
florian


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


I have try to put       <property as="xs:integer" processor-name="oxf.cache.size" name="nocash"  value="0"/>  in the model or in  the body but don't know seem that don't work.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Disability orbeon cash

fl.schmitt(ops-users)
simone123456,

> I have try to put       <property as="xs:integer"
> processor-name="oxf.cache.size" name="nocash"  value="0"/>  in the model or
> in  the body but don't know seem that don't work.

i think you can't disable the orbeon caching this way for single files.
The property oxf.cache.size is globally defined in the properties.xml
file: http://www.orbeon.com/ops/doc/reference-properties#d69e11

Ususally, you can find the properties.xml file in the
WEB-INF/resources/config subdirectory of your webapp. You will have to
modify the setting there. But i don't have any experience how this
affects the overall performance of the webapp.

HTH
florian



--
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: Disability orbeon cash

simone123456

fs(ops-users) wrote
i think you can't disable the orbeon caching this way for single files.
The property oxf.cache.size is globally defined in the properties.xml
file: http://www.orbeon.com/ops/doc/reference-properties#d69e11

Ususally, you can find the properties.xml file in the
WEB-INF/resources/config subdirectory of your webapp. You will have to
modify the setting there. But i don't have any experience how this
affects the overall performance of the webapp.

HTH
florian
therefore I can't empty the cash with e istruction in the file, however I have see that in the cash value I must have minimum the value one that is one object therefore nothing I can't have no cash
Reply | Threaded
Open this post in threaded view
|

Regular expression in xforms:bind

Frank Feng
 
Hi all,

I'm trying to add a constraint in xforms:bind element, is there any way that
I can use regular expression to do this?

I've tried this:

<xforms:bind nodeset="." constraint=".=\d{4}-\d{2}-\d{2}"/>

But it doesn't work. Any suggestions please?

Thanks in advance

Frank



--
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: Regular expression in xforms:bind

fl.schmitt(ops-users)
Frank,

> I'm trying to add a constraint in xforms:bind element, is there any way that
> I can use regular expression to do this?

yes, with matches():
http://www.w3.org/TR/xpath-functions/#string.match

> I've tried this:
>
> <xforms:bind nodeset="." constraint=".=\d{4}-\d{2}-\d{2}"/>
>
> But it doesn't work. Any suggestions please?

try

<xforms:bind nodeset="." constraint="matches(., '\d{4}-\d{2}-\d{2}'"/>

hth
florian


--
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: Regular expression in xforms:bind

fl.schmitt(ops-users)
sorry, missing closing bracket:

> try
>
> <xforms:bind nodeset="." constraint="matches(., '\d{4}-\d{2}-\d{2}'"/>

 <xforms:bind nodeset="." constraint="matches(., '\d{4}-\d{2}-\d{2}')"/>



--
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: Disability orbeon cash

fl.schmitt(ops-users)
In reply to this post by simone123456
simone123456,

> therefore I can't empty the cash with e istruction in the file, however I
> have see that in the cash value I must have minimum the value one that is
> one object therefore nothing I can't have no cash

are you sure that the problem is caused by the orbeon cache? AFAIK there
were some issues with the browser cache in the past, check the
mailinglist archives for "browser cache".

hth
florian



--
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: Regular expression in xforms:bind

Hank Ratzesberger
In reply to this post by Frank Feng

Frank,

The xpath matches() function will let you use regular expressions.
Something like:

   constraint="matches('di{{4}}-\d{{2}}-\d{{2}}')"

I "think" you need to escape the attribute value template {}
by duplicating.

http://www.w3.org/TR/xpath-functions/

HTH,
Hank

On Sep 17, 2008, at 4:35 AM, yf508 wrote:

>
> Hi all,
>
> I'm trying to add a constraint in xforms:bind element, is there any  
> way that
> I can use regular expression to do this?
>
> I've tried this:
>
> <xforms:bind nodeset="." constraint=".=\d{4}-\d{2}-\d{2}"/>
>
> But it doesn't work. Any suggestions please?
>
> Thanks in advance
>
> Frank
>
>
> --
> 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
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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: Disability orbeon cash

Erik Bruchez
Administrator
In reply to this post by simone123456
> therefore I can't empty the cash with e istruction in the file,  
> however I
> have see that in the cash value I must have minimum the value one  
> that is
> one object therefore nothing I can't have no cash

Firs question: why do you want to disable the cache?

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Disability orbeon cash

simone123456
Erik Bruchez wrote
Firs question: why do you want to disable the cache?

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
the problem is the small problem that I attach problem1.zip
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Disability orbeon cash

Erik Bruchez
Administrator
Thanks for the code, but you don't say:

1. How to run it
2. What we should observe if things went as expected
3. What we actually observe

We need this kind of information or we can't do anything.

-Erik

On Sep 22, 2008, at 12:25 AM, simone123456 wrote:

>
>
> Erik Bruchez wrote:
>>
>>
>> Firs question: why do you want to disable the cache?
>>
>> -Erik
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.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
>>
>>
>
> the problem is the small problem that I attach
> http://www.nabble.com/file/p19603046/problem1.zip problem1.zip
> --
> View this message in context: http://www.nabble.com/Disability-orbeon-cash-tp19507190p19603046.html
> Sent from the ObjectWeb 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Disability orbeon cash

simone123456
Erik Bruchez wrote
Thanks for the code, but you don't say:

1. How to run it
2. What we should observe if things went as expected
3. What we actually observe

We need this kind of information or we can't do anything.

-Erik

On Sep 22, 2008, at 12:25 AM, simone123456 wrote:


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Sorry you mut,unzip ,the file zipped, in the directory ...apps/problem1  put in the url /problem1/ and all the problem is write in the application.Now I attach the problem where I have little modify the text that explain the problem problem1.zip