Yes, but I want something which does not carry UI.  I really don't
need UI.  All I need is something that represents the arbitrary html
string model. It will be plus if this class also supports method of
manipulating the underlying string.


On Mar 7, 9:11 pm, Vitali Lovich <[email protected]> wrote:
> Do you mean to inject arbitrary HTML text into the page?  There's the HTML
> widget class (don't feel like looking up the full package name right now,
> but Eclipse should help you find it - it's in the com.google.client UI
> stuff).
>
> On Fri, Mar 6, 2009 at 7:13 PM, planetsoni <[email protected]> wrote:
>
> > On the same topic.
> > Is there any class that does similar things for html(instead of URL)?
>
> > What I mean is a class that represent arbitrary HTML element text.
> > (Pretty much like DOM Element object that has public constructor.)
>
> > Thanks.
>
> > On Mar 6, 12:38 pm, Lothar Kimmeringer <[email protected]> wrote:
> > > planetsoni schrieb:
>
> > > > So here is the whole thing:
> > > > In the client code in GWT, I am referencing some URLs for different
> > > > server.  I don't want to use string literals to reference these
> > > > links.  I rather have a class that enclose each URL link.  It is just
> > > > good programming practice.
>
> > > Sure but something like java.net.URL doesn't exist with the current
> > > versions of GWT, so you have something to create for yourself or
> > > find workarounds (like the one I described).
>
> > > On the other side, it shouldn't be hard to extract the parsing part
> > > from the sources of java.net.URL (its GPLed now) and put it into
> > > an own class that is shared between server and client of your
> > > GWT-application.
>
> > > Regards, Lothar
>
>
--~--~---------~--~----~------------~-------~--~----~
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