Structuring large process.

2012-11-04 Thread Sebastian Coronado A.
Hello I am using GWT with mvp pattern everything works fine, nevertheless I 
have a process that require filling other modules first. For example if I 
want to buy something First I need to select the product, then add 
modification to the product and then provide a payment method. I was doing 
this following the mvp pattern so I have a module for each one. I want that 
when the user finishes the first step, the app will open the second step 
automatically. How can I do that? the mvp pattern is not good when a 
process requires 8 smaller steps.
 Regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/3h1ZipzYITUJ.
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.



ListBox

2011-03-11 Thread Sebastian Coronado A.
Hello I was checking ListBox's methods and I found this one:

addItem(java.lang.String item, java.lang.String value)
  Adds an item to the list box, specifying an initial value
for the item.

I dont get how to use the "value" parameter with a FormPanel. I wanted
to store ids from database in that parameter, Can I use it for that
purpose?.

regards

-- 
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: I can't call a RPC in a FlexTable

2011-01-08 Thread Sebastian Coronado A.
Can you post your error message, it should work...
regards

On 8 ene, 11:14, Sebe  wrote:
> Hello there,
> I have this event in a FlexTable..
> flextTable.addClickHandler(new ClickHandler(){
>                         public void onClick(ClickEvent event) {
>                 int cellIndex =
> flexTable.getCellForEvent(event).getCellIndex();
>                 int rowIndex =
> flexTable.getCellForEvent(event).getRowIndex();
>
>                 if ((rowIndex==0)||(rowIndex==2)){//se clicco sul
> primo risultato...
>
> rpc.setWeb(flexTable.getText(0,0),flexTable.getText(1,0),callback);
>
>           .
>
> (I define rpc in the main class...)
>
> If I launch this method in another part of the code, it work fine.
> There is a solution??
>
> Thank for reply and good week,
>
> Sebe

-- 
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-tool...@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: I need your help error: An IncompatibleRemoteServiceException was thrown while processing this call

2011-01-08 Thread Sebastian Coronado A.
Clean your cache and recompile.
regards

On 8 ene, 12:52, nacho  wrote:
> Try to recompile your gwt code.

-- 
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-tool...@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: Best Design Pattern for widgets

2011-01-08 Thread Sebastian Coronado A.
Composite is nice but my widget has like 5 widgets, it looks messy.

@Thomas
thanks I will take a look


On 8 ene, 06:09, Thomas Broyer  wrote:
> In addition to what others already said, you can use MVP *inside* your
> widget, so that you can easily unit-test your logic. Have a look at
> com.google.gwt.user.cellview.client.AbstractHasData (the base class for
> CellList and the like) which uses this pattern.

-- 
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-tool...@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.



Best Design Pattern for widgets

2011-01-07 Thread Sebastian Coronado A.
Hello I was checking MVP explanation, it works for the whole
application but what if I want to create a single widget that does not
need transitions from one view to another. For example what design
pattern would you use to create a rich text editor.
regards

-- 
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-tool...@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.



How to add a Composite Widget(gwt) to DynamicForm(smartgwt)

2010-08-21 Thread Sebastian Coronado A.
Hello I was using this DynamicForm, it belongs to smartgwt
import com.smartgwt.client.widgets.form.DynamicForm;

and then I created a Widget using composite from:
import com.google.gwt.user.client.ui.Composite;

The main problem is that when I try to add it to DynamicForm(using add
method) it wont let me, Does any one knows how to do this?
Regards

-- 
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-tool...@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.



How Do I create a jar that uses composite

2010-08-18 Thread Sebastian Coronado A.
Hello I created a Widget that uses gwt widgets using composite, my
question is How can I create a jar from this or a folder so it can be
reused easily in another projects. I was following this tutorial :
http://www.vogella.de/articles/GWT/article.html, it has one example
but it only works for non-gwt classes.
regards

-- 
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-tool...@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.



Gwt Mac-Ubuntu- Compatibility

2010-08-10 Thread Sebastian Coronado A.
Hello I am making a web service using smartgwt and poi-2.5.1-
final-20040804.jar, When I run the project as a webservice on Mac it
works fine, but when I run the project on ubuntu using the same
ide(eclipse) it gives error 503 and it wont load.
This project reads from an excel file.
I will upload the project to the group as LeerExcel.zip

-- 
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-tool...@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: GWT HIBERNATE ECLIPSE

2010-07-27 Thread Sebastian Coronado A.
Hello here is it:



  
  

  
  
  
  
  
  

  

  
  

  
  
  
  




On 27 jul, 08:13, Arthur Kalmenson  wrote:
> What does your GWT module file look like (.gwt.xml)?
>
> --
> Arthur Kalmenson
>
> On Mon, Jul 26, 2010 at 12:36 PM, Sebastian Coronado A.
>
>
>
>  wrote:
> > Hello I am testing a gwt project using rpc to comunicate with the
> > server, using hibernate and postgres, Everything compiles okey but
> > when I run it as a Web Aplicacation it says the following error:
>
> > 21:41:22.992 [ERROR] [hiberpost] Errors in 'file:/Users/Sebastian/
> > Documents/workspace/hiberpost/src/com/uls/client/Hiberpost.java'
>
> > 21:41:23.107 [ERROR] [hiberpost] Line 47: No source code is available
> > for type com.hiber.pregunta; did you forget to inherit a required
> > module?
>
> > 
> > Note that if I run things as a java aplication everything works...
>
> > Well I will atach my eclipse project ..., I hope someone can help
> > me ...
> > the file can be downloaded here
> >http://www.2shared.com/file/HLbCuBi1/hiberpost.html
> > thanks
>
> > --
> > 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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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-tool...@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.



GWT HIBERNATE ECLIPSE

2010-07-26 Thread Sebastian Coronado A.
Hello I am testing a gwt project using rpc to comunicate with the
server, using hibernate and postgres, Everything compiles okey but
when I run it as a Web Aplicacation it says the following error:

21:41:22.992 [ERROR] [hiberpost] Errors in 'file:/Users/Sebastian/
Documents/workspace/hiberpost/src/com/uls/client/Hiberpost.java'

21:41:23.107 [ERROR] [hiberpost] Line 47: No source code is available
for type com.hiber.pregunta; did you forget to inherit a required
module?


Note that if I run things as a java aplication everything works...


Well I will atach my eclipse project ..., I hope someone can help
me ...
the file can be downloaded here
http://www.2shared.com/file/HLbCuBi1/hiberpost.html
thanks

-- 
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-tool...@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.