Share

gui4j

Tracker: Bugs

5 comboBox - "stringConvert" required but not always necessary - ID: 1363883
Last Update: Settings changed ( kay17 )

I didn't known if "~f" is the default value of
"editable" comboBox attribute so I used "editable=~f"
in all my views...
but with this release (v1.2.3) "stringConvert" is
required when the combobox content is not of type
String and "editable" field is used... but in my case
"editable" is setted to false and "stringConvert" is
unnecessary for me.. I don't think it is a real bug
but is possible to isolate cases in which editable is
always false (=~f)?!
Thanks in advance,
Francesco


Francesco Vadicamo ( kryst4l ) - 2005-11-22 15:37

5

Closed

Rejected

Nobody/Anonymous

Other

None

Public


Comment ( 1 )




Date: 2005-11-23 14:39
Sender: kay17Project Admin

Logged In: YES
user_id=528087

a) If "editable" is not specified, the comboBox is not editable.
The documentation should be updated to make this clear.

b) Since "editable" takes a method call as attribute value,
gui4j cannot usually know at xml-read-time if the comboBox
will be editable at run time or not. But since it might be
editable gui4j demands that attribute "stringConvert" is
specified.
I don't want to introduce special handling of "~f" in this
case since all method calls (including the 'method call
constant' "~f") are handled generically in gui4j.

I'll update the reference doc for "editable" in comboBox,
though.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
close_date - 2005-11-23 14:39 kay17
status_id Open 2005-11-23 14:39 kay17
resolution_id None 2005-11-23 14:39 kay17
category_id Internal Error / Exception 2005-11-23 14:39 kay17