GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
by chadlung » Mon Sep 22, 2008 11:38 am
I want to be able to add a custom attribute to a Panel. Lets say a Grid (which becomes a table I believe).
- Code: Select all
<table MyCustomAttribute="TEST">
<tr>
<td>...</td>
</tr>
</table>
Is this possible? I can't seem to find any documentation supporting this.
Thanks,
Chad
Last edited by
chadlung on Mon Sep 22, 2008 11:53 am, edited 1 time in total.
-
chadlung
-
- Posts: 18
- Joined: Fri Aug 29, 2008 8:57 pm
-
by chadlung » Mon Sep 22, 2008 11:49 am
Wow, I hate it when I post a question only to find the answer a minute later...
- Code: Select all
someGrid.getElement().setAttribute("MyCustomAttribute", "TEST");
Chad
-
chadlung
-
- Posts: 18
- Joined: Fri Aug 29, 2008 8:57 pm
-
by Eric Clayberg » Mon Sep 22, 2008 2:01 pm
Glad you found an answer. That wasn't something I knew anything about.
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
Return to GWT Designer
Who is online
Users browsing this forum: No registered users and 3 guests