This discussion is archived
7 Replies Latest reply: Jan 21, 2013 5:12 AM by Harish Pothuri RSS

Store input color value to string column

MarVinceReyes Explorer
Currently Being Moderated
JDeveloper 11.1.1.2.0

I have a table with a column for color labels that stores string type value. The purpose of this column is to color code (label/highlight) certain rows with the data it holds, currently it stores string literals like "RED", "BLUE", etc.

I'm trying to use the af inputColor component of adf components, so far, i converted the default inputText label that the af table gives me and converted it to the inputcolor component. I've also set the property simple to true.

At runtime when i submit the color i picked it doesn't throw me an error, just that the component color surrounds with red (like what you get during an error) then it reverts the value to null.

I tried searching the forums and i guess the color picker is not much of a topic, just need some guide on how to convert it to string for storing in db so that i can reuse the value later.

Thanks!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points