Look at the list of problems I have with a solution like this. I don't
want this in core, or extensions. At best in wicketstuff-minis

I'd prefer having an example on the site showing this as how to build
custom components yourself, instead of adding it to core.

Instead of giving someone a fish, teach them how to fish.

Martijn

On 5/25/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
>
> >
> > public abstract class LabelLink extends Link {
> >     private IModel labelModel;
> >
> >     public LabelLink(String id, IModel linkModel, IModel labelModel) {
> >         super(id, linkModel);
> >         this.labelModel = labelModel;
> >     }
> >         protected void onComponentTagBody(MarkupStream markupStream,
> > ComponentTag openTag)
> >         {
> >                 replaceComponentTagBody(markupStream,
> openTag,
> > labelModel.getObject().toString());
> >         }
> > }
>
>
> maybe we should add this to our classes (core or extentions)
> so that we don't get this same question over and over again..
>
> johan
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>


-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to