Board index JavaServer Faces General Proposal Calendar component with readOnlyInputText="false"

Proposal Calendar component with readOnlyInputText="false"

Components, Ajax Framework, Utilities and More.

Posts: 10
Now the tag readOnlyInputText is true for default but this has the big disadvantage that after choosing a date is no longer possible to reset the field.
Mistake during the input happen often with customers ..., so i think could be better avoid attacks panic from the start. :mrgreen:

Posts: 17240
Location: Cybertron

Yes, you are definitely right, any suggestions?

Posts: 10
My suggestion will be change the default from true to false directly on the code on that component.
Perhaps on
public void release(){
this._readOnlyInputText = false;
This time i haven't tried if this change is correct or not.

Posts: 17240
Location: Cybertron

Makes sense actually, yes.

Return to General