Portlet Support?

1 view
Skip to first unread message

robhedin

unread,
May 17, 2006, 4:56:58 PM5/17/06
to Google Web Toolkit
I've been looking over the GWT and have been quite impressed, but it
looks as if this is not a very good fit for use in Portlets. Is that a
correct read of the situation?

rob.

horace.f...@gmail.com

unread,
May 17, 2006, 6:14:47 PM5/17/06
to Google Web Toolkit
I don't see why necessarily. Looks like you could get a good deal of
milage out of the toolkit even if it's not an intrinsic part of the
design. For example, it looks like an easy, robust way to add rich
controls or eye candy to pages on a one-by-one basis, since at heart
all you're doing is turning a subset of Java into standalone js. Even
in that limited scenario, it will make generating the js easier and
less error-prone.

Robert Hedin

unread,
May 18, 2006, 9:02:25 AM5/18/06
to Google-We...@googlegroups.com
But from what I can see, the generated html is controlled via meta-tags and the gwt.js; so to use from a portlet, you'd need to be able to (somehow) add meta-tags to the HEAD; also the actual generated code is a full HTML page being rendered in an IFRAME; also how would the positioning of components hold up given that the Portal can re-arrange the location of the portlets on the page?

I suppose you could just treat the GWT application as an IFRAME portlet, but that basically means you're not writing portlets anymore.

rob.

John

unread,
May 18, 2006, 9:56:28 AM5/18/06
to Google Web Toolkit
I want to do exactly this too. I'm using liferay as the portal engine,
so I can probably alter it to put the meta-tags in the head, but I
don't really want to be putting IFrames in the portlets.

I don't see a way of getting a GWT application generates in a div, or
some other portlet friendly style.

Are GWT applications intended to only ever be whole page apps?

John.

amarish

unread,
May 19, 2006, 1:36:40 AM5/19/06
to Google Web Toolkit
John,

Did you happen to figure out how to get this to work in Liferay? I'm
also trying to do the exact same thing. I think that in the worst case
scenario, we can use Liferay's IFrame Portlet which I would rather not
do.

Amarish

john

unread,
Jun 14, 2006, 3:46:27 PM6/14/06
to Google Web Toolkit
Did anyone figure out how to create a JSR-168 portlet (We will be
deploying to liferay), without the use of the IFRAME portlet?

Reply all
Reply to author
Forward
0 new messages