orbeon constraints

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

orbeon constraints

Einar Moos
Hi,

Orbeon constraints were well featured at http://www.orbeon.com/ops/doc/reference-xforms-ng yet they are not implemented in 3.7.0.beta.

Any other way scripting Xpath has failed me, and looking at both the DMV and Wizard w/ Switch puzzle me. Why don't the validation constraints display? Has it to do with schema recognition?

Thanks,

-- einar
Reply | Threaded
Open this post in threaded view
|

Re: orbeon constraints

leifneve

I'm having the same problem with 3.7beta 1. Required form fields don't show the red background
or the '!' mark. Even your own xforms-bookcast demo doesn't work in this regard despite what
you claim in the tutorial.  I'm also unclear on whether you are even acknowledging there is a problem.
Thanks. -Leif

parisiana wrote
Hi,

Orbeon constraints were well featured at http://www.orbeon.com/ops/doc/reference-xforms-ng yet they are not implemented in 3.7.0.beta.

Any other way scripting Xpath has failed me, and looking at both the DMV and Wizard w/ Switch puzzle me. Why don't the validation constraints display? Has it to do with schema recognition?

Thanks,

-- einar
Reply | Threaded
Open this post in threaded view
|

RE: Re: orbeon constraints

Antoine.DE-TROOSTEMBERGH
It seems like the red background has been removed.
As for the '!' it will only be shown if an xforms:alert has been defined for that input.
I do not know if this is the way it should be or not.

Will this be corrected or do I have to go over all my pages to check all fields.

Thanks,

Antoine

-----Original Message-----
From: leifneve [mailto:[hidden email]]
Sent: Sunday, September 21, 2008 10:48 PM
To: [hidden email]
Subject: [ops-users] Re: orbeon constraints



I'm having the same problem with 3.7beta 1. Required form fields don't show
the red background
or the '!' mark. Even your own xforms-bookcast demo doesn't work in this
regard despite what
you claim in the tutorial.  I'm also unclear on whether you are even
acknowledging there is a problem.
Thanks. -Leif


parisiana wrote:

>
> Hi,
>
> Orbeon constraints were well featured at
> http://www.orbeon.com/ops/doc/reference-xforms-ng yet they are not
> implemented in 3.7.0.beta.
>
> Any other way scripting Xpath has failed me, and looking at both the DMV
> and Wizard w/ Switch puzzle me. Why don't the validation constraints
> display? Has it to do with schema recognition?
>
> Thanks,
>
> -- einar
>
--
View this message in context: http://www.nabble.com/orbeon-constraints-tp19561847p19598293.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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: orbeon constraints

Erik Bruchez
Administrator
The way the XForms engine produces markup has changed a little bit.

The XForms engine used to produce an HTML <label> element representing  
an alert even if you didn't have an <xforms:alert> element for the  
control. The same goes for <xforms:label>, <xforms:hint>, and  
<xforms:help>: if you don't have those elements in your form, then the  
XForms engine does not generate HTML markup to represent those elements.

Compare with this 100% client-side XForms, where if you wanted to  
style an <xforms:alert> element, well, you would need the  
<xforms:alert> element to be present on the page. No <xforms:alert>,  
no styling of <xforms:alert>.

One rationale behind not producing those elements is that this way we  
can generate slightly smaller pages.

Now this does impact the "!" icon, because that icon is produced with  
CSS applied to the HTML <label>. So no <label>, no "!" icon. This is I  
think an unintended consequence. So somehow, we need to restore this  
capability, and I have entered a bug to track this:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=311244&group_id=168&atid=350207

In the meanwhile, you can enter empty <xforms:alert> elements for  
those controls. Not nice, but it will work.

-Erik

On Sep 23, 2008, at 7:13 AM, <Antoine.DE-
[hidden email]> <[hidden email]
 > wrote:

> It seems like the red background has been removed.
> As for the '!' it will only be shown if an xforms:alert has been  
> defined for that input.
> I do not know if this is the way it should be or not.
>
> Will this be corrected or do I have to go over all my pages to check  
> all fields.
>
> Thanks,
>
> Antoine
>
> -----Original Message-----
> From: leifneve [mailto:[hidden email]]
> Sent: Sunday, September 21, 2008 10:48 PM
> To: [hidden email]
> Subject: [ops-users] Re: orbeon constraints
>
>
>
> I'm having the same problem with 3.7beta 1. Required form fields  
> don't show
> the red background
> or the '!' mark. Even your own xforms-bookcast demo doesn't work in  
> this
> regard despite what
> you claim in the tutorial.  I'm also unclear on whether you are even
> acknowledging there is a problem.
> Thanks. -Leif
>
>
> parisiana wrote:
>>
>> Hi,
>>
>> Orbeon constraints were well featured at
>> http://www.orbeon.com/ops/doc/reference-xforms-ng yet they are not
>> implemented in 3.7.0.beta.
>>
>> Any other way scripting Xpath has failed me, and looking at both  
>> the DMV
>> and Wizard w/ Switch puzzle me. Why don't the validation constraints
>> display? Has it to do with schema recognition?
>>
>> Thanks,
>>
>> -- einar
>>
>
> --
> View this message in context: http://www.nabble.com/orbeon-constraints-tp19561847p19598293.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: orbeon constraints

Einar Moos
Thank you, Erik,

This is a perfect simple solution.

My suggestion would be to add to your documentation publishing dates
(http://www.orbeon.com/ops/doc/), which I find helpful in following
your changes documentation
(http://www.orbeon.com/ops/doc/home-changes-37) of your progressive
orbeon development.

Cheers

-- einar


On Tue, Sep 23, 2008 at 11:08 PM, Erik Bruchez <[hidden email]> wrote:

> The way the XForms engine produces markup has changed a little bit.
>
> The XForms engine used to produce an HTML <label> element representing an
> alert even if you didn't have an <xforms:alert> element for the control. The
> same goes for <xforms:label>, <xforms:hint>, and <xforms:help>: if you don't
> have those elements in your form, then the XForms engine does not generate
> HTML markup to represent those elements.
>
> Compare with this 100% client-side XForms, where if you wanted to style an
> <xforms:alert> element, well, you would need the <xforms:alert> element to
> be present on the page. No <xforms:alert>, no styling of <xforms:alert>.
>
> One rationale behind not producing those elements is that this way we can
> generate slightly smaller pages.
>
> Now this does impact the "!" icon, because that icon is produced with CSS
> applied to the HTML <label>. So no <label>, no "!" icon. This is I think an
> unintended consequence. So somehow, we need to restore this capability, and
> I have entered a bug to track this:
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=311244&group_id=168&atid=350207
>
> In the meanwhile, you can enter empty <xforms:alert> elements for those
> controls. Not nice, but it will work.
>
> -Erik
>
> On Sep 23, 2008, at 7:13 AM, <[hidden email]>
> <[hidden email]> wrote:
>
>> It seems like the red background has been removed.
>> As for the '!' it will only be shown if an xforms:alert has been defined
>> for that input.
>> I do not know if this is the way it should be or not.
>>
>> Will this be corrected or do I have to go over all my pages to check all
>> fields.
>>
>> Thanks,
>>
>> Antoine
>>
>> -----Original Message-----
>> From: leifneve [mailto:[hidden email]]
>> Sent: Sunday, September 21, 2008 10:48 PM
>> To: [hidden email]
>> Subject: [ops-users] Re: orbeon constraints
>>
>>
>>
>> I'm having the same problem with 3.7beta 1. Required form fields don't
>> show
>> the red background
>> or the '!' mark. Even your own xforms-bookcast demo doesn't work in this
>> regard despite what
>> you claim in the tutorial.  I'm also unclear on whether you are even
>> acknowledging there is a problem.
>> Thanks. -Leif
>>
>>
>> parisiana wrote:
>>>
>>> Hi,
>>>
>>> Orbeon constraints were well featured at
>>> http://www.orbeon.com/ops/doc/reference-xforms-ng yet they are not
>>> implemented in 3.7.0.beta.
>>>
>>> Any other way scripting Xpath has failed me, and looking at both the DMV
>>> and Wizard w/ Switch puzzle me. Why don't the validation constraints
>>> display? Has it to do with schema recognition?
>>>
>>> Thanks,
>>>
>>> -- einar
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/orbeon-constraints-tp19561847p19598293.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
>
>


--
-- Einar Moos
-- parisiana.com

Tel: 0676660080


--
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: Re: orbeon constraints

Erik Bruchez
Administrator
The documentation is often in flux. It is not easy to put a  
publication date since one page may change, but not the other. Did you  
have something more precise in mind? Maybe the best thing ultimately  
will be to have everything on a wiki.

-Erik

On Sep 24, 2008, at 12:38 PM, Einar Moos wrote:

> Thank you, Erik,
>
> This is a perfect simple solution.
>
> My suggestion would be to add to your documentation publishing dates
> (http://www.orbeon.com/ops/doc/), which I find helpful in following
> your changes documentation
> (http://www.orbeon.com/ops/doc/home-changes-37) of your progressive
> orbeon development.
>
> Cheers
>
> -- einar
>
>
> On Tue, Sep 23, 2008 at 11:08 PM, Erik Bruchez <[hidden email]>  
> wrote:
>> The way the XForms engine produces markup has changed a little bit.
>>
>> The XForms engine used to produce an HTML <label> element  
>> representing an
>> alert even if you didn't have an <xforms:alert> element for the  
>> control. The
>> same goes for <xforms:label>, <xforms:hint>, and <xforms:help>: if  
>> you don't
>> have those elements in your form, then the XForms engine does not  
>> generate
>> HTML markup to represent those elements.
>>
>> Compare with this 100% client-side XForms, where if you wanted to  
>> style an
>> <xforms:alert> element, well, you would need the <xforms:alert>  
>> element to
>> be present on the page. No <xforms:alert>, no styling of  
>> <xforms:alert>.
>>
>> One rationale behind not producing those elements is that this way  
>> we can
>> generate slightly smaller pages.
>>
>> Now this does impact the "!" icon, because that icon is produced  
>> with CSS
>> applied to the HTML <label>. So no <label>, no "!" icon. This is I  
>> think an
>> unintended consequence. So somehow, we need to restore this  
>> capability, and
>> I have entered a bug to track this:
>>
>> http://forge.objectweb.org/tracker/index.php?func=detail&aid=311244&group_id=168&atid=350207
>>
>> In the meanwhile, you can enter empty <xforms:alert> elements for  
>> those
>> controls. Not nice, but it will work.
>>
>> -Erik
>>
>> On Sep 23, 2008, at 7:13 AM, <[hidden email]
>> >
>> <[hidden email]> wrote:
>>
>>> It seems like the red background has been removed.
>>> As for the '!' it will only be shown if an xforms:alert has been  
>>> defined
>>> for that input.
>>> I do not know if this is the way it should be or not.
>>>
>>> Will this be corrected or do I have to go over all my pages to  
>>> check all
>>> fields.
>>>
>>> Thanks,
>>>
>>> Antoine
>>>
>>> -----Original Message-----
>>> From: leifneve [mailto:[hidden email]]
>>> Sent: Sunday, September 21, 2008 10:48 PM
>>> To: [hidden email]
>>> Subject: [ops-users] Re: orbeon constraints
>>>
>>>
>>>
>>> I'm having the same problem with 3.7beta 1. Required form fields  
>>> don't
>>> show
>>> the red background
>>> or the '!' mark. Even your own xforms-bookcast demo doesn't work  
>>> in this
>>> regard despite what
>>> you claim in the tutorial.  I'm also unclear on whether you are even
>>> acknowledging there is a problem.
>>> Thanks. -Leif
>>>
>>>
>>> parisiana wrote:
>>>>
>>>> Hi,
>>>>
>>>> Orbeon constraints were well featured at
>>>> http://www.orbeon.com/ops/doc/reference-xforms-ng yet they are not
>>>> implemented in 3.7.0.beta.
>>>>
>>>> Any other way scripting Xpath has failed me, and looking at both  
>>>> the DMV
>>>> and Wizard w/ Switch puzzle me. Why don't the validation  
>>>> constraints
>>>> display? Has it to do with schema recognition?
>>>>
>>>> Thanks,
>>>>
>>>> -- einar
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/orbeon-constraints-tp19561847p19598293.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
>>
>>
>
>
>
> --
> -- Einar Moos
> -- parisiana.com
>
> Tel: 0676660080
>
> --
> 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