How does the placeholder work?
 
when i ha a bean with the method:
    public String getMyString(){ return null; }
 
and i put in my page:
<USEBEAN name="myBean" ...>
</USEBEAN>
 
<display property="myBean:myString"  placeholder="none">
 
it returns:
null    instead of 'none'
 public String getMyDate(){
  return someDateWitchIsNull.toLocaleString();}
 
<display property="myBean:myDate"  placeholder="none">
howerver does return 'none'.
 
So where am i mistaking ?
 
thx,
Mark

 

GIF image

Reply via email to