Re: generate and execute javascript at runtime?

2012-11-03 Thread Sebastian Rothbucher
Hi, is it not possible to make a function like eval() (doing just that) available via JSNI? On Friday, November 2, 2012 3:10:23 PM UTC+1, HamsterofDeath wrote: i'm trying to integrate jqxgrid and write a gwt wrapper around it. (it's some jquery grid) i know i can write native js methods, but

Re: External Server communication with HTTP requests

2012-11-03 Thread Sebastian Rothbucher
Hi, one of the below posts already mentioned the same origin policy which is indeed not to be circumvented (except in apps). What you can do is create an image URL or IFRAME URL and create the respective image or iframe with setUrl(http://someotherserver;) Good luck! On Monday, October 29,

Re: Security considerations for GWT applications

2012-11-03 Thread Sebastian Rothbucher
Hi, no offense - but I'd NEVER NEVER EVER send the MD5-ed PW or store an MD5 hash in the directory. Rather, I regard it paramount to send the password as-is (through an encrypted channel) and have the directory store it WITH A SALT value. Furthermore, you should bind against the directory

Re: Security considerations for GWT applications

2012-11-03 Thread Sebastian Rothbucher
Hi, there is actually one more aspect: avoid correctly logged-in users (as others pointed out before: login on the server with a server session is required) can manipulate more data than you want them to. Using tamper data and consorts, you can see what goes back and forth via GWT-RPC.

Re: RPC call from server to client

2012-11-03 Thread Sebastian Rothbucher
by far and large, you'd have to poll (asynchronously) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/auWmyRAUf5AJ. To post to this group, send

Re: IE problems

2011-02-14 Thread Sebastian Rothbucher
so much - probably you recognize the problem... Hope this helps a little - good luck! Sebastian Rothbucher On 14 Feb., 19:34, SVR svr...@gmail.com wrote: Hi I have my GWT module working in FF, I am trying to launch the same in IE and get the following error: In general, I would like

Re: SerializationException problem, please advice!

2011-02-14 Thread Sebastian Rothbucher
work for many variables as you blow up the size of each RPC request, but for a handful of objects (and I did never have more) this works more than well... Hope this helps - best regards Sebastian Rothbucher On 14 Feb., 15:05, Ice13ill andrei.fifi...@gmail.com wrote: I use GWT to develop my app

Re: Create an Image from received bytes on client side - possible?

2011-02-14 Thread Sebastian Rothbucher
with the framework... Best regards Sebastian Rothbucher On 14 Feb., 10:16, MJ zuti...@gmail.com wrote: Hey guys. I did some researching on this matter but besides ClientBundle I failed to find something that would help me here. ClientBundle would work OK in case I would have the images as static

Re: How to disable the context menu

2011-02-14 Thread Sebastian Rothbucher
-context-menu/ Hope this helps - best regards Sebastian Rothbucher On 13 Feb., 10:29, KoenP koen.pil...@gmail.com wrote: Hi, I would like to disable the rightclick context menu on pictures in my Googlewebs website. Any idea where I should implent which code? KoenP -- You received

Re: Exposing only the interfaces of the Data Entities to GWT

2011-02-14 Thread Sebastian Rothbucher
probably make use of reflection (or reflection-based stuff such as beanutils) to realize that... Hope this helps - best regards Sebastian Rothbucher On 11 Feb., 06:25, Nitiraj crazy.na...@gmail.com wrote: Hi, I have a architecture where one jar contains the interfaces of Entities used

Re: Frame not refreshing when call setURL

2011-02-14 Thread Sebastian Rothbucher
) to compensate? Hope this helps - best regards Sebastian Rothbucher On 10 Feb., 18:45, Greg Dougherty dougherty.greg...@mayo.edu wrote: So, I have a hidden frame, and I set its URL to download a file from my server.  The first time I do this, it works like a charm. Any subsequent times I do

Re: Parsing objects of persistent classes from server side code to client side.

2011-02-14 Thread Sebastian Rothbucher
Hi Ambegbodas, there was a quite similar post on the same forum: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/f55bda67f02fbb67 I guess you really have to copy into simple objects as the most simplistic solution... Best regards Sebastian Rothbucher On 10 Feb., 19:11

Re: GWT webapp into an IFRAME

2011-02-14 Thread Sebastian Rothbucher
Hi, I can also confirm this works quite smoothly: embed into an Iframe and redirect to the own URL or a #marker URL with target=top to prevent that. Best Regards Sebastian Rothbucher On 2 Feb., 17:02, aditya sanas 007aditya.b...@gmail.com wrote: hi, yeah ofcourse it will work i have

Re: Load Testing GWT applications

2011-02-14 Thread Sebastian Rothbucher
... Hope this helps! Best regards Sebastian Rothbucher On 10 Feb., 09:02, Chandrasekar Venkatraman s.its.chan...@gmail.com wrote: Hello, I need to implement Load Testing(say for some 20 users) on my GWT application running in tomcat server on my machine. I am working on Ubuntu OS. On googling

Re: Testing GWT?

2010-11-04 Thread Sebastian Rothbucher
apply an identifying style class to all panels you create. Hope this helps - best regards Sebastian Rothbucher On 4 Nov., 15:06, g_korland gkorl...@gmail.com wrote: Can you recommend a testing tool for testing GWT web app? Thanks, Guy -- You received this message because you are subscribed

Re: Load Test GWT application using JMeter

2010-10-15 Thread Sebastian Rothbucher
it into a TCP-Statement like (in the TCP body): Cookie: ${SESSIONCOOKIE} You can do the same with values - BUT: you have to adjust the content length for the right number of bytes... Hope this helps Sebastian Rothbucher On 15 Okt., 09:25, aiya123 lawrencem...@gmail.com wrote: Hi, Does

Re: calling GWT Javascript compiler from ant

2010-10-04 Thread Sebastian Rothbucher
/ /java /target Basically, the GWT compiler is just a java program you can invoke via the java command... Hope this helps - best regards Sebastian Rothbucher On 4 Okt., 12:13, 3p1...@googlemail.com 3p1...@googlemail.com wrote: Hi everyone How can i call the gwt Javascript compiler

Re: Help: Development of large App with GWT

2010-10-04 Thread Sebastian Rothbucher
Hi noor, actually we're using GWT to develop business applications and that works extremely well. Maybe defining a scenario /process and building an application for this is helpful. Best Regards Sebastian Rothbucher On 3 Okt., 18:10, Noor baken...@gmail.com wrote: Hi to all, I want some

Re: Reverse proxy problem once again

2010-09-25 Thread Sebastian Rothbucher
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html and search for force redirect on the page)... Hope this helps - best regards Sebastian Rothbucher On 17 Sep., 20:46, pete superp...@geekcity.de wrote: Hallo, I've looked around several hours to solve this problem, but I just can't figure

Re: What are some of the most valuable frameworks in your project?

2010-08-29 Thread Sebastian Rothbucher
Jeff, we're getting along quite well with GWT on the client side and Spring on the server side: Data definitions (POJOs) are shared. Plus: Using the GWT Service servlet to do nothing but call a spring service (which can then do everything spring is capable of) has proven a quite stable solution..

Re: Help With Eclipse Development ??

2010-08-29 Thread Sebastian Rothbucher
Hi Jalu, what I'd try is a.) put all required libs in WEB-INF/lib and then b.) add all of WEB-INF/lib to the java build path of the eclipse project... Hope this helps! Best Regards Sebastian P.S.: You can safely ignore the WARN] Server class 'net.sf.gilead.gwt.PersistentRemoteService'

Re: Custom Visulization

2010-08-29 Thread Sebastian Rothbucher
Hi Raju, alteratively you could use JFreeChart and embed it as an image (i.e. create a chart on the server as temporary file); return a link for the one user to get that file and render it as an image... Hope this helps - best regards Sebastian On 24 Aug., 16:44, Raju raj.no...@gmail.com

Re: Integration of GWT in Spring

2010-08-29 Thread Sebastian Rothbucher
Hi, I guess it is a little more difficult than that as you have to integrate two paradigms here: one is request-response (classic webapp style of spring web mvc), the other is requesting on demand by google web toolkit. Possibly the easiest way would be rendering a gwt carrier page via spring -

Re: Browser hangs up for few requests and getting com.google.gwt.user.client.rpc.StatusCodeException

2010-08-19 Thread Sebastian Rothbucher
Hi, could this be a timeout problem? I sometimes also fell over Firefox going offline resulting in the same exception. Maybe one of the two is the case... Good luck Sebastian Rothbucher On 18 Aug., 20:05, Suneel Allareddy suneel.allare...@gmail.com wrote: Hi Team, Our Application is purely

Re: docklayoutpanel scroll feature?

2010-08-08 Thread Sebastian Rothbucher
Hi, my suggestion would be using the Firebug feature to find out which style is set - and overwrite using the DOM (to scroll: auto) if nothing else is possible... Hope this helps - best Regards Sebastian Rothbucher On 8 Aug., 14:16, asianCoolz second.co...@gmail.com wrote: may i know

Re: Why should I need a Session ID?

2010-08-08 Thread Sebastian Rothbucher
(when you use TamperData with Firefox, you can make the JSESSIONID value visible). So, I'd agree with you not to send the primary key of the user anywhere - just leave it in the server side user session Hope this helps - best regards Sebastian Rothbucher On 8 Aug., 03:55, Magnus alpineblas

Re: Mysql Connector/J

2010-08-07 Thread Sebastian Rothbucher
Hi Maurice, for the Jetty Test mode, you can indeed use WEB-INF/lib, but you also have to add the JAR to your project's classpath in Eclipse. Then, you can use a connection string in the form of jdbc:mysql://localhost:8889/ yourdbname In production, I'd recommend always using a JDBC datasource

Re: is ZK better than GWT..?

2010-08-01 Thread Sebastian Rothbucher
HI akhil, ZK does not have a 2nd compilation step into JS (and can thus use all of Java on both sides). However, you have ongoing client-server communication (speed!), you don't have the optimizations google offers for your and from what I remember from using ZK, the framework is by far not as

Re: Need help on generating session id

2010-08-01 Thread Sebastian Rothbucher
)getThreadLocalRequest().getSession().getAttribute(suffix)).get(something) and thus have different values for different windows (assuming you open the app in two Firefox windows for instance). Hope this helps - best Regards Sebastian Rothbucher On 1 Aug., 03:24, mP miroslav.poko...@gmail.com wrote: Hi Mani You

Re: Development time for GWT apps versus 'traditional' MVC with JSP

2010-08-01 Thread Sebastian Rothbucher
and best Regards Sebastian Rothbucher On 31 Jul., 19:18, Julius julius.kle...@gmail.com wrote: Hi, What are your experiences regarding development time for rich internet applications using GWT compared to the more traditional approach with JSP and an MVC pattern? I am currently developing

Re: Mobile Phone permutation strategy suggestions wanted

2010-08-01 Thread Sebastian Rothbucher
Hi Falcon, when turning off JavaScript is criterion, using GWT will become virtually impossible: all of the client-side logic with GWT is JS only, so running it on e.g. current blackberries will be a hard job... It's supposed to work quite well on andorid or iPhone (the webkit- enabled phones -

Re: create agenda (meeting invitation) by GWT

2010-08-01 Thread Sebastian Rothbucher
Hi ichi, there are two ways at least on my mind now: - use the google APIs to insert events into the google calendar - send an iCal file via E-Mail (can then be added to google calendar of Outlook or iCal, ) Hope this helps - best Regards Sebastian On 29 Jul., 14:37, ichi

Re: How to debug GWT serverside code with non suported classes by Google App Engine (debugging with tomcat?)

2010-08-01 Thread Sebastian Rothbucher
have to set env variables first. You can find details on that at http://confluence.sakaiproject.org/display/BOOT/Setting+Up+Tomcat+For+Remote+Debugging Hope this helps - best Regards Sebastian Rothbucher On 29 Jul., 14:05, lmedici med...@pm-medici.ch wrote: Hi i try to debug a method

Re: GWT/iphone/phonegap server communication

2010-08-01 Thread Sebastian Rothbucher
/f1c07299a7c7ad15 RegardsSebastian On 31 Jul., 20:17, Sebastian Rothbucher sebastian.rothbuc...@clarities.de wrote: Hi, I guess the simplest solution is to cast the service coming out of GWT create and change the endpoint - which implies that you have to add code each time GWT.create is used: private

Re: GWT/iphone/phonegap server communication

2010-07-31 Thread Sebastian Rothbucher
(SomeStandardDatabaseService.class); if(someStandardDatabaseService instanceof ServiceDefTarget){ ((ServiceDefTarget)someStandardDatabaseService).setServiceEntryPoint(http:// somehere); } Hope this helps - I'm also still working on the topic... Best Regards Sebastian Rothbucher On 20 Jul

Re: Cross-domain call

2010-07-31 Thread Sebastian Rothbucher
the webservice from 2.) Hope this helps - best regards Sebastian Rothbucher On 31 Jul., 19:44, Deepak Singh deepaksingh...@gmail.com wrote: Could you pls provide some link or code, that how to write remoteserviceservlet and integrate with gwt. On Sat, Jul 31, 2010 at 11:04 PM, Subhrajyoti

Re: Unable to find type

2010-07-31 Thread Sebastian Rothbucher
Hi leslie, maybe a search for the class name (simple name) in the deployed folder helps; just in case a wildcard search is being done... Best Regards Sebastian On 31 Jul., 20:23, leslie web...@me.com wrote: GWT 2.0.3 Eclipse Galileo MacOS X 10.5.8 Java 5 Hello, At one point I created

Re: GWT evaluation: How to realize this specific app scenario? (v.2)

2010-07-30 Thread Sebastian Rothbucher
Hi Alessandro, GWT features a history mechanism which could solve the first question: http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/History.html or http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.html provide info on that:

Re: Java 7 And Closures

2010-07-20 Thread Sebastian Rothbucher
Hi, well, without wanting to be destructive: where is the big difference compared to the command pattern? I really like GWT's stability and maturity. I'd like to keep it as simple and straightforward as possible. It would be great if that stays as the design goal - and whether or not J7 closures

Re: How to write good performance code?

2010-07-15 Thread Sebastian Rothbucher
You might have a look @ http://code.google.com/events/io/2010/sessions/faster-apps-faster-gwt-compiler.html and @ http://code.google.com/events/io/2010/sessions/architecting-performance-gwt.html Some patterns are really helpful, esp. when it comes to minimizing we objects (so it's not just a

Re: Running a .exe file from server side code

2010-07-04 Thread Sebastian Rothbucher
Hi Rajesh, it might be possible that another java.policy is effective. For Tomcat, there is at least a catalina.policy file in ${TOMCAT-DIR} \conf\catalina.policy and a ${JAVA-HOME}\lib\security\java.policy file. Depending on your Runtime configuration, there might also be a -

Re: SuggestBox question - is it possible to react on sub sequences of the words?

2010-07-04 Thread Sebastian Rothbucher
Hi, I guess you have to provide an own SuggestionOracle which searches a List with a search algorithm that is a s good as possible... - I did provide an own suggestion oracle for another occation and it works quite well... On Jul 2, 5:21 pm, crojay78 croja...@googlemail.com wrote: Hi, I am

Re: How to show a load screen during rpc call?

2010-07-04 Thread Sebastian Rothbucher
Hi, what I'd to is: 1.) Display an image with some loading... animation 2.) Start the RPC asynchronously, e.g. like tagDatabaseService.loadAllTagsForPerson(new TagQueryMessage( tagQuery), new AsyncCallbackTagListMessage() {

Re: Problem with Eclipse, Google plugin and WTP

2010-07-01 Thread Sebastian Rothbucher
Hi, can you not copy all libs to WEB-INF/lib and include them from there? Let me know if this helps... On Jun 30, 1:29 pm, SimonM simon.manqu...@gmail.com wrote: Hello, I have troubles with WTP and Google plugin for Eclipse. I have one Dynamic Web Application Project, and I use GWT in this

Re: Sessions and GWT

2010-06-25 Thread Sebastian Rothbucher
Hi, I'm quite sure the user always has a session on the application server - independently of whether (s)he is authenticated or not. Any RPC Call you make always carries the Session ID - and in each service (on the server side), you can get it via getThreadLocalRequest().getSession(). When using

Re: GWT and javascript php websites

2010-06-25 Thread Sebastian Rothbucher
Hi, just one idea without having thought it through entirely: Could you use the history mechanism to trigger some Execution? On Jun 21, 10:27 pm, cabo087 elvin...@gmail.com wrote: Hello Shedohan, Thank you for the answer. But i don't think that this is what i'm looking for. My php file

Re: Serialization Problem

2010-06-25 Thread Sebastian Rothbucher
Hi Ahmed, does your Member class contain associations to other classes? If yes, I guess to have to repackage the lists as well... (i.e. create a new Hashtable and so on). Another question could be if you can have annotated classes on the client or you have to copy those classes as well, i.e. have