how many such decorators i have to write?

I have some around 50 to 60 tables...........do i need to write decorator
for each table?

2009/7/22 Naveen Namburi <naveennamb...@gmail.com>

> Hi Abhishek,
>
> Please use decorator and format value in decorator:
>
>
> <
> display:table class="displayTable" name="requestScope.CouAppeal" decorator
> ="nj.lwd.courts.web.decorators.reftab.AppealDecorator" 
> requestURI="courtsonline.htm"
> sort="list">
>
> <
> display:column property="link1" titleKey="appeal.label.code"  />
>
> and in decorator
>
> public String getLink1()
>         {
>       String params=escapeSingleQuote("Your Value");
>          return params;
>         }
>
> private static String escapeSingleQuote(String params){
>   // fix for single quote
>   params = params.replace("'", "\\'");
>
>   return params;
>  }
>
> Thanks,
>
> Naveen.
>
>  2009/7/22 abhishek reddy <abhishek.c1...@gmail.com>
>
>> hi everyone,
>>
>> *Problem*: when the displaytag column contains apostraphe, it is
>> displayed as *&apos;* instead of ( ' )
>>
>> how to overcome this problem?
>>
>> --
>> Abhishek
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> displaytag-user mailing list
>> displaytag-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>


-- 
Abhishek
------------------------------------------------------------------------------
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to