Re: GWT, servlet, JSP and datastore

2010-06-17 Thread Tristan Slominski
hey there, my work is on app engine so i don't have an example you requested, but probably someone else in the community does. On Thu, Jun 17, 2010 at 06:06, kensai yanesha archenr...@googlemail.comwrote: Tristan maybe you could help me, do you have any completed Eclipse project with grid

Re: History and server call.

2010-06-17 Thread Tristan Slominski
, 15:31, Tristan tristan.slomin...@gmail.com wrote: sounds like you're reinventing the place service, with event bus, with local cache rpc service, but doing it in a new, innovative, complex and if the code grows on you perhaps unintelligible way. if you're the only one who

Re: Access ClientBundle ImageResource from UiBinder

2010-06-17 Thread Tristan
Thanks for taking the time to share your findings. It's a good clear example / starting point for understanding the plumbing. On Jun 17, 2:15 pm, CJ Bilkins cory.mawhor...@gmail.com wrote: It seems my guess that you could store images outside of the directory is wrong.  Because ui:image's field

Re: History and server call.

2010-06-17 Thread Tristan Slominski
has returned) happy coding guys. Feel free to comment. Thanks, Ravi. On Jun 17, 1:45 pm, Tristan Slominski tristan.slomin...@gmail.com wrote: here's an example i wrote that walks through place service, hope that helps with place service c... 2010/6/17 Jaroslav Záruba

Re: History and server call.

2010-06-16 Thread Tristan
sounds like you're reinventing the place service, with event bus, with local cache rpc service, but doing it in a new, innovative, complex and if the code grows on you perhaps unintelligible way. if you're the only one who will support this ever, that may work. otherwise i would seriously look

Re: Does AdSense work with GWT? If so, How?

2010-06-16 Thread Tristan
http://code.google.com/apis/afa/ On Jun 15, 1:29 am, Joe Blow michael.mccutch...@gmail.com wrote: I'm looking at using this framework for a new project, but I need to have the AdSense functionality. 1 - Does AdSense work with GWT? 2 - If so, how?  I see a whole bunch of hacks that 'might'

Re: layout problems with positioning or aligning content

2010-06-11 Thread Tristan Slominski
, if the user selects create account, a form should be shown to enter the data for a new account. And I would like the form to be centered within the middle space... Magnus On Jun 8, 5:48 pm, Tristan Slominski tristan.slomin...@gmail.com wrote: What do you mean by dynamically generated? Are you

Re: layout problems with positioning or aligning content

2010-06-11 Thread Tristan Slominski
of the VerticalPanel are aligned within the VerticalPanel, but not the VerticalPanel itself. Also it does not align vertically... Magnus On 11 Jun., 09:40, Tristan Slominski tristan.slomin...@gmail.com wrote: I don't understand how UiBinder cannot be used to do what you describe. You may have

Re: GWT, servlet, JSP and datastore

2010-06-09 Thread Tristan
if you develop with eclipse, in your starter project pick GWT and App Engine, and it will set up a basic GWT / App Engine project. That's the basic wiring required, (it uses RPC, it's convenient but not a must). As to guidelines... that's a huge topic... suggest browse the Google App Engine for

Re: GWT, servlet, JSP and datastore

2010-06-09 Thread Tristan Slominski
@kensai If you look at Google App Engine, the datastore is part of Google's free-to-start cloud hosting service. On Wed, Jun 9, 2010 at 02:56, kensai yanesha archenr...@googlemail.comwrote: Hi Laurent, I am also new to GWT, also fascinated :-). I also already went trough samples and

Re: problem with RequestBuilder

2010-06-08 Thread Tristan
take a look here http://www.google.com/url?sa=Dq=http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html On Jun 8, 12:06 am, Alex monsterno...@gmail.com wrote: what should i use to make such a request? i have tried com.google.gwt.xhr.client.XMLHttpRequest, but the status code i get

Re: layout problems with positioning or aligning content

2010-06-08 Thread Tristan Slominski
What do you mean by dynamically generated? Are you setting styles and widths programmatically? What's the use case? On Tue, Jun 8, 2010 at 10:45, Magnus alpineblas...@googlemail.com wrote: Hi fmod, I am thinking about your advice using UIbinder, but I think I cannot use it, because my layout

Re: Large scale application development and MVP -- Developing composite screens with a menu and main view

2010-06-07 Thread Tristan
Hey there, It seems like Google guys are currently in transition as to how to do MVP. Integration with Roo as well as new ideas about production level frameworks sort of muddle the issue for now and as stated by GWT guys themselves, aren't quite figured all out yet. If you haven't seen the I/O

Re: Outlook style textbox

2010-06-07 Thread Tristan
of displayed Anchors. So yes, it should be possible, the key will be parsing email addresses I think and having an efficient model object behind the widgets doing all this. Tristan On Jun 6, 3:51 am, Praveen Kumar praveen.bit...@gmail.com wrote: Hi All, I need to create a text box which can take

Re: layout problems with positioning or aligning content

2010-06-07 Thread Tristan
Short of designing the layout for you it's hard to give hints. fmod's hint is a good one though, because you'll run into that quickly doing the layout you want. Here's a starting point, in particular, take a look at the source code that goes with the various widget to build an intuition around

Re: An example Place Service(Activity Manager) implementation maintains complex dependency between presenters in MVP

2010-06-07 Thread Tristan
Tristan On Jun 6, 8:53 pm, Jiang Zhu email.jiang@gmail.com wrote: Thanks for your reply and suggestions. To answer your questions, I also found out that in most of time providing the place to a Presenter looks redundant. I designed the interface like that because I was thinking a Presenter

Re: An example Place Service(Activity Manager) implementation maintains complex dependency between presenters in MVP

2010-06-05 Thread Tristan
For the places need to carry a parameter, it'll need to be defined as a class instead of enum. The other effect of having your places as enums is that they cannot be extended. So if you provide a framework, people are stuck with the places you define as enums. I had a similar enum extension

Re: SimplePager with UiBinder

2010-06-05 Thread Tristan
looks like SimplePager requires a constructor argument public SimplePager(PagingListViewT view) { FlowPanel p = new FlowPanel(); p.add(prevPageButton = makeButton(Previous Page, PREV)); p.add(nextPageButton = makeButton(Next Page, NEXT)); p.add(remove5Button = makeButton(Remove 5

Re: RichTextToolbar in Uibinder

2010-06-04 Thread Tristan
/doc/latest/DevGuideUiBinder.html#Using_a_widget Cheers! Tristan On Jun 3, 9:13 am, krz ichatsa...@googlemail.com wrote: I need RichTextArea for my TextPresenter I have an interface TextPresenter, and TextPresenterImp.java as its implementation: public class TextPresenterImp extends

Re: Prompt Message Box in View

2010-06-03 Thread Tristan
what about: 1. user clicks add new item 2. presenter does onAddNewItem() and calls getView().showNamePrompt() 3. user types in the name to name prompt and click save 4. presenter does onSave() and calls getView().getName() this keeps it separate yes? On Jun 2, 1:46 pm, Spring

Re: RichTextToolbar in Uibinder

2010-06-03 Thread Tristan
you're going to have to be more specific. There are many ways of hooking up MVP and UiBinder together, what way are you using? Where are you putting your RichTextArea? What do your presenters and views look like and how are they wired together? On Jun 2, 3:19 pm, krz ichatsa...@googlemail.com

Re: GWT Custom Events

2010-06-03 Thread Tristan
this is a different problem, but it goes into how events are hooked up together. pay attention to the handlers, check out the Place Providers and how the events are registered with an EventBus (which is just an extension of EventHandler). I hope it helps:

Re: How to add new event to HandlerManager

2010-06-03 Thread Tristan
Looks like you're getting the wrong type from KeyPressEvent. Javadoc says: getAssociatedType() Returns the type used to register this event. getType() Gets the event type associated with key press events. for registering, you should use getAssociatedType(), so try

Re: About a multi page web application

2010-06-03 Thread Tristan
there are lots of way to do this. first there are a lot frameworks that use MVP (GWTP comes to mind, handlebars which is my own plug, and bunch of others), but it's a lot of work to learn. for what you're doing perhaps you should consider using jsp's and then embed GWT where you need to. so if

Re: Authentication and login

2010-06-03 Thread Tristan
i don't think you missed anything. i haven't seen a ready-made solution and had to write my own. btw.. your steps seem to be missing something, because anyone can log into your application. by login functionality do you mean retaining session? or actually creating an account and getting

Re: How to change the CSS Caption part of gwt-DialobBox

2010-06-03 Thread Tristan
had the same problem... someone showed me how to use UiBinder to solve it http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b3c0e7038841e727/8d31c665c0902c73 not sure how it translates to doing it programmatically, but here's the pattern in UiBinder ui:style field='local'

Re: GWT Design Problem

2010-06-03 Thread Tristan Slominski
I for one don't want to write any more xml in my life than I have to. I prefer my history service written in Java with auto completion, etc... that's why I use Guice over other DI frameworks. I think your argument is for declarative history service, which I could get behind. But the particular xml

Re: Feedback on Large scale app development MVP article

2010-06-03 Thread Tristan Slominski
i think at this point we should all probably see http://code.google.com/events/io/2010/sessions/architecting-production-gwt.html and see what they're trying to do there. Seems like Google decided the MVP approach is obsolete, which might muddle the issue. On Thu, Jun 3, 2010 at 09:26, Thomas

Re: How to add new event to HandlerManager

2010-06-03 Thread Tristan Slominski
!); } }); Any tips are greatly appreciated! Are you *really* firing KeyPressEvents on your event bus ?! @Tristan: getAssociatedType and getType return the same object, getAssociatedType is not static though, it's part of the GwtEvent interface (and used by the HandlerManager

Re: Feedback on Large scale app development MVP article

2010-06-03 Thread Tristan Slominski
data directly to JPA representation on the server... and viola, I have a datastore viewer in GWT. Sort of missing the point of a rich web application I think. On Thu, Jun 3, 2010 at 10:53, Thomas Broyer t.bro...@gmail.com wrote: On 3 juin, 17:15, Tristan Slominski tristan.slomin...@gmail.com

Re: How do you connect to External RPC Service? In other words, can you expose RPC services to outside world by sharing only client/shared pieces?

2010-06-03 Thread Tristan
also this might help: http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html On Jun 2, 11:58 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: Its not a GWT limitation, its a browser restriction - Same Origin Policy. There are ways to workaround the limitation. In your case,

Re: GWT Design Problem

2010-06-02 Thread Tristan
check this out to give you some ideas about the history service.. http://code.google.com/p/handlebars/wiki/PlaceServiceOverview On Jun 2, 8:08 am, ping2ravi ping2r...@gmail.com wrote: Ya this approach looks good, thanks kozura. Now my app will look like this. myapp.html#type=profileid=100    

Re: Feedback on Large scale app development MVP article

2010-06-02 Thread Tristan
@nogridbag What are your reasons for not having the presenter make RPC requests? The RPC Service is not a presenter itself. Probably the MVP model should be called MVPSE (services, event bus) because that's what it takes to make it really work. On Jun 1, 4:04 pm, jocke eriksson jock...@gmail.com

Re: Feedback on Large scale app development MVP article

2010-06-02 Thread Tristan
ContactsPresenter2 have a dependency on ContactsPresenter? Anyway, I'm really just thinking out loud here ;)  I haven't sat down and coded any thing with MVP yet.  If this is the accepted practice I will probably do it this way too. On Jun 2, 1:08 pm, Tristan tristan.slomin...@gmail.com wrote

Re: Dialog Box Dragging?

2010-06-01 Thread Tristan
Haven't done this, but you should be able to write a handler when you release the mouse button that checks the dialog box position and if it is off the visible screen (outside some safe area you define), it places it in the center. On May 31, 10:59 pm, Sabbir leo.sh...@gmail.com wrote: When a

Re: MVP + appController useful for the big projects ?

2010-05-31 Thread Tristan
gwtp, and handlebars are some others On May 31, 5:35 am, Rizen vianney.dep...@gmail.com wrote: Yes I think it's probably the best solution for the big project. So now I need to learn it ^^ Thanks very much. On May 30, 7:09 pm, Subhrajyoti Moitra subhrajyo...@gmail.com wrote: i think one

Re: How to run a unittest for a class in client folder of gwt which makes Async calls to the server

2010-05-31 Thread Tristan
If you're using EasyMock, this is a very easy way to mock a service. Been using this for a long time. http://robvanmaris.jteam.nl/2008/04/22/test-driven-development-for-gwt-ui-code-with-asynchronous-rpc/ Take a particular look at AsyncCallbackMockSupport class. Cheers! Tristan On May 30, 8:16

Re: GWT.runAsync and Command Pattern

2010-05-30 Thread Tristan
You might be running into this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=4412 The compiler simply doesn't do enough analysis to do code split properly when inheritance is involved, staring the issue may help. Cheers On May 30, 7:38 am, Julio Faerman jfaer...@gmail.com

Re: How to center a VerticalPanel on page with UiBinder

2010-05-30 Thread Tristan
have you tried... g:HorizontalPanel width=100% g:Cell horizontalAlignment=ALIGN_CENTER g:VerticalPanel ui:field=verticalPanel ... /g:VerticalPanel /g:Cell /g:HorizontalPanel On May 28, 8:38 am, BryanPoit bryanp...@gmail.com wrote: ui:style         .centerStyle {        

Re: Share access beween two UiBinder files?

2010-05-28 Thread Tristan
like this? Buttons buttons = new Buttons(); TextFields fields = new TextFields(); buttons.setFieds(fields); fields.setButtons(buttons); ?? Can you elaborate? On May 28, 7:05 am, Mark rausch.pi...@gmail.com wrote: Hello, I need your help! I've got two files: Buttons.ui.xml / Buttons.java

Re: Share access beween two UiBinder files?

2010-05-28 Thread Tristan Slominski
to do with @UiFactory but I just don't get it. 2010/5/28 Tristan tristan.slomin...@gmail.com: like this? Buttons buttons = new Buttons(); TextFields fields = new TextFields(); buttons.setFieds(fields); fields.setButtons(buttons); ?? Can you elaborate? On May 28, 7:05 am

Re: New open source MVP(UiBinder) GWT Framework with GIN - Handlebars

2010-05-27 Thread Tristan
...@pillartechnology.com wrote: Hey Tristan, I'm particularly interested in how you implemented the place service. What I've seen in other APIs seem excessively overly complex. Thanks for your reply, Wil On May 25, 12:51 pm, Tristan tristan.slomin...@gmail.com wrote: Hey Wil, Actually it sounds like

A way to implement place service in GWT

2010-05-27 Thread Tristan
or hear your comments. http://code.google.com/p/handlebars/wiki/PlaceServiceOverview Cheers! Tristan -- 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

Re: A way to implement place service in GWT

2010-05-27 Thread Tristan
Thanks Thomas, Lots to consider here, let me take a look at the references you pointed out and then I'll be better able to respond. I'm all for making things simpler. On May 27, 11:08 am, Thomas Broyer t.bro...@gmail.com wrote: On 27 mai, 13:41, Tristan tristan.slomin...@gmail.com wrote

Re: large project mvp

2010-05-26 Thread Tristan
if you're going to have hundreds of windows... wouldn't it be easier to manage if they are split up into a bunch of smaller packages instead of one package with hundreds of files? On May 25, 8:44 am, alf alberto@gmail.com wrote: I have a doubt suppuse a very large project with hundred of

Re: New open source MVP(UiBinder) GWT Framework with GIN - Handlebars

2010-05-25 Thread Tristan
page (and all that says is At Dashboard!). But it illustrates how the presenters get hooked into the pages, etc. Is there particular functionality you would like to see implemented? That will give me a focus area as I continue developing the starter project. Cheers! Tristan On May 25, 4:37 am

Re: MVP, gwt-presenter + UIBinder + Gin

2010-05-17 Thread Tristan
Hey Chris, Take a look here for one of the ways of doing this: http://code.google.com/p/handlebars/ The view composition would be done in bindView() method in the Presenter (it's in the interface, none of the default presenters implement it in the package).. it usually looks like: @Override

Re: IE8 doesn't recognize ClickEvent handler on Label ( I think )

2010-05-14 Thread Tristan
When I removed the left button recognition code it now works @UiHandler(myLabel) public void onMyLabel(ClickEvent event) { getPresenter().onMyLabel(); } On May 7, 11:26 pm, Tristan tristan.slomin...@gmail.com wrote: The following doesn't work in IE8. Do I have to do something with (meta http

Re: Running gwt app with custom context root

2010-05-08 Thread Tristan
You can just put the second address in your browser and bookmark it. What are you trying to automate? On May 7, 1:17 pm, Antonio antonio...@gmail.com wrote: I need to run my GWT application with custom context root. When i run the project plugin start server with empty context root

Re: Navigating to new pages

2010-05-07 Thread Tristan
for permission before displaying any data. It really depends on how complex your application will get. If you plan on growing it, I really recommend some kind of place service. It really simplifies the application structure IF your application get's big enough to need simplification. Tristan On May 7, 6:03

Re: Keeping track of traffic volume generated by a GWT application

2010-05-07 Thread Tristan
Sounds like you need to add filters to your server code. On May 7, 4:23 am, Antonio Leonforte antonio.leonfo...@fhoster.com wrote: Hi all, I have multiple GWT applications running on Tomcat, and I need to monitor the total volume of traffic (inbound+outbound) generated by each application, so

IE8 doesn't recognize ClickEvent handler on Label ( I think )

2010-05-07 Thread Tristan
) public void onMyLabel(ClickEvent event) { if (event.getNativeEvent().getButton() == NativeEvent.BUTTON_LEFT) { getPresenter().onMyLabel(); - this doesn't execute } Tristan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: New open source MVP(UiBinder) GWT Framework with GIN - Handlebars

2010-05-01 Thread Tristan
(I'll post that on there soon), but for now it still provides a nice framework for the client side app. Handlebars Roadmap: - Setup a starter handlebars project - Open source the server side App Engine code Future Plans: - Eclipse Plugin Tristan On May 1, 8:35 am, Stephen Haberman stephen.haber

New open source MVP(UiBinder) GWT Framework with GIN - Handlebars

2010-04-30 Thread Tristan
feedback or comment. All the best, Tristan -- 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

Re: How to add widget to UIbinder

2010-04-29 Thread Tristan
I think you mean this?: java @UiField HTMLPanel htmlPanel ui binder g:HTMLPanel ui:field='htmlPanel/ then in your java you can do htmlPanel.doStuff(); On Apr 29, 12:07 pm, masch the.ma...@gmail.com wrote: Helllo, I am using UIbinder thought an ui.xml and I need to add a dynamic control

Re: Is there a way to override standard.css inline in UiBinder?

2010-04-27 Thread Tristan
like div class=A    div class=datePickerMonth/ /div and the style matches the inner element. Is that what you wanted to do? On 26 Apr., 02:10, Tristan tristan.slomin...@gmail.com wrote: Thank you for pointing me to the right spot in the article, it seems to answer well.  So now

Is there a way to override standard.css inline in UiBinder?

2010-04-25 Thread Tristan
in the date picker. How do I override standard.css in this case? Is it even possible to do it inline? Tristan -- 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

Re: Is there a way to override standard.css inline in UiBinder?

2010-04-25 Thread Tristan
.. and then after the widget is done, override again to go back to the defaults style type=text/css !-- .datePickerMonth { }.. since this is empty, it should default to old values??? -- /style Since I just made that up, would that even work? Tristan On Apr 25, 4:36 pm, daniel d.brelov

Re: Grid uibinder

2010-03-24 Thread Tristan Slominski
Mar, 18:33, Tristan tristan.slomin...@gmail.com wrote: someone said this here before, but it might be easier to use g:HTMLPanel table tr etc... /g:HTMLPanel On Mar 20, 11:45 am, gadaleta.marco gadaleta.ma...@gmail.com wrote: Can anyone help me to usegridwidget insideuibinder

what event does the PopupPanel use to autohide?

2010-03-22 Thread Tristan
fails. Is there a specific event that PopupPanel listens to? I'm using selenium rc and safari browser. Cheers! Tristan -- 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

Re: Grid uibinder

2010-03-20 Thread Tristan
someone said this here before, but it might be easier to use g:HTMLPanel table tr etc... /g:HTMLPanel On Mar 20, 11:45 am, gadaleta.marco gadaleta.ma...@gmail.com wrote: Can anyone help me to use grid widget inside uibinder? Thx Marco -- You received this message because you are

Re: UIBinder: Adding event handler for tab change

2010-03-20 Thread Tristan
don't know if this will work, but have you tried g:tab ui:field='myTab1' then in your java code @UiField UIObject myTab1 @UiHandler(myTab1) public void onSpellCast(ClickEvent event){ ... do stuff } On Mar 20, 11:30 am, spacejunkie priyank.pa...@gmail.com wrote: Hi, I'm using UIBinder

Re: Problem when using datastore with Tomcat

2010-03-20 Thread Tristan
I hate to make it sound like is it plugged in?, but don't you need to run the app on Google App Engine to access the datastore? (or hosted mode, which fakes app engine for you). Or did you somehow fake a datastore on your own? On Mar 20, 11:06 am, duclm duclm...@gmail.com wrote: I deploy a Gwt

Re: Selenium RC and OutOfMemory DevMode error

2010-03-20 Thread Tristan
the browser, and only while developing, not in a Selenium server. You might be able to resolve your issue by way of the -noserver option. I haven't yet looked for documentation about it, but it allows you to run any given server rather than the embedded Jetty server. On Mar 19, 8:16 am, Tristan

Re: Selenium RC and OutOfMemory DevMode error

2010-03-19 Thread Tristan
So nobody has a clue as to why DevMode would run out of memory after 34 URL refreshes? On Mar 16, 12:01 am, Tristan tristan.slomin...@gmail.com wrote: I started this in Google App Engine Java group, but as Ikai pointed out, it probably belongs here. Does anyone have any hints for this problem

Re: ALIGN_CENTER problem ?!!!

2010-03-18 Thread Tristan
here's how you do it in UiBinder g:HorizontalPanel width=100% g:Cell horizontalAlignment=ALIGN_CENTER g:VerticalPanel/ /g:Cell /g:HorizontalPanel the above code will center your vertical panel On Mar 18, 3:02 pm, Philippe pjean.ge...@gmail.com wrote: Great, it works !!! Thank you for

Selenium RC and OutOfMemory DevMode error

2010-03-15 Thread Tristan
I started this in Google App Engine Java group, but as Ikai pointed out, it probably belongs here. Does anyone have any hints for this problem? Tristan --- Hi, I have Selenium RC hooked up and automated Selenium tests going using JUnit. The problem is that after Selenium runs about 34 out

Code Split and Superclasses.

2009-12-25 Thread Tristan
splitter to determine which of the classes are calling the generic? This severely hinders code reuse. Is there a different pattern I should use? Thanks, Tristan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Code Split and Superclasses.

2009-12-25 Thread Tristan
(); sup.doGeneric(); } } } } On Dec 25, 12:00 pm, Tristan tristan.slomin...@gmail.com wrote: Here is an example I am trying to code split: public class MySuperclass {   public abstract doSpecific();   public void doGeneric(){     doSpecific();   } } public class A extends

Re: Why doesn't com.google.gwt.user.client.ui.Grid have a style name?

2009-12-25 Thread Tristan
A hint may come from UiBinder. I haven't found a way to use Grid in UiBinder, and have to use the table instead, which is more intuitive in that framework. But because it is a table, the table style doesn't really do much for the individual table rows and table data, so specifying global style on

Re: Grid cell formatting

2009-12-25 Thread Tristan
I think you would need to create a css style like... .table-cell: { align: left; valign: top; } but you wold still have to iterate through each one of your cells and do addStyleName(table-cell) or something like that. because align and valign could be different for td, tr, and tbody... so

Re: MVP: where to put the presenter?

2009-12-15 Thread Tristan
and Command Pattern as well, see here: http://code.google.com/events/io/2009/sessions/GoogleWebToolkitBestPractices.html Good luck -Tristan On Dec 15, 8:27 am, jbdhl jbirksd...@gmail.com wrote: I try to follow the (an?) MVP pattern, and while handling the View for a sub-component (ie myComponent

Re: How to use UIBinder

2009-12-15 Thread Tristan
Aside from official docs I haven't seen much (and I've been looking because of Gin and UiBinder issues I've been having) If anyone is putting together a tutorial, it'd be great if you showed how to use GIN effectively in a non-trivial example (so, an injected view dependent on other injected

Re: MVP, GIN, UiBinder

2009-12-15 Thread Tristan
Would you be able to provide a sample non-trivial example? ie injecting a child view into a parent view? I have been trying to do this and I get a runtime error of ClassNotFoundException when the provider tries to do new ParentView(childView). On Dec 9, 9:30 am, P.G.Taboada

GWT Compiler managed to lose one of my display classes. (GIN + UiBinder)

2009-12-14 Thread Tristan
automatically injects by calling GWT.create) So, from SOYC it seems that LandingPageDisplayBinderImpl is missing. But when I step through Debug code it says LandingPageDisplayImpl is missing (ClassNotFound exception). Does anyone have an idea where to start??? -Tristan -- You received this message

Re: uibinder with MVP and interfaces

2009-12-14 Thread Tristan
me know if that works.. i'm having a similar issue. And the compiler is droppin classes on me, see http://groups.google.com/group/google-web-toolkit/browse_thread/thread/0cc5b39d303b2484# -Tristan On Dec 14, 1:02 pm, Arthur Kalmenson arthur.k...@gmail.com wrote: Hello everyone, We'd like

Re: DevMode fails binding for com.google.gwt.user.client.impl.HistoryImpl

2009-12-14 Thread Tristan
Actually... I keep on getting this error randomly now... so no fix :( On Dec 12, 11:04 am, Tristan tristan.slomin...@gmail.com wrote: It appears that updating my Safari GWT Plugin solved the problem. However, nothing in that error or the browser indicated that the Plugin should have been

Rebinding com.google.gwt.user.client.impl.WindowImpl ERROR

2009-12-14 Thread Tristan
' It happens when I try to connect to DevMode from Safari or Firefox on Mac. I find it interesting that it refers to IE version WindowImpl considering I am on Mac using Firefox or Safari. Any pointers? -Tristan -- You received this message because you are subscribed to the Google Groups Google Web

DevMode fails binding for com.google.gwt.user.client.impl.HistoryImpl

2009-12-12 Thread Tristan
executing the JavaScript provider for property 'user.agent' Unable to get value of property 'user.agent' 10:49:16.592 [ERROR] Deferred binding failed for 'com.google.gwt.user.client.impl.HistoryImpl'; expect subsequent failures -Tristan -- You received this message because you are subscribed

Re: DevMode fails binding for com.google.gwt.user.client.impl.HistoryImpl

2009-12-12 Thread Tristan
It appears that updating my Safari GWT Plugin solved the problem. However, nothing in that error or the browser indicated that the Plugin should have been updated. On Dec 12, 10:57 am, Tristan tristan.slomin...@gmail.com wrote: Hey, I started getting this error when launching DevMode, can

SOYC report and code split don't make sense

2009-12-06 Thread Tristan
is confused about what provider gets called, SomeProvider does get called, but for some reason it thinks that UnrelatedClassProvider.get() is getting called. Any idea why in the world this would happen? -Tristan -- You received this message because you are subscribed to the Google Groups Google Web

Re: GWT 2.0 RC1 deRPC fails on App Engine?

2009-11-21 Thread Tristan
and not HostedMode. To get GAE up, we need to pass a -server argument so that GAE runs instead of plain old Jetty. I haven't gotten an answer from anyone what that -server argument should be. Tristan On Nov 18, 11:01 pm, Kabe kabr...@robichaux.com wrote: I'm trying to use deRPC of GWT 2.0 RC1 on App Engine

Re: Google Web Toolkit 2.0 RC1 Now Available

2009-11-21 Thread Tristan
To answer my own question: -server com.google.appengine.tools.development.gwt.AppEngineLauncher On Nov 20, 5:07 pm, Tristan tristan.slomin...@gmail.com wrote: What do I pass to the -server argument when I want gwt 2.0 to run with all the neat GAE stuff (the google eclipse plugin does

Re: GWT 2.0 RC1 deRPC fails on App Engine?

2009-11-21 Thread Tristan
in case this is the problem, the -server argument is: -server com.google.appengine.tools.development.gwt.AppEngineLauncher On Nov 21, 9:39 am, Tristan tristan.slomin...@gmail.com wrote: Don't know if it is the same problem.. but are you initializing GAE to run in your application configuration

Re: -server argument documentation?

2009-11-21 Thread Tristan
Answer: -server com.google.appengine.tools.development.gwt.AppEngineLauncher On Nov 20, 12:38 pm, Tristan tristan.slomin...@gmail.com wrote: I am using GWT 2.0 built from trunk and I want to be able to launch my GWT / GAE app in DevMode (so that it uses GAE and not just Jetty). What

-server argument documentation?

2009-11-20 Thread Tristan
I am using GWT 2.0 built from trunk and I want to be able to launch my GWT / GAE app in DevMode (so that it uses GAE and not just Jetty). What is the the correct servlet configuration launcher that I should pass with the -server option in my Java Application Configuration? -- You received this

Is there a way to tell the GWT Compiler to ignore pieces of code?

2009-11-18 Thread Tristan
to Obfuscated (i.e. production), I don't want that extra test code in there. Is this possible? If so, how? -Tristan -- 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

Re: Is there a way to tell the GWT Compiler to ignore pieces of code?

2009-11-18 Thread Tristan
inherits line. Then compile the appropriate module based on the environment. --Sri 2009/11/19 Tristan tristan.slomin...@gmail.com Here's what I would like to do: Selenium tests are easiest to run if each element has a unique id. I would like to be able to do something along the lines

Re: GWT 2.0 ms1 RPC issue IncompatibleRemoteServiceException: Parameter 0 of is of an unknown type 'java.lang.String/2004016611'

2009-11-15 Thread Tristan
ditto On Oct 15, 8:39 pm, tskaife tska...@gmail.com wrote: While running in either hosted mode, or compiled I get this error. I have no problems with RPC calls that pass primitive types. But I've tried both java.lang.String and java.lang.Long and get the same results. I've tried both JDK

HandlerRegistration.removeHandler() is NOT WORKING

2009-05-21 Thread Tristan
, instead of parent : ( } Feels like a bug. Is there a reason why .removeHandler() would not immediately do what it is supposed to? - Tristan ps. God helps those who help themselves I hacked a workaround. But the bug still remains. (workaround was setting historyHandler to null when giving up