Hi,
dont refer to the navomatic example, as this is a special contruction.
If you need a usualy a href= link to a wicket page then use instead
following:
HMTL Markup:
<a wicket:id="myLink" href="#">Link desc</a>
and in Java-Page use:
Link myLink = new Link("myLink") {
public void onClick() {
setResponsePage(Target.class);
}
};
add(myLink);
where Target.class is the class of the page to be called
Regards,
Korbinian
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag
> von [EMAIL PROTECTED]
> Gesendet: Freitag, 13. Oktober 2006 16:21
> An: [email protected]
> Betreff: [Wicket-user] newbie: wicket + dojo LayoutContainer
>
> Hi,
>
> I'm trying to integrate Wicket with dojo for a web
> application. I have looked at the
> wicket-contrib-dojo-examples, but i believe it does not cover
> what I'm looking for at the moment, so here
> goes:
>
> I'm trying to use dojo's LayoutContainer with multiple nested
> dojo ContentPanes as (dojo attribs not relevant to this post
> are removed):
>
>
> <div dojo:type="LayoutContainer">
> <div dojo:type="ContentPane"
> href="HEAD_PAGE_URL"></div>
> <div dojo:type="ContentPane"
> href="BODY_PAGE_URL"></div>
> </div>
>
>
>
> What I would like to know is how to link the values for
> HEAD_PAGE_URL and BODY_PAGE_URL which would point to standard
> wicket pages. I have looked at the linkomatic examples and
> all of those require an anchor tag to generate the link. In
> my case I only want the "href" that will point to the wicket
> Page class.
>
> Or is there some other way to achieve this?
>
> Thanks,
> ~ amol
>
>
>
>
>
>
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web
> services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier Download IBM WebSphere Application Server
> v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
dat=121642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user