The problem is that i want put my "ui.xml" in a folder that is separated of ".java" files.
Like a resources path or the "war" path.
Can i put on WAR directory?
Thanks man.
--
Atenciosamente,
Paulo Coutinho.
Blog: www.prsolucoes.com/blog
Site: www.prsolucoes.com
Msn: paulo@prsolucoes.com
Skype: paulo.prsolucoes
-- 2011/10/1 benneq <benjamin_makus@lavabit.com>
You can simply put your .ui.xml file to another folder and tell
your .java file where it is:
Here's a small code that will do it:
@UiTemplate("RootUIDisplay.ui.xml")
interface RootUIDisplayUiBinder extends UiBinder<Widget,
RootUIDisplay> {}
In words: You have to write an annotation for the UiBinder interface,
to tell it where its .ui.xml file it.
Pretty simple. Isn't it ? :)
> 2011/10/1 Paulo Coutinho <pa...@prsolucoes.com>
On 1 Okt., 19:58, Paulo Coutinho <pa...@prsolucoes.com> wrote:
> Hi,
>
> I got do it.
>
> I create a file called:
>
> LoginForm.ui.xml
> for
> LoginForm.java
>
> And it works.
>
> But i need that this files are separated by theme folders or in a differente
> path from default.
>
> How i can do it?
>
>> > Msn: pa...@prsolucoes.com
>
>
>
>
>
>
>
>
> > Hi,
>
> > Im already have a GWT app with PHP and now i want put the VIEW layer of my
> > widgets and composites classes in a HTML page or UI-BINDER.
>
> > How i can do it?
>
> > Today im creating all components in the java class, but i want separate it
> > to the designer can change all.
>
> > Please help me!
>
> > --
> > Atenciosamente,
> > Paulo Coutinho.
> > Blog:www.prsolucoes.com/blog
> > Site:www.prsolucoes.com
> > Skype: paulo.prsolucoes> Msn: pa...@prsolucoes.com
> > Telefone: +55 21 9386-0010
> > Consultor Certificado Bindows
>
> --
> Atenciosamente,
> Paulo Coutinho.
> Blog:www.prsolucoes.com/blog
> Site:www.prsolucoes.com
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Atenciosamente,
Paulo Coutinho.
Blog: www.prsolucoes.com/blog
Site: www.prsolucoes.com
Msn: paulo@prsolucoes.com
Skype: paulo.prsolucoes
Telefone: +55 21 9386-0010
Consultor Certificado Bindows
Consultor Certificado Bindows
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment