AutoBean creation, population and retrieval issue

2011-06-09 Thread Ramon Buckland
Hi, I am playing around with the AutoBean framework as a way to create JSON from my object models and am using the Editor Framework to do this. I have the following model

Re: AutoBean creation, population and retrieval issue

2011-06-09 Thread Ramon Buckland
SOLVED: I have been able to distill this problem down a fair bit. As it turns out it's not (appears) a problem with AutoBean stuff, but rather how Editors work. Editors won't auto create an object for me where it's a property. I need to do that. eg: If I have the object graph as below:

New 2.3 Bindery Package and Activity / EventBus

2011-05-17 Thread Ramon Buckland
Hi Peoples, Good work on pushing out the 2.3 changes. I am trying to convert my unfinished project from the older com.google.gwt to the newer com.google.web.bindery package structure but have come stuck at a point. com.google.gwt.activity.shared.Activity has void start(AcceptsOneWidget

Re: GWT service that transforms a HTTP request including running javascript

2011-03-15 Thread Ramon Buckland
Hi To clarify your problem: -== Problem A ==- You have a URL which is a mix of HTML and JavaScript You need to load the page, and someone get values or data out of the executed javascript. -== Problem B ==- You have a URL which is JUST javascript (i) that has to be executed (creates some data in

Re: Hidden RPC parameters

2011-01-11 Thread Ramon Buckland
Hi Paul, Depending on how you have the servlet configured I would embed this into the Servlet URL instead. (that way your API is kind of protected). Use the Constants interface to load the Version from a properties file. -== foo/package/ClientConfiguration.properties ==- version=1.0 -==

Re: Exposing RequestContext methods to non-GWT clients.... (newbie question)...

2010-12-20 Thread Ramon Buckland
Hi Richard, You need to consider what protocol your clients are going to use the GWT-like interface with. That is, do yuou want the client to talk GWT ? if that is the case, they can just talk to the GWT Servlet However if it's SOAP, or REST or something else, you have to make that happen As an

Multi Reference Object Graph - How to Persist.

2010-12-02 Thread Ramon Buckland
Hi, I have a case where I have an object class ObjectFoo { private ObjectFoo next; private ObjectFoo previous; } These Objects get stored in a parent object as a set class Parent { private SetObjectFoo foos; } when I work with a particular object I am

CalendarUtil - Unusual Calculation

2010-12-01 Thread Ramon Buckland
Hi Before I log a bug, I just want to check I am not missing something regarding the CalendarUtil. I have a simple use case that is proving to show an unexpected result. In Eclipse, open up a Scrapbook page and copy the following code in and run it. java.util.Date calcDate = new

Re: CalendarUtil - Unusual Calculation

2010-12-01 Thread Ramon Buckland
.. something smells fishy). On Dec 1, 10:24 am, Ramon Buckland ra...@thebuckland.com wrote: Hi Before I log a bug, I just want to check I am not missing something regarding the CalendarUtil. I have a simple use case that is proving to show an unexpected result. In Eclipse, open up a Scrapbook page

Re: CalendarUtil - Unusual Calculation

2010-12-01 Thread Ramon Buckland
Ignore this thread :-) I found my answer /** * Testing to that if we set the day number to 31 for a month that only has 30 * days in it, that the date rolls over to the first day of the next month in * sequence. On Dec 1, 11:08 am, Ramon Buckland ra...@thebuckland.com wrote: So

Extended Methods for EntityProxies

2010-11-29 Thread Ramon Buckland
Hi, -== Context ==- I have created a widget that implicitly holds an EntityProxy as it's backing value. eg: MySpecialDisplayPanelE extends EntityProxy I use this panel (which has a Label and other decorations) when I need to display the entity. Click on the entity and it swaps to a listbox to

Re: RequestFactory Security/Authentication

2010-11-26 Thread Ramon Buckland
Yes this does happen. So the answer is: jsp:output omit-xml-declaration=yes / jsp:directive.page pageEncoding=ISO-8859-1 contentType=text/html; ISO-8859-1 / This intructs the jspx file ( an XML file ) to tell your browser it has to be rendered as text/html. Sets the

Re: RequestFactory Security/Authentication

2010-11-24 Thread Ramon Buckland
); } }; requestFactory.userInformationRequest().getCurrentUserInformation(Window.Location.getHref()).fire(receiver); That is it. HTH Ramon Buckland On Nov 12, 1:32 pm, Patrick Hilsbos patrick.hils...@cloudsters.net wrote: Hi, could you get a bit more in detail, how to implement the auth - e.g. where to store the authcode

Re: XMLparse

2010-11-24 Thread Ramon Buckland
Facundo, Your question is very confusing. But I think, what you are saying is: You have a method declared like XMLParce(String a) { ... } and it currently parses XML when a is an XML String. You want it to, also, if needed, to Connect to some URL (presumably phpMyAdmin PHP Page that

Re: XMLparse

2010-11-24 Thread Ramon Buckland
failed, e); } } And then when the method:  XMLParce(String a) {     ...   } is called. But the parameter a is the PHP content file instead the XML retrieved from the database query. Do you know what kind of problem is it  ? best regards Facundo 2010/11/24 Ramon Buckland ra

Re: RequestFactory Security/Authentication

2010-11-24 Thread Ramon Buckland
I do have a dispatcherServlet (serves up other stuff). My web.xml ?xml version=1.0 encoding=ISO-8859-1 standalone=no? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http:// www.w3.org/2001/XMLSchema-instance version=2.4 xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee

Re: RequestFactory Security/Authentication

2010-11-24 Thread Ramon Buckland
problems there ... On 24.11.2010, at 23:08, Ramon Buckland wrote: I do have a dispatcherServlet (serves up other stuff). My web.xml ?xml version=1.0 encoding=ISO-8859-1 standalone=no? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http:// www.w3.org/2001/XMLSchema-instance version

Re: RequestFactory - A request is already in progress

2010-11-09 Thread Ramon Buckland
On Nov 9, 12:48 pm, Ramon Buckland ra...@thebuckland.com wrote: Hi All, I am currently in the process of building an app, initally based off the Roo framework. I am getting a A request is already in progress at the point where I call create for a child entity. Is there a way I can see

RequestFactory - A request is already in progress

2010-11-09 Thread Ramon Buckland
Hi All, I am currently in the process of building an app, initally based off the Roo framework. I am getting a A request is already in progress at the point where I call create for a child entity. Is there a way I can see what request contexts are in progress, so I can debug where my logic is

Re: gwt 2.1 - what is correct DAO architecture while using RequestFactory?

2010-10-25 Thread Ramon Buckland
Though there are shortcomings in the RC1 release; which includes the findXxx static method on your entities (data model). I've heard this will be sorted out in a 2.1.1 release shortly after the 2.1.0. This design, I assume, comes from how Spring-ROO has the finder 'design' embedded via

Re: Client side dynamic configuration/properties

2010-05-20 Thread Ramon Buckland
You would simply write out, server side, a Dictionary JS object and then pick that up in the GWT code. See http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/i18n/client/Dictionary.htmlfor more details. Regards On Thu, May 20, 2010 at 1:46 PM, Mike Noordermeer

Re: SmartGWT 2.1 doesn't work

2010-05-13 Thread Ramon Buckland
Is the browser actually loading the GWT nocache.js file ? Use firebug plugin (Firefox) or equivalent to ensure that the browser is in fact loading the GWT JS file. Sometimes the script tag will not actually execute if you for example don't have start end tags. script ... / and there used to be

Re: GWT and telnet connections

2010-05-12 Thread Ramon Buckland
Not from the browser no. You could do some weird stuff where the GWT client is just a front end for a server bound telnet session. On Sun, May 9, 2010 at 9:56 PM, Łukasz P. bufec...@gmail.com wrote: Hello, I wonder is it possible to make an application in GWT that could use telnet

Re: GWT 2.0.3

2010-05-09 Thread Ramon Buckland
Hi Avinash, It would seem that the compiler is thinking it needs to compile server code .. ie: TestFacade. Your problem, is it perhaps the configuration of the gwt-compiler in Maven ? On Sun, May 9, 2010 at 4:11 PM, Avinash avinas...@yahoo.com wrote: Hi Sripathi, Thanks for your quick

Re: Export CSV from Client

2010-05-05 Thread Ramon Buckland
There is a way to achieve this .. http://downloadify.info/ see below for a jQuery-ified example/ http://stackoverflow.com/questions/2226192/generate-some-xml-in-javascript-prompt-user-to-save-it This uses a Flash .swf as the download conduit. tatical it seems but also functional. cheers r,

Re: Maven, again

2010-04-26 Thread Ramon Buckland
Hi Steve, I think I have what you are after. What does this pom.xml do ? a. mvn package - Creates the war, compiles the java source code. b. mvn jetty:run - compiles the GWT to JS into the target/war directory and launches jetty (with a debug profile, you can start eclipse debugger onto it) c.

Re: Where to put jars for inclusion in WEB-INF/lib/?

2010-04-26 Thread Ramon Buckland
I would second that. Maven is your answer for putting your build on steroids, but yes another discussion that one is :0) On Mon, Apr 26, 2010 at 12:43 PM, ponthiaux eric ponthiaux.e...@gmail.comwrote: Humm . Maven seems to be your solution . Take à look at http://maven.apache.org/ . Maven