aspose file tools*
The moose likes JSF and the fly likes transforming value after sorting in bold radiobutton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "transforming value after sorting in bold radiobutton" Watch "transforming value after sorting in bold radiobutton" New topic
Author

transforming value after sorting in bold radiobutton

fabio alonso
Ranch Hand

Joined: May 15, 2010
Posts: 48
I have a panelgrid (with radios) that tells me two columns, with a description and the other with values
I am needing to make bold the chosen line, tried to do, but as much as I could, through the studies was to leave in bold spmente of the columns.
Problem is that he is leaving so the description, the column values ​​is not bold, tried to modify the javascript several times .. but not worked ..

Do you know where I can change more to solve this?

Below the code that modifying the standard description, missing values ​​also change



javascript


Anyone know how to solve?
thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21

I can't give an instant answer, since I don't fully understand, but I think I can help.

First, your top 2-3 lines of jQuery code are using the "$" notation, This conflicts with EL syntax in JSF, so you need to use the "jQuery." form instead.

Secondly, the common behavior that most JSF datatables provide by default is a "hover' style, where the color and/or other attributes (bold font, for example) are done as part of the row class definition and thus the appearance will change as you roll the mouse up and down the table. If you want a "selection", you have to do more, since in basic JSF there isn't actually the concept of a "selected row". I don't remember if Tomhawk supports one or not.


Customer surveys are for companies who didn't pay proper attention to begin with.
fabio alonso
Ranch Hand

Joined: May 15, 2010
Posts: 48
Tim Holloway wrote:I can't give an instant answer, since I don't fully understand, but I think I can help.

First, your top 2-3 lines of jQuery code are using the "$" notation, This conflicts with EL syntax in JSF, so you need to use the "jQuery." form instead.

Secondly, the common behavior that most JSF datatables provide by default is a "hover' style, where the color and/or other attributes (bold font, for example) are done as part of the row class definition and thus the appearance will change as you roll the mouse up and down the table. If you want a "selection", you have to do more, since in basic JSF there isn't actually the concept of a "selected row". I don't remember if Tomhawk supports one or not.


thanks for the help,

but the problem is that he is only applying the formatting in the description column,
like you said, it is not "seeing" the line, only the column, this is my biggest problem..
fabio alonso
Ranch Hand

Joined: May 15, 2010
Posts: 48
fabio alonso wrote:I have a panelgrid (with radios) that tells me two columns, with a description and the other with values
I am needing to make bold the chosen line, tried to do, but as much as I could, through the studies was to leave in bold spmente of the columns.
Problem is that he is leaving so the description, the column values ​​is not bold, tried to modify the javascript several times .. but not worked ..

Do you know where I can change more to solve this?

Below the code that modifying the standard description, missing values ​​also change



javascript


Anyone know how to solve?
thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: transforming value after sorting in bold radiobutton