Closed lfryc closed 11 years ago
RichFaces » sandbox #238 SUCCESS This pull request looks good (what's this?)
Oh, I cry. Why did you remove suffix,for and non-JSF inputs support? It was so great. When I was writing watermark the rich:calendar was broken and I could not nest the watermark inside rich:calendar. In future we may have same situation, i.e. with components not from RF. As to "suffix" I don't believe in automatic discovery of input with that jQuery trick. What if there is more then one input in the component? i.e. visible input and a hidden one?
Hey Bernard,
thanks for a feedback! It is very appreciated!
Just note the changes above are just proposals to be discussed, let me explain my thoughts:
Here are detailed explanations:
for
attribute seems unnecessary
suffix
because it does not play a nice with a JSF components behavior
:visible
selector is very good suggestionwatermark
now works when nested in calendar
watermark
works with each component in RF where it does make senseWhat do you think?
My analysis might miss something important and that's why I'm really glad you can review it.
It would be very helpful if you could explain in detail where the component does not meet its use cases - what are additional requirements I missed.
We could discuss details on team meeting - I have added it to agenda: https://community.jboss.org/wiki/RichFacesTeamMeetingAgenda2012-10-30 By any chance would you be able to come today?
We have agreed on following points on team meeting [1]
[1] https://community.jboss.org/wiki/RichFacesTeamMeetingAgenda2012-10-30
RichFaces » sandbox #244 SUCCESS This pull request looks good (what's this?)
Watermark is now prepared to be included in core suite - it just has to be renamed to Placeholder.
The placeholder component was adopted to core suite in https://github.com/richfaces/components/commit/cdf39c4a7232e34a686ff70b50cf6ab93b8c4146
This issue was opened to track changes of Watermark component in order to incorporate it into core component suite.
I did following modifications: