Re: why does the HTML widget do not have a "name" attribute?
Why would it? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/D3wB_RSuwfEJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why does the HTML widget do not have a "name" attribute?
can you more clearly? On Oct 20, 4:27 pm, Thomas Broyer wrote: > Why would it? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why does the HTML widget do not have a "name" attribute?
and the Label widget do not have a "name" attribute too,why?? On Oct 21, 11:23 am, wahaha wrote: > can you more clearly? > > On Oct 20, 4:27 pm, Thomas Broyer wrote: > > > > > > > > > Why would it? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why does the HTML widget do not have a "name" attribute?
The HTML widget is implemented with a div.. so there's no reason to set a name... If you still want to set the name attribute to it: htmlWidget.getElement().setAttribute("name", "SomeName"); On Fri, Oct 21, 2011 at 12:23 AM, wahaha wrote: > can you more clearly? > > On Oct 20, 4:27 pm, Thomas Broyer wrote: > > Why would it? > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why does the HTML widget do not have a "name" attribute?
OMG On Fri, Oct 21, 2011 at 1:05 AM, wahaha wrote: > and the Label widget do not have a "name" attribute too,why?? > > On Oct 21, 11:23 am, wahaha wrote: > > can you more clearly? > > > > On Oct 20, 4:27 pm, Thomas Broyer wrote: > > > > > > > > > > > > > > > > > Why would it? > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why does the HTML widget do not have a "name" attribute?
Let me rephrase: why do you want it to have a name? what would you use it for? what problem are you trying to solve? (and this is a general comment as to all your questions here; you're sort-of spamming the group with questions which you obviously didn't even try to answer by yourself; state the problem you're trying to solve, what you tried and didn't work, what you found that didn't match; when you show people that you put a minimum of effort, then they'll be inclined to answer, possibly after doing some research themselves) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/l7ZYfMgBiwwJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why does the HTML widget do not have a "name" attribute?
it is very simple reason.i want add a "name" attribute to the "Lable" tag,and then write css rules for the tag in ui.xml On Oct 21, 5:27 pm, Thomas Broyer wrote: > Let me rephrase: why do you want it to have a name? what would you use it > for? what problem are you trying to solve? > > (and this is a general comment as to all your questions here; you're sort-of > spamming the group with questions which you obviously didn't even try to > answer by yourself; state the problem you're trying to solve, what you tried > and didn't work, what you found that didn't match; when you show people that > you put a minimum of effort, then they'll be inclined to answer, possibly > after doing some research themselves) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why does the HTML widget do not have a "name" attribute?
if "name" wont help for css as you say,then what is the substitute for the "id" attribute in html? On Oct 21, 6:31 pm, Thomas Broyer wrote: > "name" won't help for CSS. > > Seehttp://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#He... > > > .myLabel { > coor: red;} > > > ... > foo -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why does the HTML widget do not have a "name" attribute?
Nothing. Use CSS classes. What's wrong with them? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/tAZdqwNn6vAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why does the HTML widget do not have a "name" attribute?
nothing wrong,but if there is just one widget need to be styled alonely,we use css classes,it does not in accordance with the principles of html designing. On Oct 24, 2:54 pm, Thomas Broyer wrote: > Nothing. Use CSS classes. What's wrong with them? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: why does the HTML widget do not have a "name" attribute?
GWT cannot know how many instances of your component you'll instantiate in the lifetime of your application, so it doesn't make it easy to give widgets an ID. It's still possible though (myWidget.getElement().setId("myId"), which supposes you know what you're doing). See also https://github.com/stubbornella/csslint/wiki/Disallow-ids-in-selectors (please read the linked blog post, and also follow links from there) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/xhCMtE-6eT8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.