I did a little experiment. The code down below is all you need to implement your requirement of finding the fragments markup snippet on a markup stream directly associated with the class.
/** * A special Fragment (WebMarkupContainer) which searches for the fragment * in the markup file associated with the class. */ public static class FragmentWithAssociatedMarkupStream extends Fragment { private static final long serialVersionUID = 1L; /** * Construct. * * @param id * @param markupId */ public FragmentWithAssociatedMarkupStream(final String id, final String markupId) { super(id, markupId); } protected MarkupStream chooseMarkupStream(MarkupStream markupStream) { return getAssociatedMarkupStream(false); } } On 5/8/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> i have used it quiet a bit and it seems to work fine. so i would be +1 for > making it enabled by default. I can confirm that :) +1 for enabling by default. Eelco ------------------------------------------------------- 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?cmdlnk&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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&kid0709&bid&3057&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user