How to render an empty header in list form widgets

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to render an empty header in list form widgets

Jacopo Cappellato
Right now, in many form definition, in order to display an empty header,
the following title is set:

title=""

I'd like to change the behavior of the framework to suppress (don't
create a cell) the header if the above title is set; is it ok if I
change the existing form definitions in the following way?

title="${uiLabelMap.CommonEmptyHeader}"

where CommonEmptyHeader=
is blank

What do you think?

Jacopo
Reply | Threaded
Open this post in threaded view
|

Re: How to render an empty header in list form widgets

Jacopo Cappellato
All in all, I think that replacing all the occurencies of title="" with
title="${uiLabelMap.CommonEmptyHeader}" is a good idea, and so I've
committed this change in rev. 550173

Jacopo

Jacopo Cappellato wrote:

> Right now, in many form definition, in order to display an empty header,
> the following title is set:
>
> title=""
>
> I'd like to change the behavior of the framework to suppress (don't
> create a cell) the header if the above title is set; is it ok if I
> change the existing form definitions in the following way?
>
> title="${uiLabelMap.CommonEmptyHeader}"
>
> where CommonEmptyHeader=
> is blank
>
> What do you think?
>
> Jacopo

Reply | Threaded
Open this post in threaded view
|

Re: How to render an empty header in list form widgets

Jacques Le Roux
Administrator
In reply to this post by Jacopo Cappellato
I can't see any problems with this changes. But is that not already commited in rev. 550173 ?

Jacques

De : "Jacopo Cappellato" <[hidden email]>

> Right now, in many form definition, in order to display an empty header,
> the following title is set:
>
> title=""
>
> I'd like to change the behavior of the framework to suppress (don't
> create a cell) the header if the above title is set; is it ok if I
> change the existing form definitions in the following way?
>
> title="${uiLabelMap.CommonEmptyHeader}"
>
> where CommonEmptyHeader=
> is blank
>
> What do you think?
>
> Jacopo