Null values in Lists question

2007-10-04 Thread Doug Leeper

I am sure there is a more elegant way than what I am doing so I thought I
would throw out the following question.

I have a List that displays a date in one of its columns.  If that date is
null, nothing is displayed...fine and dandy.  However, when applying a style
to the table, aka border to that cell, nothing will show up because the td
element has nothing in it.

Currently I am placing nbsp; before and after  tags to ensure that the td
element has something in it.

Is there a more elegant way to do this, i.e. Wicket way?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Null-values-in-Lists-question-tf4569676.html#a13042856
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Null values in Lists question

2007-10-04 Thread Martijn Dashorst
http://www.w3schools.com/css/tryit.asp?filename=trycss_table_empty-cells

On 10/4/07, Doug Leeper [EMAIL PROTECTED] wrote:

 I am sure there is a more elegant way than what I am doing so I thought I
 would throw out the following question.

 I have a List that displays a date in one of its columns.  If that date is
 null, nothing is displayed...fine and dandy.  However, when applying a style
 to the table, aka border to that cell, nothing will show up because the td
 element has nothing in it.

 Currently I am placing before and after  tags to ensure that the td
 element has something in it.

 Is there a more elegant way to do this, i.e. Wicket way?

 Thanks
 --
 View this message in context: 
 http://www.nabble.com/Null-values-in-Lists-question-tf4569676.html#a13042856
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Null values in Lists question

2007-10-04 Thread Sebastiaan van Erk

Cool, thanks Martijn, learned something useful today!

(which is a pleasant escape from my philosophy homework where I have to 
try understand what stuff like It follows that trying to give tensed 
thoughts or sentences non-token-reflexive truth-conditions, tensed or 
tenseless, always leads to contradiction means...) :-))


Regards,
Sebastiaan

Martijn Dashorst wrote:

http://www.w3schools.com/css/tryit.asp?filename=trycss_table_empty-cells

On 10/4/07, Doug Leeper [EMAIL PROTECTED] wrote:

I am sure there is a more elegant way than what I am doing so I thought I
would throw out the following question.

I have a List that displays a date in one of its columns.  If that date is
null, nothing is displayed...fine and dandy.  However, when applying a style
to the table, aka border to that cell, nothing will show up because the td
element has nothing in it.

Currently I am placing before and after  tags to ensure that the td
element has something in it.

Is there a more elegant way to do this, i.e. Wicket way?

Thanks
--
View this message in context: 
http://www.nabble.com/Null-values-in-Lists-question-tf4569676.html#a13042856
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







smime.p7s
Description: S/MIME Cryptographic Signature


Re: Null values in Lists question

2007-10-04 Thread Martijn Dashorst
On 10/4/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote:
 (which is a pleasant escape from my philosophy homework where I have to
 try understand what stuff like It follows that trying to give tensed
 thoughts or sentences non-token-reflexive truth-conditions, tensed or
 tenseless, always leads to contradiction means...) :-))

Huh? Is Wicket in Action required reading for Philosophy? That is a
quote from chapter 6.

Martijn

-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Null values in Lists question

2007-10-04 Thread Sebastiaan van Erk
Well I only have up to chapter 4 so far... too bad, maybe it would have 
helped :-))


Sebastiaan

Martijn Dashorst wrote:

On 10/4/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote:

(which is a pleasant escape from my philosophy homework where I have to
try understand what stuff like It follows that trying to give tensed
thoughts or sentences non-token-reflexive truth-conditions, tensed or
tenseless, always leads to contradiction means...) :-))


Huh? Is Wicket in Action required reading for Philosophy? That is a
quote from chapter 6.

Martijn



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Null values in Lists question

2007-10-04 Thread Doug Leeper

Much more elegant than I ever thought.  Thank you very much!
-- 
View this message in context: 
http://www.nabble.com/Null-values-in-Lists-question-tf4569676.html#a13043323
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]