Re: Quick question on GWT Print
Hi Abhiram, you can set an id with jsni and then use it from your java code. See http://code.google.com/webtoolkit/doc/latest/DevGuideUiDom.html under "Finding an element in the DOM" for an example. Hope this helps. kathrin On Wed, Mar 31, 2010 at 4:03 PM, abhiram wrote: > Hi all, > > I am trying to use Print class for printing the contents of a > particular Popup Panel. > >I believe, i need to use the > > Print.it(DOM.getElementById("myId")); > > code for this functionality. But I am not able to set the Id for > the panel. Can someone please send me the code to set the id for a > particular element? > > Thanks and regards, > Abhiram > > -- > 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-tool...@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. > > -- 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-tool...@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: Quick question on GWT Print
.setId(""); maybe. On Mar 31, 4:03 pm, abhiram wrote: > Hi all, > > I am trying to use Print class for printing the contents of a > particular Popup Panel. > > I believe, i need to use the > > Print.it(DOM.getElementById("myId")); > > code for this functionality. But I am not able to set the Id for > the panel. Can someone please send me the code to set the id for a > particular element? > > Thanks and regards, > Abhiram -- 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-tool...@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.
Quick question on GWT Print
Hi all, I am trying to use Print class for printing the contents of a particular Popup Panel. I believe, i need to use the Print.it(DOM.getElementById("myId")); code for this functionality. But I am not able to set the Id for the panel. Can someone please send me the code to set the id for a particular element? Thanks and regards, Abhiram -- 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-tool...@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.