Friday, March 2, 2012

Re: Using RootLayoutPanel within Joomla 1.5

I found that it could be possible to add to RootPanel a layoutPanel.
I will present this in a short example here below:

TabLayoutPanel tabLayoutPanel = new TabLayoutPanel(...)
tabLayoutPanel.add(xxx,yyy);
tabLayoutPanel.add(xxx,yyy);
tabLayoutPanel.add(xxx,yyy);

RootPanel.get("div_name").add(tabLayoutPanel);

Is that correct?

Kind regards,

panda

On Mar 2, 9:08 am, panda <vladval...@yahoo.fr> wrote:
> Hello all,
>
> I have built a component extension for an already existing website
> based on Joomla1.5 using GWT 2.4.
> My GWT module uses RootLayoutPanel and the subsequent layout panels
> available.
> The constraint to integrate with joomla is to be able to add the
> content provided by the new extension into a <div>.
> I did:
> RootLayoutPanel.get().add(this)
>
> and the result was my component overlapping the current content of the
> website.
>
> I tried to modify things and to make a prototype using
> RootPanel.get("div_name").add(widget); and it worked correctly but I
> can't use the panels type "layout".
>
> Do you know how shall I do for having the RootLayoutPanel output into
> a div (so the main request making GWT able to integrate with an
> existing website?
>
> Kind regards,
>
> panda

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

No comments:

Post a Comment