Inspector Widget and validation icon in recently build

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

Inspector Widget and validation icon in recently build

James Gu
I upgraded to the recent night build and found two errors.

1. I cannot use Inspector Widget anymore. If I try to select “Evaluate XPath” radio-button, it comes back with this error:

2. All bind validations on all forms are not displaying “!” icon anymore.

Could you please check it? Thanks!
Reply | Threaded
Open this post in threaded view
|

RE: Inspector Widget and validation icon in recently build

Ryan Puddephatt-3
You didn't paste the error

-----------------------------------------------
Ryan Puddephatt
FIX Developer
Fidessa LatentZero
1 Alfred Place
London WC1E 7EB
Office: +44 (0) 20 7462 4200
Direct: +44 (0) 20 7323 6112
Blackberry: +44 (0) 79 8539 2458
Fax: +44 (0) 20 7462 4242
Email: [hidden email]
Web: http://www.latentzero.com


-----Original Message-----
From: JamesGu [mailto:[hidden email]]
Sent: 21 August 2008 12:01
To: [hidden email]
Subject: [ops-users] Inspector Widget and validation icon in recently build


I upgraded to the recent night build and found two errors.

1. I cannot use Inspector Widget anymore. If I try to select “Evaluate XPath” radio-button, it comes back with this error:

2. All bind validations on all forms are not displaying “!” icon anymore.

Could you please check it? Thanks!
--
View this message in context: http://www.nabble.com/Inspector-Widget-and-validation-icon-in-recently-build-tp19086473p19086473.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

_______________________________________________________________________
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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: Inspector Widget and validation icon in recently build

mangvlad
In reply to this post by James Gu
1. I cannot use Inspector Widget anymore. If I try to select “Evaluate XPath” radio-button, it comes back with this error:

You may want to try one of the following:

    * Close this dialog and continue to use this page.
    * Reload this page. Note that you will lose any unsaved changes.
    *

      If the above does not work, try reloading the page yourself. Note that you will lose any unsaved changes:
          o With Firefox and Safari: hold down the shift key and click the Reload button in your browser toolbar.
          o With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
    * Return home.

Show Details Show details

Hide Details Hide details
Exception in client-side code.

    * Message: C has no properties
    * File: http://localhost:7011/orbeon/xforms-server/xforms-yuicalendar-min.js
    * Line number: 89
Reply | Threaded
Open this post in threaded view
|

RE: Inspector Widget and validation icon in recently build

James Gu
In reply to this post by Ryan Puddephatt-3
This is the error screen.

error.bmp
Reply | Threaded
Open this post in threaded view
|

Re: RE: Inspector Widget and validation icon in recently build

Alessandro Vernet
Administrator
On Thu, Aug 21, 2008 at 7:11 PM, JamesGu <[hidden email]> wrote:
> This is the error screen.
>
> http://www.nabble.com/file/p19100235/error.jpeg
> http://www.nabble.com/file/p19100235/error.bmp error.bmp

Could you try again with the latest nightly build? There might have been
a problem recently that prevented the XForms inspector "evaluate XPath"
functionality to work property, but this seems to be fixed now.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
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: Inspector Widget and validation icon in recently build

Alessandro Vernet
Administrator
On Mon, Aug 25, 2008 at 12:17 AM, Alessandro Vernet <[hidden email]>
wrote:
> Could you try again with the latest nightly build? There might have been a
> problem recently that prevented the XForms inspector "evaluate XPath"
> functionality to work property, but this seems to be fixed now.

As mentioned in another thread, it turns out this is caused by the use
of minimal resources. As a workaround, for now set
oxf.xforms.minimal-resources to false is properties.xml.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
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: Inspector Widget and validation icon in recently build

James Gu
In reply to this post by Alessandro Vernet
Alex,

The inspector works well now. Thank you!

How about the other problem?

All bind validations on all forms are not displaying “!” icon anymore when validation fails.


James
Reply | Threaded
Open this post in threaded view
|

Re: Re: RE: Inspector Widget and validation icon in recently build

Alessandro Vernet
Administrator
James,

On Mon, Aug 25, 2008 at 1:38 AM, JamesGu <[hidden email]> wrote:
> The inspector works well now. Thank you!

Great!

> All bind validations on all forms are not displaying "!" icon anymore when
> validation fails.

Is this happening in Form Runner, or just in plain XForms you wrote? If
in the former, this is an intended behavior: we are now adding another
CSS class so you can control with CSS whether errors are displayed on
invalid field before they are "visited" by the user.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



--
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: Inspector Widget and validation icon in recently build

Einar Moos
>> All bind validations on all forms are not displaying "!" icon anymore when
>> validation fails.

I noticed this also last week after installing the nightly built on
our system from my machine that was installed 2 weeks ago Orbeon Forms
3.7.0alpha.200808170510

Tried different different locations to display schema sans success. No
problem for me, but the users are disoriented not knowing the
constraints. However your government forms and all other test cases I
have opened display this useful feature.

Thanks

-- einar


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: Inspector Widget and validation icon in recently build

mangvlad
In reply to this post by Alessandro Vernet
Alex,

I am having this problem with all my XForms (not From Runner) for the last couple of weeks.
(I am on  Orbeon Forms Release 3.7.0beta1.200808240812).

Thanks,
Vlad



Alessandro Vernet wrote
James,

On Mon, Aug 25, 2008 at 1:38 AM, JamesGu <jxgu@cnsh.delphi-tech.com> wrote:
> The inspector works well now. Thank you!

Great!

> All bind validations on all forms are not displaying "!" icon anymore when
> validation fails.

Is this happening in Form Runner, or just in plain XForms you wrote? If
in the former, this is an intended behavior: we are now adding another
CSS class so you can control with CSS whether errors are displayed on
invalid field before they are "visited" by the user.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet



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


-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: RE: Inspector Widget and validation icon in recently build

Erik Bruchez
Administrator
Do the errors appear if you visit the field ? E.g. enter something  
valid, then invalid again ?

Also, is the xforms-invalid class put on the field in the first place ?

-Erik

On Sep 3, 2008, at 2:54 PM, mangvlad wrote:

>
> Alex,
>
> I am having this problem with all my XForms (not From Runner) for  
> the last
> couple of weeks.
> (I am on  Orbeon Forms Release 3.7.0beta1.200808240812).
>
> Thanks,
> Vlad
>
>
>
>
> Alessandro Vernet wrote:
>>
>> James,
>>
>> On Mon, Aug 25, 2008 at 1:38 AM, JamesGu <[hidden email]>
>> wrote:
>>> The inspector works well now. Thank you!
>>
>> Great!
>>
>>> All bind validations on all forms are not displaying "!" icon  
>>> anymore
>>> when
>>> validation fails.
>>
>> Is this happening in Form Runner, or just in plain XForms you  
>> wrote? If
>> in the former, this is an intended behavior: we are now adding  
>> another
>> CSS class so you can control with CSS whether errors are displayed on
>> invalid field before they are "visited" by the user.
>>
>> Alex
>> --
>> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>> Orbeon's Blog: http://www.orbeon.com/blog/
>> Personal Blog: http://avernet.blogspot.com/
>> Twitter - http://twitter.com/avernet
>>
>>
>>
>> --
>> 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 2.0 Forms, open-source, for the Enterprise
>> http://www.orbeon.com/
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Inspector-Widget-and-validation-icon-in-recently-build-tp19086473p19298997.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: Inspector Widget and validation icon in recently build

mangvlad
It looks like this is just a change in default behavior: it used to display "!" any time for any field that failed validation. Now it seems to be doing only when you have <xforms:alert> pointing to a non-empty string specified.

For example:

<xforms:input ref="."/> used to show "!" for invalid inputs.

Now you have to do this:

<xforms:input ref=".">
     <xforms:alert value="'Invalid data'"/>
</xforms:input>                                                               

(I am not sure if this works as intended or a side effect of something else...)
Reply | Threaded
Open this post in threaded view
|

Re: RE: Inspector Widget and validation icon in recently build

Erik Bruchez
Administrator
The fact that we do not output the markup representing the alert if no  
xforms:alert is present is intentional. If you were to implement  
XForms natively in the browser, you would also not be able to style  
the xforms:alert element if it is not present (obviously).

This was implemented not long ago as part of some much-needed  
refactoring of the control "handlers" that produce the resulting HTML.

We still place the xforms-invalid class on the control, so you can  
still do some amount of styling.

-Erik

On Sep 4, 2008, at 11:42 AM, mangvlad wrote:

>
> It looks like this is just a change in default behavior: it used to  
> display
> "!" any time for any field that failed validation. Now it seems to  
> be doing
> only when you have <xforms:alert> pointing to a non-empty string  
> specified.
>
> For example:
>
> <xforms:input ref="."/> used to show "!" for invalid inputs.
>
> Now you have to do this:
>
> <xforms:input ref=".">
>     <xforms:alert value="'Invalid data'"/>
> </xforms:input>
>
> (I am not sure if this works as intended or a side effect of something
> else...)
> --
> View this message in context: http://www.nabble.com/Inspector-Widget-and-validation-icon-in-recently-build-tp19086473p19317338.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
--
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