Problem with the default value of the "Select one single element"

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

Problem with the default value of the "Select one single element"

ihab

Hi,

I was trying a simple example of a select , using  items with non null values:

<xforms:item>
<xforms:label>English</xforms:label>
<xforms:value>en</xforms:value>
</xforms:item><xforms:item>
<xforms:label>French</xforms:label>
<xforms:value>fr</xforms:value><
/xforms:item>

when the page is displayed, you will see on the screen the select with the
world English, but in the instance, the value of the select  is empty. ( it is
supposed to be "en" )
Is that a bug?

Thanks


--
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: Problem with the default value of the "Select one single element"

ihab
Any news on that front?
Thanks

On Mon, May 19, 2008 at 4:56 PM, <[hidden email]> wrote:

Hi,

I was trying a simple example of a select , using  items with non null values:

<xforms:item>
<xforms:label>English</xforms:label>
<xforms:value>en</xforms:value>
</xforms:item><xforms:item>
<xforms:label>French</xforms:label>
<xforms:value>fr</xforms:value><
/xforms:item>

when the page is displayed, you will see on the screen  the select with the
world English, but in the instance, the value of the select  is empty. ( it is
supposed to be "en" )
Is that a bug?

Thanks


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




--
Ihab EL ALAMI
Process Expert
Intalio, The Open Source BPMS Company

--
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: Problem with the default value of the "Select one single element"

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

> <xforms:item>
> <xforms:label>English</xforms:label>
> <xforms:value>en</xforms:value>
> </xforms:item><xforms:item>
> <xforms:label>French</xforms:label>
> <xforms:value>fr</xforms:value><
> /xforms:item>

> when the page is displayed, you will see on the screen the select with the
> world English, but in the instance, the value of the select  is empty. ( it is
> supposed to be "en" )
> Is that a bug?

there's already a bug entry:

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

I ran into that issue, too, and used setvalue commands to select a
"default" value.


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: Problem with the default value of the "Select one single element"

Alessandro Vernet
Administrator
In reply to this post by ihab
On Mon, May 19, 2008 at 4:56 PM,  <[hidden email]> wrote:
> when the page is displayed, you will see on the screen  the select with the
> world English, but in the instance, the value of the select  is empty. ( it is
> supposed to be "en" )
> Is that a bug?

Yes and no. Since the initial value is "empty", the easiest thing to
do is to include that value in your itemset. With for instance:

<xforms:item>
    <xforms:label>[ Make a selection ]</xforms:label>
    <xforms:value/>
</xforms:item>

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: Problem with the default value of the "Select one single element"

ihab
Thanks a lot for your answers guys,
This is exactly what I did as a workaround.
Any idea when this is going to be fixed ?

On Fri, May 23, 2008 at 12:29 AM, Alessandro Vernet <[hidden email]> wrote:
On Mon, May 19, 2008 at 4:56 PM,  <[hidden email]> wrote:
> when the page is displayed, you will see on the screen  the select with the
> world English, but in the instance, the value of the select  is empty. ( it is
> supposed to be "en" )
> Is that a bug?

Yes and no. Since the initial value is "empty", the easiest thing to
do is to include that value in your itemset. With for instance:

<xforms:item>
   <xforms:label>[ Make a selection ]</xforms:label>
   <xforms:value/>
</xforms:item>

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




--
Ihab EL ALAMI
Process Expert
Intalio, The Open Source BPMS Company

--
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: Problem with the default value of the "Select one single element"

Erik Bruchez
Administrator
No ETA on this, sorry.

-Erik

On May 23, 2008, at 8:42 AM, Ihab EL-ALAMI wrote:

> Thanks a lot for your answers guys,
> This is exactly what I did as a workaround.
> Any idea when this is going to be fixed ?
>
> On Fri, May 23, 2008 at 12:29 AM, Alessandro Vernet <[hidden email]
> > wrote:
> On Mon, May 19, 2008 at 4:56 PM,  <[hidden email]> wrote:
> > when the page is displayed, you will see on the screen  the select  
> with the
> > world English, but in the instance, the value of the select  is  
> empty. ( it is
> > supposed to be "en" )
> > Is that a bug?
>
> Yes and no. Since the initial value is "empty", the easiest thing to
> do is to include that value in your itemset. With for instance:
>
> <xforms:item>
>    <xforms:label>[ Make a selection ]</xforms:label>
>    <xforms:value/>
> </xforms:item>
>
> 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
>
>
>
>
> --
> Ihab EL ALAMI
> Process Expert
> Intalio, The Open Source BPMS Company
> --
> 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: Problem with the default value of the "Select one single element"

ihab
oh shoot...but many thanks for your help !!

On Fri, May 23, 2008 at 11:26 AM, Erik Bruchez <[hidden email]> wrote:
No ETA on this, sorry.

-Erik


On May 23, 2008, at 8:42 AM, Ihab EL-ALAMI wrote:

Thanks a lot for your answers guys,
This is exactly what I did as a workaround.
Any idea when this is going to be fixed ?

On Fri, May 23, 2008 at 12:29 AM, Alessandro Vernet <[hidden email]> wrote:
On Mon, May 19, 2008 at 4:56 PM,  <[hidden email]> wrote:
> when the page is displayed, you will see on the screen  the select with the
> world English, but in the instance, the value of the select  is empty. ( it is
> supposed to be "en" )
> Is that a bug?

Yes and no. Since the initial value is "empty", the easiest thing to
do is to include that value in your itemset. With for instance:

<xforms:item>
  <xforms:label>[ Make a selection ]</xforms:label>
  <xforms:value/>
</xforms:item>

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




--
Ihab EL ALAMI
Process Expert
Intalio, The Open Source BPMS Company
--
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




--
Ihab EL ALAMI
Process Expert
Intalio, The Open Source BPMS Company

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