Re: [Wicket-user] maybe a bug

2005-08-27 Thread Johan Compagner
please op een bug report if you see something in the generation of html 
that is wrong or strange.



pepone pepone wrote:

I put this tag in a markup of my componente div class=clear/

and when i see the source of the page its render as div
class=clear that is not the same

my tag has not any wicket attributes i don´t know why is changed

thanks


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


Re: [Wicket-user] maybe a bug

2005-08-27 Thread Juergen Donnerstag
I'd be suprised if wicket changed it. Based on the code, we do not
touch div tags and it is no wicket tag. Are you sure wicket changed
it?

Juergen

On 8/27/05, Johan Compagner [EMAIL PROTECTED] wrote:
 please op een bug report if you see something in the generation of html
 that is wrong or strange.
 
 
 pepone pepone wrote:
  I put this tag in a markup of my componente div class=clear/
 
  and when i see the source of the page its render as div
  class=clear that is not the same
 
  my tag has not any wicket attributes i don´t know why is changed
 
  thanks
 
 
  ---
  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


Re: [Wicket-user] maybe a bug

2005-08-27 Thread Gwyn Evans
I was guessing it could happen if the markup was being parsed in by
some form but didn't look at the code, so was still undecided.

Anyway, I can't reproduce it here (with 1.1b3, at least) so we'll need
an example to investigate further.

/Gwyn

On 27/08/05, Juergen Donnerstag [EMAIL PROTECTED] wrote:
 I'd be suprised if wicket changed it. Based on the code, we do not
 touch div tags and it is no wicket tag. Are you sure wicket changed
 it?
 
 Juergen
 
 On 8/27/05, Johan Compagner [EMAIL PROTECTED] wrote:
  please op een bug report if you see something in the generation of html
  that is wrong or strange.
 
 
  pepone pepone wrote:
   I put this tag in a markup of my componente div class=clear/
  
   and when i see the source of the page its render as div
   class=clear that is not the same
  
   my tag has not any wicket attributes i don´t know why is changed
  
   thanks
  
  
   ---
   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


Re: [Wicket-user] maybe a bug

2005-08-26 Thread Gwyn Evans
I'm not 100% sure why it's doing it, but isn't div a block-level
tag, i.e. it needs to surround something to be valid?  Maybe the
parser that Wicket's using is detecting  correcting the div/ rather
than complaining?

/Gwyn

On 26/08/05, pepone pepone [EMAIL PROTECTED] wrote:
 I put this tag in a markup of my componente div class=clear/
 
 and when i see the source of the page its render as div
 class=clear that is not the same
 
 my tag has not any wicket attributes i don´t know why is changed
 
 thanks


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


Re: [Wicket-user] maybe a bug

2005-08-26 Thread Scott Sauyet
I don't think so.  The WC3 Validator doesn't report a problem with this 
page:


http://test.sauyet.com/CSS/EmptyDiv/

which includes an empty div.

  -- Scott

Gwyn Evans wrote:

I'm not 100% sure why it's doing it, but isn't div a block-level
tag, i.e. it needs to surround something to be valid?  Maybe the
parser that Wicket's using is detecting  correcting the div/ rather
than complaining?

/Gwyn

On 26/08/05, pepone pepone [EMAIL PROTECTED] wrote:


I put this tag in a markup of my componente div class=clear/

and when i see the source of the page its render as div
class=clear that is not the same

my tag has not any wicket attributes i don´t know why is changed

thanks




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


RE: [Wicket-user] maybe a bug

2005-08-26 Thread Scott T weaver
However, the Tidy extension for Firefox reports a warning:


-
trimming empty ...
Cause:

A tag is empty or just containing spaces. Space are ignored, due that
introduction spaces are trimmed in HTML.  This tag is probably really empty
or it can be due to a previous error. Tidy is trying to correct the tags of
the page.


This can also be a side effect of a tag being implicitely closed by another
one just following.
Solution:

Remove the tag.


BAD font size=2/font
BAD font size=2 /font
BAD font size=2 
/font


Here is a sample of a p tag implicitely closed by a block tag table. And
then p is empty. See the defintion of p for more info

BAD ptable...


References:

None
--

Regards,
-Scott Weaver

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:wicket-user-
 [EMAIL PROTECTED] On Behalf Of Scott Sauyet
 Sent: Friday, August 26, 2005 12:21 PM
 To: wicket-user@lists.sourceforge.net
 Subject: Re: [Wicket-user] maybe a bug
 
 I don't think so.  The WC3 Validator doesn't report a problem with this
 page:
 
  http://test.sauyet.com/CSS/EmptyDiv/
 
 which includes an empty div.
 
-- Scott
 
 Gwyn Evans wrote:
  I'm not 100% sure why it's doing it, but isn't div a block-level
  tag, i.e. it needs to surround something to be valid?  Maybe the
  parser that Wicket's using is detecting  correcting the div/ rather
  than complaining?
 
  /Gwyn
 
  On 26/08/05, pepone pepone [EMAIL PROTECTED] wrote:
 
 I put this tag in a markup of my componente div class=clear/
 
 and when i see the source of the page its render as div
 class=clear that is not the same
 
 my tag has not any wicket attributes i don´t know why is changed
 
 thanks
 
 
 
  ---
  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


Re: [Wicket-user] maybe a bug

2005-08-26 Thread Scott Sauyet

Scott T weaver wrote:
 However, the Tidy extension for Firefox reports a warning:

Yes, but that is just a Tidy warning.  The HTML is valid, at least in 
XHTML strict.


Of course an empty div will have no semantics behind it, but it can be 
used in conjunction with CSS for various effects, and could quite 
possibly be a handle used by Javascript for some DOM trickery.  I've 
used them in CSS to clear floats when there was no tag with appropriate 
semantics to use.  Adding a little CSS to the page we get:


http://test.sauyet.com/CSS/EmptyDiv2/

Then adding a bit more targeting DIVs, we get:

http://test.sauyet.com/CSS/EmptyDiv3/

So, they can be useful.

This is, I think, a legitimate use of tan empty tag.  I think it is a 
bug for Wicket to clean this up, especially if as it seemed it replaced 
the empty tag with an open tag only.


  -- Scott



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