FrozenDice schrieb:
> Yeah it's generated. I also found that I could do
> setHtmlAttribute("innerHTML", "something")
Yes, but setHtmlAttribute should not be used in public when used for
other stuff than apply IDs or classnames etc. To influence things which
are dependend on the layout etc. it is the worst option.
Sebastian
>
> On 6/21/07, Sebastian Werner <[EMAIL PROTECTED]> wrote:
>> Just have a look at the API viewer at api.qooxdoo.org.
>>
>> A Atom is no label, but uses a Label. You can change the text through:
>>
>> LabeledEdit1_Lbl.setLabel("test");
>>
>> BTW: It that code auto-generated? You really don't need to specify
>> default like readOnly=false, too.
>>
>> Sebastian
>>
>>
>> Am 21.06.2007 um 21:57 schrieb FrozenDice:
>>
>>> Hmm, it didn't work.
>>>
>>> Here's the code I'm working with. I want to be able to change what
>>> the Label says(the label above the textbox describing what it is). I
>>> tried LabeledEdit1_Lbl.setHtml("something"); but that didn't work.
>>>
>>> var d = qx.ui.core.ClientDocument.getInstance();
>>> var inline_div = new qx.ui.basic.Inline("LabeledEdit1");
>>> inline_div.setHeight("auto");
>>> inline_div.setWidth("auto");
>>>
>>> var LabeledEdit1_Lbl = new qx.ui.basic.Atom("LabeledEdit1");
>>> LabeledEdit1_Lbl.setLeft(0);
>>> LabeledEdit1_Lbl.setTop(0);
>>> LabeledEdit1_Lbl.setWidth(121);
>>> LabeledEdit1_Lbl.setHorizontalChildrenAlign("left");
>>> LabeledEdit1_Lbl.setVisibility(true);
>>> inline_div.add(LabeledEdit1_Lbl);
>>> var LabeledEdit1 = new qx.ui.form.TextField();
>>> LabeledEdit1.setLeft(0);
>>> LabeledEdit1.setTop(17);
>>> LabeledEdit1.setWidth(121);
>>> LabeledEdit1.setHeight(17);
>>> LabeledEdit1.setMaxLength(0);
>>> LabeledEdit1.setValue("");
>>> LabeledEdit1.setReadOnly(false);
>>> LabeledEdit1.setBorder(new qx.renderer.border.Border(1, 'solid'));
>>> LabeledEdit1.setEnabled(true);
>>> LabeledEdit1.setFont("10px 'Verdana' ");
>>> LabeledEdit1.setVisibility(true);
>>> d.add(inline_div);
>>> inline_div.add(LabeledEdit1);
>>>
>>> On 6/18/07, kumar balaji <[EMAIL PROTECTED]> wrote:
>>>> Hi
>>>>
>>>> Pls Try label.setHtml();
>>>>
>>>> regards
>>>> Balaji
>>>>
>>>> --- FrozenDice <[EMAIL PROTECTED]> wrote:
>>>>
>>>>> I need to be able to change the text preferably a
>>>>> label displays or an
>>>>> atom after it's been rendered. Like if you clicked
>>>>> a button or
>>>>> changed a selection in a radio button group the
>>>>> label would change to
>>>>> reflect the option selected. Can I do this?
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> ----
>>>>> This SF.net email is sponsored by DB2 Express
>>>>> Download DB2 Express C - the FREE version of DB2
>>>>> express and take
>>>>> control of your XML. No limits. Just data. Click to
>>>>> get it now.
>>>>> http://sourceforge.net/powerbar/db2/
>>>>> _______________________________________________
>>>>> qooxdoo-devel mailing list
>>>>> [email protected]
>>>>>
>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>
>>>>
>>>>
>>>> _____________________________________________________________________
>>>> _______________
>>>> Pinpoint customers who are looking for what you sell.
>>>> http://searchmarketing.yahoo.com/
>>>>
>>>> ---------------------------------------------------------------------
>>>> ----
>>>> This SF.net email is sponsored by DB2 Express
>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>> control of your XML. No limits. Just data. Click to get it now.
>>>> http://sourceforge.net/powerbar/db2/
>>>> _______________________________________________
>>>> qooxdoo-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>
>>> ----------------------------------------------------------------------
>>> ---
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel