RichTextToolbar Question

28 views
Skip to first unread message

Sean

unread,
Jul 31, 2009, 9:11:17 AM7/31/09
to Google Web Toolkit
So, I am looking at the GWT Showcase and at:
http://gwt.google.com/samples/Showcase/Showcase.html#CwRichText

They have this amazing Toolbar. I look at the source code and they
have:

RichTextArea area = new RichTextArea();
area.ensureDebugId("cwRichText-area");
area.setSize("100%", "14em");
RichTextToolbar toolbar = new RichTextToolbar(area);

Problem is, I can't find RichTextToolbar in GWT. Eclipse can't include
it and I can't find it in the javadocs. Are they using something that
isn't in language yet?

Imran

unread,
Jul 31, 2009, 9:23:37 AM7/31/09
to Google-We...@googlegroups.com
This class is not part of the API. Instead, it was created in the demo to show you what can be done. Download the code for the demo and copy the file from there.

Petarian.

Sean

unread,
Jul 31, 2009, 2:42:21 PM7/31/09
to Google Web Toolkit
Ah, thank you. I forgot all the examples are in the GWT source code.
This thing is pretty sweet, I'm surprised it's not part of the normal
API.

Thank you,

Sean

On Jul 31, 9:23 am, Imran <imran...@gmail.com> wrote:
> This class is not part of the API. Instead, it was created in the demo to
> show you what can be done. Download the code for the demo and copy the file
> from there.
>
> Petarian.
>

Sumit Chandel

unread,
Aug 3, 2009, 11:37:21 PM8/3/09
to Google-We...@googlegroups.com
Hi Sean,

You may want to keep an eye on Issue #3042 (link below). You're not the first to be stumble upon the lack of a toolbar within GWT itself after dropping the RichTextArea in your project. I've bumped up the priority on Issue #3042 to make sure it's on the radar for a future release.

Issue #3042:

Cheers,
-Sumit Chandel

Sean Loughran

unread,
Aug 4, 2009, 6:24:26 AM8/4/09
to Google-We...@googlegroups.com
Glad to see I wasn't the only one. I added a Star as well as add my comment that the toolbar really should be in the default package. Thank you!

-Sean

mdwarne

unread,
Aug 5, 2009, 3:17:18 PM8/5/09
to Google Web Toolkit
Hi,
Making the toolbar standard would be great. I am using the demo
version in one of my projects.
I have a small enhancement request however.
Would it be possible for the link button/ dialog box to allow
specifing a target for the URL.

My application will allow admin users to post an HTML message for
other users to view after logging in. If the admin users add a
link,and a user clicks on the link, it unloads the application with
it's current state, and jumps to the URL. The GWT app state is now
lost, and must be reloaded by navigating back to the entry point url,
in my case it forces them to login again.

I would like to be able to specify that the URL open in a new window
to keep the App in the browser.

Thanks,
Mike.

On Aug 4, 12:24 am, Sean Loughran <slough...@gmail.com> wrote:
> Glad to see I wasn't the only one. I added a Star as well as add my comment
> that the toolbar really should be in the default package. Thank you!
>
> -Sean
>
> On Mon, Aug 3, 2009 at 11:37 PM, Sumit Chandel <sumitchan...@google.com>wrote:
>
>
>
> > Hi Sean,
> > You may want to keep an eye on Issue #3042 (link below). You're not the
> > first to be stumble upon the lack of a toolbar within GWT itself after
> > dropping the RichTextArea in your project. I've bumped up the priority on
> > Issue #3042 to make sure it's on the radar for a future release.
>
> > Issue #3042:
> >http://code.google.com/p/google-web-toolkit/issues/detail?id=3042
>
> > Cheers,
> > -Sumit Chandel
>

Sumit Chandel

unread,
Aug 6, 2009, 5:12:07 PM8/6/09
to Google-We...@googlegroups.com
Hi Mike,

That sounds like a reasonable request, although I'm not sure where it would fall among other priorities in and around getting the RichTextToolbar standard in GWT core. At this point, it would be best to post up your request on Issue #3042 for consideration as the issue gets treated.

Issue #3042

Hope that helps,
-Sumit Chandel
Reply all
Reply to author
Forward
0 new messages