PatternFly Java

2019-11-21 Thread Harald Pehl
Hi all, I'm working on a GWT version of PatternFly [1]. PatternFly [2] is an open source design system built to drive consistency and unify teams. It's open source and sponsored by Red Hat. PatternFly comes with a set of design guidelines and components. There's support for plain HTML / CSS a

Re: Custom Events and Elements with Elemental 2

2017-10-11 Thread Harald Pehl
We still use the GWT event bus for custom / application scoped events. To listen to DOM event we use what's provided by Elemental2. We use a simple interface [1] which is part or Elemento [2] to create custom elements. [1] https://github.com/hal/elemento/blob/develop/core/src/main/java/org/jb

Re: Integration between Datatables and GWT

2017-10-05 Thread Harald Pehl
We're using data tables in HAL.next [1], [2]. It's based on the latest APIs (GWT HEAD-SNAPSHOT, JsInterop, Elemental2). It's not usable on its own, but shouldn't be too hard to extract it (there are only a few dependencies to other modules). Feel free to take it, adjust it and use it in your p

Re: GWT Widgets and Elemental

2017-09-06 Thread Harald Pehl
menting with widgets alternatives or >> widgets(less usage)-elemental(more usage) alternatives but I haven't >> concluded anything... ( >> https://github.com/ibaca/rxtodo-gwt/blob/widgets/src/main/java/todo/client/ApplicationElement.java >> ). >> >> FYI Ha

Re: Generate JavaScript documentation from JsInterop annotated Java sources

2017-05-20 Thread Harald Pehl
> javadoc doclet? > > With J2Cl, I suppose (hope!) the javadoc could be carried out to the > generated ES6, so that would be a non-issue. > > On Wednesday, May 17, 2017 at 5:16:49 PM UTC+2, Harald Pehl wrote: >> >> I'm currently exporting a JavaScript API of my GWT a

Generate JavaScript documentation from JsInterop annotated Java sources

2017-05-17 Thread Harald Pehl
I'm currently exporting a JavaScript API of my GWT application using JsInterop. I'm looking for a way to document the JavaScript API. ATM this is all done by hand. But it would be great if I could reuse the JavaDoc of my annotated classes and methods to generate JavaScript documentation. I know

Re: 2.8.0 RC1 is here!

2016-07-29 Thread Harald Pehl
pi is somehow > excluded). > > On Friday, July 29, 2016 at 5:58:07 PM UTC+2, Harald Pehl wrote: >> >> Running SuperDevMode using GWT 2.8.0-rc1 and the GWT Maven Plugin from >> Thomas (net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-6:devmode) throws an >> exception

Re: 2.8.0 RC1 is here!

2016-07-29 Thread Harald Pehl
Running SuperDevMode using GWT 2.8.0-rc1 and the GWT Maven Plugin from Thomas (net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-6:devmode) throws an exception. Not sure whether it's related to RC1 or the maven plugin. [INFO] The code server is ready at http://127.0.0.1:9876/ [WARNING] Exception in th

Re: Can anyone help me to copy the text to clipboard in a simple way and which works on all browsers

2016-03-30 Thread Harald Pehl
I'm using an implementation based on http://zeroclipboard.org/ [1]. ZeroClipboard is used by GitHub and should work on all modern browsers. My implementation is built using JsInterop and provides a subset of ZeroClipboard's API. It should be pretty easy to add more methods if you need them. H

Re: [ANN] Elemento - HTML templates and other goodies for GWT Elemental

2015-08-12 Thread Harald Pehl
Hmm might be challenging since I rely on the APT APIs when turning the template into Java (check types, read template as resource, validate CSS selectors, ...). Overriding methods is just a small part of it. I don't see why running the annotation processor is such a pain. Moving towards GWT 3.0

Re: [ANN] Elemento - HTML templates and other goodies for GWT Elemental

2015-08-11 Thread Harald Pehl
Good question! I added a maven profile to the Elemento samples [1] which just runs the annotation processors. Now I can execute mvn compile -apt whenwver my HTLM template has been changed. [1] https://github.com/hpehl/elemento/blob/develop/samples/pom.xml#L175 Am Dienstag, 11. August 2015 16:

[ANN] Elemento - HTML templates and other goodies for GWT Elemental

2015-08-11 Thread Harald Pehl
Hi all, I just finished the first prototype of GWT Elemento. *TL;DR* Elemento tries to make working with GWT Elemental as easy as possible. - Builder like API to easily create arbitrary large element hierarchies - HTML templates, declarative event handling and support for handlebar

Re: Error in Totoe XML Parser.

2013-04-05 Thread Harald Pehl
Why do you setup namespaces? Your XML does not seem to use them? - Harald Am Donnerstag, 4. April 2013 19:54:04 UTC+2 schrieb skippy: > > This code works fine for me in IE but fails in Firefox. > I get the error Bad format on namespace decleration(s) given. > > String namespaces = "xmlns:defaul

Re: GWT-Eureka 0.2 released

2012-08-24 Thread Harald Pehl
Great work, Carlos! The timepicker widgets are exactly what I was looking for. I will integrate them asap in my time tracking app (tire-d8.googlecode.com). - Harald Am Donnerstag, 23. August 2012 23:18:28 UTC+2 schrieb ctasada: > > Hi everyone, > > I just published the GWT-Eureka 0.2. This is

Re: Is there any chart library for GWT?

2012-08-03 Thread Harald Pehl
In my current project (https://code.google.com/p/tire-d8/) I'm using GWT Highcharts (http://www.moxiegroup.com/moxieapps/gwt-highcharts/) It's easy to use and very flexible in its configuration: https://code.google.com/p/tire-d8/source/browse/trunk/src/main/java/name/pehl/tire/client/activity/v

Re: JSON Parsing in GWT Client

2012-05-25 Thread Harald Pehl
The actual parsing is done using GWT JSON API: JSONParser.parseStrict(String). I guess AutoBean does nothing different regarding parsing. I think the time conssuming parts in Piriti are related to resolving relations between objects and handling IDs and IDREFs. Although there are no real ID and

Re: JSON Parsing in GWT Client

2012-05-24 Thread Harald Pehl
Thanks for the numbers It's quite interesting for me to see how Piriti performs compared to AutoBeans. In recent versions, I've added new features mainly (right now I'm working on JAXB support). Regarding performance there's still room for improvement. The problem is that Piriti is currently a

Re: Templating for deferred binding / code generation

2012-01-24 Thread Harald Pehl
Finally I found the time to refactor the complete code generation process in Piriti from PrintWriter.write() to a Velocity based solution. The big advantage is that the generated code is much more readable. For more details please take a look at my blog post:

Re: Json serialization

2011-09-19 Thread Harald Pehl
You have different options for loading / parsing JSON data: 1. Receive it as a string from the server as a result of a RCP / REST call. Therefore Pirit was originally intended. 2. Load it from an external file. I'm using this option in my unit tests. See http://code.google.com/

Re: JAXB + GWT

2011-09-16 Thread Harald Pehl
Hi, I'm planning to add JAXB support to Piriti . Piriti is an XML / JSON mapper for GWT. Currently XML mapping is implemented using custom annotations. Regarding JAXB support I'm in the early design phase (see first l

Aw: Re: HTML5 local object persistence for GWT

2011-08-31 Thread Harald Pehl
I started Piriti as an XML mapper for GWT back in January 2010. JSON mapping was introduced some months later. So it has no relation to AutoBeans. It's just an alternative way to (de)serialize POJOs. Although the output is very similar, Piriti is not based on marker interfaces, but real POJOs. S

Aw: Re: HTML5 local object persistence for GWT

2011-08-30 Thread Harald Pehl
Well doe Joerg! The API is straightforward but very powerful. I noticed in JSONEntityWriter and JSONEntityReader you (de)serialize the entites using the GWT JSON API. I'm the author of Piriti a JSON / XML mapper for GWT: http://code.google.com/p/piriti/. Piriti is able to (de)serialize whole ob

Aw: Re: Aw: Xpath in GWT

2011-08-19 Thread Harald Pehl
I agree, modification would be a nice feature. Unfortunately Totoe is one of my spare time projects and recently I do not have much time to implement new features. - Harald -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this di

Aw: Xpath in GWT

2011-08-19 Thread Harald Pehl
Feel free to take a look at Totoe: http://code.google.com/p/totoe/ Totoe is a XML parser with json/xpath and namespace support. If you want to take a quick look at Totoes features check out http://totoe-tester.appspot.com/. There you can enter arbitrary JSON / XML and test your XPath / JSONPat

Aw: RPC Replacement

2011-07-12 Thread Harald Pehl
Another project you can take a look at is Piriti: http://code.google.com/p/piriti/ It's a client side XML / JSON mapper. Piriti is able to (de)serialize fairly complex JSON and XML data. See http://code.google.com/p/piriti/wiki/Features for a more detailed description. - Harald -- You receiv

Re: POJO to JSON

2011-06-24 Thread Harald Pehl
Hi, Thomas you're right: You can use Piriti (http://code.google.com/p/piriti/) on the client side to map JSON to POJOs and serialize it back to JSON. Please note that Piriti is only meant to be used on the client side. It's not usable on the server side. But you can share your POJOs between cl

Re: Client-side Serialization for HTML5 LocalStorage. JSON?

2011-06-17 Thread Harald Pehl
Take a look at Piriti: http://code.google.com/p/piriti/. It's an XML / POJO mapper based on annotations and deferred binding. The actual mapping code is generated for you. You can have it inside your beans or configure the mapping in extra interfaces. Currently serialization to/from JSON is sup

Re: Why is the XMLParser not returning a org.w3c.dom.Document ?

2011-06-10 Thread Harald Pehl
Hi David, feel free to take a look at Taoki: http://code.google.com/p/totoe/. It contains an XML parser with namespace support. Although it does not implement org.w3c.dom.Document it tries to be as close as possible. There's also a little test app. You can use it to quickly check whether it

Aw: Re: [Announcement] Piriti 0.7.0b1

2011-05-09 Thread Harald Pehl
See https://groups.google.com/d/topic/piriti/caOnaAGvxUA/discussion - Harald -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send em

[Announcement] Piriti 0.7.0b1

2011-05-09 Thread Harald Pehl
I'm pleased to announce the first beta of the upcoming Piriti0.7.0 release. Pirit is a JSON / XML mapper for GWT. Version 0.7.0 is a major release with breaking API changes, lots of new features and bugfixes. *Breaking API Changes:* - Piriti requires GWT 2.

Aw: 2.3 local storage api and client side gwt objects

2011-05-04 Thread Harald Pehl
Feel free to take a look at Piriti: http://code.google.com/p/piriti/ Actually it's a JSON / XML mapper used for client-server communication. But there's no reason to use it to serialize / deserialize your entities to the local storage. Please note that I'm currently about to update the wiki to

Re: Working with JSON in client/server shared class

2011-03-21 Thread Harald Pehl
Another framework which might be interesting is Piriti: http://code.google.com/p/piriti/. Piriti is a JSON / XML mapper for GWT. HTH Harald -- 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-

Re: Templating for deferred binding / code generation

2011-03-03 Thread Harald Pehl
Thanks for your input. I will give velocity templates a try and will let you know what I found out. - Harald -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To un

Templating for deferred binding / code generation

2011-03-02 Thread Harald Pehl
In my current project I'm using deferred binding to generate code. The code generation is heavily based on writer.write(String), writer.indent() and writer.outdent(): writer.write("%s = new %s<%s>();", var1, collectionImplementation, paramType ); writer.write("for (Element %s : %s) {", elementV

Re: HTML5 placeholder

2010-12-23 Thread Harald Pehl
I created a simple subclass so that I can use the placeholder property in UIBinder: public class PlaceholderTextBox extends TextBox { public void setPlaceholder(String placeholder) { InputElement inputElement = getElement().cast(); inputElement.setAttribute("placeholder",

Re: Announcing free online GWT/GAE mini-book

2010-12-03 Thread Harald Pehl
Hi Marius, thanks a lot for your work on this great book! Best regards Harald On Dec 3, 2:04 am, metalhammer29a wrote: > Thank you, what a valuable resource. > already bookmarked it, going to read it soon. -- You received this message because you are subscribed to the Google Groups "Google

Re: best way to use chart in GWT

2010-11-08 Thread Harald Pehl
I'm using a combination of http://raphaeljs.com and http://g.raphaeljs.com. It's a SVG based framework, so you'll need a modern browser. There is a GWT port available (http://code.google.com/p/raphaelgwt/), but I don't know whether it's up to date. So I decided to use JSNI. Actually it's not that h

Re: Using REST with GWT

2010-11-05 Thread Harald Pehl
I'm successfully using Restlet in several projects: http://www.restlet.org. Restlet comes in different editions: GAE, JEE, JSE, GWT and Andoid. So you can use it on the client and server side. - Harald On Nov 5, 2:05 pm, "marius.andreiana" wrote: > On Nov 5, 12:29 pm, Andreas wrote:> We're star

Re: GWT Maven Plugin 1.3.2: Manual mode in test phase not detected

2010-11-02 Thread Harald Pehl
I should add that I'm using GWT 2.1 and the adjusted GWT Maven Plugin from Google (http://google-web-toolkit.googlecode.com/svn/2.1.0/gwt/ maven) -- 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-w

GWT Maven Plugin 1.3.2: Manual mode in test phase not detected

2010-11-02 Thread Harald Pehl
My GWT project is using maven and the GWT maven plugin. For the GWT unit test I'm using the following setup: org.codehaus.mojo gwt-maven-plugin 1.3.2.google ( development mode ) test

Re: How to organize a gae + gwt project into modules

2010-10-29 Thread Harald Pehl
I'm about writing a personal time recording app called TiRe. It consists of four projects: - tire-d8: The actual webapp which gets deployed on GAE/J. Contains also the GWT frontend. - tire-dao: DAO classes for accessing the datastore. - tire-model: The server side model. - tire-rest: Contains r

Re: How to get list of objects from JSON ??

2010-10-26 Thread Harald Pehl
Feel free to take a look at Piriti (http://code.google.com/p/piriti/). It's a JSON / XML mapper for GWT using annotations and defered binding. Using Piriti you can have real POJOs on the client side. References and inheritance is supported. I'm about to release version 0.6 soon which will add suppo

Re: gwt-log-3.0.4 available for download

2010-10-19 Thread Harald Pehl
Is this version part of GWT 2.1, as described in http://code.google.com/intl/de-DE/webtoolkit/doc/trunk/DevGuideLogging.html? - Harald On Oct 19, 10:50 pm, Fred Sauer wrote: > Hi, > > There's a new version of gwt-log for your to try out. > > Downloads: >  http://code.google.com/p/gwt-log/downloa

Re: Interested in GWT client-side JSON serialization and deserialization?

2010-09-24 Thread Harald Pehl
In case you’re interested: I’ve written another JSON mapper which also comes with XML support. Feel free to take a look at it: http://code.google.com/p/piriti/ - Harald On Sep 23, 6:19 pm, lineman78 wrote: > This is way too complex, just stick to overlay objects and the > json2.js library(assum

Re: Piriti xml read error

2010-09-02 Thread Harald Pehl
gt; List properly but i am not able to read values from Option class. It > > always gives null for Desc and 0 for Sequence. > > > Pls suggest. > > > Thanks > > Deepak > > > On Sat, Aug 28, 2010 at 12:21 AM, Deepak Singh > > wrote: > > >>

Re: Piriti xml read error

2010-08-26 Thread Harald Pehl
d.run(Unknown Source) > > Caused by: java.net.SocketException: Connection reset by peer: socket write > > error > > at java.net.SocketOutputStream.socketWrite0(Native Method) > >  at java.net.SocketOutputStream.socketWrite(Unknown Source) > > at java.net.SocketOutputSt

Re: GWT serialization

2010-08-26 Thread Harald Pehl
ionby having the object implement IsSerializable. > > I've never done this, just remember reading about it. The source code from > > this tutorial looks helpfulhttp://developerlife.com/tutorials/?p=131 > > > On Wed, Aug 25, 2010 at 10:33 AM, Harald Pehl > > wrote: >

Re: GWT serialization

2010-08-25 Thread Harald Pehl
The JSON serialization is only in the trunk and not yet available as downloadable version. As soon as I finished the documentation for it, there will be a new version in the downloads. In the meantime feel free to checkout the sources and build by yourself. You can take a look at the following unit

Re: Piriti xml read error

2010-08-19 Thread Harald Pehl
is IE7 and chrome, tested on both > It happened in development and production bothe modes. > > Regards > Deepak > > On Thu, Aug 19, 2010 at 2:46 PM, Harald Pehl > wrote: > > > > > > > > > Could you please provide more information: > > - W

Re: Piriti xml read error

2010-08-19 Thread Harald Pehl
Could you please provide more information: - Which version of Piriti are you using? - Which browser are you using? - Does the error occur in development and/or production mode? Harald On 18 Aug., 22:03, Deepak Singh wrote: > Hi All, > > I am using piriti for xml to java mapping for my project. I

Re: GWT serialization

2010-08-18 Thread Harald Pehl
Right now Piriti just supports serialization into JSON. XML will follow in one of the next releases. In case the whole thing happens on the client consider using html5 offline storage: http://www.w3.org/TR/offline-webapps/ http://code.google.com/p/gwt-mobile-webkit/ - Harald On 18 Aug., 14:24, P

Re: Expose URL as REST service how?

2010-08-16 Thread Harald Pehl
Hi, the Restlet guys have written a little tutorial which might be helpful: http://wiki.restlet.org/docs_2.0/13-restlet/21-restlet/318-restlet/303-restlet.html - Harald On 13 Aug., 20:05, Thamizharasu S wrote: > Hi, > > Thanks for the quick answer. I want to deply my GWT app in GAE. is > there

Re: Using piriti 0.4.1

2010-08-11 Thread Harald Pehl
hotels or flight on > a particular date. > So what is the best way to parse you suggest. > > You mean "Anyway the XML is parsed using the browsers native XML parsrer" is > about the parser used by GWT internally ? > > On Wed, Aug 11, 2010 at 12:19 PM, Harald Pehl &g

Re: Using piriti 0.4.1

2010-08-10 Thread Harald Pehl
xml into json. > My critical issue is the time for taking xml and representing it into front > end in the minimum possible time. > > On Tue, Aug 10, 2010 at 8:08 PM, Harald Pehl > wrote: > > > > > Piriti is the only XML mapper for GWT I know. So I cannot say if it > &

Re: Using piriti 0.4.1

2010-08-10 Thread Harald Pehl
sue will be resolved now. > But do you suggest using piriti is a better solution for xml mapping to pojo > which can give fast result. Or is there anything else i should take up for > xml to java mapping. > Pls suggest. > > Deepak > > On Tue, Aug 10, 2010 at 1:04 PM, Harald P

Re: Using piriti 0.4.1

2010-08-10 Thread Harald Pehl
hod.java:22 4) > > So the compilation failed. > > I have injected these two in .gwt.xml > > > > Do i need to include anything else in the project ? > > Thanks > Deepak > > On Mon, Aug 9, 2010 at 7:03 PM, Harald Pehl wrote: > > > > > Piriti reli

Re: Using piriti 0.4.1

2010-08-09 Thread Harald Pehl
Piriti relies on Totoe. Totoe is an alternative XML parser with namespace support. So please make sure you have the relevant JAR file in the classpath / eclipse project. Totoe is available under http://code.google.com/p/totoe/. Having your POJO in the shared folder is no problem. Just make sure th

Re: Deserialization of the JSON to JAXB annotated JPA pojo's on the client side.

2010-08-06 Thread Harald Pehl
You can take a look at Piriti: http://code.google.com/p/piriti/. It's a XML / JSON mapper for GWT. Currently it uses its own annotations for mapping XML/JSON to fields. But in the next major release I will support JAXB annotations as well. - Harald On 6 Aug., 00:51, Marcin Misiewicz wrote: > Hi

[Announcement] Piriti 0.4 / Totoe 0.1

2010-07-07 Thread Harald Pehl
Hi everyone, I'm pleased to announce Piriti 0.4. Piriti is a JSON and XML mapper for GWT. New in this version is the support for namespaces in the XML document and XPath expressions. Therefore I wrote Totoe - a new XML parser for GWT which supports namespaces. Piriti resources: - Project page:

Re: gson module problem

2010-07-06 Thread Harald Pehl
You cannot use gson in GWT. See http://groups.google.com/group/google-gson/browse_thread/thread/6c3d6476113282e/d09bb094eca25a97 for more infos. If you need a JSON parser for GWT take a look at Piriti (http:// code.google.com/p/piriti/). - Harald On 6 Jul., 12:30, Ahmed Shoeib wrote: > Welcome

Re: Best practice to serialize a org.w3c.dom.Document over RPC?

2010-07-05 Thread Harald Pehl
I agree with Thomas. XMLParser.parse(xmlString) uses the browsers xml parser which should be reasonable fast. If you want to further process the XML document (e.g. map it to POJOs) feel free to take a look at Piriti: http://code.google.com/p/piriti/. It's a little lib I wrote to map XML / JSON to

Re: Best way to Deserialize JSON String to Java Object

2010-06-18 Thread Harald Pehl
Hi Jose, you could take a look at Piriti: http://code.google.com/p/piriti/. It's an XML / JSON mapper for GWT which maps JSON data from the server to POJO on the client. - Harald P.S. At the moment Piriti uses the "eval" function to parse JSON. This will be changed in the next release, so that t

Re: piriti xml mapping

2010-05-12 Thread Harald Pehl
wser. It doesn't read the fields in object. While > the same code is working fine in FF3.5 and Chrome. Is there any known > issue in IE8? > > Thanks, > Fahim > > On May 10, 3:46 pm, Harald Pehl wrote: > > > > > > > Hi, > > > do you have an

Re: piriti xml mapping

2010-05-10 Thread Harald Pehl
Hi, do you have an XmlReader for PackageContent? For example: public class PackageContent { public interface PackageContentReader extends XmlReader {} public static final PackageContentReader XML = GWT.create(PackageContentReader.class); ... } Sometimes it is also necessary to setup

Re: Display XML in a table

2010-04-08 Thread Harald Pehl
Hi, you can take a look at Piriti: http://code.google.com/p/piriti/. It's an XML mapper for GWT. Once you have mapped the XML to your model you can then populate your widgets with it. - Harald On 7 Apr., 21:14, Tobias Höfler wrote: > Hi all, > > I want to display a XML String in a table or sth.

Re: Piriti: JSON and XML mapper

2010-03-26 Thread Harald Pehl
Hi Thad, > 1) Any thoughts on when handing of attributes may be added? Mapping of attributes is already implemented: Using an XPath expression like @XmlField("/contact/@kind") String kind; you can map to the kind attribute of the contact element ... Is this what you're looking for? > 2

[Announcement] Piriti: JSON and XML mapper

2010-03-26 Thread Harald Pehl
Hi everyone, I'm pleased to announce Piriti 0.3.1. Piriti is a JSON and XML mapper for GWT. It is based on annotations and deferred binding. Here are some of the features: - Built-in support for many types (primitives, String, Date, Enums, ..) - Possibility to specify date and number forma

Re: GWT REST and XML

2010-02-15 Thread Harald Pehl
Hi Eggsy, for the XML parsing you can take a look at http://code.google.com/p/piriti/. It's a small XML parser based on annotations and deferred binding. I wrote it as I have several GWT clients talking to RESTful applications with XML representations. Let me know if this is somewhat useful for yo

Re: XMLBeans or XStream equivalent for Client side GWT

2010-02-14 Thread Harald Pehl
Hi Michael, I've written an XML mapper for GWT. You can take a look at it under http://code.google.com/p/piriti/. I'm using it to parse XML representation of REST resources. Let me know if this is somewhat useful for you. Harald On 15 Feb., 02:56, Michael Dausmann wrote: > I would like to work

Re: XMLParser Help

2010-02-10 Thread Harald Pehl
If you want to map the XML to model classes you can take a look at http://code.google.com/p/piriti/. It's an XML mapper for GWT which can take data from the XML and "inject" it into your model classes. HTH Cheers Harald On 10 Feb., 16:56, Russ wrote: > Hi, > Could someone point me to an example

Re: XMLParser Help

2010-02-10 Thread Harald Pehl
If you wa On 10 Feb., 16:56, Russ wrote: > Hi, > Could someone point me to an example (or tutorial) of how to retrieve, > parse and display data from a reomte XML doc? > > I've tried numerous examples from the web with no luck. This time I'd > like to try GWT's XMLParser. > > Thank you, > -Russ

Re: Use Annotation to generate client side code

2010-02-03 Thread Harald Pehl
You have to use deferred binding to generate your code. Take a look at http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html for further information. I'm using this in my XML mapper for GWT. If your interested the source code is available under http://code.googl

XML mapping for GWT

2010-01-10 Thread Harald Pehl
For the umpteenth time I had to read XML data generated by a REST resource in GWT. Finally I collected my code written so far and made a little framework out of it. Feel free to take a look at it under http://code.google.com/p/piriti/ Piriti makes heavy use of annotations and deferred binding. Th

Re: Project Structure in GWT-2.0

2009-09-30 Thread Harald Pehl
+1 for Maven nested module friendliness. On 30 Sep., 08:46, Michał Sędzielewski wrote: > and what is the opinion of Googlers? > > On 29 Wrz, 20:37, Daniel Jue wrote: > > > +1 for Maven nested module friendliness. > > > On Tue, Sep 29, 2009 at 12:25 PM, Iain Shigeoka > > wrote: > > > > +1 Mave

Re: Spring + GWT project template / example

2009-04-11 Thread Harald Pehl
Hello, I recommend using GWT server library at http://gwt-widget.sourceforge.net/?q=node/51. There are several options for you available how to integrate your services with spring. Regards Harald On 10 Apr., 14:41, rr wrote: > Hello, > > i read few articles about spring and gwt integ

Re: gwt framework recomendations

2009-03-17 Thread Harald Pehl
We alos use spring / hibernate. Furthermore we used GWT Server Library (http://gwt-widget.sourceforge.net/) for the clue code between spring dispatcher servlet and GWT services. Greetings Harald On Mar 17, 1:38 pm, Arthur Kalmenson wrote: > We use Hibernate to communicate with the database and

Re: iGoogle-like effect with GWT

2009-03-01 Thread Harald Pehl
My recommendation is to use a widget library like SmartGWT or Ext GWT. They both have support for portal like pages: SmartGWT: http://www.smartclient.com/smartgwt/showcase/#featured_portal Ext GWT: http://extjs.com/examples/portal/portal.html Greetings Harald On 1 Mrz., 11:59, Pete Kay wrote: >

Re: log4j for GWT

2009-02-26 Thread Harald Pehl
log4j is not available in GWT since it does use IO classes which are not present in the emulation library. But there's an alernative available under http://code.google.com/p/gwt-log/ Greetings Harald On 26 Feb., 16:15, Vinayak wrote: > Hey, > > How to cnfigure log4j for GWT > > Thanks. --~--~--

Re: Third party libraries for GWT

2009-02-17 Thread Harald Pehl
Same for me. I'm using Ext GWT for half a year now and I'm very pleased with it. What I like most beside the widgets is the well designed MVC part. It's small, elegant and extendable. For instance I extended the XML readers to work with the GWT module of the Restlet framework. On 16 Feb., 12:13,

Re: RESTful URL with GWT

2009-01-20 Thread Harald Pehl
ing? Any goodies to add > Restlet and RESTful with GWT? > > On 1月15日, 下午4时01分, Harald Pehl wrote: > > > > > On 14 Jan., 02:44, zhouxing fang wrote: > > > > hi,Harald,can you give more detail of your project? Is it possible to use > > > RESTful service with

Re: RESTful URL with GWT

2009-01-15 Thread Harald Pehl
On 14 Jan., 02:44, zhouxing fang wrote: > hi,Harald,can you give more detail of your project? Is it possible to use > RESTful service with Ext-GWT? We're using the following architecture / frameworks: 1. Server: Restlet & Spring 2. Client: Restlet-GWT module & GXT (http://extjs.com/products/gxt/

Re: RESTful URL with GWT

2009-01-13 Thread Harald Pehl
Take a look at the RESTlet project: http://www.restlet.org/. They have also a GWT extension: http://wiki.restlet.org/docs_1.1/13-restlet/144-restlet.html I'm using it for my current project and found it very usefl! Greetings Harald On 13 Jan., 12:38, "Joshua Partogi" wrote: > Dear all, > > Is

Re: Sending Hibernate JPA persistent entities to the client

2008-12-18 Thread Harald Pehl
Hi, take a look at Gilead: http://noon.gilead.free.fr/gilead/ (previously known as hibernate4gwt). I used it successfully together with Spring & Hibernate in my last project. Greetings Harald On 18 Dez., 00:31, Smith wrote: > All, > > With GWT 1.5, is it possible to send the persistent hiberna