Re: [XWALL HEURISTIC] Re: Variable cell style classes in data table

2005-07-29 Thread Richard Wallace
Well, setting the display to block works for having the span take up the whole cell if I specify width and height, but it still has the same problem that you can't vertically align block level elements. It puts me right back where I was when I was wrapping the cell contents in a div. Thanks f

Re: [XWALL HEURISTIC] Re: Variable cell style classes in data table

2005-07-29 Thread Martin Marinschek
uhmm... you are right ;) I obviously did that due to some other reason, basically cause I had to call a method and provide the username as a parameter, and this is not possible with the JSF EL. as for the style: use display:block; in your style description. regards, Martin On 7/29/05, Richa

Re: [XWALL HEURISTIC] Re: Variable cell style classes in data table

2005-07-29 Thread Richard Wallace
I'm curious tho what this actually outputs. It seems your just setting the styleClass on the element which you can do with . The problem I have with that is that it uses a to set the style class and you can't tell a span to take up 100% of the cell. You can tell it to up all the width, bu

Re: [XWALL HEURISTIC] Re: Variable cell style classes in data table

2005-07-29 Thread Martin Marinschek
I found a solution deep in my magic box ;) put a value-binding attribute on the outputTexts in your dataTable, just like this: in eventsList.specializedOutputText, create a new Instance of SpecializedOutputText and return this. class SpecializedOutputText should look like the following: publ

Re: [XWALL HEURISTIC] Re: Variable cell style classes in data table

2005-07-29 Thread [EMAIL PROTECTED]
hi, i know this is proably not a solution if richard manages to finish the component, but is all ropes tear you could allways do it in plain old javaScript in an onLoad function. it would probably be the fastest, but if you have time, i would wait for the component to do the work for you ;) gr