Re: [qooxdoo-devel] java backend output

2010-02-26 Thread Andreas Junghans
Hi Andreas, Am 26.02.2010 um 10:11 schrieb Fink, Andreas: I use the java backend for my application within tomcat and have noticed that somewhere in the backend there must be a print to the default output. The problem is that tomcat writes this output to a log file called catalina.out

Re: [qooxdoo-devel] java backend output

2010-02-26 Thread Andreas Junghans
Hi Andreas, Am 26.02.2010 um 10:11 schrieb Fink, Andreas: I use the java backend for my application within tomcat and have noticed that somewhere in the backend there must be a print to the default output. The problem is that tomcat writes this output to a log file called catalina.out

Re: [qooxdoo-devel] JSON: eval() vs. Function

2009-12-16 Thread Andreas Junghans
Hi Peter, Am 16.12.2009 um 10:28 schrieb Peter Schneider: while I was 'cleaning up' our code base I've come along the JSON class of qooxdoo. Is there any reason why it uses the evil eval() function for evaluating and parsing the backend responses? Wouldn't Function be the better

Re: [qooxdoo-devel] JSON: eval() vs. Function

2009-12-16 Thread Andreas Junghans
Hi Peter, Am 16.12.2009 um 15:03 schrieb Peter Schneider: [...] Wouldn't Function be the better choice? Why would it? There doesn't seem to be a real difference to me (except regarding scoping, but this should be irrelevant here). I think it's a bit more than just scoping. As far as I

Re: [qooxdoo-devel] XMLHttpRequest and POST messages and notification

2009-12-12 Thread Andreas Junghans
Hi Balage, Am 12.12.2009 um 23:16 schrieb balage42-qoox...@yahoo.com: PS: One interesting side-experience: The result is created in server side as a 2 dimensional array. From this an XML is created, then posted to the client, where a DOM is built from it, iterated to create the array

Re: [qooxdoo-devel] Java RPC backend threading question

2009-11-23 Thread Andreas Junghans
Hi, Am 23.11.2009 um 03:56 schrieb mckwil: I guess what my question is really poking at, is what does the backend do (if anything at all) to handle multiple incoming requests at the same service? (assuming that the servlet container just spawns one thread per servlet request) The Java

Re: [qooxdoo-devel] rpc server side question

2009-09-17 Thread Andreas Junghans
Hi Petr, Am 17.09.2009 um 06:55 schrieb Petr Kobalíček: how is status of JavaRpc in qooxdoo contrib (documentation is quite outdated)? I'm the original developer of the Java RPC code, but I can't actively maintain it (aside from the occasional mailing list discussion). Some people have

Re: [qooxdoo-devel] qooxdoo-devel Digest, Vol 40, Issue 66

2009-09-17 Thread Andreas Junghans
Hi Chirag, Am 17.09.2009 um 11:02 schrieb Chirag Patel: Thanks Andreas for the details explanation. I can create Bugzilla entry but I am not sure if I have got such a permission. Just go to http://bugzilla.qooxdoo.org/ and create an account. A valid eMail address is all you need.

Re: [qooxdoo-devel] Clarification on URL rewritting

2009-09-16 Thread Andreas Junghans
Hi Chirag, Am 16.09.2009 um 11:09 schrieb Chirag Patel: I am using qooxdoo v0.8.2 I need to refresh session after logout. To achieve this I am using Rpc.refreshSession() method. However, it seems that this method is not working. I copied few lines of from method refreshSession().

Re: [qooxdoo-devel] Help regarding url rewritting

2009-09-11 Thread Andreas Junghans
Hi Chirag, Am 11.09.2009 um 06:12 schrieb Chirag Patel: 1) I am using qooxdoo 0.8.2 2) Yes it it true that RPC calls are successful without URL rewriting. This is fine as long as browser supports cookie. It is obvious that the server will not be able to identify a client if the cookie

Re: [qooxdoo-devel] Help regarding url rewritting

2009-09-11 Thread Andreas Junghans
Hi Chirag, Am 11.09.2009 um 13:46 schrieb Chirag Patel: I tried using ScriptLoader but it also gives the same error qx.Class.defineClass is not a function I looked into the build version of the script file. It contains code which uses qx.Class.defineClass() method. My script file is

Re: [qooxdoo-devel] Help regarding url rewritting

2009-09-10 Thread Andreas Junghans
Hi Chirag, Am 09.09.2009 um 17:54 schrieb Chirag Patel: I am using RpcJava to make sync as well as async call. In order to implement session management I need to have a url which includes jsessionid in it. Is it possible to rewrite a url specified in qx.io.remote.Rpc() ? I followed url

Re: [qooxdoo-devel] Help regarding url rewritting

2009-09-10 Thread Andreas Junghans
Hi Chris, Am 10.09.2009 um 14:21 schrieb Christian Schmidt: do you think that the patch from Vincent solve the issue? I don't know. The patch is a prerequisite to get makeServerURL() working in 0.8.x. But judging from Chirag's first eMail in this thread, I don't think that's the core of

Re: [qooxdoo-devel] drawing lines

2009-07-30 Thread Andreas Junghans
Hi there, Am 29.07.2009 um 20:25 schrieb Jim Hunter: I have done this and created a flow chart sort of tool by using the Walter Zorn library and qooxdoo. I created a 'canvas' control in qooxdoo that has a surface for the lines to br drawn on. Then I created controls (Atoms) that had a

Re: [qooxdoo-devel] Refactored JavaRpc - JSONObject from json.org

2009-07-01 Thread Andreas Junghans
Hi Jean-Baptiste, Am 01.07.2009 um 09:03 schrieb Jean-Baptiste BRIAUD -- Novlog: BTW, what about the transient Java keyword ? Are transient attributes excluded from json serialization ? Just to make it clear, this point no longer concerns the low-level JSON lib (layer b2 above), but the

Re: [qooxdoo-devel] Refactored JavaRpc - JSONObject from json.org

2009-07-01 Thread Andreas Junghans
Hi Jean-Baptiste, Am 01.07.2009 um 14:33 schrieb Jean-Baptiste BRIAUD -- Novlog: On Jul 1, 2009, at 13:28 , Andreas Junghans wrote: [CUT] The serialization behaviour you need is quite different from what's currently done (JavaBean-based vs. attribute-based). I don't think it would be good

Re: [qooxdoo-devel] Refactored JavaRpc - JSONObject from json.org

2009-06-30 Thread Andreas Junghans
Hi Jean-Baptiste, Am 30.06.2009 um 09:46 schrieb Jean-Baptiste BRIAUD -- Novlog: Anyway, why are you so keen on replacing the low-level JSON lib on the Java side? What's wrong with the one from json.org? I'd say never touch a running system in this case, except there's something seriously

Re: [qooxdoo-devel] Refactored JavaRpc - JSONObject from json.org

2009-06-29 Thread Andreas Junghans
Hi Jean-Baptiste, Am 29.06.2009 um 14:11 schrieb Jean-Baptiste BRIAUD -- Novlog: About other lib, I was thinking about http://code.google.com/p/google-gson/ Any feedback ? Never used it, so I'm not able to comment. I didn't read anything about Date restriction in gson. I understand that

Re: [qooxdoo-devel] Java RPC filtering question

2009-06-16 Thread Andreas Junghans
Hi Jean-Baptiste, Am 16.06.2009 um 14:47 schrieb Jean-Baptiste BRIAUD -- Novlog: On Jun 15, 2009, at 18:54 , Andreas Junghans wrote: Hi Jean-Baptiste, Am 15.06.2009 um 17:21 schrieb Jean-Baptiste BRIAUD -- Novlog: Why do I have to filter java.lang.Class or java.lang.reflect.Method

Re: [qooxdoo-devel] Best Way to Access Child Objects Programmatically

2009-06-15 Thread Andreas Junghans
Hi Alex, Am 15.06.2009 um 10:10 schrieb Alexander Back: Andreas Junghans schrieb: I might be wrong (depending on the actual implementation of the child control handling, which I haven't looked at), but we're not talking about a relevant amount of memory anyway here. An additional

Re: [qooxdoo-devel] Java RPC filtering question

2009-06-15 Thread Andreas Junghans
Hi Jean-Baptiste, Am 15.06.2009 um 17:21 schrieb Jean-Baptiste BRIAUD -- Novlog: Why do I have to filter java.lang.Class or java.lang.reflect.Method ? class is filtered out in the default implementation to avoid unnecessary traffic and/or reference cycles. The root of the problem is that

Re: [qooxdoo-devel] Java RPC filtering question

2009-06-15 Thread Andreas Junghans
Am 15.06.2009 um 18:54 schrieb Andreas Junghans: We could debate the different approaches all night long :-) If you don't agree with the one chosen in qooxdoos Java RPC implementation, take a look at the other Java RPC libraries out there. I meant to say _JSON_ RPC libraries. Andreas J

Re: [qooxdoo-devel] Java RPC : recursive conversion question

2009-06-14 Thread Andreas Junghans
Hi Jean-Baptiste, Am 14.06.2009 um 18:21 schrieb Jean-Baptiste BRIAUD -- Novlog: I'm evaluating Java RPC qooxdoo contrib and I'm fighting with the recursive conversion issue. One can read here : http://qooxdoo.org/documentation/0.8/rpc For performance reasons, recursive conversion of

Re: [qooxdoo-devel] Java RPC : recursive conversion question

2009-06-14 Thread Andreas Junghans
Hi Jean-Baptiste, Am 14.06.2009 um 22:41 schrieb Jean-Baptiste BRIAUD -- Novlog: On Jun 14, 2009, at 20:54 , Andreas Junghans wrote: Hi Jean-Baptiste, Am 14.06.2009 um 18:21 schrieb Jean-Baptiste BRIAUD -- Novlog: I'm evaluating Java RPC qooxdoo contrib and I'm fighting

Re: [qooxdoo-devel] Best Way to Access Child Objects Programmatically

2009-06-13 Thread Andreas Junghans
Hi Gene, Am 12.06.2009 um 20:01 schrieb Gene Amtower: I think typical usage may be more complex than outlined in the existing chapter content, and maybe that's where my understanding met with difficulty. I think the chapter assumes that I'm writing a new widget with a couple of added

Re: [qooxdoo-devel] Best Way to Access Child Objects Programmatically

2009-06-13 Thread Andreas Junghans
Hi Gene, Am 13.06.2009 um 18:37 schrieb Gene Amtower: I appreciate your input. I see how that would be simple, but I was looking to avoid redundant variables for objects that can be referenced programmatically. Maybe there's no penalty for creating a variable to reference each object

Re: [qooxdoo-devel] Java RPC and instances of Java classes

2009-05-13 Thread Andreas Junghans
Hi there, Am 13.05.2009 um 17:22 schrieb marino99: doesn't anybody have a solution / clue for me? Or is it even impossible to have one instance of a Java class and use it the way instances are usually used? Maybe I didn't make my point clear enough, so here's the code I used for

Re: [qooxdoo-devel] JSON-RPC with web2py

2009-04-22 Thread Andreas Junghans
Hi there, Am 22.04.2009 um 10:26 schrieb thron7: Alexei Vinidiktov wrote: On a related note, should each remote call use a separate qx.io.remote.Rpc variable, or can one be declared for the whole class and be reused? In the code that I posted in my first email I used a separate

Re: [qooxdoo-devel] Listener, closure and context issue

2009-03-23 Thread Andreas Junghans
Hi JB, Am 23.03.2009 um 17:36 schrieb Jean-Baptiste BRIAUD -- Novlog: I come into a tricky javascript issue with a listener. The idea is to have a description of several buttons like this : [{lbl:OK, cde:okFunction, ctx:this}, {lbl:Cancel, cde:cancelFunction, ctx:this}] Then, a static

Re: [qooxdoo-devel] JavaRpc code modularity

2009-03-20 Thread Andreas Junghans
Hi Fabian, Am 20.03.2009 um 09:21 schrieb Fabian Jakobs: I don't really mind how its managed. For me its important that the development happens inside of qooxdoo contrib. We have the possibility to brnach and tag inside of a contrib so this would be my suggestion but if you feel its

Re: [qooxdoo-devel] JavaRpc code modularity

2009-03-20 Thread Andreas Junghans
Hi Michael, Am 20.03.2009 um 09:46 schrieb Michael Wyraz: is there a reason that Set is mapped to Object[] with key=setEntry.toString() and value=true? Yes, there's a reason (although it's debatable if it's a good one ...). The defining behaviour of a Set (as opposed to a simple array) is

Re: [qooxdoo-devel] JavaRpc code modularity

2009-03-20 Thread Andreas Junghans
Hi Michael, Am 20.03.2009 um 15:07 schrieb Michael Wyraz: I'll create a new branch for playing around and getting feedback. If it's (more or less) stable, we can decide (or not) to replace the trunk with my version. Ok? Sounds good! Regards, Andreas

Re: [qooxdoo-devel] JavaRpc code modularity

2009-03-19 Thread Andreas Junghans
Hi Michael, Am 19.03.2009 um 08:56 schrieb Michael Wyraz: I had a look to JavaRpc because I'd wanted to integrate it into spring. I have seen that the code is not very modular: the RPC handling code, servlet specific code and other is all in the RpcServlet. I'm the original author of the

Re: [qooxdoo-devel] JavaRpc code modularity

2009-03-19 Thread Andreas Junghans
Hi Michael, Am 19.03.2009 um 10:34 schrieb Michael Wyraz: my plan is (some parts already done): - DONE: refactored the org.json.* classes to package org.qooxdoo.rpc.json because the version used in JavaRpc is not the original org.json version and may conflict with these (e.g. they do not

Re: [qooxdoo-devel] JavaRpc code modularity

2009-03-19 Thread Andreas Junghans
Hi Fabian, mid-air collision of eMails :-) Am 19.03.2009 um 09:50 schrieb Fabian Jakobs: I would suggest you get in contact with the author Andreas Junghans andreas.jungh...@stz-ida.de and coordinate your efforts. I would prefer you work inside of the JavaRpc contrib rather than creating

Re: [qooxdoo-devel] JavaRpc code modularity

2009-03-19 Thread Andreas Junghans
Hi Michael, Am 19.03.2009 um 11:32 schrieb Michael Wyraz: - TODO: Use commons-logging Not so good (IMHO). If at all possible, the RPC core should not depend on a specific logging framework (or meta-framework in case of commons-logging). It's always a pain to deal with different logging

Re: [qooxdoo-devel] Is rpc.callAsync changing my posted data?

2009-01-20 Thread Andreas Junghans
Hi Martin, Am 20.01.2009 um 10:19 schrieb Martin: But what next thing what happens to me is, that if I use RPC, and want to send data like. var sess=new Object(); sess[type]=string; sess[value]=(server_session!=)?server_session:unknown; note: sess[type]=string;

Re: [qooxdoo-devel] Is rpc.callAsync changing my posted data?

2009-01-20 Thread Andreas Junghans
Hi Martin, Am 20.01.2009 um 13:47 schrieb Martin: Maybe this is caused by a malfunctioning build optimization? Did you take a look at the resulting js file (searching for callAsync or 243)? I tried to search for such numbers, but still didn't find anything reasonable. Strage is, that it

Re: [qooxdoo-devel] Is rpc.callAsync changing my posted data?

2009-01-20 Thread Andreas Junghans
Hi Martin, Am 20.01.2009 um 14:42 schrieb Martin: Did you try to output the parameters to callAsync before making the call? That would tell you whether the problem is in your application code or in the qooxdoo RPC code. Since there have been no previous reports about such an issue, I guess

Re: [qooxdoo-devel] IE ARRAY BUG?

2009-01-19 Thread Andreas Junghans
Hi Ralf, Am 19.01.2009 um 09:17 schrieb Ralf Nieuwenhuijsen: IMHO, the additional convenience you get by adding these methods to the Array prototype are just not worth screwing with a core language element (even if other browsers offer them natively, which means they don't appear in for ...

Re: [qooxdoo-devel] IE ARRAY BUG?

2009-01-18 Thread Andreas Junghans
Hi there, Am 18.01.2009 um 18:45 schrieb Derrell Lipman: On Sun, Jan 18, 2009 at 11:55 AM, Mustafa Sak m@ims24-net.de wrote: Hi, it is possible, that IE puts automaticaly Elments in to a new Array by default? i tried this var xx = new Array(); for (key in xx) {

Re: [qooxdoo-devel] IE ARRAY BUG?

2009-01-18 Thread Andreas Junghans
Hi Roman, Am 18.01.2009 um 20:22 schrieb Roman Schmid: You're right about all you said. However, since JavaScript is a prototype-based language, you may sooner or later encounter modified core language elements. Not only the qooxdoo framework does this... there are numerous people who use

Re: [qooxdoo-devel] IE ARRAY BUG?

2009-01-18 Thread Andreas Junghans
Hi Derrell, Am 18.01.2009 um 20:42 schrieb Derrell Lipman: It's also perfectly legal, however, as with any object, to add additional methods to Array's prototype, and I don't believe that the spec says whether these new methods should or shouldn't be enumerated with for/in when using

Re: [qooxdoo-devel] IE ARRAY BUG?

2009-01-18 Thread Andreas Junghans
Hi Derrell, Am 18.01.2009 um 22:09 schrieb Derrell Lipman: On Sun, Jan 18, 2009 at 3:06 PM, Andreas Junghans andreas.jungh...@stz-ida.de wrote: Your example (sparse-array) would work just as well with new Object() Except for the missing length property Oooh, bad example

Re: [qooxdoo-devel] invalid label error on rpc response

2009-01-05 Thread Andreas Junghans
Hi, Am 05.01.2009 um 03:58 schrieb aggieben: I'm working on a json-rpc backend for qooxdoo and I'm testing some basic plumbing with the 'echo' service. Everything seems fine until the point at which the test qx app should receive the response (async, cross- domain) Cross-domain is

Re: [qooxdoo-devel] simple call to rpc server with ajax, preserve context (this)

2008-12-22 Thread Andreas Junghans
Hi Tobias, Am 21.12.2008 um 15:31 schrieb jjo...@gmx.de: Now I want to generalize this to be reusable, to minimize the code for every request in the forms and to do error handling. So I created a new static class, app.tools for a collection of common tools for my application:

Re: [qooxdoo-devel] js : release an associative array : rely on GC ?

2008-12-01 Thread Andreas Junghans
Hi there, Am 01.12.2008 um 14:50 schrieb Matthew Gregory: You could use delete this.array to free the memory instantly, it is much slower than assigning it to null and waiting for the GC though. Sorry, but I don't think this is true. delete this.array simply removes the array key from the

Re: [qooxdoo-devel] js : release an associative array : rely on GC ?

2008-12-01 Thread Andreas Junghans
Hi Matthew, Am 01.12.2008 um 16:09 schrieb Matthew Gregory: Andreas Junghans wrote: Hi there, Am 01.12.2008 um 14:50 schrieb Matthew Gregory: You could use delete this.array to free the memory instantly, it is much slower than assigning it to null and waiting for the GC though. Sorry

Re: [qooxdoo-devel] stateless backend and security

2008-11-24 Thread Andreas Junghans
Hi Andreas, Am 24.11.2008 um 11:30 schrieb Fink, Andreas: I'm developing a application that avoids server side session, similar you explained. I use a simple qooxdoo-backend build-in-solution (not sure if it is really secure maybe a backend-developer could explain better): No, it's not

Re: [qooxdoo-devel] stateless backend and security

2008-11-24 Thread Andreas Junghans
Hi Jean-Baptiste, Am 23.11.2008 um 09:50 schrieb Jean-Baptiste BRIAUD -- Novlog: I'd like to share some thought, please don't hesitate to give feedback. Thanks to qooxdoo, it is possible to maintain application state(s) on client side. So, why bother with HTTP session on backend ? OK,

Re: [qooxdoo-devel] stateless backend and security

2008-11-24 Thread Andreas Junghans
Hi there, Am 24.11.2008 um 18:31 schrieb Chris Banford: I'm no security expert, but our CMS uses a similar system to this: http://www.devarticles.com/c/a/JavaScript/Building-a-CHAP-Login-System-Encrypting-Data-in-the-Client/ for 'low' security projects (ie, a bit more secure than say just

Re: [qooxdoo-devel] Generator X qx.Class.getByName

2008-11-11 Thread Andreas Junghans
Hi there, Am 11.11.2008 um 09:39 schrieb Andreas Ecker: /** OFF TOPIC (and excuse my english) JavaScript is the language that unites. ;-) We design systems here in an uncommon way, I believe. The QooXdoo RPCs are sent to mod_ssl Apache over https. An unique and short Lua (www.lua.org)

Re: [qooxdoo-devel] Unknown status code during RPC deployment

2008-10-23 Thread Andreas Junghans
Hi there, Am 23.10.2008 um 20:18 schrieb Derrell Lipman: I'm sure that Andreas J. will respond. Yep, but you're always faster than anybody else ;-) Joseph, which qooxdoo version are you using? 0.7.x or 0.8.x? You mentioned that you took the code from SVN, but where from exactly? trunk?

Re: [qooxdoo-devel] Unknown status code during RPC deployment

2008-10-23 Thread Andreas Junghans
Hi Joseph, Am 23.10.2008 um 23:32 schrieb Joseph Gangestad: I am using 0.8.x. I took the code from trunk, here. It was the only place I could find the RPC code. OK, thanks for the info. As I've been working on it further, I discovered that by running the attempt at the RPC in IE 6 I do

[qooxdoo-devel] Duplicate eMails

2008-10-13 Thread Andreas Junghans
Hi there, am I the only one who gets many qooxdoo-devel eMails twice? E.g. this one, but also many others: From: Siarhei Barysiuk [EMAIL PROTECTED] Re: [qooxdoo-devel] Attach google maps It could be my server or even my mail client, but it only happens with qooxdoo-devel mails (other

Re: [qooxdoo-devel] Send async rpc via POST?

2008-07-23 Thread Andreas Junghans
Hi Philipp, Am 23.07.2008 um 11:22 schrieb Philipp Wabinski: is it possible to send a async rpc call from the frontend to the backend via POST? When I echo the $_SERVER[REQUEST_METHOD] in the php backend, it always returns GET. Is there a setting or sometjhing like that to use POST?

Re: [qooxdoo-devel] Send async rpc via POST?

2008-07-23 Thread Andreas Junghans
Hi Philipp, Am 23.07.2008 um 12:02 schrieb Philipp Wabinski: you were right! Thanks for your answer! I have set the cross domain to true: this.rpc.setCrossDomain(false); I set it to false and the data was send via POST :) ! I use qooxdoo since 0.6.3 and I`m really sure that cross domain

Re: [qooxdoo-devel] Send async rpc via POST?

2008-07-23 Thread Andreas Junghans
Hi Philipp, Am 23.07.2008 um 14:09 schrieb Philipp Wabinski: I have another error right now. When I access my qooxdoo application via http://application... evereything looks fine. But when I access it via https I get access denied msgs from the RPC backend. I use the same domain and

Re: [qooxdoo-devel] Send async rpc via POST?

2008-07-23 Thread Andreas Junghans
Hi Philipp, Am 23.07.2008 um 14:36 schrieb Philipp Wabinski: When I use a url like this https://192.168.2.4/project/index.html for my qooxdoo application and https://192.168.2.4´/project/rpc_services/ as rpc path, I get an access denied msg. When I test it with the same qooxdoo source

Re: [qooxdoo-devel] JSON decode (PHP Backend)

2008-07-15 Thread Andreas Junghans
Hi, Am 15.07.2008 um 09:59 schrieb Peter Schneider: When I input a backslash followed by double-quotas and try to send it via JSON to my (PHP-)backend, the decode() Method of JSON class fails :( The input comes from an TextField, where this has to be allowed! The frontend side seems to

Re: [qooxdoo-devel] JSON decode (PHP Backend)

2008-07-15 Thread Andreas Junghans
Hi, Am 15.07.2008 um 11:34 schrieb Helder Magalhães: Is there anybody that knows a good solution for this? I am not happy with my 'special check' that handles just my special issue. I haven't confirmed this but... Are you experiencing this using the SVN code or a specific release?

Re: [qooxdoo-devel] the 0.7 treegenerator

2008-05-29 Thread Andreas Junghans
Hi, Am 29.05.2008 um 15:25 schrieb Derrell Lipman: On Thu, May 29, 2008 at 9:21 AM, Tobias Oetiker [EMAIL PROTECTED] wrote: Experts, coming from a perl background, I like to write my lists like this var list = [ key1: value1, key2: value2, ]; Note the final comma. The

Re: [qooxdoo-devel] How to prevent CSRF JS hijacking attacks

2008-05-11 Thread Andreas Junghans
Hi Erich, Am 11.05.2008 um 15:44 schrieb Erich Regen: This topic is very complex, and the way to go depends a lot on the way your application works (e.g. with or without user login, public or intranet, cross-domain RPC required or not, etc). If you give us some more details, you'll get

Re: [qooxdoo-devel] How to prevent CSRF JS hijacking attacks

2008-05-10 Thread Andreas Junghans
Hi Erich, Am 10.05.2008 um 22:55 schrieb Erich Regen: I am currently evaluating Ajax application frameworks. What I basically need is a framework to easily build a user interface and communicate to the backend by JSON-RPC. Qooxdoo looks very promising. Impressive! The only thing I am

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-08 Thread Andreas Junghans
Hi, Am 07.04.2008 um 23:12 schrieb kanugula: It should be 'JSESSIONID' instead of 'jsessionid'. Now it finds the cookie, deletes the cookie and shows the Login page. I build the Demo Browser tree nodes example, test and performance using a map of security Map (Node vs Role) downloaded

Re: [qooxdoo-devel] Clearing Qooxdoo Page cache on Logout

2008-04-07 Thread Andreas Junghans
Hi, Am 07.04.2008 um 20:05 schrieb kanugula: You are right. I should clear the cookie from IE cache. I am a getting a problem here. When the user clicks logout, the following code executes. script type='text/javascript' function fdm_logout(){

Re: [qooxdoo-devel] How to access field 'class' in qx.io.remote.Rpc handler exception 'exc'?

2008-03-31 Thread Andreas Junghans
Hi, Am 31.03.2008 um 23:29 schrieb kanugula: I need to access exc.class in Rpc.js to format a proper error message. Since 'class' is a reserved word, it throws me the following error. treegenerator.SyntaxException: Expected identifier but found reserved/FUTURE_RES ERVED_WORD: 'class'.

Re: [qooxdoo-devel] Problem parsing HTML documents

2008-03-20 Thread Andreas Junghans
Hi Hugh, Am 20.03.2008 um 19:13 schrieb Hugh Gibson: Why not let the browser parse the code? Just do something like this: var container = document.createElement(div); container.innerHTML = yourHTMLCode; Thanks, I had just about got there as well. Lots of reading in Javascript: The

Re: [qooxdoo-devel] Problem parsing HTML documents

2008-03-20 Thread Andreas Junghans
Hi Hugh, Am 20.03.2008 um 20:02 schrieb Hugh Gibson: The problem I've hit now is finding the img node in the document for putting the proper src entry back in place. document.getElementById works in FF but fails to find anything in IE. The IE-specific function selectSingleNode only exists

Re: [qooxdoo-devel] Problem parsing HTML documents

2008-03-20 Thread Andreas Junghans
Hi Hugh, Am 20.03.2008 um 21:13 schrieb Hugh Gibson: I can't test it right now (I'm currently updating my Windows virtual machine), but maybe you have to use this: imgElement.setAttribute(id, theId) instead of this: imgElement.id = theId I use the setAttribute form. Logging the text

Re: [qooxdoo-devel] Where is the handle to RPC response original exception?

2008-03-07 Thread Andreas Junghans
Hi, Am 08.03.2008 um 01:22 schrieb Derrell Lipman: On Fri, Mar 7, 2008 at 5:22 PM, kanugula [EMAIL PROTECTED] wrote: Hello, Version:qooxd00-0.7.3 In case of RPC Service exception, I get a stringified version of remote exception as per Rpc.js. I need to build a user-friendly

Re: [qooxdoo-devel] Where is the handle to RPC response original exception?

2008-03-07 Thread Andreas Junghans
Hi Kanugula, Am 08.03.2008 um 02:13 schrieb kanugula: The toString() version cuts the JSON object keys. It drops origMessage also. You're right, it doesn't include this information in the returned string. But there's no harm in that (see below). FF debug shows the response error object

Re: [qooxdoo-devel] How to convert Array to Map literal when passing to RPC Java

2008-02-23 Thread Andreas Junghans
Hi, Am 23.02.2008 um 17:17 schrieb kanugula: Some of the fields can be null on the server side. In order to make this to work I need to exclude nullable fields in the javascript map as follows. Can somebody tell me how to build javascript map object dynamically?

Re: [qooxdoo-devel] How to convert Array to Map literal when passing to RPC Java

2008-02-23 Thread Andreas Junghans
Hi, Am 23.02.2008 um 18:49 schrieb kanugula: I got a new problem now when the price is filled by the user. Everything works when the price is null (Thanks for ur solution) While converting the price to java.lang.Double, I am getting error Cannot convert java.lang.String to

Re: [qooxdoo-devel] Debugging and exceptions in remote request

2008-02-12 Thread Andreas Junghans
Hi Derrell, Am 12.02.2008 um 19:07 schrieb Derrell Lipman: On Feb 12, 2008 12:46 PM, Andreas Junghans [EMAIL PROTECTED] ida.de wrote: I discovered another related problem recently. throw new Error() doesn't actually process the thrown error until after completion of the current javascript

Re: [qooxdoo-devel] Debugging and exceptions in remote request

2008-02-12 Thread Andreas Junghans
Hi, Am 12.02.2008 um 18:07 schrieb Derrell Lipman: On Feb 12, 2008 11:59 AM, Gaetan de Menten [EMAIL PROTECTED] wrote: Hi list, I've been having the following problem for quite a while: whenever I throw an exception in a code which is executed in a callback of a request, nothing

Re: [qooxdoo-devel] qx.core.ServerSettings exists but not available to others

2008-02-06 Thread Andreas Junghans
Hi, Am 06.02.2008 um 20:40 schrieb kanugula: if (!qx || !qx.core || !qx.core.ServerSettings) { qx.OO.define(qx.core.ServerSettings); } The most likely reason why it fails for you is the !qx. This is a bug and leads to an exception when this script is executed before any qx classes are

Re: [qooxdoo-devel] qx.core.ServerSettings exists but can't lookup

2008-02-06 Thread Andreas Junghans
Hi, Am 06.02.2008 um 22:42 schrieb kanugula: Andreas, thanks for your reply. It still didn't work with the following settings. I see the same errors. index.html === html head meta http-equiv=Content-Type content=text/html; charset=utf-8 / titleMy Application/title

Re: [qooxdoo-devel] ServletContext reference

2008-01-31 Thread Andreas Junghans
Hi Raffi, Am 31.01.2008 um 16:13 schrieb S, Mohamed Raffi (Mohamed): Is there a way to get the reference of ServletContext in the RemoteService ? Yes, there is. Just add the following method to your service class: public void setQooxdooEnvironment(net.sf.qooxdoo.rpc.Environment env) {

Re: [qooxdoo-devel] Two Rpc Request block each other in FF

2008-01-11 Thread Andreas Junghans
code (and you should try to build a minimal test case to find the cause). Regards, Andreas -- Dipl.-Inform.(FH), M.Sc. Andreas Junghans STZ-IDA an der Hochschule Karlsruhe email [EMAIL PROTECTED] internet http://stz-ida.de telefon++49-721-920-3302 fax++49-721-160-890-56

Re: [qooxdoo-devel] Two Rpc Request block each other in FF

2008-01-04 Thread Andreas Junghans
Hi Mike, Am 28.12.2007 um 02:21 schrieb mg2: If the 2.Rpc is polling and waiting, all Requests sent to the Server with the 1.Rpc are received and replied by the Server, received by the Browser but the Response handler (defined when executing the callAsync method) is NOT executed. When

Re: [qooxdoo-devel] Issues with CrossDomain requests

2007-10-09 Thread Andreas Junghans
Hi Jim, Am 09.10.2007 um 03:23 schrieb Jim Hunter: I guess I am a bit confused... I should not have to call _requestFinished as this is an internal function. Well, not quite. It's internal in the sense that you shouldn't call it from JS code. The server-generated code can be considered

Re: [qooxdoo-devel] Issues with CrossDomain requests

2007-10-08 Thread Andreas Junghans
Hi there, Am 08.10.2007 um 20:50 schrieb Derrell Lipman: On 10/8/07, Jim Hunter [EMAIL PROTECTED] wrote: I have one question... why does qooxdoo execute a text file when it is returned via qx.io.remote.Request? The file has a TXT extension and the header says that it is of type

Re: [qooxdoo-devel] Issues with CrossDomain requests

2007-10-08 Thread Andreas Junghans
Hi Derrell, Am 08.10.2007 um 21:41 schrieb Derrell Lipman: @Derrell: I would be very interested in the other transport method you mentioned in this thread (something about fragment identifiers). While Script transport is quite usable, another alternative would be nice. However, if it allows

Re: [qooxdoo-devel] Issues with CrossDomain requests

2007-10-08 Thread Andreas Junghans
Hi Jim, Am 08.10.2007 um 22:14 schrieb Jim Hunter: Under the covers it might be using a Script transport but that is not what I intended. Here is the code I am using: var rpc = new qx.io.remote.Request(); rpc.setResponseType('text/plain');

Re: [qooxdoo-devel] Issues with CrossDomain requests

2007-10-08 Thread Andreas Junghans
Hi Jim, Am 08.10.2007 um 22:34 schrieb Andreas Junghans: I understand what you're trying to do, but it's just not possible - not with Script transport nor with anything else we could come up with (except for exploits for security holes ...). Small correction: It's not _entirely_ impossible

Re: [qooxdoo-devel] Issues with CrossDomain requests

2007-10-08 Thread Andreas Junghans
Hi Derrell, Am 09.10.2007 um 00:01 schrieb Derrell Lipman: On 10/8/07, Andreas Junghans [EMAIL PROTECTED] wrote: OK, I think I get it. You're right, there's no security problem (since you can't load arbitrary content without preparing the server). It seems like a nice idea for applications

Re: [qooxdoo-devel] Issues with CrossDomain requests

2007-10-08 Thread Andreas Junghans
Hi Jim, Am 08.10.2007 um 23:45 schrieb Jim Hunter: OK, assuming that I want to adhere to the cross-domain rules, I have a file on a publicly available web site (you can test on this file if you like) that is a simple text file (do I need to rename it to a JS extension?) with a single

Re: [qooxdoo-devel] Serious memory problems in IE7 and 0.7.x

2007-09-24 Thread Andreas Junghans
to commit it without some feedback. Under which circumstances can there be an exception (question to the one who originally checked this in - I didn't check who it was yet)? Is ignoring the exception enough, or should we log a warning? Regards, Andreas -- Dipl.-Inform.(FH), M.Sc. Andreas

Re: [qooxdoo-devel] simple(?) RPC-JavaBackend question

2007-09-20 Thread Andreas Junghans
Hi Tobias, Am 20.09.2007 um 07:42 schrieb Tobias Koller (GERMO GmbH): Here is my message: {service:de.germo.webFramework.myApp.UserManagement,method:save ,id:16,params:[{admin1 :[3,4],myapp_status:[6],myapp_stat:[2],user1: [4],myapp_admin:[1,5,3,4,2,6

Re: [qooxdoo-devel] simple(?) RPC-JavaBackend question

2007-09-20 Thread Andreas Junghans
Hi there, Am 20.09.2007 um 11:08 schrieb Siarhei Barysiuk: I've written own realization of Java RPC backend and I think it is a little better than existing. Why? Well, I don't like use package name+class name as service name (service.method = package+class.method) and I think existing

Re: [qooxdoo-devel] Java RPC backend

2007-09-10 Thread Andreas Junghans
Hi, Am 10.09.2007 um 15:18 schrieb Siarhei Barysiuk: Have one question about Java RPC backend for qooxdoo. I try to explain with a little example. For example in service I have method ... public void echo(String a,Bean b){ return a+b; } ... where Bean is org.some.package.Bean

Re: [qooxdoo-devel] removeAll + dispose

2007-08-18 Thread Andreas Junghans
Hi Viktor, Am 17.08.2007 um 03:33 schrieb Ferenczi Viktor: will all children's destructors be called when I call method removeAll of the parent-widget? The removeAll method is implemented in the Parent class. The removeAll method calls the remove method for each child widget. The

Re: [qooxdoo-devel] Howto map JS object as parameter to RPC method by Java

2007-08-09 Thread Andreas Junghans
Hi, Am 08.08.2007 um 17:37 schrieb vbZ: I found the bug at class net.sf.qooxdoo.rpc.RemoteCallUtils, method toJava(Object obj, Class targetType), line 136. There isn;t check to null of desc variable. All works fine, if I add the test; --- addedif (desc !=

Re: [qooxdoo-devel] Howto map JS object as parameter to RPC method by Java

2007-08-07 Thread Andreas Junghans
Hi, Am 06.08.2007 um 14:13 schrieb vbZ: thank You for Your response. But I have still the trouble with convertion JSONObject to my Object: The rcp request is: {service:com.tietoenator.nas.common.ui.qooxdoo.RTOrder,method:t esObj,id:2,params:[{$

Re: [qooxdoo-devel] Howto map JS object as parameter to RPC method by Java

2007-07-31 Thread Andreas Junghans
Hi, Am 30.07.2007 um 15:41 schrieb VojBarZ: I'm trying to send JS object as parameter to RPC method at the java side. Communication is OK, but I don't know how to set the type of the given object (or how to retype JSONObject to the java object) If I try the following code, the JSON

Re: [qooxdoo-devel] More Object disposal (sorry!)

2007-06-13 Thread Andreas Junghans
Hi there, Am 13.06.2007 um 09:22 schrieb Sebastian Werner: Dietrich Streifert schrieb: Shouldn't this be solved in general by modifying the _disposeObjects method? The disposal of an object makes a reference from its parent useless. So shouldn't some code like: parent =

Re: [qooxdoo-devel] Request Question in 0.6.6

2007-05-23 Thread Andreas Junghans
Hi Steve, Am 23.05.2007 um 21:00 schrieb Steve Ramage: Okay so I've received two responses and I'm not exactly 100% clear on what they mean. So when you say with cross domain AJAX requests must be in Javascript code, does that if I was on the same domain I could use the existing XML

Re: [qooxdoo-devel] Scrollbars show through other windows in Firefox on Mac OS X

2007-05-22 Thread Andreas Junghans
this before? Is this a known issue? Or maybe can be fixed by the way we use the scrollbars? This is a known bug in Firefox for OS X. See http:// bugzilla.qooxdoo.org/show_bug.cgi?id=277 Regards, Andreas -- Dipl.-Inform.(FH), M.Sc. Andreas Junghans STZ-IDA an der Hochschule Karlsruhe email

Re: [qooxdoo-devel] Java RPC - Access denied

2007-05-21 Thread Andreas Junghans
Hi Tobias, Am 21.05.2007 um 08:43 schrieb Tobias Koller (GERMO GmbH): i’m trying to use a Tomcat and the qooxdoo-Java-RPC-Backend. I created the qooxdoo.war file and put it into the webinf-Dir. And the sample-RPC_1-Demo works fine. But when I try to make an async-call to the

  1   2   >