Not with Wicket directly. You could take a look at the WIcket Velocity sub project (also found at Apache Wicket) where you have more flexibility regarding markup scripting.
Martijn On 7/10/07, Chris Colman <[EMAIL PROTECTED]> wrote: > I can understand that an error needs to be raised when some markup > attempts to bind to a component who's wicket id can't be found in the > wicket page class or component class - that make sense but what about > the other way around... > > What if I wanted to provide a component class with a whole range of > data: eg., name, description, image, etc., but I wanted the writer of > the markup to pick and choose what he/she wants displayed even though > their markup all links to a single wicket component class. > > For example: Markup author A wants to display name and description but > no image. Markup author B wants to display a name and an image but no > description. > > I know I can control visibility of items at the Java side but what if I > wanted this control at the markup side? Could wicket be configured so it > just ignored 'extra' fields that the Java classes provided but were not > used by the markup instead of throwing an exception? > > ------------------------------------------------------------------------- > 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 > -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/ ------------------------------------------------------------------------- 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