Hi,

the widgets on a tabview.Page aren't created until the page is 
activated, so you have to make sure the page containing the HtmlArea is 
active at some point. You could select it at application startup, or in 
whichever part of your code is responsible for collecting the data to be 
saved. Perhaps wrap htmlArea.getValue() in a try... catch block and if 
you get an exception, select the page and call it again.


Regards,
Daniel

[email protected] schrieb:
> hello, i need a textarea to handle html but  when i put this element 
> into an tabview  the element will be empty up to i select the tabview to 
> view this memo elemnt.
> 
> this is not really usefull when i save the formular including this 
> element. without selecting the tabview included this memo element. is 
> their any   possible  solution?
> 
> here the code
>               
> 
> this.widgets["memo"] = new qx.ui.embed.HtmlArea("", null, 
> "../../backend/index.php?m=main&c=getEmpty");
>                 this.widgets["memo"].set( {
>                     decorator: "main"
>                     });
> 
>                 this.containerFormData[i].add(this.widgets["memo"]);
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 


------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to