UiBinder XML can only call setters on the widget itself. In the 
corresponding java file you can call button.getElement().setAttribute().

-- J.

[email protected] schrieb am Dienstag, 10. Mai 2022 um 20:55:41 UTC+2:

> All,
>
> Is there a way to add a custom attribute to a Button using UiBinder? I'm 
> looking for smth like eem-id="my-button". 
>
> Ideally it would be the button element itself, worst case the GWT 
> container.
>
> TIA,
>
> Slava
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/073fe01e-bd2d-45c3-93a9-5d95f89744e2n%40googlegroups.com.

Reply via email to