GWT Generator TypeOracle not listing all the classes
I am trying to useTypeOracle to find classes annotated with my custom annotation. But there are a few classes that are getting skipped and not being listed in TypeOracle, By debugging and digging around I found most of the classes were annotated with @GWTCompatible which when removed a lot of classes appeared but a few more classes in-spite of them not having any such annotation were skipped, it appears that there are some cyclic references due to which these are skipped and not loaded. Is there a way to get all the classes loaded even if there are some cyclic references? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@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/groups/opt_out.
How to package a gwt project into a jar so that it can be included into other projects
Hi, I need to package a gwt project into a jar and use the implementations of this project ie its client side class in the importing projects client package and the server side classes to the importing projects server classes how will the Impls work in this case..? -- 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: Status Exception 0
hi, I got the issue solved I have set the target to the temporary frame as the browser expects the page to be physically submitted so as to remember the password. some example--? iframe src=ablankpage.htm id=temp name=temp style=display:none/iframe form id =loginPanel target=temp On Sun, Mar 20, 2011 at 2:05 PM, Komal Goyal ko...@ensarm.com wrote: Hi, I am trying a login page on which the browser remember should work, for this I created the login l form in html and I am handling on submit button click in the GWT application by accessing the submit button with the wrap() method. But on click of submit the module gets reloaded and the RPC call fails throwing Status Exception 0 my html form does not have any action attribute specified and the method attribute is set to post and the encoding type is set to multi part. I am not clear as to why the module is getting reloaded? Please guide me here as to where I am going wrong.. Thanks, Komal -- *Komal Goyal* ensarm Solutions | www.ensarm.com 2nd floor, Liberty 1, North main road, Koregaon park, Pune, India 1 (O) +91 20 40024476 *Your Enterprise, Our Passion* -- 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.
Status Exception 0
Hi, I am trying a login page on which the browser remember should work, for this I created the login l form in html and I am handling on submit button click in the GWT application by accessing the submit button with the wrap() method. But on click of submit the module gets reloaded and the RPC call fails throwing Status Exception 0 my html form does not have any action attribute specified and the method attribute is set to post and the encoding type is set to multi part. I am not clear as to why the module is getting reloaded? Please guide me here as to where I am going wrong.. Thanks, Komal -- 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.
Collapsible panel
(); HorizontalPanel panel = new HorizontalPanel(); CollapsiblePanel collapsiblePanel = new CollapsiblePanel(); panel.add(collapsiblePanel); DOM.setStyleAttribute(collapsiblePanel.getElement(), border, solid 1px black); ToggleButton toggler = new ToggleButton(Directory (click to pin), Directory (click to collapse)); toggler.setStyleName(CollapsibleToggle); VerticalPanel contents = new VerticalPanel(); contents.add(toggler); contents.add(treeView); FlowPanel navBar = new FlowPanel(); navBar.setSize(200px, 100%); navBar.add(contents); collapsiblePanel.add(navBar); collapsiblePanel.setWidth(100px); DOM.setStyleAttribute(navBar.getElement(), border, solid 1px black); String value = Location.getParameter(collapsed); if (value != null) { value = value.trim(); if (value.equals(true)) { collapsiblePanel.setCollapsedState(true); } else if (value.equals(false)) { // do nothing, default. } else { Window.alert(collapsed should not be given + value + use true or false instead); } } collapsiblePanel.hookupControlToggle(toggler); panel.setWidth(100%); hPanel.add(panel); please let me know where I am wrong... thanks, Komal -- 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.
Creating child node with child nodes
Hi, I am trying to insert new child nodes which contain n no of child nodes in them eg: filename line no=1 code user= aThis is the code /code /line /filename adding new child node would be like this eg: filename line no=1 code user= aThis is the code /code /line line no=2 code user= aThis is the code for line 2/code code user= bThis is the new code for line 2/code code user= bThis is another code for line 2/code /line /filename but when I try to create a new line node it is getting created as line no = 1/ hence the children code tags are not getting appended heres the code: for (int i = 0; i files.getLength(); i++) { Element file = (Element) files.item(i); if (file.getAttribute(name).equals(newfile)) { Element linenode = customerDom.createElement(line); linenode.setAttribute(no, 600); Element codenode = customerDom.createElement(code); codenode.setAttribute(user, a); codenode.setNodeValue(This is the code for line 2); linenode.appendChild(codenode); Element codenode2 = customerDom.createElement (code); codenode2.setAttribute(user, b); codenode2.setNodeValue(This is the new code for line 2); linenode.appendChild(codenode2); file.appendChild(linenode); } } Please let me know where I am wrong Thanks, Komal -- 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.
problems invoking a function from an external javascript source file...
Hi, I am trying to invoke a method from prettify.js the method looks like this my jsni method:- public native String getPrettifiedOutput(String result) /*-{ var prettyPrintingJob = { sourceCodeHtml: result, langExtension: '.java', }; $wnd.applyDecorator(prettyPrintingJob); return prettyPrintingJob.prettyPrintedHtml; }-*/; ///--- method definition in the js file is :- http://code.google.com/p/google-code-prettify/source/browse/trunk/src/prettify.js#1382 function applyDecorator(job) { var sourceCodeHtml = job.sourceCodeHtml; var opt_langExtension = job.langExtension; // Prepopulate output in case processing fails with an exception. job.prettyPrintedHtml = sourceCodeHtml; try { // Extract tags, and convert the source code to plain text. var sourceAndExtractedTags = extractTags(sourceCodeHtml); /** Plain text. @type {string} */ var source = sourceAndExtractedTags.source; job.source = source; job.basePos = 0; ///--- Am I invoking the method properly? Please let me know for the changes I need to make. Thanks, Komal -- 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.
Gwt component equivalent to pre
Hi, I am trying to display the contents of a file(which would contain code snippets) which is received in the form as a ByteArrayOutputStream converted to a string and returned to the client where I want the code to be displayed in the same format. like it can be done in pre tag in html also want code on new line bigin on new line with line nos. can anyone give any hint as to how it can be done? thanks in advance. Komal --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---