Thx Michael,

With your suggestion, i used following code, then it worked perfectly !

<mx:Link label="{dataObject.day==null?'':dataObject.day}"
enabled="{dataObject.day==null?false:true}" />


Thanks again,
Keishichi


--- In flexcoders@yahoogroups.com, Michael Hansen <[EMAIL PROTECTED]> wrote:
>
> 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<http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
 Computer
> > software
development<http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
 Software
> > design and
development<http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
  Macromedia
> >
flex<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>
 Software
> > development best
practice<http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
> >  ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> >    - Visit your group
"flexcoders<http://groups.yahoo.com/group/flexcoders>"
> >    on the web.
> >     - To unsubscribe from this group, send an email to:
> >   
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> >     - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >    Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >  ------------------------------
> >
>






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


Reply via email to