if you need the toolbar you must use RichTextToolbar. I am not much familiar
with RichTextArea so I cannot what you can/can't do with RichTextArea
alone...

yes, docs says noting about it, refer to gwt showcase for working
examples...


On Tue, Sep 29, 2009 at 1:35 PM, Parvez Shah <[email protected]> wrote:

> So u mean i cant use RichTextArea without RichTextToolbar ..
> The document says nothing like this
>
> On Tue, Sep 29, 2009 at 1:20 PM, Prashant <[email protected]> wrote:
>
>> ohh, that's area only not areat
>>
>>
>> On Tue, Sep 29, 2009 at 1:19 PM, Prashant <[email protected]> wrote:
>>
>>> do this...
>>>
>>> RootPanel.get().add(new RichTextToolbar(areat));
>>> RootPanel.get().add(area);
>>>
>>> copy RichTextToolbar.java, RichTextToolbar$Strings.properties & all the
>>> images in the folder from
>>> "\gwt-windows-1.7.1\samples\Showcase\src\com\google\gwt\sample\showcase\client\content\text"
>>> to your project....
>>>
>>>
>>>
>>>
>>> On Tue, Sep 29, 2009 at 12:43 PM, Parvez Shah <[email protected]>wrote:
>>>
>>>> Hello I am facing problem in making RichTextArea setEnabled(false); is
>>>> it like RichTextArea is not meant to be setEnabeled(false);
>>>>
>>>>
>>>> public void onModuleLoad() {
>>>>         RichTextArea area = new RichTextArea();
>>>>         area.setEnabled(false);
>>>>         area.setHTML("<b>Name:</b> some name </br> <b>Address:</b> some
>>>> addrsss with reallly long addresss lerts test</br><b>Tin:</b> N/A");
>>>>
>>>>         RootPanel.get().add(area);
>>>>
>>>>     }
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to