You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by cometta <se...@yahoo.com> on 2007/11/14 05:40:31 UTC

table active image tag changing of < to <

i have a column like below, but when render on page, the <img
src=\"images/ticked.jpg\"> is changed to &lt;img src="images/ticked.jpg"&gt;

how to prevent changing of < to &lt; because i want to display the image


    private  class ActiveColumnEvaluator implements ITableColumnEvaluator {

        public Object getColumnValue(ITableColumn objColumn, Object objRow) {
            EmailList dataItem = (EmailList) objRow;
            String activeImageUrl="";
            if(dataItem.getActive() !=null && dataItem.getActive().equals("1")){
                
                activeImageUrl= "<img src=\"images/ticked.jpg\">";
                
                
            }
            
            return activeImageUrl;
        }
    }


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org