[flexcoders] handling empty(null) in CellRenderer

2005-11-18 Thread keishichi2001
(flex2.0)

When i pass empty XML element into CellRenderer, and handle it like
followed, it shows as 'null' - String.

(in the CellRenderer)
...
mx:Link label={dataObject.day} /
...

I want it to be shown real empty(which means, show nothing) if empty
XML element given.

Does anyone run into same issue?
And how did u solved this?


Best Regards,
Keishichi








 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] handling empty(null) in CellRenderer

2005-11-18 Thread Michael Hansen



how about something like:

mx:Link label={dataObject.day==null?'':dataObject.day} /
cheers
 -michael
On 11/18/05, keishichi2001 [EMAIL PROTECTED] wrote:




(flex2.0)

When i pass empty XML element into CellRenderer, and handle it like
followed, it shows as 'null' - String.

(in the CellRenderer)
...
mx:Link label={dataObject.day} /
...

I want it to be shown real empty(which means, show nothing) if empty
XML element given.

Does anyone run into same issue?
And how did u solved this?


Best Regards,
Keishichi













--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.
  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




  
















--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.