> 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

Would it be an easy enhancement to implement? - just an option to not
raise an error if the Java component 'declares' a component that the
markup doesn't use. I don't see how that would have any negative side
effects - only a more flexible web framework, passing more
responsibility to the markup side.

> 
> 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/
> 
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Tue, 10 Jul 2007 11:52:53 +0100
> From: "Dipu Seminlal" <[EMAIL PROTECTED]>
> Subject: Re: [Wicket-user] Displaying Modal Window to capture and
>       display error message
> To: wicket-user@lists.sourceforge.net
> Message-ID:
>       <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> great, it works now !!!
> 
> On 7/10/07, Frank Bille <[EMAIL PROTECTED]> wrote:
> >
> > On 7/10/07, Dipu Seminlal <[EMAIL PROTECTED]> wrote:
> > >
> > > Is there a way to display a modal window when a submit button is
> clicked
> > >
> > >
> >
> > I would use an AjaxButton on then in it's onError method open the
modal
> > window.
> >
> > Frank
> >
> >
------------------------------------------------------------------------
> -
> > 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
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
>
------------------------------------------------------------------------
-
> 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
> 
> 
> End of Wicket-user Digest, Vol 14, Issue 85
> *******************************************

-------------------------------------------------------------------------
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