Problem insert/delete a HTML textarea in repeat xforms

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

Problem insert/delete a HTML textarea in repeat xforms

dvicente
HI,

i have an xml model as :

<note>
    <contenus>
        <contenu/>
    </contenus>
</note>

i created 2 triggers to add or remode a contenu node in note/contenus nodeset

for each contenu node, i want to use the textarea form with mediatype="text/html"

so, it doesn't work because the contenu node is not inserted in the model

and i have this message when i try to add a node :

Error while processing response: 'ToolbarSet' has a Null value or is not an object

and the label of delete trigger is : $xforms-template-label$
instead of "remove"

and the remove action doesn't work

see the test view as attachment: view-test.xhtml

Could you help me ?

Best Regards

David
Reply | Threaded
Open this post in threaded view
|

Re: Problem insert/delete a HTML textarea in repeat xforms

Erik Bruchez
Administrator
This is a known bug:

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

Until it is fixed, you may want to consider using a single text/html  
field in a dialog.

-Erik

On Nov 21, 2007, at 3:19 AM, dvicente wrote:

>
> HI,
>
> i have an xml model as :
>
> <note>
>    <contenus>
>        <contenu/>
>    </contenus>
> </note>
>
> i created 2 triggers to add or remode a contenu node in note/contenus
> nodeset
>
> for each contenu node, i want to use the textarea form with
> mediatype="text/html"
>
> so, it doesn't work because the contenu node is not inserted in the  
> model
>
> and i have this message when i try to add a node :
>
> Error while processing response: 'ToolbarSet' has a Null value or is  
> not an
> object
>
> and the label of delete trigger is : $xforms-template-label$
> instead of "remove"
>
> and the remove action doesn't work
>
> see the test view as attachment:
> http://www.nabble.com/file/p13875232/view-test.xhtml view-test.xhtml
> --
> View this message in context: http://www.nabble.com/Problem-insert-delete-a-HTML-textarea-in-repeat-xforms-tf4849476.html#a13875232
> 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: Problem insert/delete a HTML textarea in repeat xforms

dvicente
Hi,

thanks for your answer.
I will use only one HTML textarea.

Now, i have the same problem with an input with attribute class="datafield" .

When i do the insert , i have this error message : XForms error: Invalid date "" (Too short)

the date node in my model is empty.

Any idea ?

best regards

david

Erik Bruchez wrote
This is a known bug:

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

Until it is fixed, you may want to consider using a single text/html  
field in a dialog.

-Erik

On Nov 21, 2007, at 3:19 AM, dvicente wrote:

>
> HI,
>
> i have an xml model as :
>
> <note>
>    <contenus>
>        <contenu/>
>    </contenus>
> </note>
>
> i created 2 triggers to add or remode a contenu node in note/contenus
> nodeset
>
> for each contenu node, i want to use the textarea form with
> mediatype="text/html"
>
> so, it doesn't work because the contenu node is not inserted in the  
> model
>
> and i have this message when i try to add a node :
>
> Error while processing response: 'ToolbarSet' has a Null value or is  
> not an
> object
>
> and the label of delete trigger is : $xforms-template-label$
> instead of "remove"
>
> and the remove action doesn't work
>
> see the test view as attachment:
> http://www.nabble.com/file/p13875232/view-test.xhtml view-test.xhtml
> --
> View this message in context: http://www.nabble.com/Problem-insert-delete-a-HTML-textarea-in-repeat-xforms-tf4849476.html#a13875232
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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 Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Problem insert/delete a HTML textarea in repeat xforms

Erik Bruchez
Administrator
The best way to tell would be for you to create a reproducible case  
that runs in the XForms sandbox. See:

   http://www.orbeon.com/ops/doc/home-faq#reporting-issues

Also, please use a nightly build or Orbeon Forms, or Orbeon Forms 3.6  
RC1 which should be posted today.

-Erik

On Nov 22, 2007, at 3:41 AM, dvicente wrote:

>
> Hi,
>
> thanks for your answer.
> I will use only one HTML textarea.
>
> Now, i have the same problem with an input with attribute  
> class="datafield"
> .
>
> When i do the insert , i have this error message : XForms error:  
> Invalid
> date "" (Too short)
>
> the date node in my model is empty.
>
> Any idea ?
>
> best regards
>
> david
>
>
> Erik Bruchez wrote:
>>
>> This is a known bug:
>>
>> http://forge.objectweb.org/tracker/index.php?func=detail&aid=305555&group_id=168&atid=350207
>>
>> Until it is fixed, you may want to consider using a single text/html
>> field in a dialog.
>>
>> -Erik
>>
>> On Nov 21, 2007, at 3:19 AM, dvicente wrote:
>>
>>>
>>> HI,
>>>
>>> i have an xml model as :
>>>
>>> <note>
>>>   <contenus>
>>>       <contenu/>
>>>   </contenus>
>>> </note>
>>>
>>> i created 2 triggers to add or remode a contenu node in note/
>>> contenus
>>> nodeset
>>>
>>> for each contenu node, i want to use the textarea form with
>>> mediatype="text/html"
>>>
>>> so, it doesn't work because the contenu node is not inserted in the
>>> model
>>>
>>> and i have this message when i try to add a node :
>>>
>>> Error while processing response: 'ToolbarSet' has a Null value or is
>>> not an
>>> object
>>>
>>> and the label of delete trigger is : $xforms-template-label$
>>> instead of "remove"
>>>
>>> and the remove action doesn't work
>>>
>>> see the test view as attachment:
>>> http://www.nabble.com/file/p13875232/view-test.xhtml view-test.xhtml
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Problem-insert-delete-a-HTML-textarea-in-repeat-xforms-tf4849476.html#a13875232
>>> 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
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Problem-insert-delete-a-HTML-textarea-in-repeat-xforms-tf4849476.html#a13895189
> 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