Problem with xxform:repeat-current and xforms:insert

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

Problem with xxform:repeat-current and xforms:insert

joac

Hi Orbeon community,

 

I have a problem with xxform:repeat-current and xforms:insert inside a repeat. This problem occurs on Internet Explorer 6 but on Mozilla works fine.

 

I have a repeat with an insert button on each table row to insert new data in the next row. When I click the insert the page handles forever.

 

I paste part of the code (I can prepare an example if needed).

 

Does anybody experienced this? is it a bug? any workaround or idea?

 

Thanks again,

Jordi

 

 

 

 

<xforms:repeat nodeset="ScheduleData/ChannelPeriod/Event" id="i_event">

 

...

 

<xhtml:td class="estilo1">Group</xhtml:td>

<xhtml:td align="right" colspan="2">

<xforms:select1 appearance="minimal" ref="EpgProduction/DvbContent/Content/@nibble1">

<xforms:itemset nodeset="instance('groups')/group">

<xforms:label ref="name"></xforms:label>

<xforms:value ref="id"></xforms:value>

</xforms:itemset>

</xforms:select1>

</xhtml:td>

 

<xhtml:td class="estilo1">Subgroup</xhtml:td>

<xhtml:td align="right" colspan="2">

<xforms:select1 appearance="minimal" ref="EpgProduction/DvbContent/Content/@nibble2" id="select-subgroup">

<xforms:itemset nodeset="instance('groups')/group[id = xxforms:repeat-current('i_event')/EpgProduction/DvbContent/Content/@nibble1]/subgroups/subgroup">

<xforms:label ref="name"></xforms:label>

<xforms:value ref="id"></xforms:value>

</xforms:itemset>

</xforms:select1>

</xhtml:td>

 

...

 

<xforms:trigger>

<xforms:label>Insert</xforms:label>

<xforms:action ev:event="DOMActivate">

<xforms:insert nodeset="instance('bcast-client')/ScheduleData/ChannelPeriod/Event" at="index('i_event')" position="after"/>

 

<xforms:setvalue ref="instance('bcast-client')/ScheduleData/ChannelPeriod/Event[index('i_event')]/@beginTime" value="instance('bcast-client')/ScheduleData/ChannelPeriod/@beginTime"/>

<xforms:setvalue ref="instance('bcast-client')/ScheduleData/ChannelPeriod/Event[index('i_event')]/@durmin">0</xforms:setvalue>

</xforms:action>

</xforms:trigger>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Problem with xxform:repeat-current and xforms:insert

Wang Yan
Sometimes, there is some small differences between IE and Firefox in the interpretation, it's normal ! I work on firefox


En réponse à Jordi Amatller <[hidden email]> :

Hi Orbeon community,

 

I have a problem with xxform:repeat-current and xforms:insert inside a repeat. This problem occurs on Internet Explorer 6 but on Mozilla works fine.

 

I have a repeat with an insert button on each table row to insert new data in the next row. When I click the insert the page handles forever.

 

I paste part of the code (I can prepare an example if needed).

 

Does anybody experienced this? is it a bug? any workaround or idea?

 

Thanks again,

Jordi

 

 

 

 

<xforms:repeat nodeset="ScheduleData/ChannelPeriod/Event" id="i_event">

 

...

 

<xhtml:td class="estilo1">Group</xhtml:td>

<xhtml:td align="right" colspan="2">

<xforms:select1 appearance="minimal" ref="EpgProduction/DvbContent/Content/@nibble1">

<xforms:itemset nodeset="instance('groups')/group">

<xforms:label ref="name"></xforms:label>

<xforms:value ref="id"></xforms:value>

</xforms:itemset>

</xforms:select1>

</xhtml:td>

 

<xhtml:td class="estilo1">Subgroup</xhtml:td>

<xhtml:td align="right" colspan="2">

<xforms:select1 appearance="minimal" ref="EpgProduction/DvbContent/Content/@nibble2" id="select-subgroup">

<xforms:itemset nodeset="instance('groups')/group[id = xxforms:repeat-current('i_event')/EpgProduction/DvbContent/Content/@nibble1]/subgroups/subgroup">

<xforms:label ref="name"></xforms:label>

<xforms:value ref="id"></xforms:value>

</xforms:itemset>

</xforms:select1>

</xhtml:td>

 

...

 

<xforms:trigger>

<xforms:label>Insert</xforms:label>

<xforms:action ev:event="DOMActivate">

<xforms:insert nodeset="instance('bcast-client')/ScheduleData/ChannelPeriod/Event" at="index('i_event')" position="after"/>

 

<xforms:setvalue ref="instance('bcast-client')/ScheduleData/ChannelPeriod/Event[index('i_event')]/@beginTime" value="instance('bcast-client')/ScheduleData/ChannelPeriod/@beginTime"/>

<xforms:setvalue ref="instance('bcast-client')/ScheduleData/ChannelPeriod/Event[index('i_event')]/@durmin">0</xforms:setvalue>

</xforms:action>

</xforms:trigger>



message-footer.txt

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


-----------------------------------------------------
Romandie Annonces : http://annonces.romandie.com
Petites annonces 100% gratuites entre romands
-----------------------------------------------------




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Problem with xxform:repeat-current and xforms:insert

joac

I work on firefox too, but most people still uses IE so we have to be prepared for both browsers.

 

Jordi

 


De: Wang Yan [mailto:[hidden email]]
Enviado el: sábado, 20 de enero de 2007 4:50
Para: [hidden email]
Asunto: Re: [ops-users] Problem with xxform:repeat-current and xforms:insert

 

Sometimes, there is some small differences between IE and Firefox in the interpretation, it's normal ! I work on firefox


En réponse à Jordi Amatller <[hidden email]> :

Hi Orbeon community,

 

I have a problem with xxform:repeat-current and xforms:insert inside a repeat. This problem occurs on Internet Explorer 6 but on Mozilla works fine.

 

I have a repeat with an insert button on each table row to insert new data in the next row. When I click the insert the page handles forever.

 

I paste part of the code (I can prepare an example if needed).

 

Does anybody experienced this? is it a bug? any workaround or idea?

 

Thanks again,

Jordi

 

 

 

 

<xforms:repeat nodeset="ScheduleData/ChannelPeriod/Event" id="i_event">

 

...

 

<xhtml:td class="estilo1">Group</xhtml:td>

<xhtml:td align="right" colspan="2">

<xforms:select1 appearance="minimal" ref="EpgProduction/DvbContent/Content/@nibble1">

<xforms:itemset nodeset="instance('groups')/group">

<xforms:label ref="name"></xforms:label>

<xforms:value ref="id"></xforms:value>

</xforms:itemset>

</xforms:select1>

</xhtml:td>

 

<xhtml:td class="estilo1">Subgroup</xhtml:td>

<xhtml:td align="right" colspan="2">

<xforms:select1 appearance="minimal" ref="EpgProduction/DvbContent/Content/@nibble2" id="select-subgroup">

<xforms:itemset nodeset="instance('groups')/group[id = xxforms:repeat-current('i_event')/EpgProduction/DvbContent/Content/@nibble1]/subgroups/subgroup">

<xforms:label ref="name"></xforms:label>

<xforms:value ref="id"></xforms:value>

</xforms:itemset>

</xforms:select1>

</xhtml:td>

 

...

 

<xforms:trigger>

<xforms:label>Insert</xforms:label>

<xforms:action ev:event="DOMActivate">

<xforms:insert nodeset="instance('bcast-client')/ScheduleData/ChannelPeriod/Event" at="index('i_event')" position="after"/>

 

<xforms:setvalue ref="instance('bcast-client')/ScheduleData/ChannelPeriod/Event[index('i_event')]/@beginTime" value="instance('bcast-client')/ScheduleData/ChannelPeriod/@beginTime"/>

<xforms:setvalue ref="instance('bcast-client')/ScheduleData/ChannelPeriod/Event[index('i_event')]/@durmin">0</xforms:setvalue>

</xforms:action>

</xforms:trigger>

 


message-footer.txt


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

 

-----------------------------------------------------
Romandie Annonces : http://annonces.romandie.com
Petites annonces 100% gratuites entre romands
-----------------------------------------------------

 



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Problem with xxform:repeat-current and xforms:insert

Erik Bruchez
Administrator
In reply to this post by joac
Jordi,

Please provide an example that shows the problem in the sandbox.

-Erik

Jordi Amatller wrote:

> Hi Orbeon community,
>
>  
>
> I have a problem with xxform:repeat-current and xforms:insert inside a
> repeat. This problem occurs on Internet Explorer 6 but on Mozilla works
> fine.
>
>  
>
> I have a repeat with an insert button on each table row to insert new
> data in the next row. When I click the insert the page handles forever.
>
>  
>
> I paste part of the code (I can prepare an example if needed).
>
>  
>
> Does anybody experienced this? is it a bug? any workaround or idea?
>
>  
>
> Thanks again,
>
> Jordi
>
>  
>
>  
>
>  
>
>  
>
> <*xforms:repeat* nodeset="ScheduleData/ChannelPeriod/Event" id="*i_event*">
>
>  
>
> ...
>
>  
>
> <xhtml:td class="estilo1">Group</xhtml:td>
>
> <xhtml:td align="right" colspan="2">
>
> <xforms:select1 appearance="minimal"
> ref="EpgProduction/DvbContent/Content/@nibble1">
>
> <xforms:itemset nodeset="instance('groups')/group">
>
> <xforms:label ref="name"></xforms:label>
>
> <xforms:value ref="id"></xforms:value>
>
> </xforms:itemset>
>
> </xforms:select1>
>
> </xhtml:td>
>
>  
>
> <xhtml:td class="estilo1">Subgroup</xhtml:td>
>
> <xhtml:td align="right" colspan="2">
>
> <xforms:select1 appearance="minimal"
> ref="EpgProduction/DvbContent/Content/@nibble2" id="select-subgroup">
>
> <xforms:itemset nodeset="instance('groups')/group[id =
> *xxforms:repeat-current('i_event')*/EpgProduction/DvbContent/Content/@nibble1]/subgroups/subgroup">
>
> <xforms:label ref="name"></xforms:label>
>
> <xforms:value ref="id"></xforms:value>
>
> </xforms:itemset>
>
> </xforms:select1>
>
> </xhtml:td>
>
>  
>
> ...
>
>  
>
> <xforms:trigger>
>
> <xforms:label>Insert</xforms:label>
>
> <xforms:action ev:event="DOMActivate">
>
> <*xforms:insert
> *nodeset="instance('bcast-client')/ScheduleData/ChannelPeriod/Event"
> at="*index('i_event')*" position="after"/>
>
>  
>
> <xforms:setvalue
> ref="instance('bcast-client')/ScheduleData/ChannelPeriod/Event[index('i_event')]/@beginTime"
> value="instance('bcast-client')/ScheduleData/ChannelPeriod/@beginTime"/>
>
> <xforms:setvalue
> ref="instance('bcast-client')/ScheduleData/ChannelPeriod/Event[index('i_event')]/@durmin">0</xforms:setvalue>
>
> </xforms:action>
>
> </xforms:trigger>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Problem with xxform:repeat-current and xforms:insert

joac
Hi Erik,

I am attaching the example for the xforms sandbox. Try to run it in Firefox
and IE 6.

Try to insert new rows to the table, in IE6 the pages handles forever and it
creates a row at the end of the table with buttons $xforms-label-value$.

I don't know why is not working with damned IE6. Please let me know if this
is a bug and if you think there is a workaround.

Thanks again,
Jordi

-----Mensaje original-----
De: Erik Bruchez [mailto:[hidden email]] En nombre de Erik Bruchez
Enviado el: domingo, 21 de enero de 2007 12:11
Para: [hidden email]
Asunto: Re: [ops-users] Problem with xxform:repeat-current and xforms:insert

Jordi,

Please provide an example that shows the problem in the sandbox.

-Erik

Jordi Amatller wrote:

> Hi Orbeon community,
>
>  
>
> I have a problem with xxform:repeat-current and xforms:insert inside a
> repeat. This problem occurs on Internet Explorer 6 but on Mozilla works
> fine.
>
>  
>
> I have a repeat with an insert button on each table row to insert new
> data in the next row. When I click the insert the page handles forever.
>
>  
>
> I paste part of the code (I can prepare an example if needed).
>
>  
>
> Does anybody experienced this? is it a bug? any workaround or idea?
>
>  
>
> Thanks again,
>
> Jordi
>
>  
>
>  
>
>  
>
>  
>
> <*xforms:repeat* nodeset="ScheduleData/ChannelPeriod/Event"
id="*i_event*">

>
>  
>
> ...
>
>  
>
> <xhtml:td class="estilo1">Group</xhtml:td>
>
> <xhtml:td align="right" colspan="2">
>
> <xforms:select1 appearance="minimal"
> ref="EpgProduction/DvbContent/Content/@nibble1">
>
> <xforms:itemset nodeset="instance('groups')/group">
>
> <xforms:label ref="name"></xforms:label>
>
> <xforms:value ref="id"></xforms:value>
>
> </xforms:itemset>
>
> </xforms:select1>
>
> </xhtml:td>
>
>  
>
> <xhtml:td class="estilo1">Subgroup</xhtml:td>
>
> <xhtml:td align="right" colspan="2">
>
> <xforms:select1 appearance="minimal"
> ref="EpgProduction/DvbContent/Content/@nibble2" id="select-subgroup">
>
> <xforms:itemset nodeset="instance('groups')/group[id =
>
*xxforms:repeat-current('i_event')*/EpgProduction/DvbContent/Content/@nibble
1]/subgroups/subgroup">

>
> <xforms:label ref="name"></xforms:label>
>
> <xforms:value ref="id"></xforms:value>
>
> </xforms:itemset>
>
> </xforms:select1>
>
> </xhtml:td>
>
>  
>
> ...
>
>  
>
> <xforms:trigger>
>
> <xforms:label>Insert</xforms:label>
>
> <xforms:action ev:event="DOMActivate">
>
> <*xforms:insert
> *nodeset="instance('bcast-client')/ScheduleData/ChannelPeriod/Event"
> at="*index('i_event')*" position="after"/>
>
>  
>
> <xforms:setvalue
>
ref="instance('bcast-client')/ScheduleData/ChannelPeriod/Event[index('i_even
t')]/@beginTime"
> value="instance('bcast-client')/ScheduleData/ChannelPeriod/@beginTime"/>
>
> <xforms:setvalue
>
ref="instance('bcast-client')/ScheduleData/ChannelPeriod/Event[index('i_even
t')]/@durmin">0</xforms:setvalue>

>
> </xforms:action>
>
> </xforms:trigger>
>
>
> ------------------------------------------------------------------------
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

selects.xhtml (40K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem with xxform:repeat-current and xforms:insert

Erik Bruchez
Administrator
Jordi,

> I am attaching the example for the xforms sandbox. Try to run it in Firefox
> and IE 6.
>
> Try to insert new rows to the table, in IE6 the pages handles forever and it
> creates a row at the end of the table with buttons $xforms-label-value$.
>
> I don't know why is not working with damned IE6. Please let me know if this
> is a bug and if you think there is a workaround.

I reproduce this in IE 6. It works fine in Firefox, IE 7, and Safari 2.

So it's most likely a bug in IE 6 ;-) This said, there may be a way
around it, hard to say without investigating. The XForms code itself
looks fine. I entered a bug to track this:

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

-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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Problem with xxform:repeat-current and xforms:insert

joac
Hi Erik,

OK, this may be a bug of damned IE6.

I am trying another alternative: using your new select1 hierarchy.
But unfortunately in any browser when I insert another row it produces the
following error:

XForms error: Error element "xxf:item" is missing "value" attribute(schema:
oxf:/ops/xforms/xforms-server-response.rng)

I don't know where may be the problem. I am attaching the new example if you
have time to test it.

Sounds very good that you are adding new components like tree, select
hierarchy, dialogs,... they are very useful!!!

Jordi




-----Mensaje original-----
De: Erik Bruchez [mailto:[hidden email]] En nombre de Erik Bruchez
Enviado el: martes, 23 de enero de 2007 18:53
Para: [hidden email]
Asunto: Re: [ops-users] Problem with xxform:repeat-current and xforms:insert

Jordi,

> I am attaching the example for the xforms sandbox. Try to run it in
Firefox
> and IE 6.
>
> Try to insert new rows to the table, in IE6 the pages handles forever and
it
> creates a row at the end of the table with buttons $xforms-label-value$.
>
> I don't know why is not working with damned IE6. Please let me know if
this
> is a bug and if you think there is a workaround.

I reproduce this in IE 6. It works fine in Firefox, IE 7, and Safari 2.

So it's most likely a bug in IE 6 ;-) This said, there may be a way
around it, hard to say without investigating. The XForms code itself
looks fine. I entered a bug to track this:

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

-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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

selects.xhtml (21K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Problem with xxform:repeat-current and xforms:insert

joac
In reply to this post by joac

Hi Erik,

 

OK, this may be a bug of damned IE6.

 

I am trying another alternative: using your new select1 hierarchy.

But unfortunately in any browser when I insert another row it produces the following error:

 

XForms error: Error element "xxf:item" is missing "value" attribute(schema: oxf:/ops/xforms/xforms-server-response.rng)

 

I don't know where may be the problem. I am attaching the new example if you have time to test it.

 

Sounds very good that you are adding new components like tree, select hierarchy, dialogs,... they are very useful!!!

 

Jordi

 

 

 

 

-----Mensaje original-----

De: Erik Bruchez [[hidden email]] En nombre de Erik Bruchez Enviado el: martes, 23 de enero de 2007 18:53

Para: [hidden email]

Asunto: Re: [ops-users] Problem with xxform:repeat-current and xforms:insert

 

Jordi,

 

> I am attaching the example for the xforms sandbox. Try to run it in

> Firefox and IE 6.

>

> Try to insert new rows to the table, in IE6 the pages handles forever

> and it creates a row at the end of the table with buttons $xforms-label-value$.

>

> I don't know why is not working with damned IE6. Please let me know if

> this is a bug and if you think there is a workaround.

 

I reproduce this in IE 6. It works fine in Firefox, IE 7, and Safari 2.

 

So it's most likely a bug in IE 6 ;-) This said, there may be a way around it, hard to say without investigating. The XForms code itself looks fine. I entered a bug to track this:

 

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

 

-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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

selects.xhtml (27K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem with xxform:repeat-current and xforms:insert

Erik Bruchez
Administrator
In reply to this post by joac
Jordi,

I see what this is. Updates to hierarchical itemsets (with titles and
all as explained in our blog entry recently) are currently not handled
by the client.

In your case, when a new row is inserted, the client needs to know the
new list of items to handle, but 1) The server makes a mistake in
formatting the data and 2) The client doesn't have the code to update
the items anyway.

This would work if you don't use a hierarchical itemset so I recommend
you do that until the bug is fixed. I entered a new bug to track this:

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

-Erik

Jordi Amatller wrote:

> Hi Erik,
>
> OK, this may be a bug of damned IE6.
>
> I am trying another alternative: using your new select1 hierarchy.
> But unfortunately in any browser when I insert another row it produces the
> following error:
>
> XForms error: Error element "xxf:item" is missing "value" attribute(schema:
> oxf:/ops/xforms/xforms-server-response.rng)
>
> I don't know where may be the problem. I am attaching the new example if you
> have time to test it.
>
> Sounds very good that you are adding new components like tree, select
> hierarchy, dialogs,... they are very useful!!!
>
> Jordi
>
>
>
>
> -----Mensaje original-----
> De: Erik Bruchez [mailto:[hidden email]] En nombre de Erik Bruchez
> Enviado el: martes, 23 de enero de 2007 18:53
> Para: [hidden email]
> Asunto: Re: [ops-users] Problem with xxform:repeat-current and xforms:insert
>
> Jordi,
>
>> I am attaching the example for the xforms sandbox. Try to run it in
> Firefox
>> and IE 6.
>>
>> Try to insert new rows to the table, in IE6 the pages handles forever and
> it
>> creates a row at the end of the table with buttons $xforms-label-value$.
>>
>> I don't know why is not working with damned IE6. Please let me know if
> this
>> is a bug and if you think there is a workaround.
>
> I reproduce this in IE 6. It works fine in Firefox, IE 7, and Safari 2.
>
> So it's most likely a bug in IE 6 ;-) This said, there may be a way
> around it, hard to say without investigating. The XForms code itself
> looks fine. I entered a bug to track this:
>
>    http://forge.objectweb.org/tracker/index.php?group_id=168&atid=350207
>
> -Erik
>
>
>
> ------------------------------------------------------------------------
>
> EPG form S 1 1 0 spa EL MUSICAL (R) Artistas consagrados o personas
> annimas cantan en directo para mostrar sus habilidades artsticas. S 1 1
> 0 spa LA COCINA DE MAITE (R) Programa de cocina. S 1 1 0 spa TIERRA Y
> MAR Programa sobre la agricultura, pesca, ganadera y medio ambiente en
> Andaluca S 1 1 0 spa LA ENTREVISTA Anlisis y entrevista a un invitado
> del mundo de la economa, la poltica, la cultura... Presenta: Angustias
> Garca. Invitada: Mara del Mar Moreno, presidenta del Parlamento andaluz.
> S 1 1 0 spa BUENOS DAS ANDALUCA Informacin con las primeras noticias de
> nuestra comunidad y las previsiones informativas de la jornada. S 1 1 0
> spa MIRA LA VIDA Magazine matinal de entretenimiento, humor y divulgacin
> presentado por Rafael Cremades con la participacin y colaboracin de los
> pueblos y las gentes de Andaluca. Hoy: La Muela (Cdiz). S 1 1 0 spa LA
> COCINA DE MAITE Programa de cocina que presenta Maite Cadaval. S 1 1 0
> spa CONTRAPORTADA Espacio informativo sobre la crnica de sociedad y
> actualidad asociada a la moda, cine, msica y el mundo del espectculo.
> Presenta: Inmaculada Casal. S 1 1 0 spa CANAL SUR NOTICIAS Informativo
> general, con especial atencin a las noticias de Andaluca. Presentan:
> Keka Conesa y Juan Carlos Roldn. Informacin deportiva: Angel Acien S 1 1
> 0 spa GATA SALVAJE Telenovela Rosaura y su familia viven en una humilde
> casita, situada muy cerca de una esplndida hacienda perteneciente a los
> Arismendi, una adinerada familia. Ser esa cercana la que permita a esta
> moderna cenicienta conocer a su prncipe azul. S 1 1 0 spa LA BUENA GENTE
> Magazine sobre temas de inters social, en el que se combinan historias
> humanas con temas de actualidad.. Presenta: Alicia Senovilla, Antonia
> Moreno e Ismael Beiro. S 1 1 0 spa ANDALUCA DIRECTO Magazine informativo
> basado en reportajes en directo y en conexin con los distintos puntos de
> la geografa andaluza. Presenta: Blanca Rodrguez. S 1 1 0 spa EL MUSICAL
> Artistas consagrados o personas annimas cantan en directo para mostrar
> sus habilidades artsticas. Presenta: Mar Vega S 1 1 0 spa CANAL SUR
> NOTICIAS Informativo general, con especial atencin a las noticias de
> Andaluca. Presentan: Susana Ruiz y Carlos Mara Ruiz. Informacin
> deportiva: Victoria Romero. S 1 1 0 spa PREVISIONES DEPORTE AVENTURA S 1
> 1 0 spa ARRAYN Teleserie de produccin andaluza que se centra en la vida
> cotidiana en un hotel, en el que se dan citas dos mundos, el de los
> propietarios y los trabajadores. S 1 1 0 spa SUPERCINE SIN CORTES: AL
> FILO DE LA MUERTE (HALF PAST DED) EE.UU, 2002, color, 98 min. DIRECTOR:
> Don Michael Paul. INTRPRETES: Steven Seagal, Morris Chestnut, Nia
> Peeples. En el 2002 la Autoridad Penal de California reabre la prisin ms
> famosa de la historia: Alcatraz. Un contrariado funcionario de prisiones
> convertido en mente criminal ha organizado un comando para que se
> infiltre en la reformada fortaleza de alta tecnologa para forzar a un
> preso condenado a muerte a revelar el paradero de doscientos millones de
> dlares en oro. Otro preso, Nick Frazier debe ayudar al agente del FBI
> infiltrado, Sasha Petrosevitch a reunir un grupo de presos para detener
> a los invasores antes de que asesinen a los miembros del Tribunal
> Supremo de Justicia que estn all para presenciar la inminente ejecucin.
> S 1 1 0 spa MEJOR LO HABLAMOS Programa de debate sobre temas de
> actualidad e inters social. Presenta: Maril Montero S 1 1 0 spa CANAL
> SUR NOTICIAS Resumen informativo de la jornada. Presentan: Marta Morillo
> S 1 1 0 spa TECNOPOLIS (R) S 1 1 0 spa LA COCTELERA S 1 1 0 spa ESPACIO
> COMERCIAL S 1 1 0 spa CONTRAPORTADA (R) S 1 1 0 spa ANDALUCA DIRECTO (R)
> A B C D E C D E Select: Insert 0-0 Remove
>

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Problem with xxform:repeat-current and xforms:insert

joac
Ok Erik,

Good you find the cause of the problem. I'll be tracking the bug so I can
incorporate in the future.

Meanwhile I will do it with only one select with many entries, because I can
not use hierarchical selects or linked selects on a table (IE6 problem).

Thanks again,
Jordi

-----Mensaje original-----
De: Erik Bruchez [mailto:[hidden email]] En nombre de Erik Bruchez
Enviado el: jueves, 25 de enero de 2007 14:19
Para: [hidden email]
Asunto: Re: [ops-users] Problem with xxform:repeat-current and xforms:insert

Jordi,

I see what this is. Updates to hierarchical itemsets (with titles and
all as explained in our blog entry recently) are currently not handled
by the client.

In your case, when a new row is inserted, the client needs to know the
new list of items to handle, but 1) The server makes a mistake in
formatting the data and 2) The client doesn't have the code to update
the items anyway.

This would work if you don't use a hierarchical itemset so I recommend
you do that until the bug is fixed. I entered a new bug to track this:

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

-Erik

Jordi Amatller wrote:
> Hi Erik,
>
> OK, this may be a bug of damned IE6.
>
> I am trying another alternative: using your new select1 hierarchy.
> But unfortunately in any browser when I insert another row it produces the
> following error:
>
> XForms error: Error element "xxf:item" is missing "value"
attribute(schema:
> oxf:/ops/xforms/xforms-server-response.rng)
>
> I don't know where may be the problem. I am attaching the new example if
you

> have time to test it.
>
> Sounds very good that you are adding new components like tree, select
> hierarchy, dialogs,... they are very useful!!!
>
> Jordi
>
>
>
>
> -----Mensaje original-----
> De: Erik Bruchez [mailto:[hidden email]] En nombre de Erik Bruchez
> Enviado el: martes, 23 de enero de 2007 18:53
> Para: [hidden email]
> Asunto: Re: [ops-users] Problem with xxform:repeat-current and
xforms:insert

>
> Jordi,
>
>> I am attaching the example for the xforms sandbox. Try to run it in
> Firefox
>> and IE 6.
>>
>> Try to insert new rows to the table, in IE6 the pages handles forever and
> it
>> creates a row at the end of the table with buttons $xforms-label-value$.
>>
>> I don't know why is not working with damned IE6. Please let me know if
> this
>> is a bug and if you think there is a workaround.
>
> I reproduce this in IE 6. It works fine in Firefox, IE 7, and Safari 2.
>
> So it's most likely a bug in IE 6 ;-) This said, there may be a way
> around it, hard to say without investigating. The XForms code itself
> looks fine. I entered a bug to track this:
>
>    http://forge.objectweb.org/tracker/index.php?group_id=168&atid=350207
>
> -Erik
>
>
>
> ------------------------------------------------------------------------
>
> EPG form S 1 1 0 spa EL MUSICAL (R) Artistas consagrados o personas
> annimas cantan en directo para mostrar sus habilidades artsticas. S 1 1
> 0 spa LA COCINA DE MAITE (R) Programa de cocina. S 1 1 0 spa TIERRA Y
> MAR Programa sobre la agricultura, pesca, ganadera y medio ambiente en
> Andaluca S 1 1 0 spa LA ENTREVISTA Anlisis y entrevista a un invitado
> del mundo de la economa, la poltica, la cultura... Presenta: Angustias
> Garca. Invitada: Mara del Mar Moreno, presidenta del Parlamento andaluz.
> S 1 1 0 spa BUENOS DAS ANDALUCA Informacin con las primeras noticias de
> nuestra comunidad y las previsiones informativas de la jornada. S 1 1 0
> spa MIRA LA VIDA Magazine matinal de entretenimiento, humor y divulgacin
> presentado por Rafael Cremades con la participacin y colaboracin de los
> pueblos y las gentes de Andaluca. Hoy: La Muela (Cdiz). S 1 1 0 spa LA
> COCINA DE MAITE Programa de cocina que presenta Maite Cadaval. S 1 1 0
> spa CONTRAPORTADA Espacio informativo sobre la crnica de sociedad y
> actualidad asociada a la moda, cine, msica y el mundo del espectculo.
> Presenta: Inmaculada Casal. S 1 1 0 spa CANAL SUR NOTICIAS Informativo
> general, con especial atencin a las noticias de Andaluca. Presentan:
> Keka Conesa y Juan Carlos Roldn. Informacin deportiva: Angel Acien S 1 1
> 0 spa GATA SALVAJE Telenovela Rosaura y su familia viven en una humilde
> casita, situada muy cerca de una esplndida hacienda perteneciente a los
> Arismendi, una adinerada familia. Ser esa cercana la que permita a esta
> moderna cenicienta conocer a su prncipe azul. S 1 1 0 spa LA BUENA GENTE
> Magazine sobre temas de inters social, en el que se combinan historias
> humanas con temas de actualidad.. Presenta: Alicia Senovilla, Antonia
> Moreno e Ismael Beiro. S 1 1 0 spa ANDALUCA DIRECTO Magazine informativo
> basado en reportajes en directo y en conexin con los distintos puntos de
> la geografa andaluza. Presenta: Blanca Rodrguez. S 1 1 0 spa EL MUSICAL
> Artistas consagrados o personas annimas cantan en directo para mostrar
> sus habilidades artsticas. Presenta: Mar Vega S 1 1 0 spa CANAL SUR
> NOTICIAS Informativo general, con especial atencin a las noticias de
> Andaluca. Presentan: Susana Ruiz y Carlos Mara Ruiz. Informacin
> deportiva: Victoria Romero. S 1 1 0 spa PREVISIONES DEPORTE AVENTURA S 1
> 1 0 spa ARRAYN Teleserie de produccin andaluza que se centra en la vida
> cotidiana en un hotel, en el que se dan citas dos mundos, el de los
> propietarios y los trabajadores. S 1 1 0 spa SUPERCINE SIN CORTES: AL
> FILO DE LA MUERTE (HALF PAST DED) EE.UU, 2002, color, 98 min. DIRECTOR:
> Don Michael Paul. INTRPRETES: Steven Seagal, Morris Chestnut, Nia
> Peeples. En el 2002 la Autoridad Penal de California reabre la prisin ms
> famosa de la historia: Alcatraz. Un contrariado funcionario de prisiones
> convertido en mente criminal ha organizado un comando para que se
> infiltre en la reformada fortaleza de alta tecnologa para forzar a un
> preso condenado a muerte a revelar el paradero de doscientos millones de
> dlares en oro. Otro preso, Nick Frazier debe ayudar al agente del FBI
> infiltrado, Sasha Petrosevitch a reunir un grupo de presos para detener
> a los invasores antes de que asesinen a los miembros del Tribunal
> Supremo de Justicia que estn all para presenciar la inminente ejecucin.
> S 1 1 0 spa MEJOR LO HABLAMOS Programa de debate sobre temas de
> actualidad e inters social. Presenta: Maril Montero S 1 1 0 spa CANAL
> SUR NOTICIAS Resumen informativo de la jornada. Presentan: Marta Morillo
> S 1 1 0 spa TECNOPOLIS (R) S 1 1 0 spa LA COCTELERA S 1 1 0 spa ESPACIO
> COMERCIAL S 1 1 0 spa CONTRAPORTADA (R) S 1 1 0 spa ANDALUCA DIRECTO (R)
> A B C D E C D E Select: Insert 0-0 Remove
>

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws