Tuesday, August 9, 2016

Re: Return a HorizontalPanel to a DisclosurePanel when I perform an AsyncCallback

Hi Jens,

I have spent over three weeks trying to get this to work. I have tried to include your suggestion; however, I just can not get it to work. Any assistance you, or anyone else, can provide would be greatly appreciated.

Kind regards,

Glyn

On 8 August 2016 at 19:16, Glyndwr Bartlett <glyndwr.bartlett@gmail.com> wrote:
Hi Jens,

When I do this (in onSuccess) I get the error: addressDisclosurePanel cannot be resolved

Are you ale to provide me with code examples please as I am not a real programmer I am doing this for Scouts.

Kind regards,

Glyn


On 8 August 2016 at 18:31, Jens <jens.nehlmeier@gmail.com> wrote:
Move

//addressDisclosurePanel.add(addressHorizontalPanel);

into your GetAddressHandler and pass in the newly created addressDisclosurePanel? Alternatively use an anonymous class as callback.

-- J.

--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/taQlLOMZ3zw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment