Thanks for you email , I tried adding a simple Hello world
example into my exsistin g app .
here are the files I added .
first I created a file
<code>
package gov.hhs.acf.web.gwt.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.RootPanel;
public class Hello implements EntryPoint {
@Override
public void onModuleLoad() {
Button b = new Button("Click me", new ClickHandler() {
public void onClick(ClickEvent event) {
Window.alert("Hello, AJAX");
}
});
RootPanel.get().add(b);
}
}
</code>
in the same package I added a file Hello.gwt.xml
<code>
<module rename-to="hello">
<inherits name="com.google.gwt.user.User"/>
<entry-point class="gov.hhs.acf.web.gwt.client.Hello"/>
</module>
</code>
finally I added gwt-maven plugin , building project gives me this
error
<code>
<module rename-to="hello">
<inherits name="com.google.gwt.user.User"/>
<entry-point class="gov.hhs.acf.web.gwt.client.Hello"/>
</module>
</code>
On Oct 4, 4:43 pm, Georg Sendt <[email protected]> wrote:
> Yes this is no problem. You can use GWT as normal as JavaScript in
> your Wicket application.
>
> Create a GWT-Project and include the YourApplication.nocache.js in
> your wicket page. You can do this easily with
> org.apache.wicket.markup.html.WebComponent.
>
> Regards,
>
> Georg
>
> On 3 Okt., 06:10,fachhoch<[email protected]> wrote:
>
>
>
> > My application uses wicket , I recently saw some GWT widgets , and
> > would like to use them in my application , please suggest me if there
> > is any integration between wicket and GWT , can I use GWT widgets
> > inside my wicket pages ?
--
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.