Using this approach I get an assertError:
java.lang.AssertionError: A widget that has an existing parent widget may
not be added to the detach list
at
com.google.gwt.user.client.ui.RootPanel.detachOnWindowClose(RootPanel.java:136)
at com.google.gwt.user.client.ui.Anchor.wrap(Anchor.java:81
hi,
this is probably a basic question...
I try to create some html using SafeHtmlTemplates like this:
interface MyTemplates extends SafeHtmlTemplates {
@Template("{2}")
SafeHtml somelink(String id, String css, String text);
}
and use it like this:
MyTemplates mt = GWT.cr
like this?
public void edit() {
ProjectRequest request = commonRf.projectRequest();
ProjectProxy project = request.create(ProjectProxy.class);
request.save(project).to(new Receiver() {
...
});
ProjectEditor pe = view.getProjectEditor();
d
thomas, thank you again for clarification!
I think I'll go with (your) approach3 which seems more natural to me and I
do not have to store the orderDescriptionProxy as an instance-var in my
activity!
daniel
On Tue, Aug 30, 2011 at 11:43 AM, Thomas Broyer wrote:
>
>
> On Tuesday, August 30, 201
hi,
I'm currently playing around with RequestFactory and the EditorFramework.
I use requestfactory as simple rpc-mechanism (meaning I currently just use
ValueProxies not EntityProxies) using the following service:
public class OrderService {
public static String placeOrder(OrderDescription de
ndler;
}*
As far as I understand, I'm creating a the MainFactory-Ginjector from
?within? another Ginjector (GwtAppGinjector). I'm wondering if this is a
legitim approach or if there are better ways (best-practice) to do this?
tia,
daniel
On Thu, Aug 25, 2011 at 8:39 AM, Dan
right, now i got it :)
I'll give it a try, thanks thomas!
On Wed, Aug 24, 2011 at 9:31 PM, Thomas Broyer wrote:
> Something like:
>
> interface FooFactory {
> APlace.Tokenizer fooA();
> BPlace.Tokenizer fooB();
> }
>
> interface BarFactory {
> CPlace.Tokenizer barC();
> DPlace.Tokenizer
thomas thank you for your input!
*@"I believe you could do it with a factory, if you define one interface per
module, and then use a factory that implements all of them at once (you can
use a interface and have its implementation be generated, and you could also
simply make it a Ginjector and have
ll
Tokenizers (Using @WithTokenizer annotation) in the gwt standard approach?
Are there any better ways to achieve such functionality?
tia,
daniel
On Wed, Aug 24, 2011 at 9:53 AM, Daniel Guggi wrote:
> hi,
>
> suppose I have an application which consists of serveral modules like
> - main
I try to replace the com.google.gwt.place.rebind.PlaceHistoryMapperGenerator
with my own implementation
the generator is definied in gwt (Place.gwt.xml) as follows:
I managed to change the generator as follows (in my .gwt.xml config):
I'm just wondering if that is the c
hi,
suppose I have an application which consists of serveral modules like
- main
- moduleA
- moduleB
- etc.
the "main"-module defines the main layout and sets up "activity mappers",
the "PlaceHistoryMapper" and so on.
the other modules like "moduleA", "moduleB" etc. define their own set of
activi
thanks for clarification!
hf,
daniel
On Thu, Aug 18, 2011 at 10:56 AM, Jens wrote:
> Some time ago I have used approach 2) and have bounded all ClientBundles as
> Singletons. But now I would go with 1) because when you look at the
> generated source code of a ClientBundle (use -gen option) yo
@spring you may have a look here (requestfactory + spring3 integration):
http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/
here an example pom (i use maven 3)
http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";
Hi,
I have some questions regarding ClientBundle and GIN.
Suppose the following blank bundle:
*public interface MyClientBundle extends ClientBundle {
}
*
I want GIN to create the instance(es) of the MyClientBundle for me. The
GIN-docs say (
http://code.google.com/p/google-gin/wiki/GinTutorial#De
with uibinder only (i mean without
calling ensureInjected() from somewhere)?
thank you!
On Thu, Aug 11, 2011 at 1:01 PM, Daniel Guggi wrote:
> hi,
>
> i'm trying to use a css-clientbundle and uibinder like this:
>
> *Resources.java*
> package gwtapp.
15 matches
Mail list logo