Re: GWT and Web Cam

2012-12-07 Thread Daniel Mauricio Patino León
nt to use 'native' support when available and flash as a fallback, don't > know if may be useful. > > > Ciao, > Alberto. > > On Sat, Dec 8, 2012 at 1:40 AM, Daniel Mauricio Patino León < > ceo.lion@gmail.com> wrote: > >> Hey Alberto. >&

Re: Activities and places with MVP approach question

2012-12-05 Thread Daniel Mauricio Patino León
t; > > On Sun, Nov 4, 2012 at 1:50 PM, Daniel Mauricio Patino León < > ceo.lion@gmail.com> wrote: > >> I recently started a new project usign Activities and palces with mvp. >> Now i have a quiestion of approach. >> >> Example: >> >> Empl

Re: SuperDevMode not so super

2012-11-14 Thread Daniel Mauricio Patino León
It's to sad that if i want to change a small line of code, like css on uibinder i need to recompile all the project. Plus JSR 303 Validation annotations aren't compiled in superdev mode i will put a issue El miércoles, 14 de noviembre de 2012 02:24:35 UTC-6, StefanR escribió: > > In a larger GW

Re: GWT JSR 303 and setConstraintViolations() wrong Path name bug ?

2012-11-12 Thread Daniel Mauricio Patino León
ppendable appendable) throws IOException { render(object); } }, new ImpuestoEditorImpl(true)); ... } public class UiOptionalValueListBoxImpl> extends UiBaseBox implements IsEditor> { ... } Thank you. El lunes, 12 de noviembre de 2012 21:26:45 UTC-6, Daniel Mauricio Patino León escribi

GWT JSR 303 and setConstraintViolations() wrong Path name bug ?

2012-11-12 Thread Daniel Mauricio Patino León
Hello there today i am almost finish with a medium complex EntityProxy editor module. But now seems that i found a new hole or don't know why this happens. This the proxy scenario: in ProductoProxy i have: @Valid public ImpuestoProxy getImpuesto(); @Valid public ImpuestoProxy g

Re: Drag and Drop Tutorial

2012-11-12 Thread Daniel Mauricio Patino León
Thanks for sharing. 2012/11/12 Jamie > Hi, > > I required Drag and Drop for a project I am working on. > I couldn't find a lot of info on it, so I wrote a tutorial on how to add > Drag and Drop to a Tree, using GWT 2.4+'s built-in DnD. > > You can read the tutorial here: > http://jamies-gwt.blog

Re: DoubleBox and Editor framework bug?

2012-11-11 Thread Daniel Mauricio Patino León
11, 2012 7:47:11 PM UTC+1, Daniel Mauricio Patino León > wrote: >> >> Seems that edioto framework is trying to get the Double.doubleValue() >> without check if the object is null. >> >> Any one ? >> > > DoubleBox uses DoubleParser. DoubleParser

Re: DoubleBox and Editor framework bug?

2012-11-11 Thread Daniel Mauricio Patino León
Seems that edioto framework is trying to get the Double.doubleValue() without check if the object is null. Any one ? 2012/11/11 Daniel Mauricio Patino León > Its normal when i use a DoubleBox in a Editor to edit a double property > (RequestFactoryEditorDriver) > if i clear the value o

DoubleBox and Editor framework bug?

2012-11-10 Thread Daniel Mauricio Patino León
Its normal when i use a DoubleBox in a Editor to edit a double property (RequestFactoryEditorDriver) if i clear the value of the box i get a null pointer exception? If so how can i validate a DoubleBox with the JSR 303 Validation? My code looks something like this: @DecimalMin(value="0.0", mess

Re: GWT 2.5 Validation problem

2012-11-09 Thread Daniel Mauricio Patino León
isventas/8868B8CCE0C8FEE0ACC285CD147AC8B1.cache.js> Fri Nov 09 14:51:20 GMT-600 2012 Validation INFO: informacionAduanera.numeroDocumento informacionAduanera.numeroDocumento notNull 2012/11/9 Daniel Mauricio Patino León > I want to validate a child Proxy (@Embeddable) on an EntityProxy

GWT 2.5 Validation problem

2012-11-09 Thread Daniel Mauricio Patino León
I want to validate a child Proxy (@Embeddable) on an EntityProxy with the new Validation frame work but i have a problem The code looks some thing like this: @ProxyFor(locator=BaseEntityLocator.class, value=Producto.class) public interface ProductoProxy extends EntityProxy { public void setInf

Activities and places with MVP approach question

2012-11-04 Thread Daniel Mauricio Patino León
I recently started a new project usign Activities and palces with mvp. Now i have a quiestion of approach. Example: Employee CRUD Activity and place for each operation C, R, U One place differente activities for operations C, R, U. what you guys suggest to use and why? many thanks -- You

Re: GWT 2.5 GA is Here!

2012-10-25 Thread Daniel Mauricio Patino León
Nice 2012/10/25 Juan Pablo Gardella > Great!!! > > > 2012/10/25 unnurg > >> Hey all, >> >> We're excited to announce the GWT 2.5 Release! There will be an >> announcement soon on the GWT >> Blog, >> and you can download it >> here

Elemental missing getWindow().newFormData()

2012-10-17 Thread Daniel Mauricio Patino León
Iam trying to implement a html5 file api + xmlhttrequest level 2 upload on my project. But sems that Elemental is missing things of FormData and i can't send over XMLHttpRequest object. How to construct a object of FormData ? FormData formData = /*getWindow().newFormData() <- doesn't exist *

GWT 2.5 RC2 EntityProxy Validation

2012-10-12 Thread Daniel Mauricio Patino León
Hello there. I have a question of wich is the best option to validate my domain objects on the client side with RequestFactory. It's posible to validate a Proxy with the new Validation of 2.5 RC2 ? If i do a validation of my proxy don't get any constraints violations. What i did to get a work

RequestFactory and Editor Frame Work Question

2012-07-31 Thread Daniel Mauricio Patino León
Hello there RequestFactory and EditorFramework gurus and all the comunity. I have the following structure public class CitaWidget{ //here i load a complex graph with request factory // in some place of this class i create a Editor of each proxy on a list for(UnidadProxy unidadProxy: response

Re: Use RequestFactoryProxy on UiBinder Template.

2012-07-19 Thread Daniel Mauricio Patino León
012 8:37:23 PM UTC+2, Daniel Mauricio Patino León > wrote: >> >> Should be great if we can use a proxy on a UiBinder template with >> the >> >> I tryed to do it, but i get a error. >> >> public class VerPresupuestos extends TabItem >> Pacie

Use RequestFactoryProxy on UiBinder Template.

2012-07-19 Thread Daniel Mauricio Patino León
Should be great if we can use a proxy on a UiBinder template with the I tryed to do it, but i get a error. public class VerPresupuestos extends TabItem PacienteProxy pacienteProxy; public VerPresupuestos(final PacienteProxy pacienteProxy) { this.pacienteProxy = pacienteProxy; in

Re: Simple GWT Dual list

2012-07-10 Thread Daniel Mauricio Patino León
Thank you for your sharing. 2012/7/10 Alain Ekambi > Nice job Juan. Works great. > Maybe you should also think and Drag and Drop ? > > Cheers, > > Alain > > > 2012/7/10 Juan Pablo Gardella > >> Hi >> >> Thanks for the suggestions. I will include this features soon. >> >> Juan >> >> >> 2012/7/9

Re: changing an entity proxy within request in GWT editor framework

2012-06-26 Thread Daniel Mauricio Patino León
In this scenario i think you are using a ListEditor What i do is this: >From your editor when you create your new EntityProxy pass it to the ListEditor of Bar implementing TakesValue then when you create a new EntityProxy of Bar set it as if you are working on the server side with bar.setFoo(foo

Re: accessing web service in gwt

2012-06-15 Thread Daniel Mauricio Patino León
This need be done on the server side. Use wsimport to generate the jaxb clasess ot the wsdl (SOAP) then on the implementation of yourRPC or your DAO (Request factory) make your calls to the ws. send to the client what do you need. 2012/6/15 Harshal Patil > Hello, > > I have to access the web

Re: Printing from GWT -- how to?

2012-06-01 Thread Daniel Mauricio Patino León
http://code.google.com/p/gwt-print-it/ 2012/6/1 Rob Tanner > I have a project where the request has been made that I add a print button > to several different panels so that users can print them out for their > records. I know how to print a page in JavaScript, but in this case all I > want t

Re: Google axing GWT?

2012-04-27 Thread Daniel Mauricio Patino León
I think GWT its a very good open source project. We use it to develop RIA and we love it. Like Joseph i'll pray to google make it better and improve it. What about a thread where people +1 if want that google keep working on it? there exist one? Greetings from Mexico. El 27 de abril de 2012 15:

Re: How to wire multiple editor to same bean.

2012-04-18 Thread Daniel Mauricio Patino León
Use a main view PatientRegistrationFormEditor implements Editor{ } then use separated views PersonalDetailsView implements Editor /* ValueAwareEditor if you need the proxy for some reason*/{ } Then anonate you partial views on your main view with @Path("") /* this make the subeditor (partial v

Re: RequestFactory and @OneToMany association

2012-04-17 Thread Daniel Mauricio Patino León
Yes was the issue. Thank you. Aidan El 16 de abril de 2012 15:27, Aidan O'Kelly escribió: > You'll probably need: > with("parents", "parents.childs") > > getChilds() is not a method on your Callback object.. > > 2012/4/16 Daniel Mauricio Pat

RequestFactory and @OneToMany association

2012-04-16 Thread Daniel Mauricio Patino León
Iam stuck here! any help would be appreciated. (sorry for duplicate the post : http://stackoverflow.com/questions/10180282/requestfactory-and-onetomany-association ) My case is that i have a @OneToMany association on my module. class Parent{ @OneToMany( mappedBy="parent

Re: ListEditor question.

2012-04-09 Thread Daniel Mauricio Patino León
My bad. Of course i need to initialize the ArrayList on the main Proxy when create a new one. So proxy.setArchivos(new ArrayList()); solved this issue. Great GWT. El 9 de abril de 2012 15:08, Daniel Mauricio Patino León < ceo.lion@gmail.com> escribió: > Hello Every one. >

ListEditor question.

2012-04-09 Thread Daniel Mauricio Patino León
Hello Every one. I have a problem with ListEditor. The case is this: I have a main editor for AProxy then AProxy has a list of BProxy 's so in the main view i have this: @UiField RespositorioUsuario archivos; Then i have a sub view with something like this: public class RespositorioUsuario ext

Re: GWT Performance : Good or Bad ?

2012-04-09 Thread Daniel Mauricio Patino León
What about the gxt 3 licence? I mean we are talking about GWT performace or a gxt3 vs gwt ? El 9 de abril de 2012 09:40, dhoffer escribió: > Thanks for the updated comparison. I wanted to point out that the > summary line is not always correct. Examples: > > GXT Render Time: 1ms > GWT Render T

Re: Client/Server communication. GWT-RPC ? GIlead ? Dozer ? RequestFactory ?

2012-04-07 Thread Daniel Mauricio Patino León
RF awkward ? I dont think so, finally the rpc aproach with dto's and other stuff are sent to the client side in some like JSON (GWT Serialization), RequestFactory uses JSON to pass from server to the client and it just works well. In my opinion (i did two projects with the DTO thing) the RequestFac

Re: DataGrid right click

2012-03-06 Thread Daniel Mauricio Patino León
. Is there another w3c validation pass way to do this? Thank you. 2012/3/6 Daniel Mauricio Patino León > Hey Sachin thank you. > > > Do you know if this property has cross browser support? > > > 2012/3/6 Sachin Shekhar R > >> In the application html file ensure

Re: DataGrid right click

2012-03-06 Thread Daniel Mauricio Patino León
gt; > On Tuesday, 6 March 2012 09:26:13 UTC+5:30, Daniel Mauricio Patino León > wrote: >> >> Iam trying to figure out how to implement a right click to my >> DataGrid, here is my code: >> >> @UiField(provided=true) DataGrid dataGrid = new >> DataGr

DataGrid right click

2012-03-05 Thread Daniel Mauricio Patino León
Iam trying to figure out how to implement a right click to my DataGrid, here is my code: @UiField(provided=true) DataGrid dataGrid = new DataGrid(){ protected void onBrowserEvent2(Event event) { switch (DOM.eventGetType(event)) {

Re: GWT con Hibernate

2012-03-02 Thread Daniel Mauricio Patino León
Why you guys, just use RequestFactory? 2012/3/2 Harpal Grover > Try using the 'Gilead' project for GWT. This provides Hibernate + GWT > integration. > > -- > Harpal Grover > President > *Harpal Grover Consulting Inc* > > > On Fri, Mar 2, 2012 at 7:35 AM, Frank wrote: > >> You can't just use any

Re: ValueListBox in GWT editor with one-to-one relationship creating a new entry in related table

2012-02-25 Thread Daniel Mauricio Patino León
I have some kind of problem lke yours. I am creating a new Proxy: LayoutExampleRequest r = requestFactory.employeeRequest(); DepartmentProxy d = r.create(DepartmentProxy.class); r.save(d); departmentEditor.editProxy(d, r); Then pass the Proxy and the Request(LayoutExampleRequest ) to my editor

Re: GWT to Swing-conversion

2012-02-22 Thread Daniel Mauricio Patino León
For me would be more easy to use Web services than try to implement RPC on Java SE with Swing. Or maybe take at look of this: http://code.google.com/p/google-gson/ Good luck 2012/2/22 Jim Douglas > I'm not sure how you'd automate something like that. We did it the > hard way -- define a gene

Re: ColumnSorting with CellTable

2012-02-22 Thread Daniel Mauricio Patino León
final TextColumn lastNameColumn = new TextColumn() { @Override public String getValue(PersonProxy contact) { return contact.getLastName(); } }; lastNameColumn.setSortable(true); cellTable.addColumn(lastNameColumn,"Last Name"); AsyncDataProvider provider = new AsyncDat

Re: How do I call getServletContext from within GWT?

2012-02-22 Thread Daniel Mauricio Patino León
getServletContext().getRealPath("/") Since RemoteServiceServlet is a subclass of HttpServlet Will give you the path. This on server side ofcourse. 2012/2/22 Bill M > Hi all, > > Can someone explain to me how to call getServletContext() from within > GWT? > > I need to obtain the servlet's real

Re: gwt designer

2012-02-22 Thread Daniel Mauricio Patino León
I recomend to you see this: http://code.google.com/intl/es-419/webtoolkit/doc/latest/DevGuideUiPanels.html Good Look 2012/2/22 viv123 > why is it so hard to drag widgets around? Did I miss anything? I wan to > have 3 simple panels, with cellbrowser in each of them. The first one is > easy to

Re: Deploy GWT App to Tomcat - Validation Errors

2012-02-22 Thread Daniel Mauricio Patino León
I used ti had this kind of problems. First see this: http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation And make sure there are not errors. Then clean the project then build. And finally compile to deploy Good look. 2012/2/20 Henry Crocker > I have a very sm

Re: RequestFactoryEditorDriver example?

2012-02-17 Thread Daniel Mauricio Patino León
Buen ejemplo de GXT 3.0 y GWT 2.4. Sin duda usar GXT resuelve mucho de lo que con GWT tendrías que codear por ti mismo. Espero que la versión completa este lista pronto. Saludos. 2012/2/16 poseidonjm > I have a tutorial in spanish > http://vivagwt.blogspot.com/2012/02/basic-grid-with-ext-gwt-

Re: How to transfer ColumnSortList info to the server side.

2012-01-27 Thread Daniel Mauricio Patino León
. Can i only create a ValueProxy from the Server Side? >From the Getting Started A proxy type will be available on the client if it is: - Referenced from a RequestContext as a Request parameter or return type. 2012/1/27 Daniel Mauricio Patino León > Ok! i created this: > &g

Re: How to transfer ColumnSortList info to the server side.

2012-01-27 Thread Daniel Mauricio Patino León
? Any help wuold be apreciated! Thank you 2012/1/27 Daniel Mauricio Patino León > Iam taying to figure out how to send the informaction of the > ColumnSortList of a CellTable to do the Order on the server side. > > I know RequestFactory can't trasnport Beans, just primitive ty

Re: Invoking C++ programs on the client-side

2012-01-27 Thread Daniel Mauricio Patino León
Nice! native code on the browser. Sounds crazy! good luck 2012/1/25 Gal Dolber > You could check out this project http://code.google.com/p/nativeclient/ > > > On Wed, Jan 25, 2012 at 6:34 PM, mmorckos wrote: > >> Hello, >> >> I'm building a distributed system and I'd like to try GWT to build t

How to transfer ColumnSortList info to the server side.

2012-01-27 Thread Daniel Mauricio Patino León
Iam taying to figure out how to send the informaction of the ColumnSortList of a CellTable to do the Order on the server side. I know RequestFactory can't trasnport Beans, just primitive types and list (of course EntityProxy and ValueProxy) So how can i send the info on ColumnSortList to the ser

Re: save data to database with hibernate and rpc

2012-01-27 Thread Daniel Mauricio Patino León
I think the best way is use RequestFactory. Forguet DTO's or third party librarys 2012/1/27 Sebastian Gurin > I agree with you about gilead intrusiveness. Also I see the project is not > mantained any more. In my case I didn't get it to work, but google's > using_gwt_with_hibernate.html document

Re: GWT + CellTable + Paging with Hibernate

2012-01-24 Thread Daniel Mauricio Patino León
Any one can show me the direction of how to use Paging? Thank yopu 2012/1/23 Daniel Mauricio Patino León > Hello everyone. > > I dont understan how paging works, and i cant get a SimplePaging get > work with my example. > > I have a CellTable whit my own AsyncDataProvider

GWT + CellTable + Paging with Hibernate

2012-01-23 Thread Daniel Mauricio Patino León
Hello everyone. I dont understan how paging works, and i cant get a SimplePaging get work with my example. I have a CellTable whit my own AsyncDataProvider: public class PersonDataProvider extends AsyncDataProvider { private final PersonRequestFactory requestFactory; public Pe

Re: Validation on client side whit Editors

2012-01-19 Thread Daniel Mauricio Patino León
Hi Nick But now i get another errors. [ERROR] [uibinder] - Errors in 'generated://47C2CAC521038D12F28F4909D7B7AE37/mx/com/liondev/UIBinder/shared/_PersonValidatorImpl.java' [ERROR] [uibinder] - Line 36: No source code is available for type org.hibernate.validator.constraints.impl.SizeValidatorFor

Re: GWT DialogBox & Jquery DatePicker

2012-01-19 Thread Daniel Mauricio Patino León
convence a tu cliente de usar el Date picker del GWT. No tiene sentido reemplazarlo por el de jQuery. 2012/1/19 Bruno MT > Hello, > > I'm spanish java developer, like u can read(horrible english...) > > I'm a little newbie in GWT development. I enter in a maintence > project, and it's the worst

Validation on client side whit Editors

2012-01-19 Thread Daniel Mauricio Patino León
Im traying to use Validation. my module xml has: My SampleValidatorFactory Class: public final class SampleValidatorFactory extends AbstractGwtValidatorFactory { @GwtValidation(value = Person.class, groups = {}) public interface GwtValidator extends Validator {

Re: Best way to prevent dual login in gwt.

2011-08-17 Thread Daniel Mauricio Patino León
You must check every request with a filter, and in the case the request is > not valid, show the log. In meanwhile in client side don't check anithing > > 2011/8/17 Daniel Mauricio Patino León > >> We use our own security implementation (implement shiro or spring will >>

Re: Best way to prevent dual login in gwt.

2011-08-17 Thread Daniel Mauricio Patino León
t way... imagine 1,000 users requesting the server every X time 2011/8/17 Juan Pablo Gardella > See apache shiro or spring security. You must manage authentication and > authorization in server side > > 2011/8/17 Daniel Mauricio Patino León > >> Some one can give me a idea of

Best way to prevent dual login in gwt.

2011-08-17 Thread Daniel Mauricio Patino León
Some one can give me a idea of how to manage this? i dont want let users log in in my GWT app (pure GWT dom manipulation) in two places at the same time, including the same browser (different tabs) any help be apreciated -- You received this message because you are subscribed to the Google Grou

Re: GWT Modules

2011-06-30 Thread Daniel Mauricio Patino León
; only include code in the generated .js file that is actually in use. > Therefore, only implementations of the methods in modules A & B that > are used by your Login module will be downloaded by the client. > > Ryan > > On Jun 30, 12:58 pm, Daniel Mauricio Patino León > wrot

GWT Modules

2011-06-30 Thread Daniel Mauricio Patino León
Since i read the FAQ and features of GWT and i dindt see info about this, can someone please tell me how the modules works? I mean if i dev a Module Login whit a few clasess (Fast download just a few kb's) then i dev a Module A w/ arround 40 clasess (huge kb's) then i dev a Module B w/ arround 4

Re: Problem with GWT Service results

2011-06-21 Thread Daniel Mauricio Patino León
RootPanel.get("mainContainer").add(new Label("Array lista 2: "+lista.toString())); RootPanel.get().add(new Label(String.valueOf("Array lista 2: "+lista.size(; for(int i = 0; i < lista.size(); i++){ RootPanel.get().add(new Label("BOTON "+i))

Eclipse plugin

2011-06-02 Thread Daniel Mauricio Patino León
Hello there, iam developing whit gwt and gwt plug in for ecplise and when i restart the server (usually 2 or 3 times after) i always get this err [SPAM] [proyecto] - Invoke native method @com.google.gwt.core.client.impl.Impl::apply(Ljava/lang/Object;Ljava/ lang/Object;Ljava/lang/Object;)