Orbeon xforms-wizard-switch example broken in release version 3.6.0

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

Orbeon xforms-wizard-switch example broken in release version 3.6.0

Michael Moore-15
I am not able to get the xforms-wizard-switch example bundled with the  
3.6.0 release version to continue past entry of age as it believes the  
age to be invalid (showing a red "!" and disabling the "Finish"  
button) regardless of the entry for age.

If I modify the model's constraint on that field from "number(.) >= 0  
" to "true()", I can continue to the last step of the example. I have  
tried "number(.) ge 0", ". ge 0", ". != ''", etc and cannot get the  
constraint to show validity with the 3.6.0 release version..

The example works fine in the nightly version and on the Orbeon web  
site at http://www.orbeon.com/ops/xforms-wizard-switch/ where a newer  
version of Orbeon is in use.

  A copy of the model from the Orbeon examples is copied below. Thanks  
for your input. It helps me figure out the examples and debugging of  
Orbeon XForms. Are there logs to help debug the runtime engine? I saw  
a instance inspector in one of the examples, but am having trouble  
figuring out how to add it to this example for debugging.

Thanks,

-Michael


------

         <xforms:model>
             <xforms:instance id="text">
                 <user>
                     <firstname/>
                     <lastname/>
                     <age/>
                 </user>
             </xforms:instance>
             <xforms:instance id="control-instance">
                 <control-instance>
                     <back/>
                     <finish readonly="false"/>
                 </control-instance>
             </xforms:instance>
             <xforms:instance id="formatted">
                 <formated-instance/>
             </xforms:instance>
             <xforms:bind nodeset="age" constraint="number(.) >= 0"/>
             <xforms:bind nodeset="instance('control-instance')">
                 <xforms:bind nodeset="back" readonly="true()"/>
                 <xforms:bind nodeset="finish" readonly="@readonly =  
'false'"/>
             </xforms:bind>
             <xforms:bind nodeset="instance('formatted')"
                 calculate="xxforms:serialize(xxforms:call-xpl('oxf:/
ops/utils/formatting/format.xpl', 'data', instance('
text'), 'data')/*, 'html')"/>
         </xforms:model>



--
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: Orbeon xforms-wizard-switch example broken in release version 3.6.0

Erik Bruchez
Administrator
Michael,

Not sure we'll have much input as we are not currently working on 3.6  
anymore.

-Erik

On Apr 8, 2009, at 11:53 AM, Michael Moore wrote:

> I am not able to get the xforms-wizard-switch example bundled with  
> the 3.6.0 release version to continue past entry of age as it  
> believes the age to be invalid (showing a red "!" and disabling the  
> "Finish" button) regardless of the entry for age.
>
> If I modify the model's constraint on that field from "number(.) >=  
> 0 " to "true()", I can continue to the last step of the example. I  
> have tried "number(.) ge 0", ". ge 0", ". != ''", etc and cannot get  
> the constraint to show validity with the 3.6.0 release version..
>
> The example works fine in the nightly version and on the Orbeon web  
> site at http://www.orbeon.com/ops/xforms-wizard-switch/ where a  
> newer version of Orbeon is in use.
>
> A copy of the model from the Orbeon examples is copied below. Thanks  
> for your input. It helps me figure out the examples and debugging of  
> Orbeon XForms. Are there logs to help debug the runtime engine? I  
> saw a instance inspector in one of the examples, but am having  
> trouble figuring out how to add it to this example for debugging.
>
> Thanks,
>
> -Michael
>
>
> ------
>
>        <xforms:model>
>            <xforms:instance id="text">
>                <user>
>                    <firstname/>
>                    <lastname/>
>                    <age/>
>                </user>
>            </xforms:instance>
>            <xforms:instance id="control-instance">
>                <control-instance>
>                    <back/>
>                    <finish readonly="false"/>
>                </control-instance>
>            </xforms:instance>
>            <xforms:instance id="formatted">
>                <formated-instance/>
>            </xforms:instance>
>            <xforms:bind nodeset="age" constraint="number(.) >= 0"/>
>            <xforms:bind nodeset="instance('control-instance')">
>                <xforms:bind nodeset="back" readonly="true()"/>
>                <xforms:bind nodeset="finish" readonly="@readonly =  
> 'false'"/>
>            </xforms:bind>
>            <xforms:bind nodeset="instance('formatted')"
>                calculate="xxforms:serialize(xxforms:call-xpl('oxf:/
> ops/utils/formatting/format.xpl', 'data', instance('
> text'), 'data')/*, 'html')"/>
>        </xforms:model>
>
>
> --
> 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: Orbeon xforms-wizard-switch example broken in release version 3.6.0

Michael Moore-14
So new users needing assistance should use the nightly build or is  
there a recommended 3.7 stable release? Honestly, When I use the  
nightly, I have trouble getting some of the examples working. Maybe I  
can look into those further instead.

Thanks for you reply,

-Michael


On Apr 9, 2009, at 3:32 PM, Erik Bruchez <[hidden email]> wrote:

> Michael,
>
> Not sure we'll have much input as we are not currently working on  
> 3.6 anymore.
>
> -Erik
>
> On Apr 8, 2009, at 11:53 AM, Michael Moore wrote:
>
>> I am not able to get the xforms-wizard-switch example bundled with  
>> the 3.6.0 release version to continue past entry of age as it  
>> believes the age to be invalid (showing a red "!" and disabling the  
>> "Finish" button) regardless of the entry for age.
>>
>> If I modify the model's constraint on that field from "number(.) >=  
>> 0 " to "true()", I can continue to the last step of the example. I  
>> have tried "number(.) ge 0", ". ge 0", ". != ''", etc and cannot  
>> get the constraint to show validity with the 3.6.0 release version..
>>
>> The example works fine in the nightly version and on the Orbeon web  
>> site at http://www.orbeon.com/ops/xforms-wizard-switch/ where a  
>> newer version of Orbeon is in use.
>>
>> A copy of the model from the Orbeon examples is copied below.  
>> Thanks for your input. It helps me figure out the examples and  
>> debugging of Orbeon XForms. Are there logs to help debug the  
>> runtime engine? I saw a instance inspector in one of the examples,  
>> but am having trouble figuring out how to add it to this example  
>> for debugging.
>>
>> Thanks,
>>
>> -Michael
>>
>>
>> ------
>>
>>       <xforms:model>
>>           <xforms:instance id="text">
>>               <user>
>>                   <firstname/>
>>                   <lastname/>
>>                   <age/>
>>               </user>
>>           </xforms:instance>
>>           <xforms:instance id="control-instance">
>>               <control-instance>
>>                   <back/>
>>                   <finish readonly="false"/>
>>               </control-instance>
>>           </xforms:instance>
>>           <xforms:instance id="formatted">
>>               <formated-instance/>
>>           </xforms:instance>
>>           <xforms:bind nodeset="age" constraint="number(.) >= 0"/>
>>           <xforms:bind nodeset="instance('control-instance')">
>>               <xforms:bind nodeset="back" readonly="true()"/>
>>               <xforms:bind nodeset="finish" readonly="@readonly =  
>> 'false'"/>
>>           </xforms:bind>
>>           <xforms:bind nodeset="instance('formatted')"
>>               calculate="xxforms:serialize(xxforms:call-xpl('oxf:/
>> ops/utils/formatting/format.xpl', 'data', instance('
>> text'), 'data')/*, 'html')"/>
>>       </xforms:model>
>>
>>
>> --
>> 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


--
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 xforms-wizard-switch example broken in release version 3.6.0

Alessandro Vernet
Administrator
Michael,

On Apr 9, 2009, at 4:03 PM, Michael Moore wrote:

> So new users needing assistance should use the nightly build or is  
> there a recommended 3.7 stable release? Honestly, When I use the  
> nightly, I have trouble getting some of the examples working. Maybe  
> I can look into those further instead.

It is much easier for us to help if you spot a problem in a recent  
nightly build, because this is what we work on day in and day out.

If it is a problem with an older build, if we need to reproduce the  
problem to investigate it,  because doing this on older builds is more  
time consuming, this is something that we can only afford to provide  
to people who have a support plan.

Of course if we have an idea of what the problem is, we'll always do  
our best to share that knowledge here on the mailing list. And maybe  
someone else in the community can also help. So keep the posts  
coming! :)

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