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: 15080
Location: Cybertron

Yes, you are definitely right, any suggestions?
PrimeFaces Lead


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


Posts: 15080
Location: Cybertron

Makes sense actually, yes.
PrimeFaces Lead


Return to General