jenny wrote:
> Hello Paul,
> thank you for answering. It's a helpful tip for me that you can mark
> the directories to translate in that gwt.xml file!
>
> But it seems that i havn't described my actual problem exactly. So i
> try again.
> The matter is that i have a well working application that reads meta
> data from an xml file for instanciating an object structure that shall
> be displayed.
> (The runtime env is an app for showing software-prototypes like
> mobilesoftware.)
> This is working fine with Swing components because i can display it
> embedded in my runtime env by instanciate a swtobject structure.
>
> My first idea was to copy all swing component factories for gwt
> components; make an abstract layer above both, so i can use my
> existing access.
> I don't know if it will work to instanciate an gwtobject structure
> like that and even if, i don't know what to do with it. It has to be
> translated by then. But i don't know how. The question is, if it is
> possible to translate it into html/javascript an runtime?
>   
This doesn't sound like something that lends itself to GWT, but sounds
more like jsp

> A complety another solution i now have in mind is to write a gwt
> project for my prototype (all gwt files that are needed) at runtime.
> Then i can compile these static gwt project and get my html/
> javascript. But in this solution i can't use anything of my old
> code...
> Furthermore it's very interesting for me, if it's possible to
> translate a cloudy gwt object structure to html?
> But maybe it's a really oddy idea in my mind???
>
>
>   
>From your new thread, I guess this is the way you're trying to do it
now.  You'll need your code, once deployed in production, to be able to
automatically deploy your generated app as well. This sounds rather
messy, but I don't see why it couldn't be made to work.

An alternative would be not to generate the application at runtime, but
to have a single gwt application that just behaves differently according
to the contents of your xml meta data.

You may also be interested in UiBinder:
http://code.google.com/p/google-web-toolkit-incubator/wiki/UiBinder

which is now available in GWT's trunk (ie it's not in GWT 1.7)

HTH
Paul


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to