Re: Reg:Dozer DTO generation

2013-03-12 Thread Gibson
Net Beans is a handy with DTO generation,with a connection to your
DS,There's a wizard to generate DTOs from entities


On Tue, Mar 12, 2013 at 4:51 PM, Ed post2edb...@gmail.com wrote:

 You can't generate them with Dozer. Dozer isn't a generation tool.
 You can write code yourself to generate them or just make them by hand and
 use a good IDE to help you with that..
 It might be a bit of work to do it by hand, by on the other hand, once you
 have them, you probably hardly change them.
 - Ed

 Op dinsdag 12 maart 2013 14:07:02 UTC+1 schreef nalin...@googlemail.comhet 
 volgende:


 On Wednesday, January 30, 2013 12:02:30 PM UTC+1, 
 nalin...@googlemail.comwrote:

 In GWT documentation in https://developers.google.com/**
 web-toolkit/articles/using_**gwt_with_hibernate?hl=enhttps://developers.google.com/web-toolkit/articles/using_gwt_with_hibernate?hl=en
 under using dozer for hibernate integration, it is mentioned that it is
 possible to generate DTOs using Dozer...
 But in Dozer site I could not found any relevant document on generation
 of DTOs...
 I could found information only on mapping between two files...
 Can anyone tell me if it is possible to generate DTOs with Dozer and any
 reference on that ...
 thanks.




  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Generating XML

2011-08-19 Thread Gibson
Hi Darth,
Use the Xstream library,http://xstream.codehaus.org/
its a library that serialises objects to xml and back from xml.
use the toXML method and pass it the object.




On Fri, Aug 19, 2011 at 6:42 PM, DarthG garyker...@gmail.com wrote:

 Part of my application requires an XML file to be generated from an
 object. The XML produced will be small in size and simple in
 structure. I could achieve this using elaborate string manipulation
 but I suspect there is a better way.

 I tried to use the xmlenc (http://xmlenc.sourceforge.net/) library,
 but it requires Writer objects to function, which GWT does not
 support. Is there an accepted way of XML generation for GWT? Or
 perhaps a way to synthesise Writer objects? Initially, I want the XML
 output on the console for testing, but eventually it will be stored on
 a server/database.

 Thanks,
 Gary

 --
 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 email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
Gibson Wasukira
Making Technology a Business Asset
www.gwasky.wordpress.com
www.thegrid.ug

-- 
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 email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Editing a word document within GWT page

2011-07-27 Thread Gibson
Dear Team,
Any ideas on how i can open and edit a word document on the GWT client
side,am currently only able to convert an object on the server side into
xml,then using a third party tool Winward reports which has tags mapped into
the xml data source,then downloading the document for user viewing.
What happens is word templates and xml files are stored on the server side,
i pass an id from the client side to a servlet which uses the winward
reports library to map data from the xml datasource to the the tags in the
word document and the download the document onto the client machine.

However i need to have this document edited on the client side,instead of
downloading this doc,i want to have it open on the client side for editing.

Regards

-- 
Gibson Wasukira
Making Technology a Business Asset
www.gwasky.wordpress.com
www.thegrid.ug

-- 
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 email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Fill a grid from my database

2011-06-30 Thread Gibson
I think what Khadija wants to use is a GXT datagrid,i managed to do so by
extending my DTO class with the BeanModelTag interface,
then wrote a function to load the objects i want to display in the grid.
below is the code for loading the Grid.

private Grid createBidGrid(){

final GWTServiceAsync service =
(GWTServiceAsync)GWT.create(GWTService.class);
RpcProxy proxy = new RpcProxy()
{
  @Override
public void load(Object loadConfig,AsyncCallback callback){
service.getItems(callback);
  }
};
BeanModelReader reader = new BeanModelReader();
ListLoader loader = new BaseListLoader(proxy, reader);
ListStoreBeanModel store = new ListStore(loader);
loader.load();
ListColumnConfig columns = new ArrayListColumnConfig();

columns.add(new ColumnConfig(supplierName, Supplier Name, 130));
columns.add(new ColumnConfig(procRefNo, Proc Ref No, 130));
columns.add(new ColumnConfig(procSubject, Subject, 130));
columns.add(new ColumnConfig(issueDate, Issue Date, 130));
columns.add(new ColumnConfig(procMthName, Procurement Name,
130));
columns.add(new ColumnConfig(biddingTypeName, Bidding Type,
130));
columns.add(new ColumnConfig(bidMethodName, Bid Method, 130));
ColumnModel cm = new ColumnModel(columns);

GridBeanModel grid = new GridBeanModel(store, cm);
//grid.setAutoExpandColumn(supplierName);
grid.setColumnLines(true);
grid.setColumnResize(true);
grid.setAutoHeight(true);
grid.setBorders(true);
return grid;

The getItems() being the above mentioned function.

I am looking to make this a live grid,such that whenever i add an item to
the database,it automatically adds it to the GRID

On Wed, Jun 29, 2011 at 8:04 PM, Robert W riasol@gmail.com wrote:

 GWT 2.4 or gwt-incubator project had something called PagedDataGrid or
 similar. In 2.3 gwt is Editor framework suitable for your requirements
 too.

 On Jun 29, 10:21 am, Khadija FERJANI ferjani.khad...@gmail.com
 wrote:
  Good morning everybody,
  I wonder if someone could help me to fill my Grid from a database.
  My result have to be like this examplehttp://
 www.sencha.com/examples/pages/grid/widgetrenderer.html
  Thanks.
 
  --
  Cordialement, Khadija FERJANI
  Élève ingénieur à la faculté des sciences de Tunis.

 --
 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 email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Gibson Wasukira
Making Technology a Business Asset
www.gwasky.wordpress.com
www.thegrid.ug

-- 
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 email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Need Feedback on charts frameworks for GWT

2011-03-23 Thread Gibson
Came across FusionCharts for GWT today,i have used FusionCharts V3) with
php.
Havent develved into that with GWT.here is a link
http://www.fusioncharts.com/

On Wed, Mar 23, 2011 at 10:41 AM, rjcarr rjc...@gmail.com wrote:

 Not exactly client-side, but I generate charts on my server using
 JFreeChart and it's pretty nice.  I do this because there's a lot of
 data in my charts and it doesn't make sense to send it all client-side
 first.

 At some point I want to do some client rendering and for this I've
 been looking at canvas based tools like flot.

 Good luck!

 On Mar 21, 5:08 pm, Romain BIARD biard.rom...@gmail.com wrote:
  Hi everybody,
 
  I'm looking for different feedback about frameworks which provides
  client-side charts, especially well integrated with GWT MVP
  Architecture (I managed to persuade my client to migrate to GWT
  2.2.0 :p ) . I don't know which solution fit the best and the
  community didn't discuss about it for a while...
 
  What about your XP ? JS wrapper, clientsidegchart, GXT ?
 
  Thanks for your feedback !

 --
 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 email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Gibson Wasukira
Making Technology a Business Asset
www.thegrid.ug

-- 
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 email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.