it is not. for open-close tags like <span/> onBodyRender is simply not
called and thus no output is generated and for the same reason we can
not check if there is but shouldn't. We are either fast and efficient
or slow but with better error messages.

Juergen

On 8/28/05, Jesse Sightler <[EMAIL PROTECTED]> wrote:
> I still don't agree at all.  I think at the very least this should throw an
> exception.  Ie, why is it legal to add a body to an XML element that doesn't
> allow one?
> 
> 
> On 8/26/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> > Hmm... it would make sense if there were a distinction between the
> > empty string and null in XML. You're probably right.
> > 
> > On 8/26/05, Juergen Donnerstag <[EMAIL PROTECTED] > wrote:
> > > hmm? the body is "" isn't it?
> > >
> > > On 8/26/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> > > > Yea, but <span></span> also has no body. 
> > > >
> > > > On 8/26/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > > > > We used to have that some time ago and users complaint about the 
> > > > > magic, which didn't fit there use case. Currently it is easy: we do
> > > > > not automatically convert <span/> into <span>. We do not change any
> > > > > tag automatically. And because a <span/> has no body,
> onComponentBody 
> > > > > is not called either.
> > > > >
> > > > > Juergen
> > > > >
> > > > > On 8/26/05, Eelco Hillenius <[EMAIL PROTECTED] > wrote:
> > > > > > So... do we have an issue for this in the issue DB then? Juergen,
> is
> > > > > > that hard to fix?
> > > > > >
> > > > > > Eelco
> > > > > > 
> > > > > > On 8/26/05, Gili <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > >       Agreed. We should not fail silently. Furthermore just
> because sometimes
> > > > > > > previews as a no-op does not mean it should not render at
> runtime when
> > > > > > > Wicket populates its body. <span></span> and </span> are
> considered to 
> > > > > > > be equivilent in XML. I would say treating it differently is a
> bug.
> > > > > > >
> > > > > > > Gili
> > > > > > >
> > > > > > > Igor Vaynberg wrote: 
> > > > > > > > I always do <span>[shortdesc]</span> because its nice to see
> the preview
> > > > > > > of
> > > > > > > > where things go, but this should in no way be required, or at
> least do 
> > > > > > > not
> > > > > > > > fail silently!
> > > > > > > >
> > > > > > > > -Igor
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >>-----Original Message-----
> > > > > > > >>From: [EMAIL PROTECTED]
> > > > > > >
> >>[mailto:[EMAIL PROTECTED] On
> Behalf Of
> > > > > > > >>Phil Kulak
> > > > > > > >>Sent: Thursday, August 25, 2005 6:37 PM 
> > > > > > > >>To: wicket-user@lists.sourceforge.net
> > > > > > > >>Subject: Re: [Wicket-user] expand emty tags
> > > > > > > >> 
> > > > > > > >>Jonathan told me it was because nothing would be previewed in
> > > > > > > >>a WYSIWYG editor, so Wicket displayed nothing as well.
> > > > > > > >>Personally, I don't like writing <span></span>. 
> > > > > > > >>
> > > > > > > >>On 8/25/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > > > > > >>
> > > > > > > >>>
> > > > > > > >>>i thought the same....
> > > > > > > >>>-Igor
> > > > > > > >>>
> > > > > > > >>> 
> > > > > > > >>>
> > > > > > > >>> ________________________________
> > > > > > > >>> From:
> [EMAIL PROTECTED] 
> > > > > > >
> >>>[mailto:[EMAIL PROTECTED] On
> Behalf Of Jesse
> > > > > > > >>>Sightler 
> > > > > > > >>>Sent: Thursday, August 25, 2005 4:59 PM
> > > > > > > >>>To: wicket-user@lists.sourceforge.net
> > > > > > > >>>Subject: Re: [Wicket-user] expand emty tags 
> > > > > > > >>>
> > > > > > > >>>
> > > > > > > >>>Er, how exactly can that be a feature?  I thought the
> resolution
> > > > > > > >>>before was to fix this bug. :) 
> > > > > > > >>>
> > > > > > > >>>
> > > > > > > >>>On 8/25/05, Phil Kulak < [EMAIL PROTECTED]> wrote:
> > > > > > > >>> 
> > > > > > > >>>>This has been discussed before. Long story short, it's a
> > > > > > > >>
> > > > > > > >>feature not
> > > > > > > >> 
> > > > > > > >>>>a
> > > > > > > >>>
> > > > > > > >>>bug. ;)
> > > > > > > >>>
> > > > > > > >>>>On 8/25/05, pepone pepone < [EMAIL PROTECTED]> wrote:
> > > > > > > >>>>
> > > > > > > >>>>>Hello when i write a component and put a markup tag like
> this 
> > > > > > > >>>>>
> > > > > > > >>>>><span wicket:id="lblName"/> the value of the tag is not
> render
> > > > > > > >>>>> 
> > > > > > > >>>>>it only run it is writed in this way <span
> > > > > > > >>>>>wicket:id="lblName">name</span>
> > > > > > > >>>>> 
> > > > > > > >>>>>is this a bug of only is valid the sencod way?
> > > > > > > >>>>>
> > > > > > > >>>>>
> > > > > > >
> >>>>>-------------------------------------------------------
> > > > > > > >>>>>SF.Net email is Sponsored by the Better Software
> > > > > > > >>
> > > > > > > >>Conference & EXPO
> > > > > > > >> 
> > > > > > > >>>>>September 19-22, 2005 * San Francisco, CA * Development
> > > > > > > >>
> > > > > > > >>Lifecycle
> > > > > > > >> 
> > > > > > > >>>Practices
> > > > > > > >>>
> > > > > > > >>>>>Agile & Plan-Driven Development * Managing Projects & Teams
> *
> > > > > > > >>>>>Testing & 
> > > > > > > >>>
> > > > > > > >>>QA
> > > > > > > >>>
> > > > > > > >>>>>Security * Process Improvement & Measurement * 
> > > > > > > >>>
> > > > > > > >>>http://www.sqe.com/bsce5sf
> > > > > > > >>>
> > > > > > >
> >>>>>_______________________________________________ 
> > > > > > > >>>>>Wicket-user mailing list
> > > > > > > >>>>>Wicket-user@lists.sourceforge.net
> > > > > > > >>>>> 
> > > > > > > >>>
> > > > > > >
> >>>https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > > >>> 
> > > > > > > >>>>
> > > > > > >
> >>>>-------------------------------------------------------
> > > > > > > >>>>SF.Net email is Sponsored by the Better Software 
> > > > > > > >>
> > > > > > > >>Conference & EXPO
> > > > > > > >>
> > > > > > > >>>>September 19-22, 2005 * San Francisco, CA * Development
> Lifecycle 
> > > > > > > >>>
> > > > > > > >>>Practices
> > > > > > > >>>
> > > > > > > >>>>Agile & Plan-Driven Development * Managing Projects & Teams
> * 
> > > > > > > >>>>Testing & QA Security * Process Improvement & Measurement *
> > > > > > > >>>>http://www.sqe.com/bsce5sf 
> > > > > > >
> >>>>_______________________________________________
> > > > > > > >>>>Wicket-user mailing list
> > > > > > > >>>> Wicket-user@lists.sourceforge.net
> > > > > > >
> >>>>https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > > >>>> 
> > > > > > > >>>
> > > > > > > >>>
> > > > > > > >>
> > > > > > >
> >>-------------------------------------------------------
> > > > > > > >> SF.Net email is Sponsored by the Better Software Conference &
> > > > > > > >>EXPO September 19-22, 2005 * San Francisco, CA * Development
> > > > > > > >>Lifecycle Practices Agile & Plan-Driven Development * 
> > > > > > > >>Managing Projects & Teams * Testing & QA Security * Process
> > > > > > > >>Improvement & Measurement * http://www.sqe.com/bsce5sf 
> > > > > > >
> >>_______________________________________________
> > > > > > > >>Wicket-user mailing list
> > > > > > > >> Wicket-user@lists.sourceforge.net
> > > > > > >
> >>https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > > >> 
> > > > > > > >>
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > 
> > > > > > > >
> -------------------------------------------------------
> > > > > > > > SF.Net email is Sponsored by the Better Software Conference &
> EXPO
> > > > > > > > September 19-22, 2005 * San Francisco, CA * Development
> Lifecycle 
> > > > > > > Practices
> > > > > > > > Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing &
> > > > > > > QA
> > > > > > > > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > > > > > > >
> _______________________________________________
> > > > > > > > Wicket-user mailing list
> > > > > > > > Wicket-user@lists.sourceforge.net
> > > > > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user 
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > http://www.desktopbeautifier.com/
> > > > > > > 
> > > > > > >
> > > > > > >
> -------------------------------------------------------
> > > > > > > SF.Net email is Sponsored by the Better Software Conference &
> EXPO
> > > > > > > September 19-22, 2005 * San Francisco, CA * Development
> Lifecycle Practices 
> > > > > > > Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing & QA
> > > > > > > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > > > > > > _______________________________________________
> > > > > > > Wicket-user mailing list
> > > > > > > Wicket-user@lists.sourceforge.net
> > > > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > > > 
> > > > > >
> > > > > >
> > > > > >
> -------------------------------------------------------
> > > > > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> > > > > > Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing & QA
> > > > > > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > > > > > _______________________________________________
> > > > > > Wicket-user mailing list
> > > > > > Wicket-user@lists.sourceforge.net
> > > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > > >
> > > > > 
> > > > >
> > > > >
> -------------------------------------------------------
> > > > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices 
> > > > > Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing & QA
> > > > > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf 
> > > > > _______________________________________________
> > > > > Wicket-user mailing list
> > > > > Wicket-user@lists.sourceforge.net
> > > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > > >
> > > >
> > > >
> > > >
> ------------------------------------------------------- 
> > > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing
> & QA 
> > > > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > > > _______________________________________________
> > > > Wicket-user mailing list 
> > > > Wicket-user@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user 
> > > >
> > >
> > >
> > > -------------------------------------------------------
> > > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices 
> > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
> QA
> > > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf 
> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > 
> > 
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices 
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> > _______________________________________________ 
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user 
> > 
> 
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to