Re: Build file Corresponding to GWT Compilation From Eclipse
GWTC is a Java program that reads java files and compiles it into Javascript. The main class of this java program is com.google.gwt.dev.Compiler and you can invoke this program in various ways. ANT and Eclipse are just two possible (and most typical) ways of invoking the GWT compiler. If you want a scaffold build.xml for your project, run the webAppCreator script that ships with GWT. --Sri On 16 June 2010 01:49, Daniel Simons daniel.simo...@gmail.com wrote: I'm curious about what occurs with regard to Ant when eclipse compiles my gwt project. I'm assuming there is a build.xml file that is generated and ant runs some javac process declared within the build.xml to compile the java into javascript. If this is correct, is it possible to view the contents of that file? If not correct, could someone explain further what is actually going on? Thanks, Daniel -- 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.comgoogle-web-toolkit%2bunsubscr...@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.
my app does not work in IE at all
hello everyone, i am working on the honeycrm project http://code.google.com/p/honeycrm/. when users open the app the first thing they see is a loading screen (similiar to gmail login). after the loading has finished the loading dialog is hidden and the real ui is inserted into the RootLayoutPanel, see http://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/client/LoadingPanel.java#83. this means a DecoratedTabPanel is inserted into the RootLayoutPanel. this works fine in firefox, safari and chrome but not at all in IE. in IE only a blue screen (the background color defined by the css) is shown - nothing more. you can try the app on appengine: honeyyycrm.appspot.com regards, ingo -- 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.
how to enable scrolling for app using DecoratedTabPanel?
hello everyone, i am using the DecoratedTabPanel to split my application into several modules (http://honeyyycrm.appspot.com). however, i have currently no scrolling at all (in no browser). i read about this in the mailing list and it seems like a lot of developers have issues with this (especially when they use TabPanels). i experimented with the suggestions but i did not yet find a working solution. is there any point in the documentation describing what to do to enable scrolling when using TabPanels? this is the widget that is inserted into the RootLayoutPanel: http://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/client/TabLayout.java it contains a docklayoutpanel and inserts an instance of TabCenterView into itself: http://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/client/TabCenterView.java RootLayoutPanel \_ DockLayoutPanel (TabLayout class) \_ DecoratedTabPanel (TabCenterView class) this is the current hierarchy. now which steps are neccessary to enable proper scrolling for the app? regards, ingo -- 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.
javax.servlet.ServletException: Client did not send nnn bytes as expected
In production we have a Issue with the next message in the stacktrace: javax.servlet.ServletException: Client did not send nnn bytes as expected We have found some discussions about this problem: http://groups.google.com/group/google-web-toolkit/browse_frm/thread/58fd52f30d2277a0/b7e001cd47c5549b?#b7e001cd47c5549b http://groups.google.com/group/google-web-toolkit/browse_frm/thread/9b4a98d0d50d2752/8fada85138936403?#8fada85138936403 We are still using GWT 1.5.3. We are planning to migrate to tot GWT 2.0.3. Our question: Is this issue still occurring in GWT 2.0.3 ? -- 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 client timestamps for humans
Hello, I want to inform you all that I've ported PrettyTime (http:// ocpsoft.com/prettytime/) to GWT and packaged as a client module. The module and its source is available on Github as http://github.com/PEZ/GWT-Relative-Time GWT-Relative-Time can tend your widgets as long as they implement HasText. Thus keeping the relative timestamp updated as time passes. Now I want some users that can give me feedback on the usage interface and bugs and such. Of course if you want to participate with development, that's even more welcome. Regards, /PEZ -- 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.
Problem with file upload
Hi There, Im trying a file upload using the below code but on my server side no file items are available but without changing the server code if i try using a plain html with a form then the server was able to see file items. please let me know if im missing anything here. GWT code: - uploadForm = new FormPanel(); uploadForm.reset(); uploadForm.setAction(../upload); uploadForm.setEncoding(FormPanel.ENCODING_MULTIPART); uploadForm.setMethod(FormPanel.METHOD_POST); FileUpload upload = new FileUpload(); uploadForm.add(upload); uploadPanel.add(uploadForm); Server side code: - String contentType = request.getContentType(); if (!ServletFileUpload.isMultipartContent(request)) { return super.onSubmit(request, response, command, errors); } FileItemFactory factory = new DiskFileItemFactory(); ServletFileUpload upload = new ServletFileUpload(factory); try { ListFileItem fileItems = upload.parseRequest(request); if (null != fileItems !fileItems.isEmpty()) { Your help is very much appreciated. Thank you, bala. -- 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: Problem with file upload
try adding a statement upload.setName(your form name); after creation of object for FileUpload. -- Aditya On Wed, Jun 16, 2010 at 1:24 PM, balachandra maddina chandu2...@gmail.comwrote: Hi There, Im trying a file upload using the below code but on my server side no file items are available but without changing the server code if i try using a plain html with a form then the server was able to see file items. please let me know if im missing anything here. GWT code: - uploadForm = new FormPanel(); uploadForm.reset(); uploadForm.setAction(../upload); uploadForm.setEncoding(FormPanel.ENCODING_MULTIPART); uploadForm.setMethod(FormPanel.METHOD_POST); FileUpload upload = new FileUpload(); uploadForm.add(upload); uploadPanel.add(uploadForm); Server side code: - String contentType = request.getContentType(); if (!ServletFileUpload.isMultipartContent(request)) { return super.onSubmit(request, response, command, errors); } FileItemFactory factory = new DiskFileItemFactory(); ServletFileUpload upload = new ServletFileUpload(factory); try { ListFileItem fileItems = upload.parseRequest(request); if (null != fileItems !fileItems.isEmpty()) { Your help is very much appreciated. Thank you, bala. -- 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.comgoogle-web-toolkit%2bunsubscr...@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: Problem with file upload
Hellos balachandra ! :D I create this solution and it works fine: Cliente side: final FormPanel form = new FormPanel(); final FileUpload upload = new FileUpload(); public static String UPLOAD_RESULT = ; public static String EVENT_NAME = ; private boolean isIMG = true; public FileUploadPadroes(){ form.setEncoding(FormPanel.ENCODING_MULTIPART); form.setMethod(FormPanel.METHOD_POST); HorizontalPanel holder = new HorizontalPanel(); upload.setName(upload); holder.add(upload); upload.addChangeHandler(new ChangeHandler() { @Override public void onChange(ChangeEvent event) { form.setAction(/padroes/UploadService?isIMG=+isIMG()+eventName=+ EVENT_NAME); if(upload.getFilename()==null || upload.getFilename().length()1){ // PageBusAdapter.publishDoCreateEventUpload(No valid file attached.); }else{ form.submit(); } } }); form.add(holder); } public FormPanel getForm() { return form; } public FileUpload getUpload() { return upload; } public boolean isIMG() { return isIMG; } public void setIMG(boolean isIMG) { this.isIMG = isIMG; } On server side : protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // ServletFileUpload uploadHandler = new ServletFileUpload(); boolean isIMG = Boolean.parseBoolean(request.getParameter(isIMG)); // Create a factory for disk-based file items DiskFileItemFactory factory = new DiskFileItemFactory(); // Create a new file upload handler ServletFileUpload upload = new ServletFileUpload(factory); if(isIMG){ // Set factory constraints factory.setSizeThreshold(100);//resources/upload // Set overall request size constraint upload.setSizeMax(100); }else { // Set factory constraints factory.setSizeThreshold(1000);//resources/upload // Set overall request size constraint upload.setSizeMax(1000); } try { /* * Parse the request */ String eventName = request.getParameter(eventName); ListFileItem lUploadingFiles = upload.parseRequest(request); for (FileItem item : lUploadingFiles) { processUpload(item,isIMG,eventName); } }catch(FileUploadException ex) { FileUploadPadroes.UPLOAD_RESULT = The file size is to big, + must be less than 1MB.; log(Error encountered while parsing the request,ex); } catch(Exception ex) { log(Error encountered while uploading file,ex); } } private void processUpload(FileItem uploadItem,boolean isIMG,String eventName) { File uploadedFile = null; String uploadFileName = uploadItem.getName(); if(isIMG) uploadedFile = new File(padroes/resources/event/+ eventName +/images/ + uploadFileName); else uploadedFile = new File(padroes/resources/event/+ eventName +/videos/ + uploadFileName); /** * handling file uploads */ try { uploadItem.write(uploadedFile); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } On Wed, Jun 16, 2010 at 8:54 AM, balachandra maddina chandu2...@gmail.comwrote: Hi There, Im trying a file upload using the below code but on my server side no file items are available but without changing the server code if i try using a plain html with a form then the server was able to see file items. please let me know if im missing anything here. GWT code: - uploadForm = new FormPanel(); uploadForm.reset(); uploadForm.setAction(../upload); uploadForm.setEncoding(FormPanel.ENCODING_MULTIPART); uploadForm.setMethod(FormPanel.METHOD_POST); FileUpload upload = new FileUpload(); uploadForm.add(upload); uploadPanel.add(uploadForm); Server side code: - String contentType = request.getContentType(); if (!ServletFileUpload.isMultipartContent(request)) { return super.onSubmit(request, response, command, errors); } FileItemFactory factory = new DiskFileItemFactory(); ServletFileUpload upload = new ServletFileUpload(factory); try { ListFileItem fileItems = upload.parseRequest(request); if (null != fileItems !fileItems.isEmpty()) { Your help is very much appreciated. Thank you, bala. -- 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.comgoogle-web-toolkit%2bunsubscr...@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
Re: Problem with file upload
*uploadForm = new FormPanel();* * uploadForm.reset();* * uploadForm.setAction(**upload);* * uploadForm.setEncoding(**FormPanel.ENCODING_MULTIPART);* * uploadForm.setMethod(**FormPanel.METHOD_POST);* * * * FileUpload upload = new FileUpload();* * uploadForm.add(upload);* * uploadPanel.add(uploadForm);* use this ..i guess i would be work fine . http://java-malli.blogspot.com/search?updated-max=2010-04-08T03%3A53%3A00-07%3A00max-results=7 Thanks, Malli. On Wed, Jun 16, 2010 at 3:54 AM, balachandra maddina chandu2...@gmail.comwrote: Hi There, Im trying a file upload using the below code but on my server side no file items are available but without changing the server code if i try using a plain html with a form then the server was able to see file items. please let me know if im missing anything here. GWT code: - uploadForm = new FormPanel(); uploadForm.reset(); uploadForm.setAction(../upload); uploadForm.setEncoding(FormPanel.ENCODING_MULTIPART); uploadForm.setMethod(FormPanel.METHOD_POST); FileUpload upload = new FileUpload(); uploadForm.add(upload); uploadPanel.add(uploadForm); Server side code: - String contentType = request.getContentType(); if (!ServletFileUpload.isMultipartContent(request)) { return super.onSubmit(request, response, command, errors); } FileItemFactory factory = new DiskFileItemFactory(); ServletFileUpload upload = new ServletFileUpload(factory); try { ListFileItem fileItems = upload.parseRequest(request); if (null != fileItems !fileItems.isEmpty()) { Your help is very much appreciated. Thank you, bala. -- 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.comgoogle-web-toolkit%2bunsubscr...@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: login/logout/remember
An serializable object from the persistence side. On Wed, Jun 16, 2010 at 6:46 AM, Magnus alpineblas...@googlemail.comwrote: What's PersonDTO? Magnus On 3 Jun., 22:36, Bruno Lopes bruno.lourenco.lo...@gmail.com wrote: Then on the server side for the LoginService public LoginResponse login(String username, String password) { LoginPService loginService = ServiceLocator.getLoginService(); PersonDTO personDTO = null; try { personDTO = loginService.getUserByUsername(username); if (personDTO == null){ //.getInstance().info(Utilizador n√£o encontrado: +username); return new LoginResponse(false, false); } else if (!loginService.checkPassword(password)){ //UCCLogger.getInstance().info(Password errada do utilizador: +username); return new LoginResponse(false, false); } } catch (Throwable e) { return new LoginResponse(false, false); } LoginResponse response = new LoginResponse(); response.setLoginSuccess(true); PadroesSession padroesSession = PadroesSession.getInstance(); padroesSession.setRequest(getThreadLocalRequest()); padroesSession.setUser(personDTO); return response; } On Thu, Jun 3, 2010 at 9:33 PM, Bruno Lopes bruno.lourenco.lo...@gmail.comwrote: YES on the server side I have something like this: public class PadroesSession implements Serializable{ private static PadroesSession padroesSession=null; public static PadroesSession getInstance(){ if(padroesSession == null){ padroesSession = new PadroesSession(); return padroesSession; } else { return padroesSession; } } private PadroesSession(){ } private static final String USER_SESSION = userSession; private HttpServletRequest request = null; private HttpSession session = null; public PersonDTO getUser(){ if(null == session) return null; return session.getAttribute(USER_SESSION) != null ? (PersonDTO)session.getAttribute(USER_SESSION) : null; } public HttpSession getSession(){ return session; } public void invalidate(){ if(request!=null) if(request.getSession(false)!= null) request.getSession(false).invalidate(); if(null != session){ session.invalidate(); session = null; } } public void setUser(PersonDTO user){ if(null == user){ if(session!=null) session.removeAttribute(USER_SESSION); return; } if(null != request) this.session = request.getSession(true); if(session!=null) session.setAttribute(USER_SESSION, user); } public String getId(){ return request.getSession(false).getId(); } public HttpServletRequest getRequest() { return request; } public void setRequest(HttpServletRequest request) { this.request = request; } } On Thu, Jun 3, 2010 at 2:45 PM, Magnus alpineblas...@googlemail.com wrote: Hi, thank you for the code! I adopted it to my application. So you authenticate the user via the remote service! But how do you actually store the user context the app is running in? Do you do some session management? Thanks Magnus On Jun 2, 7:15 pm, Bruno Lopes bruno.lourenco.lo...@gmail.com wrote: Hi Alpine Bluster, look at this code: public void onModuleLoad() { this.setLoginPanel(); loginButton = new Button(Login); loginButton.addListener(new ButtonListenerAdapter() { public void onClick(Button button, EventObject e) { userAuthentication(); } }); formPanel.addButton(loginButton); formPanel.setBorder(false); loginPanel.add(formPanel); Element appPanelEl = loginPanel.getElement(); @SuppressWarnings(unused) KeyMap map = new KeyMap(appPanelEl, new KeyMapConfig() { { setKey(EventObject.ENTER); setKeyListener(new KeyListener() { public void onKey(int key, EventObject e) { loginButton.focus(); } }); } }); RootPanel.get(login_widget).add(loginPanel); } private void userAuthentication() { if (this.userNameField.getValueAsString().equals()) Window.alert(username must not be empty.); else { loginService = GWT.create(LoginService.class); String username = this.userNameField.getValueAsString(); String password = this.passwordField.getValueAsString(); this.loginService.login(username, password, new AsyncCallbackLoginResponse() {
Re: where to define domain objects
Actually, the shared package is introduced for stuff you use on both the client and the server side. So that's the place to put your domain objects (entity models or however you want to call them). The client package will work fine too, since everything in the client package will be (for now) compiled into bytecode and will be available on server side. But I'm not sure if that's done for backward compatibility and could be changed in the future. So, I would recommend 'shared'. Gr., Joost On 15 jun, 17:05, Denis denis.w...@gmail.com wrote: The domain object I mentioned needs some further clarification: It's a serializable Data Transfer Object/Bean/POJO that will be transferred across all layers: presentation, business, and persistence. With this in mind, I put the domain package under \client following the approach described in the book of 'Pro Web 2.0 Application Development with GWT' On Jun 13, 11:08 am, Stefan Bachert stefanbach...@yahoo.de wrote: HiDenis, It is absolutely clear where domain object are NOT located, in client and shared. Domain objects have nothing to do in GUI or client for a very simple project I would put it under server. But in general I would put domain objects into a separate project. The reason is, in general there is more than one application possible dealing the same domain objects. In general you have the following kind of objects on the server side which may build an own layer and thatfore projects. Session objects (state of your gui, application dependant, may be persistent) Application objects (application dependant, persistant) Domain objects (application independant, persistant) Stefan Bacherthttp://gwtworld.de On Jun 11, 10:45 pm,Denisdenis.w...@gmail.com wrote: Hello, I am new to use GWT RPC. I am going to define a domain object which will map to a database table and be transported all across the layers from the data persistence to business logics and finally GWT presentation layer. The question is where should I define those domain objects? Inside the existing client/server/shared folders or add a new domain folder? Thanks. Denis -- 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: where to define domain objects
Actually, the shared package is introduced for stuff you use on both the client and the server side. So that's the place to put your domain objects (entity models or however you want to call them). The client package will work fine too, since everything in the client package will be (for now) compiled into bytecode and will be available on server side. But I'm not sure if that's done for backward compatibility and could be changed in the future. So, I would recommend 'shared'. Gr., Joost On 15 jun, 17:05, Denis denis.w...@gmail.com wrote: The domain object I mentioned needs some further clarification: It's a serializable Data Transfer Object/Bean/POJO that will be transferred across all layers: presentation, business, and persistence. With this in mind, I put the domain package under \client following the approach described in the book of 'Pro Web 2.0 Application Development with GWT' On Jun 13, 11:08 am, Stefan Bachert stefanbach...@yahoo.de wrote: HiDenis, It is absolutely clear where domain object are NOT located, in client and shared. Domain objects have nothing to do in GUI or client for a very simple project I would put it under server. But in general I would put domain objects into a separate project. The reason is, in general there is more than one application possible dealing the same domain objects. In general you have the following kind of objects on the server side which may build an own layer and thatfore projects. Session objects (state of your gui, application dependant, may be persistent) Application objects (application dependant, persistant) Domain objects (application independant, persistant) Stefan Bacherthttp://gwtworld.de On Jun 11, 10:45 pm,Denisdenis.w...@gmail.com wrote: Hello, I am new to use GWT RPC. I am going to define a domain object which will map to a database table and be transported all across the layers from the data persistence to business logics and finally GWT presentation layer. The question is where should I define those domain objects? Inside the existing client/server/shared folders or add a new domain folder? Thanks. Denis -- 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: Problem with file upload
Thank you. its working fine after setName. Regards, bala. On Wed, Jun 16, 2010 at 1:54 PM, aditya sanas 007aditya.b...@gmail.comwrote: try adding a statement upload.setName(your form name); after creation of object for FileUpload. -- Aditya On Wed, Jun 16, 2010 at 1:24 PM, balachandra maddina chandu2...@gmail.com wrote: Hi There, Im trying a file upload using the below code but on my server side no file items are available but without changing the server code if i try using a plain html with a form then the server was able to see file items. please let me know if im missing anything here. GWT code: - uploadForm = new FormPanel(); uploadForm.reset(); uploadForm.setAction(../upload); uploadForm.setEncoding(FormPanel.ENCODING_MULTIPART); uploadForm.setMethod(FormPanel.METHOD_POST); FileUpload upload = new FileUpload(); uploadForm.add(upload); uploadPanel.add(uploadForm); Server side code: - String contentType = request.getContentType(); if (!ServletFileUpload.isMultipartContent(request)) { return super.onSubmit(request, response, command, errors); } FileItemFactory factory = new DiskFileItemFactory(); ServletFileUpload upload = new ServletFileUpload(factory); try { ListFileItem fileItems = upload.parseRequest(request); if (null != fileItems !fileItems.isEmpty()) { Your help is very much appreciated. Thank you, bala. -- 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.comgoogle-web-toolkit%2bunsubscr...@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.comgoogle-web-toolkit%2bunsubscr...@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: exchange image by browser
Actually, by using a conditional stylesheet (with the @if annotation) the result would be much cleaner. The browser will only receive a tailor made css, and your javascript will only be used for stuff it's intended for, not styling. On 16 jun, 03:21, Sky myonceinalifet...@gmail.com wrote: I personally prefer to keep logic in the application's language. I like to keep CSS for just styling and keep all my logic in JS. Is there a particular reason you can't just use JS to detect which browser is running and then grab the right ImageResource for the job (in this case you then need one ImageResource for each browser)? Of course, you don't have to comply with my own standards and as such you would need to use conditional css as was kindly mentioned by fmod. :) On Jun 15, 7:38 pm, fmod francisco.mode...@gdsoft.eu wrote: I did not try myself, but I think you need conditional css.http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.htm... On Jun 15, 11:27 am, Stefan Bachert stefanbach...@yahoo.de wrote: Hi, I would like to use ClientBundle and ImageResource. But I would like to supply different images (under the same name) by browser. Does anyone have an idea how this could be achieved easily? Stefan Bacherthttp://gwtworld.de -- 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: Failure creating a timer in ServerImplementation
It indeed was the reason. No GWT-Client-Code in ServerImplementation. Sounds sane ;-) On 15 Jun., 16:39, uwi_u uwe.chris...@gad.de wrote: A. I guess it's the following: I included com.google.gwt.user.client.Timer instead of java.util.Timer... could this be the reason? On 15 Jun., 16:25, uwi_u uwe.chris...@gad.de wrote: Hi! I'm writing an application which starts a new timer for each user logging in. I'm storing the timers in a HashMap for easy access. A KeepAlive from Client will get the timer out of the Hashmap and reset it. But when executing Timer t = new Timer(){}, the method crashes. Can somebody tell me why? Heres the Code of my ServerImplementation: if (setConnection(server, DBschemeName, user, passwd) == false) return 0; else { connectedUsers.put(user, passwd); logWarn(Baue Timer); Timer t = new Timer(){ public void run() { logoutUser(user); logWarn(User +user+ logged out due to Timeout!); } }; t.schedule(logoutTime); userLogoutTimers.put(user, t); return 1; } -- 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.
How to generate report in GWT.
Hi, My application is on school admission system. I want report for merit list of school admission in html or in other tools. Any tools in gwt for report? Thanking you, Gopal Bhalala -- 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: How to generate report in GWT.
hello gopal, i think this is possible with the google chart api (formerly known as visualisation api). for more details see the google code page of the project http://code.google.com/p/gwt-google-apis/wiki/VisualizationSampleApplications regards, ingo On 16 Jun., 12:10, gopal bhalala gopalbhal...@gmail.com wrote: Hi, My application is on school admission system. I want report for merit list of school admission in html or in other tools. Any tools in gwt for report? Thanking you, Gopal Bhalala -- 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.
Why am I forced to use @DefaultStringValue annotations for i8n in production mode?
Hi, I am using the Constants interface with simple properties files to localize my app (foo_de.properties, foo_en.properties and so on). When I run the app from eclipse (dev mode) everything works fine but when I compile the app I get the error message that the @DefaultStringValue annotation is missing on my methods defined in the constants interface. Why am I forced to put this annotation on every method? For me this just results in text duplication: Copy the value from my default properties file to the java class which is just stupid. In my module.xml I have defined a fallback value for the locale as follows: set-property-fallback name=locale value=de/ and there is a corresponding properties file for this locale. So there is absolutely no need for the @DefaultStringValue annotation in my case. Does anyone know how to turn off this check or explain to me where I am wrong? thanks a lot, Dennis -- 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: GWT client timestamps for humans
On Jun 16, 9:38 am, PEZ p...@pezius.com wrote: Hello, I want to inform you all that I've ported PrettyTime (http:// ocpsoft.com/prettytime/) to GWT and packaged as a client module. The module and its source is available on Github ashttp://github.com/PEZ/GWT-Relative-Time GWT-Relative-Time can tend your widgets as long as they implement HasText. Thus keeping the relative timestamp updated as time passes. Now I want some users that can give me feedback on the usage interface and bugs and such. Of course if you want to participate with development, that's even more welcome. Er, extend-property name=locale value=sv / in the gwt.xml? really? You want all my apps to automatically have a Swedish locale as soon as I use GWT-Relative-Time? ;-) I haven't looked at any other file yet, but I thought I'd tell you about this thing asap (just in case I forget the project when I get back to work after lunch ;-) ) -- 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: my app does not work in IE at all
On Jun 16, 9:03 am, ingo ingo.jaec...@googlemail.com wrote: hello everyone, i am working on the honeycrm projecthttp://code.google.com/p/honeycrm/. when users open the app the first thing they see is a loading screen (similiar to gmail login). after the loading has finished the loading dialog is hidden and the real ui is inserted into the RootLayoutPanel, seehttp://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/cl this means a DecoratedTabPanel is inserted into the RootLayoutPanel. this works fine in firefox, safari and chrome but not at all in IE. in IE only a blue screen (the background color defined by the css) is shown - nothing more. you can try the app on appengine: honeyyycrm.appspot.com Layout panels need the page to be in standards mode to work well (particularly in IE), yours is in quirks mode. Replace your doctype with a simple !DOCTYPE html, it's enough to switch to standards mode (that's why it has been chosen for HTML5) -- 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: History and server call.
On Jun 16, 3:52 am, Sky myonceinalifet...@gmail.com wrote: Well, I don't know about the event bus and I have yet to watch that GWT best practices video (but I really should!) and I haven't done MVP with GWT, BUT I'm super creative so here's what I would do with your situation! :D I would have an object that is rather more aware of the all recoverPanelFromHistory async actions going on. This object would store a copy of each other object that is performing the recoverPanelFromHistory for a specific panel. (in other words a list of objects that have the method(s) controlling all that async goodness) The code inside recoverPanelFromHistory() that does the async data retrieval from the server would talk back to this object, which is the owner. It tells the Owner that it's finished getting the data (even when it already had the data cached). Every time the owner gets told that one of it's subjects finished getting data it checks to see if that was the last subject to get it's data, and if so it talks to the mainContentPanel and gets it to do it's view change (clear and add). Inside the recoverPanelFromHistory code you can do your repeatedly trying to obtain the data and even if you don't get the data until a day later when the user finally reconnects your code will be able to continue on no prob. Did that make sense? It makes sense in my head, so if it doesn't make perfect sense to you ask me to clarify things and I'll do my best! Totally makes sense. In other words: make recoverPanelFromHistory async, with a callback passed as an argument rather than returning a value; and if data is cached, then just use the callback synchronously (of call it from a Scheduler.scheduleFinally if it makes you nervous to have your async call actually be synchronous) -- 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 and CSS
Hi, I used CSS and setStyleName to style my widgets, until I found out that my widgets look less cool when I do that. I now understand that each widget has a GWT-style (e. g. .gwt-Button) and that I overwrote this with my own style. So what is the way one should use CSS? Is it possible to inherit a style into another style, e. g. my-button inherits gwt-Button, so that I just add my adjustments? Another question in this context: The MenuBar within the GWT widget gallery looks much cooler than mine. But I did not apply any styles at all. What's the reason for this? Magnus -- 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.
AsyncCallback - returning values to enclosing block
Hi, because I cannot access a variable in the enclosing block from within an AsyncCallback method I found the following workaround with a class global variable, which I find very unpretty. How can one do this better? String tmp_str_usr = ; String getUser () { SystemServiceAsync svc = GWT.create (SystemService.class); svc.getUsr ( new AsyncCallbackString() { public void onFailure(Throwable caught) { Window.alert(server side failure: + caught); } public void onSuccess(String usr) { tmp_str_usr = usr; } } ); return (tmp_str_usr); } -- 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: AsyncCallback - returning values to enclosing block
create *final* variable in the enclosing block cheers JZ On Wed, Jun 16, 2010 at 1:09 PM, Magnus alpineblas...@googlemail.comwrote: Hi, because I cannot access a variable in the enclosing block from within an AsyncCallback method I found the following workaround with a class global variable, which I find very unpretty. How can one do this better? String tmp_str_usr = ; String getUser () { SystemServiceAsync svc = GWT.create (SystemService.class); svc.getUsr ( new AsyncCallbackString() { public void onFailure(Throwable caught) { Window.alert(server side failure: + caught); } public void onSuccess(String usr) { tmp_str_usr = usr; } } ); return (tmp_str_usr); } -- 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.comgoogle-web-toolkit%2bunsubscr...@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: GWT applet problem
I said the easiest way to do 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-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: GWT and CSS
Hi Magnus, So what is the way one should use CSS? Is it possible to inherit a style into another style, e. g. my-button inherits gwt-Button, so that I just add my adjustments? just try to use addStyleName() instead of setStylePrimaryName(). By this you preserve the default standard.css styling of your elements and you can add additional formatting. More specific, the button would still have the class gwt-Button followed by your specific class which you can add to any CSS file linked in the main page. However, as GWT adds its standard.css as last css file you may still experience strage overruling of your styles (using Firebug helps to understand what is overruled by what). If that standard.css overruling is an issue for you, my blog post GWT's standard.css killed my page layout may help you: http://ililiililililii.blog.de/2010/05/12/gwt-s-standard-css-killed-my-page-layout-8574576/ Sven -- 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: Invoking GWT from outside the war
SOLVED! The same html page worked, I just had to add add-linker name=xs / To the gwt.xml Almost got mad looking for this, hope it can help somebody else :f 2010/6/15 enTropy Fragment poemcompi...@gmail.com Hello I am wondering if I can launch a GWT app from an html page wich is outside the GWT war app. In case it is possible, how can I manage to do it? I tried to copy the sample html that launches the GWT app in the project outside it and play a bit with it, but I didn't get far to be honest. Any help will be appreciated ^^ That's the code that DOESN'T work !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head link rel=stylesheet href=css/style.css type=text/css/ meta name=gwt:module content=cat.udl.griho.AnalisiHeuristic.Main=cat.udl.griho.AnalisiHeuristic.Main titleMain/title /head body h1Sample html outside the war/h1 script type=text/javascript src= http://localhost:8084/AnalisiHeuristic/cat.udl.griho.AnalisiHeuristic.Main/cat.udl.griho.AnalisiHeuristic.Main.nocache.js /script /body /html -- 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: GWT applet problem
Hi, The easiest way is not an frame... you will have many issue. You can create a Widget backing by an object tag. Or you can try some library like http://code.google.com/p/gwtai/. Olivier On 16 juin, 13:17, mariyan nenchev nenchev.mari...@gmail.com wrote: I said the easiest way to do 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-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: how to enable scrolling for app using DecoratedTabPanel?
Do you want: 1) scroll the whole page? Don't use layouts (*LayoutPanel), there are made to avoid scrolling. Did you read http://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideUiPanels.html? Try: RootPanel \_ DockPanel \_ DecoratedTabPanel 2) scroll the content area of the tabs? Add a ScrollPanel in each tab content. Olivier On 16 juin, 09:12, ingo ingo.jaec...@googlemail.com wrote: hello everyone, i am using the DecoratedTabPanel to split my application into several modules (http://honeyyycrm.appspot.com). however, i have currently no scrolling at all (in no browser). i read about this in the mailing list and it seems like a lot of developers have issues with this (especially when they use TabPanels). i experimented with the suggestions but i did not yet find a working solution. is there any point in the documentation describing what to do to enable scrolling when using TabPanels? this is the widget that is inserted into the RootLayoutPanel:http://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/cl... it contains a docklayoutpanel and inserts an instance of TabCenterView into itself:http://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/cl... RootLayoutPanel \_ DockLayoutPanel (TabLayout class) \_ DecoratedTabPanel (TabCenterView class) this is the current hierarchy. now which steps are neccessary to enable proper scrolling for the app? regards, ingo -- 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: GWT applet problem
Also I fail to see how is [putting APPLET into standalone document]+[creating FRAME for it using JS] easier then [creating APPLET with several PARAMs using JS]. In the first scenario you also get one more file/document to care about + one more request to make. But that's just my opinion. Whatever serves actual needs is good enough. :) On Wed, Jun 16, 2010 at 1:41 PM, Olivier Monaco olivier.mon...@free.frwrote: Hi, The easiest way is not an frame... you will have many issue. You can create a Widget backing by an object tag. Or you can try some library like http://code.google.com/p/gwtai/. Olivier On 16 juin, 13:17, mariyan nenchev nenchev.mari...@gmail.com wrote: I said the easiest way to do 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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: DockLayoutPanel inside a ScrollPanel
Elben, The layout panels are made to avoid scrolling. They must have a fixed size. They use the whole window and updates there content viewport as the window is resized. If their content is too large to be shown, a part of it will be hidden (http://code.google.com/intl/fr/webtoolkit/ doc/latest/DevGuideUiPanels.html). So, as Gal said, fix the size of you DockLayoutPanel. If it's not an option for you, you may forgot layouts. What do you try to do? Olivier On 15 juin, 01:42, Elben Shira elbensh...@gmail.com wrote: Hi, I have a layout defined by: - ... - ScrollPanel - DockLayoutPanel - north - west - center - east The problem is that the dock layout panel is cut off from the window; the scroll bars don't appear. I can force the scroll bars to appear by setting the height of both panels to some pixel, but this is obviously not a useful solution. Any hints? -- 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.
Client Session Timeout
Hi All We have an application that makes regular RPC calls, on a timer, to the client. This has the side effect of the user's session never expiring. Because of the sensitive nature of the data we're handling in our application, we need the user's session to timeout. How can this be done? -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com b: paulgrenyer.blogspot.com -- 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.
implementing reCAPTCHA
Anyone here have implemented reCaptcha in GWT modules...? I tried search on the web i found some cool stuff http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/99c259aad06406c6 here. but need some more explanation to implement it. And one more thing can i test it whenever i m testing application on local machine? Thank you. -- Aditya -- 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: AsyncCallback - returning values to enclosing block
On Jun 16, 1:09 pm, Magnus alpineblas...@googlemail.com wrote: Hi, because I cannot access a variable in the enclosing block from within an AsyncCallback method I found the following workaround with a class global variable, which I find very unpretty. How can one do this better? What is it that you don't understand in asynchronous? I mean, your getUsr call will *always* end after the return tmp_str_usr statement. So, on the first call and until the server responds and you AsyncCallback is called, you'll get the empty string (initial value of the field); then AsyncCallback will change its value, and on all subsequent calls until the server responds to the new requests (and AsyncCallback will be called again) you'll get that value. When you ask your wife to get you some beer, the beer won't be there until your wife come back from the kitchen; and while she's gone, the football match isn't paused and life continues. -- 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: GWT client timestamps for humans
Oh, and I was planning to add a few more locales soon... What's the implications? /PEZ On Jun 16, 12:33 pm, Thomas Broyer t.bro...@gmail.com wrote: On Jun 16, 9:38 am, PEZ p...@pezius.com wrote: Hello, I want to inform you all that I've ported PrettyTime (http:// ocpsoft.com/prettytime/) to GWT and packaged as a client module. The module and its source is available on Github ashttp://github.com/PEZ/GWT-Relative-Time GWT-Relative-Time can tend your widgets as long as they implement HasText. Thus keeping the relative timestamp updated as time passes. Now I want some users that can give me feedback on the usage interface and bugs and such. Of course if you want to participate with development, that's even more welcome. Er, extend-property name=locale value=sv / in the gwt.xml? really? You want all my apps to automatically have a Swedish locale as soon as I use GWT-Relative-Time? ;-) I haven't looked at any other file yet, but I thought I'd tell you about this thing asap (just in case I forget the project when I get back to work after lunch ;-) ) -- 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.
first time deploy on tomcat - ServiceImpl not found on server
Hi, I deployed my app for the first time on a tomcat server and receive the following exception (SystemService is aRPC service): - javax.servlet.ServletException: Wrapper cannot find servlet class ics.server.svc.SystemServiceImpl or a class it depends on ... - In hosted mode this works fine. I created the war file which I just dropped into the tomcat's webapps folder, with the following ant script: project name=ics basedir=. default=default target name=default depends=buildwar,deploy/target target name=buildwar war basedir=war destfile=ics.war webxml=war/WEB-INF/web.xml exclude name=WEB-INF/** / webinf dir=war/WEB-INF/ include name=**/*.jar / /webinf /war /target target name=deploy copy file=ics.war todir=. / /target /project Can you help? Thanks Magnus -- 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: AsyncCallback - returning values to enclosing block
LOL Thomas.[?] That was great example to determine async calls. anyway what you are saying is right. Its a bad design to have a method which returns something and then make async call which changes the state of some variable. -- Aditya On Wed, Jun 16, 2010 at 6:13 PM, Thomas Broyer t.bro...@gmail.com wrote: On Jun 16, 1:09 pm, Magnus alpineblas...@googlemail.com wrote: Hi, because I cannot access a variable in the enclosing block from within an AsyncCallback method I found the following workaround with a class global variable, which I find very unpretty. How can one do this better? What is it that you don't understand in asynchronous? I mean, your getUsr call will *always* end after the return tmp_str_usr statement. So, on the first call and until the server responds and you AsyncCallback is called, you'll get the empty string (initial value of the field); then AsyncCallback will change its value, and on all subsequent calls until the server responds to the new requests (and AsyncCallback will be called again) you'll get that value. When you ask your wife to get you some beer, the beer won't be there until your wife come back from the kitchen; and while she's gone, the football match isn't paused and life continues. -- 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.comgoogle-web-toolkit%2bunsubscr...@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. 360.gif
parsing library for the client side
Hello, I must create a rich editor. We have a custom language, and our customers will be able to edit sentences of this language in their browser. Now, on the server side, we already have antlr stuff to parse the language. I'm contemplating whether I should try to reuse to the maximum the existing stuff, at the (probable) cost of more client/server communications to benefit from the parser's functionality (hopefully the client side editor will be structured) ; or whether I should rewrite a parser (by hand or with the help of a third party library which could run on GWT client code) for my client side ... Any comments / suggestions ? Thanks in advance, -- Laurent -- 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: GWT project with multiple pages
This is a technique that I'm finding useful for using GWT to implement new features in an existing web application. The application already has a configuration-driven menu system that effectively resolves to a separate HTML file for each page. If I want to use GWT to implement new pages, I need to be able to configure what code to run when the page is loaded. This could be accomplished using separate modules, but keeping all of the code in a single module reduces build time (separate modules require separate GWT compilation steps, as far as I can tell). With everything in a separate module, it's then just a matter of applying use of GWT.runAsync() so that only the code for the requested page is downloaded rather than the entire module. I had been doing all of this in a hand-coded dispatching entry point, but having an annotation- driven code generator instead makes a lot of sense as it removes the burden of maintaining that hand-coded entry point. -Brian On Jun 15, 12:37 pm, Stefan Bachert stefanbach...@yahoo.de wrote: Hi, could you please tell what the benefit of multiple host pages should be? To me it still looks like a misconception because of still sticking with concepts of pre-AJAX era. Stefan Bacherthttp://gwtworld.de On Jun 13, 1:33 am, Mark mark.java.john...@gmail.com wrote: Hi, There is now a project on Google Code (http://code.google.com/p/gwt- multipage/) for managing multiple host pages. And, tutorials here -http://claudiushauptmann.com/andhere -http://uptick.com.au/content/managing-multiple-host-pages. Cheers Mark -- 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: Updrage to 2.1M1 build a single permutation?
Anyone? On Jun 9, 11:01 am, gcauchon gcauc...@gmail.com wrote: There isn't much details about widget with mobile support. What I do know is that there are many things not supported by Safari Mobile (for instance). I wasn't at I/O this year and up to now the only place I've read about it is on I/O Twitter stream: http://twitter.com/googleio/status/14307224349 Which is why I was looking foward to try2.1M1asap... On Jun 9, 10:45 am, Jim jim.p...@gmail.com wrote: Where can I find description about mobile widgets? Here you use mobile. I guess widgets are not real mobile widgets. Am I right? Jim On Jun 9, 10:22 am, gcauchon gcauc...@gmail.com wrote: I started a project on GWT 2.0 and easily upgraded to 2.01, 2.0.2 and 2.0.3 since then. This project targets mobile devices so I really was eager to try the new mobile widgets in2.1M1. I finally had some time to upgrade yesterday... However, my project doesn't build correctly anymore. I first had to modify the ValueStore module to fix the dependency error in bikeshed! Now that this is fixed, my projects only generate 1 permutation instead of the 12 I should (use to) have... Do I have to change anything in the definition of my module? -- 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: History and server call.
sounds like you're reinventing the place service, with event bus, with local cache rpc service, but doing it in a new, innovative, complex and if the code grows on you perhaps unintelligible way. if you're the only one who will support this ever, that may work. otherwise i would seriously look into a bunch of mvp-like frameworks out there and look at how place services/managers, local caches, and event buses are implemented. you don't need to use the framework, but the concepts are very helpful to organize the code. they're straightforward and most people understand the design. On Jun 16, 5:46 am, Thomas Broyer t.bro...@gmail.com wrote: On Jun 16, 3:52 am, Sky myonceinalifet...@gmail.com wrote: Well, I don't know about the event bus and I have yet to watch that GWT best practices video (but I really should!) and I haven't done MVP with GWT, BUT I'm super creative so here's what I would do with your situation! :D I would have an object that is rather more aware of the all recoverPanelFromHistory async actions going on. This object would store a copy of each other object that is performing the recoverPanelFromHistory for a specific panel. (in other words a list of objects that have the method(s) controlling all that async goodness) The code inside recoverPanelFromHistory() that does the async data retrieval from the server would talk back to this object, which is the owner. It tells the Owner that it's finished getting the data (even when it already had the data cached). Every time the owner gets told that one of it's subjects finished getting data it checks to see if that was the last subject to get it's data, and if so it talks to the mainContentPanel and gets it to do it's view change (clear and add). Inside the recoverPanelFromHistory code you can do your repeatedly trying to obtain the data and even if you don't get the data until a day later when the user finally reconnects your code will be able to continue on no prob. Did that make sense? It makes sense in my head, so if it doesn't make perfect sense to you ask me to clarify things and I'll do my best! Totally makes sense. In other words: make recoverPanelFromHistory async, with a callback passed as an argument rather than returning a value; and if data is cached, then just use the callback synchronously (of call it from a Scheduler.scheduleFinally if it makes you nervous to have your async call actually be synchronous) -- 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: Does AdSense work with GWT? If so, How?
http://code.google.com/apis/afa/ On Jun 15, 1:29 am, Joe Blow michael.mccutch...@gmail.com wrote: I'm looking at using this framework for a new project, but I need to have the AdSense functionality. 1 - Does AdSense work with GWT? 2 - If so, how? I see a whole bunch of hacks that 'might' work, but I need something more stable than that. This is really a deal breaker for us...if AdSense does not work with GWT, then we can't use GWT. Thanks for any help! -- 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: opening popup menu hides all remaining page content
Hi, what does this mean: Fixed in 2.1M1? When will this fix be available to all? Thanks Magnus On 11 Jun., 15:09, Thomas Broyer t.bro...@gmail.com wrote: On 11 juin, 07:07, Magnus alpineblas...@googlemail.com wrote: Hello, I found a strange problem under IE 7: When I click on a menu item that opens a popup submenu, the whole page content (all widgets including the menubar itself) is hidden and only the popup menu is visible. Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=4532 Fixed in 2.1M1 if you want to try it out. -- 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: Client Session Timeout
The session interface has the method invalidate() in it to manually force the session to expire. You can add some sort of filter in your server side RPC processes that uses whatever heuristic you need to determine when to time out the session and just do it manually. On Jun 16, 8:34 am, Paul Grenyer paul.gren...@gmail.com wrote: Hi All We have an application that makes regular RPC calls, on a timer, to the client. This has the side effect of the user's session never expiring. Because of the sensitive nature of the data we're handling in our application, we need the user's session to timeout. How can this be done? -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com b: paulgrenyer.blogspot.com -- 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: opening popup menu hides all remaining page content
http://code.google.com/webtoolkit/download_2_1_m1.html http://code.google.com/webtoolkit/download_2_1_m1.htmlcheers JZ On Wed, Jun 16, 2010 at 3:43 PM, Magnus alpineblas...@googlemail.comwrote: Hi, what does this mean: Fixed in 2.1M1? When will this fix be available to all? Thanks Magnus On 11 Jun., 15:09, Thomas Broyer t.bro...@gmail.com wrote: On 11 juin, 07:07, Magnus alpineblas...@googlemail.com wrote: Hello, I found a strange problem under IE 7: When I click on a menu item that opens a popup submenu, the whole page content (all widgets including the menubar itself) is hidden and only the popup menu is visible. Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=4532 Fixed in 2.1M1 if you want to try it out. -- 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.comgoogle-web-toolkit%2bunsubscr...@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: Client Session Timeout
Except for that, you can set a fixed timeout in your app's web.xml. For instance, session-config session-timeout15/session-timeout /session-config Here the time is in minute. Mike J. On Wed, Jun 16, 2010 at 9:44 AM, jhulford jhulf...@gmail.com wrote: The session interface has the method invalidate() in it to manually force the session to expire. You can add some sort of filter in your server side RPC processes that uses whatever heuristic you need to determine when to time out the session and just do it manually. On Jun 16, 8:34 am, Paul Grenyer paul.gren...@gmail.com wrote: Hi All We have an application that makes regular RPC calls, on a timer, to the client. This has the side effect of the user's session never expiring. Because of the sensitive nature of the data we're handling in our application, we need the user's session to timeout. How can this be done? -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com b: paulgrenyer.blogspot.com -- 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.comgoogle-web-toolkit%2bunsubscr...@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: GWT applet problem
We simply add this code into a view String htm = applet width=\100%\ height=\100%\ + code=\com/your/package/applet/EntryClass.class\ + archive=\TheArhive.jar\ + param name=\lang\ value=\en\ / + param name=\type\ value=\ + this.type + \ / + param name=\id\ value=\ + this.id + \ / + /applet; kind of ugly, but It works fine! On 16 juin, 13:50, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: Also I fail to see how is [putting APPLET into standalone document]+[creating FRAME for it using JS] easier then [creating APPLET with several PARAMs using JS]. In the first scenario you also get one more file/document to care about + one more request to make. But that's just my opinion. Whatever serves actual needs is good enough. :) On Wed, Jun 16, 2010 at 1:41 PM, Olivier Monaco olivier.mon...@free.frwrote: Hi, The easiest way is not an frame... you will have many issue. You can create a Widget backing by an object tag. Or you can try some library likehttp://code.google.com/p/gwtai/. Olivier On 16 juin, 13:17, mariyan nenchev nenchev.mari...@gmail.com wrote: I said the easiest way to do 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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: GWT Print
hello abrahim- this is not GWT issue it is CSS issue, kindly check you Css file you added on grid thanks Ahm -- Forwarded message -- From: abhiram abhir...@gmail.com Date: Wed, Jun 16, 2010 at 6:33 AM Subject: GWT Print To: Google Web Toolkit google-web-toolkit@googlegroups.com Hi, I have been using the standard GWT printing methodology but I see that the border lines and the grid lines get missed out in the print. And the final printout only has the texts without any decorations. Can someone suggest a nice GWT Print logic where the grids/scrollTables appear with the borders and all ? 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.comgoogle-web-toolkit%2bunsubscr...@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: How to generate report in GWT.
hello- i think the next topic will be help you greate:- http://code.google.com/apis/chart/docs/making_charts.html for example http://chart.apis.google.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello|World set this URL in Image in .setURL(ttp:// chart.apis.google.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello|World) this will be helpful BUT the only issue if there is no internet connection :) will show nothing Thanks Ahmed Saleh On Wed, Jun 16, 2010 at 1:10 PM, gopal bhalala gopalbhal...@gmail.comwrote: Hi, My application is on school admission system. I want report for merit list of school admission in html or in other tools. Any tools in gwt for report? Thanking you, Gopal Bhalala -- 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.comgoogle-web-toolkit%2bunsubscr...@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: History and server call.
Event bus looks to be promising and can solve this problem. Will try it and see how much it can help. But first need to use MVP in my project Thanks Ravi. On Jun 16, 2:23 am, fmod francisco.mode...@gdsoft.eu wrote: Using the event bus may help there.http://code.google.com/events/io/2009/sessions/GoogleWebToolkitBestPr... and the two articleshttp://code.google.com/webtoolkit/articles/mvp-architecture.html On Jun 15, 9:14 am, ping2ravi ping2r...@gmail.com wrote: Hi Guys, I have just implemented a multipage(basically multi url) website using History. It works great using history token. But i need something else from GWT which i am not able to solve. Now when user clicks on something(link/button etc) i add the token to History and my history callbacks get called. Now in history value change handler i do something like this 1) FInd out what page need to be dispalyed(basically identify the panels etc). 2) now each of my panel which can have history implementing hasHistory(my own) interface, which has function recoverPanelFromHistory. 3) In this function, i check if i have client side data cahced for this panel, if yes then load it into panel and display it(basically add to main panel widget tree). 4) But if no cache data found then go to server and get data. one such implementation @Override public boolean recoverPanelFromHistory(MapString, String historyTokens) { String page = historyTokens.get(PAGE_PARAM); boolean returnValue = false; if(home.equalsIgnoreCase(page)) { returnValue = userHomePanel.recoverPanelFromHistory(historyTokens); //and this function will calls its child panels if they support history if(returnValue ) { mainContentPanel.clear(); //clearing the mainPanel view of client mainContentPanel.add(userHomePanel); //and adding the view according to history token value } else { //dont change the browser view and stay at current panel/view/page. This also means child panel can not be recovered and there must be some problem with history tokens provided. } } if(profile.equalsIgnoreCase(page)) { returnValue = prodilePanel.recoverPanelFromHistory(historyTokens); //and this function will calls its child panels if they support history if(returnValue ) { mainContentPanel.clear(); //clearing the mainPanel view of client mainContentPanel.add(profilePanel); //and adding the view according to history token value } else { //dont change the browser view and stay at current panel/view/page. This also means child panel can not be recovered and there must be some problem with history tokens provided. } } return returnValue; } So till now theoretically it sounds good and works good. Problem starts when lets say user lost his Internet connection or call fail at server because of any system level error.. userHomePanel.recoverPanelFromHistory(historyTokens); This function does following things. 1) get the data from cache for this panel 2) if found call loadDataIntoPanel(data) function and load it into panel and return true. 3) else call the server to get data. Now server call is async and I need to return some value from userHomePanel.recoverPanelFromHistory(historyTokens);, so if i return true and call fails at server because of some network problem then ideally i dont want to switch to new view as per this history action but my function has already returned true and mainPanle has already changed the view to new panel. Now i dont want child panels to call parentPanel's method to tell them later that server call was success or failure so that main parent panel can decide whethere i should switch panels/view or not. If child need to know parent then my all panels will be too much dependent on each other and they will be too much crossed chain to each other. If you see gmail it uses such features. If you have loaded ur inbox and then you lost ur internet connection and then u click on any email. Then gmail doesnt take you to single mail viewer page and then tell oh u lost ur connection but it just keep you on inbox view and keep trying and after some time stop trying. How can i achieve such functionality.? Are there any existing libraries to do that or
MVP questions
Hello all, I need some help to check if my design I choose is correct. Imagine I have a data model like that : - An object1 containing a list of many object2 Imagine now I want that my screen displays info of object1 and the list of object2 inside a tabpanel. When you click on a tab, you display the info of the selected object2. What is the best way to implement that ? 1) only one couple of presenter/view for object1 and this couple manages the display of object2 in each tab 2) one presenter/view object for object1 and one presenter/view for each instance of object2 ? in other words, do I have one couple of presenter/view by object model ? -- 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.
Does a private variable in Java stays private when compiled to javascript?
Hello, I am looking at GWT's features and can't figure out weather a variable declared in java as private will stay private once compiled in GWT. By private I mean unaccessible to anyone except for the constructor or the construtors functions. Thanks. -- 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: Failure creating a timer in ServerImplementation
Looking into your code i can see that you are trying to re invent the wheel, also user will always timeout even if he is using ur application continuously. Most of the servers have session management build in facility. So you can just set the time like 15 minutes or something and your user session will be deleted as and when the idle time reaches 15 minutes(or whatever u set). you don't want to kill your server by creating 1s of timers for 1s of logged in users. and you want to logoff user only when he is not doing anything. But if he is doing something you want to keep him logged in. Ravi. On Jun 16, 10:22 am, uwi_u uwe.chris...@gad.de wrote: It indeed was the reason. No GWT-Client-Code in ServerImplementation. Sounds sane ;-) On 15 Jun., 16:39, uwi_u uwe.chris...@gad.de wrote: A. I guess it's the following: I included com.google.gwt.user.client.Timer instead of java.util.Timer... could this be the reason? On 15 Jun., 16:25, uwi_u uwe.chris...@gad.de wrote: Hi! I'm writing an application which starts a new timer for each user logging in. I'm storing the timers in a HashMap for easy access. A KeepAlive from Client will get the timer out of the Hashmap and reset it. But when executing Timer t = new Timer(){}, the method crashes. Can somebody tell me why? Heres the Code of my ServerImplementation: if (setConnection(server, DBschemeName, user, passwd) == false) return 0; else { connectedUsers.put(user, passwd); logWarn(Baue Timer); Timer t = new Timer(){ public void run() { logoutUser(user); logWarn(User +user+ logged out due to Timeout!); } }; t.schedule(logoutTime); userLogoutTimers.put(user, t); return 1; } -- 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: my app does not work in IE at all
hello thomas, thanks a lot for this hint. it solved the issue immediately (see the diff here http://code.google.com/p/honeycrm/source/diff?spec=svn67r=67format=sidepath=/trunk/war/Gae.html). kind regards, ingo On 16 Jun., 12:38, Thomas Broyer t.bro...@gmail.com wrote: On Jun 16, 9:03 am, ingo ingo.jaec...@googlemail.com wrote: hello everyone, i am working on the honeycrm projecthttp://code.google.com/p/honeycrm/. when users open the app the first thing they see is a loading screen (similiar to gmail login). after the loading has finished the loading dialog is hidden and the real ui is inserted into the RootLayoutPanel, seehttp://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/cl this means a DecoratedTabPanel is inserted into the RootLayoutPanel. this works fine in firefox, safari and chrome but not at all in IE. in IE only a blue screen (the background color defined by the css) is shown - nothing more. you can try the app on appengine: honeyyycrm.appspot.com Layout panels need the page to be in standards mode to work well (particularly in IE), yours is in quirks mode. Replace your doctype with a simple !DOCTYPE html, it's enough to switch to standards mode (that's why it has been chosen for HTML5) -- 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.
New book, ESSENTIAL GWT
Hi! I'm quite proud to be able to announce I wrote a book for Addison- Wesley, called ESSENTIAL GWT. The book is available online at http://my.safaribooksonline.com/9780321705631 and also (for preorders) in Amazon.com at http://www.amazon.com/Federico-Kereki/e/B003NE73LE or Barnes and Noble at http://search.barnesandnoble.com/Essential-GWT/Federico-Kereki/e/9780321705143 Thanks! -- 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: GWT applet problem
We simply add this code into a view String htm = applet width=\100%\ height=\100%\ + code=\com/your/package/applet/EntryClass.class\ + archive=\TheArhive.jar\ + param name=\lang\ value=\en\ / + param name=\type\ value=\ + this.type + \ / + param name=\id\ value=\ + this.id + \ / + /applet; kind of ugly, but It works fine! On 16 juin, 13:50, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: Also I fail to see how is [putting APPLET into standalone document]+[creating FRAME for it using JS] easier then [creating APPLET with several PARAMs using JS]. In the first scenario you also get one more file/document to care about + one more request to make. But that's just my opinion. Whatever serves actual needs is good enough. :) On Wed, Jun 16, 2010 at 1:41 PM, Olivier Monaco olivier.mon...@free.frwrote: Hi, The easiest way is not an frame... you will have many issue. You can create a Widget backing by an object tag. Or you can try some library likehttp://code.google.com/p/gwtai/. Olivier On 16 juin, 13:17, mariyan nenchev nenchev.mari...@gmail.com wrote: I said the easiest way to do 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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: how to enable scrolling for app using DecoratedTabPanel?
hello oliver, thank you very much for the link! i want to achieve a page layout similar to the google code ui http://code.google.com/p/honeycrm/: tabs on top of the screen and right under the tabs is the module specific content. if the content right under the tabs is too big the whole page or the content of the tabpanel component should have scrollbars. at the moment i do not really care where the scrollbars are - more importantly is that there are scrollbars at all :-) what do you mean with your suggestion to use a dockpanel instead of a docklayoutpanel? should this solve the problem, too? i tried and it did not work out for me. i will read the stuff in the docs and play around with the different containers. would really find a solution for this issue. has anyone some sample code that i can have a look at? in the meantime you can have a look at my code by browsing through the project http://code.google.com/p/honeycrm/source/browse/#svn/trunk/src/honeycrm/client kind regards, ingo On 16 Jun., 13:48, Olivier Monaco olivier.mon...@free.fr wrote: Do you want: 1) scroll the whole page? Don't use layouts (*LayoutPanel), there are made to avoid scrolling. Did you readhttp://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideUiPanels... Try: RootPanel \_ DockPanel \_ DecoratedTabPanel 2) scroll the content area of the tabs? Add a ScrollPanel in each tab content. Olivier On 16 juin, 09:12, ingo ingo.jaec...@googlemail.com wrote: hello everyone, i am using the DecoratedTabPanel to split my application into several modules (http://honeyyycrm.appspot.com). however, i have currently no scrolling at all (in no browser). i read about this in the mailing list and it seems like a lot of developers have issues with this (especially when they use TabPanels). i experimented with the suggestions but i did not yet find a working solution. is there any point in the documentation describing what to do to enable scrolling when using TabPanels? this is the widget that is inserted into the RootLayoutPanel:http://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/cl... it contains a docklayoutpanel and inserts an instance of TabCenterView into itself:http://code.google.com/p/honeycrm/source/browse/trunk/src/honeycrm/cl... RootLayoutPanel \_ DockLayoutPanel (TabLayout class) \_ DecoratedTabPanel (TabCenterView class) this is the current hierarchy. now which steps are neccessary to enable proper scrolling for the app? regards, ingo -- 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: parsing library for the client side
Hi Laurent, I did not use antlr, yet. However, antlr generates java code and as far it generates ALL, the GWT compiler probably translates generated javacode to javascript. I would just give them a try. Stefan Bachert http://gwtworld.de On Jun 16, 3:02 pm, Laurent PETIT laurent.pe...@gmail.com wrote: Hello, I must create a rich editor. We have a custom language, and our customers will be able to edit sentences of this language in their browser. Now, on the server side, we already have antlr stuff to parse the language. I'm contemplating whether I should try to reuse to the maximum the existing stuff, at the (probable) cost of more client/server communications to benefit from the parser's functionality (hopefully the client side editor will be structured) ; or whether I should rewrite a parser (by hand or with the help of a third party library which could run on GWT client code) for my client side ... Any comments / suggestions ? Thanks in advance, -- Laurent -- 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: DockLayoutPanel inside a ScrollPanel
The layout panels are made to avoid scrolling. They must have a fixed size. The latter sentence is not completly true. A LayoutPanel does not calculate its size from children. Especially it does not grow when the children grow. A Layoutpanel needs to be told which size it has. The possibilities are: a) to set height and width explicitly (what you notice) b) to grow and shrink with its parent (what you missed) Stefan Bachert http://gwtworld.de -- 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.
CompileReport Explicit Eclipse instructions
Hi- I seem to be unable to figure out how to generate a GWT report in Eclipse. Under Debug Configurations for Web ApplicationIt seems to me that it should be in the Program arguments section. However, when I do that I get this: Unknown argument: -compileReport Google Web Toolkit 2.0.0 DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist- string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-server servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [- workDir dir] module[s] where -noserverPrevents the embedded web server from running -portSpecifies the TCP port for the embedded web server (defaults to ) -whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated) -blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated) -logdir Logs to a file in the given directory, as well as graphically -logLevelThe level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL -gen Debugging: causes normally-transient generated types to be saved in the specified directory -codeServerPort Specifies the TCP port for the code server (defaults to 9997) -server Specify a different embedded web server to run (must implement ServletContainerLauncher) -startupUrl Automatically launches the specified URL -war The directory into which deployable output files will be written (defaults to 'war') -extra The directory into which extra files, not intended for deployment, will be written -workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir) and module[s]Specifies the name(s) of the module(s) to host Can somebody take a minutes and spell this out for me? I would really appreciate 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-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.
using buttons - attaching Command objects?
Hi, is the following possible: 1) Having one ClickHandler for several Buttons. 2) Associating a Command object to each Button. 3) Knowing which Command object belongs to the clicked Button? I want something like this: Button btn_1 = new Button (B1); Button btn_2 = new Button (B2); Button btn_3 = new Button (B3); Command cmd_1 = new Command(1); Command cmd_2 = new Command(2); Command cmd_3 = new Command(3); ... // in ClickHandler: public void onClick (ClickEvent e) { Command c = getCommandForButtonFromClickEvent(e); } Thanks Magnus -- 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: CompileReport Explicit Eclipse instructions
On Wed, Jun 16, 2010 at 12:39 PM, Dan Billings debil...@gmail.com wrote: Hi- I seem to be unable to figure out how to generate a GWT report in Eclipse. Under Debug Configurations for Web ApplicationIt seems to me that it should be in the Program arguments section. However, when I do that I get this: Unknown argument: -compileReport Google Web Toolkit 2.0.0 DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist- string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-server servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [- workDir dir] module[s] where -noserver Prevents the embedded web server from running -port Specifies the TCP port for the embedded web server (defaults to ) -whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated) -blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated) -logdir Logs to a file in the given directory, as well as graphically -logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL -gen Debugging: causes normally-transient generated types to be saved in the specified directory -codeServerPort Specifies the TCP port for the code server (defaults to 9997) -server Specify a different embedded web server to run (must implement ServletContainerLauncher) -startupUrl Automatically launches the specified URL -war The directory into which deployable output files will be written (defaults to 'war') -extra The directory into which extra files, not intended for deployment, will be written -workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir) and module[s] Specifies the name(s) of the module(s) to host Can somebody take a minutes and spell this out for me? I would really appreciate it! You want to pass this option to the GWT compiler, not to Dev Mode. Under eclipse, click the Red Toolbox icon to bring up the compiler dialog, and then expand the Advanced section. Add -compileReport to the additional compiler arguments. -- Chris Conroy Software Engineer Google, Atlanta -- 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: using buttons - attaching Command objects?
On Wed, Jun 16, 2010 at 6:47 PM, Magnus alpineblas...@googlemail.comwrote: Hi, is the following possible: 1) Having one ClickHandler for several Buttons. @UiHandler({deleteButton, deleteButton2}) void onDelete(ClickEvent e) { } i don't know the rest :( 2) Associating a Command object to each Button. 3) Knowing which Command object belongs to the clicked Button? I want something like this: Button btn_1 = new Button (B1); Button btn_2 = new Button (B2); Button btn_3 = new Button (B3); Command cmd_1 = new Command(1); Command cmd_2 = new Command(2); Command cmd_3 = new Command(3); ... // in ClickHandler: public void onClick (ClickEvent e) { Command c = getCommandForButtonFromClickEvent(e); } Thanks Magnus -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. cheers JZ -- 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: CompileReport Explicit Eclipse instructions
Thanks so much! On Jun 16, 11:53 am, Chris Conroy con...@google.com wrote: On Wed, Jun 16, 2010 at 12:39 PM, Dan Billings debil...@gmail.com wrote: Hi- I seem to be unable to figure out how to generate a GWT report in Eclipse. Under Debug Configurations for Web ApplicationIt seems to me that it should be in the Program arguments section. However, when I do that I get this: Unknown argument: -compileReport Google Web Toolkit 2.0.0 DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist- string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-server servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [- workDir dir] module[s] where -noserver Prevents the embedded web server from running -port Specifies the TCP port for the embedded web server (defaults to ) -whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated) -blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated) -logdir Logs to a file in the given directory, as well as graphically -logLevel The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL -gen Debugging: causes normally-transient generated types to be saved in the specified directory -codeServerPort Specifies the TCP port for the code server (defaults to 9997) -server Specify a different embedded web server to run (must implement ServletContainerLauncher) -startupUrl Automatically launches the specified URL -war The directory into which deployable output files will be written (defaults to 'war') -extra The directory into which extra files, not intended for deployment, will be written -workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir) and module[s] Specifies the name(s) of the module(s) to host Can somebody take a minutes and spell this out for me? I would really appreciate it! You want to pass this option to the GWT compiler, not to Dev Mode. Under eclipse, click the Red Toolbox icon to bring up the compiler dialog, and then expand the Advanced section. Add -compileReport to the additional compiler arguments. -- Chris Conroy Software Engineer Google, Atlanta -- 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.
Pass a Java Object between to Opener Window
Hi, I am trying to pass a custom Java object to the another window to which I have a reference using $wnd.opener. When I call $wnd.opener.callback(); or $wnd.opener.callback('string'), it works, however, when I pass $wnd.opener.callback(@com.package.Class::staticField), the staticField is received as null by callback. Here's my code: Main Window: - public native void registerCallback() /*-{ $wnd.callback = $entry(@com.application.web.client.Tv::javaCallback(Lcom/application/ web/model/User;)); }-*/; public static void javaCallback( User registeredUser ) { Window.alert(Boolean.toString(registeredUser == null)); Window.alert(user.getFirstname()); } - Child Window: - Window.addWindowClosingHandler(new ClosingHandler() { @Override public native void onWindowClosing( ClosingEvent event ) / *-{ if($wnd.opener != null) { alert('sending request'); var obj = @com.application.web.authentication.OAuth::registeredUser; $wnd.opener.callback(obj); } }-*/; }); - Any help is appreciated. Thanks, -- 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: using buttons - attaching Command objects?
Thank you, I found the rest: subclassing Command. Magnus On Jun 16, 6:59 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: On Wed, Jun 16, 2010 at 6:47 PM, Magnus alpineblas...@googlemail.comwrote: Hi, is the following possible: 1) Having one ClickHandler for several Buttons. @UiHandler({deleteButton, deleteButton2}) void onDelete(ClickEvent e) { } i don't know the rest :( 2) Associating a Command object to each Button. 3) Knowing which Command object belongs to the clicked Button? I want something like this: Button btn_1 = new Button (B1); Button btn_2 = new Button (B2); Button btn_3 = new Button (B3); Command cmd_1 = new Command(1); Command cmd_2 = new Command(2); Command cmd_3 = new Command(3); ... // in ClickHandler: public void onClick (ClickEvent e) { Command c = getCommandForButtonFromClickEvent(e); } Thanks Magnus -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. cheers JZ -- 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: GWT and CSS
Hi Sven, I think that's an issue for me. When I use addStyleName with padding/ margin, it has no effect. I guess it's overwritten. However, copying the standard.css sounds not nice to me. Isn't there another (programmatical) solution? Magnus On Jun 16, 1:35 pm, Sven sven.ti...@googlemail.com wrote: Hi Magnus, So what is the way one should use CSS? Is it possible to inherit a style into another style, e. g. my-button inherits gwt-Button, so that I just add my adjustments? just try to use addStyleName() instead of setStylePrimaryName(). By this you preserve the default standard.css styling of your elements and you can add additional formatting. More specific, the button would still have the class gwt-Button followed by your specific class which you can add to any CSS file linked in the main page. However, as GWT adds its standard.css as last css file you may still experience strage overruling of your styles (using Firebug helps to understand what is overruled by what). If that standard.css overruling is an issue for you, my blog post GWT's standard.css killed my page layout may help you: http://ililiililililii.blog.de/2010/05/12/gwt-s-standard-css-killed-m... Sven -- 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: parsing library for the client side
Hi Laurent, You actually have an interesting idea, something I have been thinking about for a different context for sometime. I haven't used ANTLR before, I prefer JAVACC. When I analysed javacc generated code, most of it was plain java that GWT could easily convert to Javascript. The only classes that needed modifications were the ones that read from the File/InputSteam. In the case of javacc, they were just 2 java classes that are standard across all javacc projects. So, it should be possible to replace those classes with a client specific class that reads from textarea. I suspect when you analyse the antlr generated code, it will follow the same pattern. So, it should be possible to parse your language on the client side without having to make network calls. If latency/user-responsiveness is an issue, its definitely a good thing to do. --Sri On 16 June 2010 21:54, Stefan Bachert stefanbach...@yahoo.de wrote: Hi Laurent, I did not use antlr, yet. However, antlr generates java code and as far it generates ALL, the GWT compiler probably translates generated javacode to javascript. I would just give them a try. Stefan Bachert http://gwtworld.de On Jun 16, 3:02 pm, Laurent PETIT laurent.pe...@gmail.com wrote: Hello, I must create a rich editor. We have a custom language, and our customers will be able to edit sentences of this language in their browser. Now, on the server side, we already have antlr stuff to parse the language. I'm contemplating whether I should try to reuse to the maximum the existing stuff, at the (probable) cost of more client/server communications to benefit from the parser's functionality (hopefully the client side editor will be structured) ; or whether I should rewrite a parser (by hand or with the help of a third party library which could run on GWT client code) for my client side ... Any comments / suggestions ? Thanks in advance, -- Laurent -- 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.comgoogle-web-toolkit%2bunsubscr...@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: GWT and CSS
Be sure to check your html-element in some inspecting tool: Development Tools in Chrome, Firebug in FF. You might find out that your style-rule (color: red;) gets applied but then gets overridden. (Meaning the element actually bears the class-name you added to it.) In that case you would see the rule listed but struckthrough: color: red;. If that is the case, you might still fix it without redefining standard.css. You can raise importance of your style-rule by addind !important: color: red !important; or by writing more complex selector. Rules defined with selector table tr td have greater weight than those written with td. On Wed, Jun 16, 2010 at 8:54 PM, Magnus alpineblas...@googlemail.comwrote: Hi Sven, I think that's an issue for me. When I use addStyleName with padding/ margin, it has no effect. I guess it's overwritten. However, copying the standard.css sounds not nice to me. Isn't there another (programmatical) solution? Magnus On Jun 16, 1:35 pm, Sven sven.ti...@googlemail.com wrote: Hi Magnus, So what is the way one should use CSS? Is it possible to inherit a style into another style, e. g. my-button inherits gwt-Button, so that I just add my adjustments? just try to use addStyleName() instead of setStylePrimaryName(). By this you preserve the default standard.css styling of your elements and you can add additional formatting. More specific, the button would still have the class gwt-Button followed by your specific class which you can add to any CSS file linked in the main page. However, as GWT adds its standard.css as last css file you may still experience strage overruling of your styles (using Firebug helps to understand what is overruled by what). If that standard.css overruling is an issue for you, my blog post GWT's standard.css killed my page layout may help you: http://ililiililililii.blog.de/2010/05/12/gwt-s-standard-css-killed-m... Sven -- 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.comgoogle-web-toolkit%2bunsubscr...@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: net.sf.gilead.pojo.java5.LightEntity - inherit a required module
I found the same problem upgrading from gilead 1.2 to 1.3 (to solve the Unknown entity: null bug). I solve it replacing the import: import net.sf.gilead.pojo.java5.LightEntity; with: import net.sf.gilead.pojo.java5.legacy.LightEntity; -- 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: GWT and CSS
Magnus, standard.css is added after your style sheets are loaded. Unless your style definitions are more selective that the definitions in standard.css, the definitions in standard.css take precedence. There are to possible solutions - make your selectors more precise(googleon css priority for detailed descriptions, much better that I could do here) - mark your style definition as !important, for example, that's how I override the settings for .gwt-button .authenticate-button { background: white none !important ; margin:2px !important; } Danny On Jun 16, 8:54 pm, Magnus alpineblas...@googlemail.com wrote: Hi Sven, I think that's an issue for me. When I use addStyleName with padding/ margin, it has no effect. I guess it's overwritten. However, copying the standard.css sounds not nice to me. Isn't there another (programmatical) solution? Magnus On Jun 16, 1:35 pm, Sven sven.ti...@googlemail.com wrote: Hi Magnus, So what is the way one should use CSS? Is it possible to inherit a style into another style, e. g. my-button inherits gwt-Button, so that I just add my adjustments? just try to use addStyleName() instead of setStylePrimaryName(). By this you preserve the default standard.css styling of your elements and you can add additional formatting. More specific, the button would still have the class gwt-Button followed by your specific class which you can add to any CSS file linked in the main page. However, as GWT adds its standard.css as last css file you may still experience strage overruling of your styles (using Firebug helps to understand what is overruled by what). If that standard.css overruling is an issue for you, my blog post GWT's standard.css killed my page layout may help you: http://ililiililililii.blog.de/2010/05/12/gwt-s-standard-css-killed-m... Sven -- 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-RPC via JSONP?
Hi, would it be possible to somehow wrap a GWT-RPC in a JSONP call? I mean, at the end of the day, GWT-RPC also just sends a string in an HTTP POST message (along with some headers), so theoretically it should be possible to use that String as a JSON string, maybe alongside the headers to form a JSON object? But this little bit of wrapping should happen transparently (so that I can still use frameworks which rely on GWT-RPC). Is there an easy solution? A complex one? Thanks Chris -- 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: New book, ESSENTIAL GWT
Can you summarize what kind of new information this book gives in comparison with previous books ? On 16 juin, 17:32, FKereki fker...@gmail.com wrote: Hi! I'm quite proud to be able to announce I wrote a book for Addison- Wesley, called ESSENTIAL GWT. The book is available online athttp://my.safaribooksonline.com/9780321705631 and also (for preorders) in Amazon.com athttp://www.amazon.com/Federico-Kereki/e/B003NE73LE or Barnes and Noble athttp://search.barnesandnoble.com/Essential-GWT/Federico-Kereki/e/9780... Thanks! -- 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: New book, ESSENTIAL GWT
Can you give another advise about app engine + gwt? Thanks. 2010/6/16 Frederic Conrotte frederic.conro...@gmail.com Can you summarize what kind of new information this book gives in comparison with previous books ? On 16 juin, 17:32, FKereki fker...@gmail.com wrote: Hi! I'm quite proud to be able to announce I wrote a book for Addison- Wesley, called ESSENTIAL GWT. The book is available online athttp:// my.safaribooksonline.com/9780321705631 and also (for preorders) in Amazon.com athttp:// www.amazon.com/Federico-Kereki/e/B003NE73LE or Barnes and Noble athttp:// search.barnesandnoble.com/Essential-GWT/Federico-Kereki/e/9780... Thanks! -- 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.comgoogle-web-toolkit%2bunsubscr...@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: GWT-RPC via JSONP?
Okay, thinking about it, maybe this is a stupid idea. Since I can send only an URL (and not a POST body) with a JSONP call, I guess, the URL probably can't take very long strings... On Jun 16, 9:27 pm, Chris Lercher cl_for_mail...@gmx.net wrote: Hi, would it be possible to somehow wrap a GWT-RPC in a JSONP call? I mean, at the end of the day, GWT-RPC also just sends a string in an HTTP POST message (along with some headers), so theoretically it should be possible to use that String as a JSON string, maybe alongside the headers to form a JSON object? But this little bit of wrapping should happen transparently (so that I can still use frameworks which rely on GWT-RPC). Is there an easy solution? A complex one? Thanks Chris -- 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: GWT-RPC via JSONP?
No, it won't. 1. GWT RPC exclusively uses POST. JSONP uses a script tag, which is essentially a GET request. You can't make a POST request using a script tag. 2. RPC adds custom http headers to the request (X-GWT-Permutation, or something like that). You cannot setup custom http headers using a script tag, or anyother html tag. Because of these two, RPC cannot be wrapped in a JSONP call. The restrictions on the URL length are not that prohibitive. GWT supported browsers allow atleast 2KB, with the newer ones allowing more. That usually is sufficient for most RPC calls. --Sri On 17 June 2010 01:05, Chris Lercher cl_for_mail...@gmx.net wrote: Okay, thinking about it, maybe this is a stupid idea. Since I can send only an URL (and not a POST body) with a JSONP call, I guess, the URL probably can't take very long strings... On Jun 16, 9:27 pm, Chris Lercher cl_for_mail...@gmx.net wrote: Hi, would it be possible to somehow wrap a GWT-RPC in a JSONP call? I mean, at the end of the day, GWT-RPC also just sends a string in an HTTP POST message (along with some headers), so theoretically it should be possible to use that String as a JSON string, maybe alongside the headers to form a JSON object? But this little bit of wrapping should happen transparently (so that I can still use frameworks which rely on GWT-RPC). Is there an easy solution? A complex one? Thanks Chris -- 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.comgoogle-web-toolkit%2bunsubscr...@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: GWT-RPC via JSONP?
Hi Sri, I mean of course, that there would have to be a component (e.g. Servlet) on the server side, that re-translates the get request, and then calls the RemoteServlet (or something underlying), as if a usual GWT-RPC request had been issued. Se we would basically use JSONP as a tunnel. [The defense against CSRF would have to be done using a separate technique, but let's forget about that for a moment.] Chris On Jun 16, 9:42 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: No, it won't. 1. GWT RPC exclusively uses POST. JSONP uses a script tag, which is essentially a GET request. You can't make a POST request using a script tag. 2. RPC adds custom http headers to the request (X-GWT-Permutation, or something like that). You cannot setup custom http headers using a script tag, or anyother html tag. Because of these two, RPC cannot be wrapped in a JSONP call. The restrictions on the URL length are not that prohibitive. GWT supported browsers allow atleast 2KB, with the newer ones allowing more. That usually is sufficient for most RPC calls. --Sri -- 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: GWT-RPC via JSONP?
Just did some digging in, and I *think* it is possible with some restrictions. The restrictions being - - No support for request headers - Reduced error handling. For example, a 404 cannot be detected easily... The basic idea is to use DeRPC infrastructure because it already returns JSON.. and try to override the RequestBuilder class so that the communication channel is a script tag instead of a XHR. *Client Side changes* 1. Inject a custom RpcRequestBuilder via RemoteServiceProxy.setRequestBuilder(). Lets call it JSONPRpcRequestBuilder 2. In JSONPRpcRequestBuilder.doCreate(..) method, return a custom RequestBuilder. Lets call it JSONPRequestBuilder. 3. JSONPRequestBuilder class does all the heavy lifting. Override *all*public methods. The serialized RPC data is available to this class, so you just need to URL encode it and construct a url 4. Then just use built in JSONP classes to actually make the request 5. You'd have to write an adaptor between RequestCallback (from RequestBuilder) and AsyncCallbackT (from JsonpRequestBuilder). 6. Not sure how you'd typecast to the correct response object though. Perhaps you may have to leverage the deRpc infrastructure - since it already consumes JSON objects in its response. *Server side changes* This should be straighforward. The payload is present in a url parameter. Use RPC class to decode the request, invoke the method and get the data. Again, it would make sense to use deRpc as the starting point - since you need to return JSON. There may be unforeseen problems, but I think it is possible to get it working. And I guess there are advantages to it as well, you can truly share you GWT services and no longer worry about cross domain issues. --Sri On 17 June 2010 01:21, Chris Lercher cl_for_mail...@gmx.net wrote: Hi Sri, I mean of course, that there would have to be a component (e.g. Servlet) on the server side, that re-translates the get request, and then calls the RemoteServlet (or something underlying), as if a usual GWT-RPC request had been issued. Se we would basically use JSONP as a tunnel. [The defense against CSRF would have to be done using a separate technique, but let's forget about that for a moment.] Chris On Jun 16, 9:42 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: No, it won't. 1. GWT RPC exclusively uses POST. JSONP uses a script tag, which is essentially a GET request. You can't make a POST request using a script tag. 2. RPC adds custom http headers to the request (X-GWT-Permutation, or something like that). You cannot setup custom http headers using a script tag, or anyother html tag. Because of these two, RPC cannot be wrapped in a JSONP call. The restrictions on the URL length are not that prohibitive. GWT supported browsers allow atleast 2KB, with the newer ones allowing more. That usually is sufficient for most RPC calls. --Sri -- 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.comgoogle-web-toolkit%2bunsubscr...@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: New book, ESSENTIAL GWT
Frederic -- You can find summary information on Amazon: http://www.amazon.com/gp/product/product-description/0321705149 And you can read chapter 1 here: http://my.safaribooksonline.com/9780321705631 On Jun 16, 12:31 pm, Frederic Conrotte frederic.conro...@gmail.com wrote: Can you summarize what kind of new information this book gives in comparison with previous books ? On 16 juin, 17:32, FKereki fker...@gmail.com wrote: Hi! I'm quite proud to be able to announce I wrote a book for Addison- Wesley, called ESSENTIAL GWT. The book is available online athttp://my.safaribooksonline.com/9780321705631 and also (for preorders) in Amazon.com athttp://www.amazon.com/Federico-Kereki/e/B003NE73LE or Barnes and Noble athttp://search.barnesandnoble.com/Essential-GWT/Federico-Kereki/e/9780... Thanks! -- 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 Developer mode plugin for Safari does not work
Hello, The developer mode plugin for safari stopped working a while ago. I am using a Mac. The symptom is, that when I point my browser to the url given by devmode in eclipse, safari simply comes up with the please download devmode plugin. Doesn't matter how many times I reinstall the plugin, it won't be recognised by safari... :( Now my only option is to use Firefox, which is quiet slow... Any answer would be greatly appreciated! Thanks - - István Szoboszlai | inepex.com -- 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: GWT 2.03 add Ssl conector Embebed Jetty
Hi Stefan Yeah my GrandFather Born in Germany , But Now I Live in SouthAmerica Well about the connector Ssl, Finally i Just Decompiled and change the Source Of the class com.google.gwt.dev.shell.jetty.JettyLauncher Adding this lines of code SslSocketConnector sslConnector = new SslSocketConnector(); sslConnector.setPort(8443); sslConnector.setKeyPassword(changeit); server.setConnectors(new Connector[] { connector,sslConnector }); To the method @Override public ServletContainer start(TreeLogger logger, int port, File appRootDir) throws Exception { Regards, Sergio On Mon, Apr 5, 2010 at 8:56 AM, Stefan Bachert stefanbach...@yahoo.dewrote: Hi Sergio, von Knorring sounds very german? I find your use case interesting. I never started Jetty embedded, However, I guess the classes should be the same. In my standalong jetty instance with ssl, I used SslSelectedChannelConnector (Jetty 6). Maybe you should just put the content of jetty-ssl to your jetty.xml. (I am crying when I see absolute pathes in code) After somewhat thinging I come to the conclusion (not tested), that SSO muss apply at startup of the GWT App, because it depends on redirect URLs which only happens on startup in Ajax-Apps. That mean, the host page is no more static! You must add an own servlet which controls the load of the host page. * call without validation key - redirect to sso login page * call with validation key, check and when validation is valid, deliver the host page. However, ANY call (GWT-RPC, RequestBuilder) needs to get passed the validation key, too. Each time a call comes in, you need to check it (At least you have to check, that your session has been validated) That might mean a code change in GWT. When your company were located in germany I would offer your company some consulting on that. Maybe my thoughts help somewhat. Stefan Bachert On Apr 4, 1:39 am, sergio vonknorring svonknorr...@gmail.com wrote: Hi Stefan In My company we must integrate our GWT projects to a king of single sign on (legacy system) to get session data of logged user and atributes to do stuffs on the web site, that Legacy system had 2 restrictions 1. The Client Systems have to be part of the domain of the company 2. The Http protocolo of the Client Systems must be over SSL Example :https://legacySSO.comapnydomain.com/soo/login.cgi?https:// someapplication.comapnydomain.com/appctx/index.html If i don't got that is not posible integrate with the Sso I Try to load my Own Jetty configuration with My Own Java class to start Jetty Over Ssl with success but with this configurations the server it's not loading my war/WEB-INF/web.xml or war/WEB-INF/jetty-web.xml correctly (some servlets are´nt loaded) That is the java class wath i'm using package com.mortbay.jetty.arq.server; import java.io.BufferedReader; import java.io.File; import java.io.InputStreamReader; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import org.mortbay.jetty.Connector; import org.mortbay.jetty.Server; import org.mortbay.jetty.bio.SocketConnector; import org.mortbay.jetty.security.SslSocketConnector; import org.mortbay.jetty.webapp.WebAppContext; import org.mortbay.xml.XmlConfiguration; import cl.sii.sdi.arq.gwt2poc.web.server.FacadeImpl; public class StartJettyHostedServer { private static Server server; public static void main(String[] args) throws Exception { server = new Server(); SocketConnector connector = new SocketConnector(); SslSocketConnector sslConnector = new SslSocketConnector(); connector.setPort(); sslConnector.setPort(8443); sslConnector.setKeyPassword(changeit); server.setConnectors(new Connector[] { connector,sslConnector }); WebAppContext context = new WebAppContext(); context.setServer(server); context.setContextPath(/Gwt2pocWeb); context.setWar(./war); //context.setDefaultsDescriptor(./war/WEB-INF/web.xml); context.setDescriptor(./war/WEB-INF/web.xml); context.addServlet(FacadeImpl.class, /facade); server.addHandler(context); XmlConfiguration configuration = new XmlConfiguration(new File(J:/gwt/jetty/jetty.xml).toURL()); //or use new XmlConfiguration(new FileInputStream(myJetty.xml)); configuration.configure(server); Thread monitor = new MonitorThread(); monitor.start(); server.start(); server.join(); } private static class MonitorThread extends Thread { private ServerSocket socket; public MonitorThread() { setDaemon(true); setName(StopMonitor); try { socket = new ServerSocket(8079, 1, InetAddress.getByName(127.0.0.1)); } catch(Exception e) {
UiBinder Code spliting
Hi all, I'm trying to adopt the UiBinder approach but it appears to me that it is interfering with code spliting. The only post I could find about this is this one: http://groups.google.com/group/google-web-toolkit/browse_frm/thread/cd3de21e9ea3ebcf/29cc98e4cb33d6dd?lnk=gstq=runAsync+uibinder#29cc98e4cb33d6dd Is it possible to use both techniques in one project? If so, any hint? Regards, Freller -- 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: GWT-RPC via JSONP?
That was fast - awesome post. It sounds feasible, and I'm considering to use it. Still wondering, if it would be significantly slower than plain GWT-RPC? The sending limit of 2kB Client-Server will be enough for at least most of my queries - I must still evaluate, if it's enough for absolutely all of them (or if I can split the others easily). One thing I must definitely make sure first, if this can be used together with all important frameworks I plan to use in the future (will e.g. gwt-log)... Thanks a lot for your answer! Chris On Jun 16, 10:53 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: Just did some digging in, and I *think* it is possible with some restrictions. The restrictions being - - No support for request headers - Reduced error handling. For example, a 404 cannot be detected easily... The basic idea is to use DeRPC infrastructure because it already returns JSON.. and try to override the RequestBuilder class so that the communication channel is a script tag instead of a XHR. *Client Side changes* 1. Inject a custom RpcRequestBuilder via RemoteServiceProxy.setRequestBuilder(). Lets call it JSONPRpcRequestBuilder 2. In JSONPRpcRequestBuilder.doCreate(..) method, return a custom RequestBuilder. Lets call it JSONPRequestBuilder. 3. JSONPRequestBuilder class does all the heavy lifting. Override *all*public methods. The serialized RPC data is available to this class, so you just need to URL encode it and construct a url 4. Then just use built in JSONP classes to actually make the request 5. You'd have to write an adaptor between RequestCallback (from RequestBuilder) and AsyncCallbackT (from JsonpRequestBuilder). 6. Not sure how you'd typecast to the correct response object though. Perhaps you may have to leverage the deRpc infrastructure - since it already consumes JSON objects in its response. *Server side changes* This should be straighforward. The payload is present in a url parameter. Use RPC class to decode the request, invoke the method and get the data. Again, it would make sense to use deRpc as the starting point - since you need to return JSON. There may be unforeseen problems, but I think it is possible to get it working. And I guess there are advantages to it as well, you can truly share you GWT services and no longer worry about cross domain issues. --Sri On 17 June 2010 01:21, Chris Lercher cl_for_mail...@gmx.net wrote: Hi Sri, I mean of course, that there would have to be a component (e.g. Servlet) on the server side, that re-translates the get request, and then calls the RemoteServlet (or something underlying), as if a usual GWT-RPC request had been issued. Se we would basically use JSONP as a tunnel. [The defense against CSRF would have to be done using a separate technique, but let's forget about that for a moment.] Chris On Jun 16, 9:42 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: No, it won't. 1. GWT RPC exclusively uses POST. JSONP uses a script tag, which is essentially a GET request. You can't make a POST request using a script tag. 2. RPC adds custom http headers to the request (X-GWT-Permutation, or something like that). You cannot setup custom http headers using a script tag, or anyother html tag. Because of these two, RPC cannot be wrapped in a JSONP call. The restrictions on the URL length are not that prohibitive. GWT supported browsers allow atleast 2KB, with the newer ones allowing more. That usually is sufficient for most RPC calls. --Sri -- 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.comgoogle-web-toolkit%2Bunsubs cr...@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: UiBinder Code spliting
I'm currently only reading through, but it might be also of your interest: http://code.google.com/webtoolkit/articles/mvp-architecture-2.htmlhttp://code.google.com/webtoolkit/articles/mvp-architecture-2.html#code_splitting On Thu, Jun 17, 2010 at 12:06 AM, Andre Freller an...@freller.com.brwrote: Hi all, I'm trying to adopt the UiBinder approach but it appears to me that it is interfering with code spliting. The only post I could find about this is this one: http://groups.google.com/group/google-web-toolkit/browse_frm/thread/cd3de21e9ea3ebcf/29cc98e4cb33d6dd?lnk=gstq=runAsync+uibinder#29cc98e4cb33d6dd Is it possible to use both techniques in one project? If so, any hint? Regards, Freller -- 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.comgoogle-web-toolkit%2bunsubscr...@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: History and server call.
Hey Tristan. I am somewhat familiar with MVP frameworks as I've worked on projects using MVP in IT but I've never dealt with place services/ managers, local caches or event buses. Caches and event buses I can at least imagine them cuz those words say a lot in themselves, but I have no idea what place services/managers are and I did a couple quick google searches for mvp place services, mvp place managers, mvp activity mangers and didn't find any useful guides. Is the GWT MVP guide sufficient to look into these things? Do you have any recommendations of some online info so I can learn more? Thanks ^_^ On Jun 16, 10:18 am, Ravi Sharma ping2r...@gmail.com wrote: Event bus looks to be promising and can solve this problem. Will try it and see how much it can help. But first need to use MVP in my project Thanks Ravi. On Jun 16, 2:23 am, fmod francisco.mode...@gdsoft.eu wrote: Using the event bus may help there.http://code.google.com/events/io/2009/sessions/GoogleWebToolkitBestPr... and the two articleshttp://code.google.com/webtoolkit/articles/mvp-architecture.html On Jun 15, 9:14 am, ping2ravi ping2r...@gmail.com wrote: Hi Guys, I have just implemented a multipage(basically multi url) website using History. It works great using history token. But i need something else from GWT which i am not able to solve. Now when user clicks on something(link/button etc) i add the token to History and my history callbacks get called. Now in history value change handler i do something like this 1) FInd out what page need to be dispalyed(basically identify the panels etc). 2) now each of my panel which can have history implementing hasHistory(my own) interface, which has function recoverPanelFromHistory. 3) In this function, i check if i have client side data cahced for this panel, if yes then load it into panel and display it(basically add to main panel widget tree). 4) But if no cache data found then go to server and get data. one such implementation @Override public boolean recoverPanelFromHistory(MapString, String historyTokens) { String page = historyTokens.get(PAGE_PARAM); boolean returnValue = false; if(home.equalsIgnoreCase(page)) { returnValue = userHomePanel.recoverPanelFromHistory(historyTokens); //and this function will calls its child panels if they support history if(returnValue ) { mainContentPanel.clear(); //clearing the mainPanel view of client mainContentPanel.add(userHomePanel); //and adding the view according to history token value } else { //dont change the browser view and stay at current panel/view/page. This also means child panel can not be recovered and there must be some problem with history tokens provided. } } if(profile.equalsIgnoreCase(page)) { returnValue = prodilePanel.recoverPanelFromHistory(historyTokens); //and this function will calls its child panels if they support history if(returnValue ) { mainContentPanel.clear(); //clearing the mainPanel view of client mainContentPanel.add(profilePanel); //and adding the view according to history token value } else { //dont change the browser view and stay at current panel/view/page. This also means child panel can not be recovered and there must be some problem with history tokens provided. } } return returnValue; } So till now theoretically it sounds good and works good. Problem starts when lets say user lost his Internet connection or call fail at server because of any system level error.. userHomePanel.recoverPanelFromHistory(historyTokens); This function does following things. 1) get the data from cache for this panel 2) if found call loadDataIntoPanel(data) function and load it into panel and return true. 3) else call the server to get data. Now server call is async and I need to return some value from userHomePanel.recoverPanelFromHistory(historyTokens);, so if i return true and call fails at server because of some network problem then ideally i dont want to switch to new view as per this history action but my function has already returned true and mainPanle has already changed the view to new panel. Now i
Re: GWT and CSS
!important doesn't work to override font-family style. GWT's standard.css has font-family defined for body, table td, select, so I just wrote my own definition in my .css file for those same elements and used my own fonts. That was the only way to gain control again. Before I did that, the only way to make text have the font-family I desired was to specify font-family directly in the element (div) that directly contained the text. It wouldn't work if I set font-family for a div that contained multiple other divs that each contained text. Not even if I used !important. That frustrated me sooo much! On Jun 16, 2:16 pm, Danny Goovaerts danny.goovae...@gmail.com wrote: Magnus, standard.css is added after your style sheets are loaded. Unless your style definitions are more selective that the definitions in standard.css, the definitions in standard.css take precedence. There are to possible solutions - make your selectors more precise(googleon css priority for detailed descriptions, much better that I could do here) - mark your style definition as !important, for example, that's how I override the settings for .gwt-button .authenticate-button { background: white none !important ; margin:2px !important; } Danny On Jun 16, 8:54 pm, Magnus alpineblas...@googlemail.com wrote: Hi Sven, I think that's an issue for me. When I use addStyleName with padding/ margin, it has no effect. I guess it's overwritten. However, copying the standard.css sounds not nice to me. Isn't there another (programmatical) solution? Magnus On Jun 16, 1:35 pm, Sven sven.ti...@googlemail.com wrote: Hi Magnus, So what is the way one should use CSS? Is it possible to inherit a style into another style, e. g. my-button inherits gwt-Button, so that I just add my adjustments? just try to use addStyleName() instead of setStylePrimaryName(). By this you preserve the default standard.css styling of your elements and you can add additional formatting. More specific, the button would still have the class gwt-Button followed by your specific class which you can add to any CSS file linked in the main page. However, as GWT adds its standard.css as last css file you may still experience strage overruling of your styles (using Firebug helps to understand what is overruled by what). If that standard.css overruling is an issue for you, my blog post GWT's standard.css killed my page layout may help you: http://ililiililililii.blog.de/2010/05/12/gwt-s-standard-css-killed-m... Sven -- 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: parsing library for the client side
Man, that just sounds kickass! Infinitely better than writing your parser code twice in two different languages and any time you fix a bug or add functionality needing to do it twice. Man, if that works that smoothly you guys will be sooo happy! Isn't that just exciting! woot :) On Jun 16, 2:06 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: Hi Laurent, You actually have an interesting idea, something I have been thinking about for a different context for sometime. I haven't used ANTLR before, I prefer JAVACC. When I analysed javacc generated code, most of it was plain java that GWT could easily convert to Javascript. The only classes that needed modifications were the ones that read from the File/InputSteam. In the case of javacc, they were just 2 java classes that are standard across all javacc projects. So, it should be possible to replace those classes with a client specific class that reads from textarea. I suspect when you analyse the antlr generated code, it will follow the same pattern. So, it should be possible to parse your language on the client side without having to make network calls. If latency/user-responsiveness is an issue, its definitely a good thing to do. --Sri On 16 June 2010 21:54, Stefan Bachert stefanbach...@yahoo.de wrote: Hi Laurent, I did not use antlr, yet. However, antlr generates java code and as far it generates ALL, the GWT compiler probably translates generated javacode to javascript. I would just give them a try. Stefan Bachert http://gwtworld.de On Jun 16, 3:02 pm, Laurent PETIT laurent.pe...@gmail.com wrote: Hello, I must create a rich editor. We have a custom language, and our customers will be able to edit sentences of this language in their browser. Now, on the server side, we already have antlr stuff to parse the language. I'm contemplating whether I should try to reuse to the maximum the existing stuff, at the (probable) cost of more client/server communications to benefit from the parser's functionality (hopefully the client side editor will be structured) ; or whether I should rewrite a parser (by hand or with the help of a third party library which could run on GWT client code) for my client side ... Any comments / suggestions ? Thanks in advance, -- Laurent -- 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.comgoogle-web-toolkit%2Bunsubs cr...@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: Pass a Java Object between to Opener Window
I'm not really sure... but you could try passing the static field directly into the native method onWindowClosing and then pass it into the callback method... Sorry I can't help more than that... :( On Jun 16, 12:21 pm, keyvez key...@gmail.com wrote: Hi, I am trying to pass a custom Java object to the another window to which I have a reference using $wnd.opener. When I call $wnd.opener.callback(); or $wnd.opener.callback('string'), it works, however, when I pass $wnd.opener.callback(@com.package.Class::staticField), the staticField is received as null by callback. Here's my code: Main Window: - public native void registerCallback() /*-{ $wnd.callback = $entry(@com.application.web.client.Tv::javaCallback(Lcom/application/ web/model/User;)); }-*/; public static void javaCallback( User registeredUser ) { Window.alert(Boolean.toString(registeredUser == null)); Window.alert(user.getFirstname()); } - Child Window: - Window.addWindowClosingHandler(new ClosingHandler() { @Override public native void onWindowClosing( ClosingEvent event ) / *-{ if($wnd.opener != null) { alert('sending request'); var obj = @com.application.web.authentication.OAuth::registeredUser; $wnd.opener.callback(obj); } }-*/; }); - Any help is appreciated. Thanks, -- 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: GWT-RPC via JSONP?
I think a quick PoC should answer your questions, but here is what I think - Still wondering, if it would be significantly slower than plain GWT-RPC? No reason for it to be slower than regular RPC. Thinking about it, you should be able to use the regular RPC payload wrapped in a JSONP style method call. This should make it work as good as regular RPC. I don't see any other overheads. One thing I must definitely make sure first, if this can be used together with all important frameworks I plan to use in the future (will e.g. gwt-log)... You will have to confirm it, but it should work. You are not changing the interface for RPC, so I see no reason for other frameworks to stop working. --Sri On 17 June 2010 03:49, Chris Lercher cl_for_mail...@gmx.net wrote: That was fast - awesome post. It sounds feasible, and I'm considering to use it. Still wondering, if it would be significantly slower than plain GWT-RPC? The sending limit of 2kB Client-Server will be enough for at least most of my queries - I must still evaluate, if it's enough for absolutely all of them (or if I can split the others easily). One thing I must definitely make sure first, if this can be used together with all important frameworks I plan to use in the future (will e.g. gwt-log)... Thanks a lot for your answer! Chris On Jun 16, 10:53 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: Just did some digging in, and I *think* it is possible with some restrictions. The restrictions being - - No support for request headers - Reduced error handling. For example, a 404 cannot be detected easily... The basic idea is to use DeRPC infrastructure because it already returns JSON.. and try to override the RequestBuilder class so that the communication channel is a script tag instead of a XHR. *Client Side changes* 1. Inject a custom RpcRequestBuilder via RemoteServiceProxy.setRequestBuilder(). Lets call it JSONPRpcRequestBuilder 2. In JSONPRpcRequestBuilder.doCreate(..) method, return a custom RequestBuilder. Lets call it JSONPRequestBuilder. 3. JSONPRequestBuilder class does all the heavy lifting. Override *all*public methods. The serialized RPC data is available to this class, so you just need to URL encode it and construct a url 4. Then just use built in JSONP classes to actually make the request 5. You'd have to write an adaptor between RequestCallback (from RequestBuilder) and AsyncCallbackT (from JsonpRequestBuilder). 6. Not sure how you'd typecast to the correct response object though. Perhaps you may have to leverage the deRpc infrastructure - since it already consumes JSON objects in its response. *Server side changes* This should be straighforward. The payload is present in a url parameter. Use RPC class to decode the request, invoke the method and get the data. Again, it would make sense to use deRpc as the starting point - since you need to return JSON. There may be unforeseen problems, but I think it is possible to get it working. And I guess there are advantages to it as well, you can truly share you GWT services and no longer worry about cross domain issues. --Sri On 17 June 2010 01:21, Chris Lercher cl_for_mail...@gmx.net wrote: Hi Sri, I mean of course, that there would have to be a component (e.g. Servlet) on the server side, that re-translates the get request, and then calls the RemoteServlet (or something underlying), as if a usual GWT-RPC request had been issued. Se we would basically use JSONP as a tunnel. [The defense against CSRF would have to be done using a separate technique, but let's forget about that for a moment.] Chris On Jun 16, 9:42 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: No, it won't. 1. GWT RPC exclusively uses POST. JSONP uses a script tag, which is essentially a GET request. You can't make a POST request using a script tag. 2. RPC adds custom http headers to the request (X-GWT-Permutation, or something like that). You cannot setup custom http headers using a script tag, or anyother html tag. Because of these two, RPC cannot be wrapped in a JSONP call. The restrictions on the URL length are not that prohibitive. GWT supported browsers allow atleast 2KB, with the newer ones allowing more. That usually is sufficient for most RPC calls. --Sri -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at
GWT or SmartGWT and Oracle - Stored procedures
Hello, I am new to GWT at all. My approach is to have an editable grid on the client side and one or more tables on the database side (Oracle in my case). Could someone post really working project with all files which supports all 4 standard operations (select, insert, update, delete)? In my case I want to do all these operations using stored procedures to avoid SQL injection attacks. Any external link or pure sample will help. I was not able to find any complete project which is I think best to learn it as complex logic. Thank you very much. Kensai -- 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-gdata with contacts photo sample
has anyone figured out the magic to use th gwt-data emulation libs or any gwt code of any sort to grab contact photos from the m8 feed? would love to have a look Jim -- 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.
Sessions and GWT
Hi, I need to re-implement the classic login page. And I'm a bit lost with all the alternatives. The communication with the server is with RPC. Until now the flow I was using was: - User enters login and pass [client sends them in plain text to the server] - Server validates and generate a session id (String generated with UUID) [server replies that]. - On every request the client sends session id. (all the functions in the rpc have sessionId) - The server was keeping track of this session id and after 30 mins without being used it removed it as valid session. This was working quite well, but it was a bit annoying to have this sessionId all the time. Reading some posts, seems that is a bad idea sending the session id all the time (at least as I understood). That I can rely on the 'classical session' mechanism. So somehow the server remembers the client after he logs in the first time. Here is my dilemma. This 'classical session' carried by the server seems to disagree with the 'new Ajax-era' where the server carries no status of the client. I think I'm totally messing concepts here. What is the correct way of doing it? Is there some good explaining how to do it, maybe an example will be great. Thank you in advance. -- 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-contrib] Re: Fix for issue 516 (issue612802)
Can you make sure that contrib is cc'd in the issue settings? http://gwt-code-reviews.appspot.com/612802/diff/1/2 File user/src/com/google/gwt/user/client/ui/Panel.java (right): http://gwt-code-reviews.appspot.com/612802/diff/1/2#newcode231 user/src/com/google/gwt/user/client/ui/Panel.java:231: private static native void eraseDom(Element element) /*-{ There is really no need for this method, and also no need for it to be native. Why not just call this.getElement().setInnerHTML() at the only call site? http://gwt-code-reviews.appspot.com/612802/diff/1/3 File user/test/com/google/gwt/user/client/ui/RootPanelTest.java (right): http://gwt-code-reviews.appspot.com/612802/diff/1/3#newcode33 user/test/com/google/gwt/user/client/ui/RootPanelTest.java:33: public void testClear() { These two new tests should be in PanelTestBase. Can you also try making this test extend that one? It's odd that it doesn't. I imagine there's a good reason but it might be an oversight. If it doesn't work, could you explain so and why in the RootPanelTest class doc? If there are one or two problem tests, they could be overridden to be no-ops. http://gwt-code-reviews.appspot.com/612802/diff/1/3#newcode51 user/test/com/google/gwt/user/client/ui/RootPanelTest.java:51: public void testClearWithDomErasure() { I'm very surprised that this doesn't destroy all downstream tests. Have you run the full suite? http://gwt-code-reviews.appspot.com/612802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix for issue 516 (issue612802)
http://gwt-code-reviews.appspot.com/612802/diff/1/2 File user/src/com/google/gwt/user/client/ui/Panel.java (right): http://gwt-code-reviews.appspot.com/612802/diff/1/2#newcode231 user/src/com/google/gwt/user/client/ui/Panel.java:231: private static native void eraseDom(Element element) /*-{ I just didn't notice it is already available. On 2010/06/16 16:37:47, Ray Ryan wrote: There is really no need for this method, and also no need for it to be native. Why not just call this.getElement().setInnerHTML() at the only call site? http://gwt-code-reviews.appspot.com/612802/diff/1/3 File user/test/com/google/gwt/user/client/ui/RootPanelTest.java (right): http://gwt-code-reviews.appspot.com/612802/diff/1/3#newcode33 user/test/com/google/gwt/user/client/ui/RootPanelTest.java:33: public void testClear() { Sure, will do that. On 2010/06/16 16:37:47, Ray Ryan wrote: These two new tests should be in PanelTestBase. Can you also try making this test extend that one? It's odd that it doesn't. I imagine there's a good reason but it might be an oversight. If it doesn't work, could you explain so and why in the RootPanelTest class doc? If there are one or two problem tests, they could be overridden to be no-ops. http://gwt-code-reviews.appspot.com/612802/diff/1/3#newcode51 user/test/com/google/gwt/user/client/ui/RootPanelTest.java:51: public void testClearWithDomErasure() { I've run test.dev.htmlunit as well as test.web.htmlunit and the tests passed. Why do you think this would destroy the tests? On 2010/06/16 16:37:47, Ray Ryan wrote: I'm very surprised that this doesn't destroy all downstream tests. Have you run the full suite? http://gwt-code-reviews.appspot.com/612802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Fix for issue 516 (issue612802)
http://gwt-code-reviews.appspot.com/612802/diff/1/3 File user/test/com/google/gwt/user/client/ui/RootPanelTest.java (right): http://gwt-code-reviews.appspot.com/612802/diff/1/3#newcode51 user/test/com/google/gwt/user/client/ui/RootPanelTest.java:51: public void testClearWithDomErasure() { I misread it. I didn't notice that you were making a new root panel, not using the default one. http://gwt-code-reviews.appspot.com/612802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Added a warning to the javadoc of each src file and to package.html in the app, requestfactory, ... (issue625801)
Reviewers: Ray Ryan, Description: Added a warning to the javadoc of each src file and to package.html in the app, requestfactory, and valuestore modules. Review by: rj...@google.com Please review this at http://gwt-code-reviews.appspot.com/625801/show Affected files: M bikeshed/src/com/google/gwt/app/client/CellListPlacePickerView.java M bikeshed/src/com/google/gwt/app/client/EditorSupport.java M bikeshed/src/com/google/gwt/app/client/NotificationMole.java M bikeshed/src/com/google/gwt/app/client/package.html M bikeshed/src/com/google/gwt/app/package.html M bikeshed/src/com/google/gwt/app/place/AbstractActivity.java M bikeshed/src/com/google/gwt/app/place/AbstractRecordEditActivity.java M bikeshed/src/com/google/gwt/app/place/AbstractRecordListActivity.java M bikeshed/src/com/google/gwt/app/place/Activity.java M bikeshed/src/com/google/gwt/app/place/ActivityManager.java M bikeshed/src/com/google/gwt/app/place/ActivityMapper.java M bikeshed/src/com/google/gwt/app/place/Place.java M bikeshed/src/com/google/gwt/app/place/PlaceChangeEvent.java M bikeshed/src/com/google/gwt/app/place/PlaceChangeRequestedEvent.java M bikeshed/src/com/google/gwt/app/place/PlaceController.java M bikeshed/src/com/google/gwt/app/place/PlacePicker.java M bikeshed/src/com/google/gwt/app/place/PlacePickerView.java M bikeshed/src/com/google/gwt/app/place/package.html M bikeshed/src/com/google/gwt/app/rebind/EditorSupportGenerator.java M bikeshed/src/com/google/gwt/app/rebind/package.html M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractDoubleRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractIntegerRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractJsonListRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractJsonObjectRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractLongRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/ClientRequestHelper.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/RequestFactoryJsonImpl.java M bikeshed/src/com/google/gwt/requestfactory/rebind/RequestFactoryGenerator.java M bikeshed/src/com/google/gwt/requestfactory/server/RequestFactoryServlet.java M bikeshed/src/com/google/gwt/requestfactory/server/SampleDataPopulator.java M bikeshed/src/com/google/gwt/requestfactory/server/package.html M bikeshed/src/com/google/gwt/requestfactory/shared/Id.java M bikeshed/src/com/google/gwt/requestfactory/shared/Receiver.java M bikeshed/src/com/google/gwt/requestfactory/shared/RecordListRequest.java M bikeshed/src/com/google/gwt/requestfactory/shared/RecordRequest.java M bikeshed/src/com/google/gwt/requestfactory/shared/RequestEvent.java M bikeshed/src/com/google/gwt/requestfactory/shared/RequestFactory.java M bikeshed/src/com/google/gwt/requestfactory/shared/ServerOperation.java M bikeshed/src/com/google/gwt/requestfactory/shared/ServerType.java M bikeshed/src/com/google/gwt/requestfactory/shared/SyncRequest.java M bikeshed/src/com/google/gwt/requestfactory/shared/Version.java M bikeshed/src/com/google/gwt/requestfactory/shared/impl/RequestDataManager.java M bikeshed/src/com/google/gwt/requestfactory/shared/package.html M bikeshed/src/com/google/gwt/valuestore/client/DeltaValueStoreJsonImpl.java M bikeshed/src/com/google/gwt/valuestore/client/RecordKey.java M bikeshed/src/com/google/gwt/valuestore/client/SyncResultImpl.java M bikeshed/src/com/google/gwt/valuestore/client/ValueStoreJsonImpl.java M bikeshed/src/com/google/gwt/valuestore/shared/DeltaValueStore.java M bikeshed/src/com/google/gwt/valuestore/shared/Property.java M bikeshed/src/com/google/gwt/valuestore/shared/PropertyReference.java M bikeshed/src/com/google/gwt/valuestore/shared/Record.java M bikeshed/src/com/google/gwt/valuestore/shared/RecordChangedEvent.java M bikeshed/src/com/google/gwt/valuestore/shared/SyncResult.java M bikeshed/src/com/google/gwt/valuestore/shared/Value.java M bikeshed/src/com/google/gwt/valuestore/shared/ValueStore.java M bikeshed/src/com/google/gwt/valuestore/shared/WriteOperation.java M bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordImpl.java M bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java M bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordSchema.java M bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordToTypeMap.java M bikeshed/src/com/google/gwt/valuestore/shared/package.html M bikeshed/src/com/google/gwt/valuestore/ui/AbstractRecordListView.java M bikeshed/src/com/google/gwt/valuestore/ui/PropertyColumn.java M bikeshed/src/com/google/gwt/valuestore/ui/PropertyView.java M bikeshed/src/com/google/gwt/valuestore/ui/RecordDetailsView.java M
[gwt-contrib] Re: Added a warning to the javadoc of each src file and to package.html in the app, requestfactory, ... (issue625801)
LGTM On Wed, Jun 16, 2010 at 10:57 AM, amitman...@google.com wrote: Reviewers: Ray Ryan, Description: Added a warning to the javadoc of each src file and to package.html in the app, requestfactory, and valuestore modules. Review by: rj...@google.com Please review this at http://gwt-code-reviews.appspot.com/625801/show Affected files: M bikeshed/src/com/google/gwt/app/client/CellListPlacePickerView.java M bikeshed/src/com/google/gwt/app/client/EditorSupport.java M bikeshed/src/com/google/gwt/app/client/NotificationMole.java M bikeshed/src/com/google/gwt/app/client/package.html M bikeshed/src/com/google/gwt/app/package.html M bikeshed/src/com/google/gwt/app/place/AbstractActivity.java M bikeshed/src/com/google/gwt/app/place/AbstractRecordEditActivity.java M bikeshed/src/com/google/gwt/app/place/AbstractRecordListActivity.java M bikeshed/src/com/google/gwt/app/place/Activity.java M bikeshed/src/com/google/gwt/app/place/ActivityManager.java M bikeshed/src/com/google/gwt/app/place/ActivityMapper.java M bikeshed/src/com/google/gwt/app/place/Place.java M bikeshed/src/com/google/gwt/app/place/PlaceChangeEvent.java M bikeshed/src/com/google/gwt/app/place/PlaceChangeRequestedEvent.java M bikeshed/src/com/google/gwt/app/place/PlaceController.java M bikeshed/src/com/google/gwt/app/place/PlacePicker.java M bikeshed/src/com/google/gwt/app/place/PlacePickerView.java M bikeshed/src/com/google/gwt/app/place/package.html M bikeshed/src/com/google/gwt/app/rebind/EditorSupportGenerator.java M bikeshed/src/com/google/gwt/app/rebind/package.html M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractDoubleRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractIntegerRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractJsonListRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractJsonObjectRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractLongRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractRequest.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/ClientRequestHelper.java M bikeshed/src/com/google/gwt/requestfactory/client/impl/RequestFactoryJsonImpl.java M bikeshed/src/com/google/gwt/requestfactory/rebind/RequestFactoryGenerator.java M bikeshed/src/com/google/gwt/requestfactory/server/RequestFactoryServlet.java M bikeshed/src/com/google/gwt/requestfactory/server/SampleDataPopulator.java M bikeshed/src/com/google/gwt/requestfactory/server/package.html M bikeshed/src/com/google/gwt/requestfactory/shared/Id.java M bikeshed/src/com/google/gwt/requestfactory/shared/Receiver.java M bikeshed/src/com/google/gwt/requestfactory/shared/RecordListRequest.java M bikeshed/src/com/google/gwt/requestfactory/shared/RecordRequest.java M bikeshed/src/com/google/gwt/requestfactory/shared/RequestEvent.java M bikeshed/src/com/google/gwt/requestfactory/shared/RequestFactory.java M bikeshed/src/com/google/gwt/requestfactory/shared/ServerOperation.java M bikeshed/src/com/google/gwt/requestfactory/shared/ServerType.java M bikeshed/src/com/google/gwt/requestfactory/shared/SyncRequest.java M bikeshed/src/com/google/gwt/requestfactory/shared/Version.java M bikeshed/src/com/google/gwt/requestfactory/shared/impl/RequestDataManager.java M bikeshed/src/com/google/gwt/requestfactory/shared/package.html M bikeshed/src/com/google/gwt/valuestore/client/DeltaValueStoreJsonImpl.java M bikeshed/src/com/google/gwt/valuestore/client/RecordKey.java M bikeshed/src/com/google/gwt/valuestore/client/SyncResultImpl.java M bikeshed/src/com/google/gwt/valuestore/client/ValueStoreJsonImpl.java M bikeshed/src/com/google/gwt/valuestore/shared/DeltaValueStore.java M bikeshed/src/com/google/gwt/valuestore/shared/Property.java M bikeshed/src/com/google/gwt/valuestore/shared/PropertyReference.java M bikeshed/src/com/google/gwt/valuestore/shared/Record.java M bikeshed/src/com/google/gwt/valuestore/shared/RecordChangedEvent.java M bikeshed/src/com/google/gwt/valuestore/shared/SyncResult.java M bikeshed/src/com/google/gwt/valuestore/shared/Value.java M bikeshed/src/com/google/gwt/valuestore/shared/ValueStore.java M bikeshed/src/com/google/gwt/valuestore/shared/WriteOperation.java M bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordImpl.java M bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java M bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordSchema.java M bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordToTypeMap.java M bikeshed/src/com/google/gwt/valuestore/shared/package.html M bikeshed/src/com/google/gwt/valuestore/ui/AbstractRecordListView.java M bikeshed/src/com/google/gwt/valuestore/ui/PropertyColumn.java M bikeshed/src/com/google/gwt/valuestore/ui/PropertyView.java M bikeshed/src/com/google/gwt/valuestore/ui/RecordDetailsView.java
[gwt-contrib] [google-web-toolkit] r8263 committed - Added a warning to the javadoc of each src file and to package.html in...
Revision: 8263 Author: amitman...@google.com Date: Wed Jun 16 08:14:54 2010 Log: Added a warning to the javadoc of each src file and to package.html in the app, requestfactory, and valuestore modules. Review at http://gwt-code-reviews.appspot.com/625801 Review by: rj...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=8263 Modified: /trunk/bikeshed/src/com/google/gwt/app/client/CellListPlacePickerView.java /trunk/bikeshed/src/com/google/gwt/app/client/EditorSupport.java /trunk/bikeshed/src/com/google/gwt/app/client/NotificationMole.java /trunk/bikeshed/src/com/google/gwt/app/client/package.html /trunk/bikeshed/src/com/google/gwt/app/package.html /trunk/bikeshed/src/com/google/gwt/app/place/AbstractActivity.java /trunk/bikeshed/src/com/google/gwt/app/place/AbstractRecordEditActivity.java /trunk/bikeshed/src/com/google/gwt/app/place/AbstractRecordListActivity.java /trunk/bikeshed/src/com/google/gwt/app/place/Activity.java /trunk/bikeshed/src/com/google/gwt/app/place/ActivityManager.java /trunk/bikeshed/src/com/google/gwt/app/place/ActivityMapper.java /trunk/bikeshed/src/com/google/gwt/app/place/Place.java /trunk/bikeshed/src/com/google/gwt/app/place/PlaceChangeEvent.java /trunk/bikeshed/src/com/google/gwt/app/place/PlaceChangeRequestedEvent.java /trunk/bikeshed/src/com/google/gwt/app/place/PlaceController.java /trunk/bikeshed/src/com/google/gwt/app/place/PlacePicker.java /trunk/bikeshed/src/com/google/gwt/app/place/PlacePickerView.java /trunk/bikeshed/src/com/google/gwt/app/place/package.html /trunk/bikeshed/src/com/google/gwt/app/rebind/EditorSupportGenerator.java /trunk/bikeshed/src/com/google/gwt/app/rebind/package.html /trunk/bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractDoubleRequest.java /trunk/bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractIntegerRequest.java /trunk/bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractJsonListRequest.java /trunk/bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractJsonObjectRequest.java /trunk/bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractLongRequest.java /trunk/bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractRequest.java /trunk/bikeshed/src/com/google/gwt/requestfactory/client/impl/ClientRequestHelper.java /trunk/bikeshed/src/com/google/gwt/requestfactory/client/impl/RequestFactoryJsonImpl.java /trunk/bikeshed/src/com/google/gwt/requestfactory/rebind/RequestFactoryGenerator.java /trunk/bikeshed/src/com/google/gwt/requestfactory/server/RequestFactoryServlet.java /trunk/bikeshed/src/com/google/gwt/requestfactory/server/SampleDataPopulator.java /trunk/bikeshed/src/com/google/gwt/requestfactory/server/package.html /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/Id.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/Receiver.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/RecordListRequest.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/RecordRequest.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/RequestEvent.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/RequestFactory.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/ServerOperation.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/ServerType.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/SyncRequest.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/Version.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/impl/RequestDataManager.java /trunk/bikeshed/src/com/google/gwt/requestfactory/shared/package.html /trunk/bikeshed/src/com/google/gwt/valuestore/client/DeltaValueStoreJsonImpl.java /trunk/bikeshed/src/com/google/gwt/valuestore/client/RecordKey.java /trunk/bikeshed/src/com/google/gwt/valuestore/client/SyncResultImpl.java /trunk/bikeshed/src/com/google/gwt/valuestore/client/ValueStoreJsonImpl.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/DeltaValueStore.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/Property.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/PropertyReference.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/Record.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/RecordChangedEvent.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/SyncResult.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/Value.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/ValueStore.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/WriteOperation.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordImpl.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordSchema.java /trunk/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordToTypeMap.java
[gwt-contrib] Deleted HasPages, HasValueMap, and ValueListBox since they are not being used. (issue619802)
Reviewers: Ray Ryan, Description: Deleted HasPages, HasValueMap, and ValueListBox since they are not being used. Review by: rj...@google.com Please review this at http://gwt-code-reviews.appspot.com/619802/show Affected files: D bikeshed/src/com/google/gwt/user/client/ui/HasPages.java D bikeshed/src/com/google/gwt/user/client/ui/HasValueMap.java D bikeshed/src/com/google/gwt/user/client/ui/ValueListBox.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Deleted HasPages, HasValueMap, and ValueListBox since they are not being used. (issue619802)
LGTM http://gwt-code-reviews.appspot.com/619802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors