Wednesday, September 23, 2015

Re: Mixing Html and Widgets in UiBinder

@Jens
Any idea what will be UI Binder replacement in GWT 3.0 and above ? 

On 23 September 2015 at 10:01, Andrei Preda <hadesskywalker@gmail.com> wrote:
Thank you very much for the clarification and hint!

On Tuesday, September 22, 2015 at 9:04:29 PM UTC+2, Andrei Preda wrote:
I tried to figure this out for some time now and I hope someone can help me to figure this out, because I have no idea what I am missing.

I'm using Gwt 2.7 and I want to mix html and my own widgets inside the UiBinder as following:
<g:HTMLPanel>
   
<my:SomeObject>
       
<div>
           
<my:SomeOtherObject />
       
</div>
   
</my:SomeObject>
</g:HTMLPanel>

In this case SomeOtherObject throws "[ERROR] Not allowed in an HTML context:"

I am puzzled because the following configurations work and the above should be a combination of both:
<my:SomeObject>
       
<div></div>
</my:SomeObject>
<div>
<my:SomeObject />
</div>

I have not worked much with html directly inside UiBinder and I don't know if my configuration is even possible, so I hope someone can clarify.

Thank you for the help,
Andrei

--
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.



--

Alain Ekambi

Co-Founder

Ahomé Innovation Technologies

http://www.ahome-it.com/

--
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment