This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 94529 - Ability to conditionally change the text styles in datatable
Summary: Ability to conditionally change the text styles in datatable
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Winston Prakash
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 21:42 UTC by bugbridge
Modified: 2007-12-07 16:41 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-05 21:42:10 UTC
Original status: 5-Cause Known; Suggested Status: NEW

Original Target Release: mako_dev; Suggested Target Milestone : Dev


Description:
This is from the forum thread:
http://swforum.sun.com/jive/thread.jspa?threadID=49897&tstart=0

The text from the customer is as follows:

have tried to use that approach, but it doesn't work for my case. My intention
is that certain column(s) in EACH ROW in the data table change their styles when
condition is true, but it turns out that the WHOLE CULOMN(S) of the data table
change the styles according the condition of the last element of the List.

If I didn't make it wrong, the problem should be the fundamental mechanism of
the JSF. I like the event driven way to deal with web programming, and like to
see it works well. But alone with others I have experienced which was really
frustrating, I do think a significant improvement is needed for JSF.

Is there anyway which I can achieve what I want to do? or I have to give up JSF,
or even worse, no option but force to follow MS?
----------------------------------------------------------------------------

There had been another forum thread where the customer was asking how to change
the row color based on certain condition. This is quite similar to it. Here
though the change is to be effected on the output text that displays the
contents of a table in a database. 

Presently by setting the style for the outputText component we can change the
color but that would change the color of the output text for all the rows. 

Facility for setting the color of the displayed text in a datatable would be nice.

Evaluation:
BH table component does not seem to support this. We should ask for this
enhancement for the future release of Sun Java Studio Creator.