[
https://issues.apache.org/jira/browse/TRINIDAD-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12702731#action_12702731
]
Jacob Nordfalk commented on TRINIDAD-458:
-
(I've also sent this to dev@myfaces.apache.org but as far as I can tell no
reactions came)
Now, excuse me for asking probably stupid questions (I'm just a user of your
component library, and have never looked at how they work inside):
1) Does this mean that if I could somehow set the property _currTimeKey to the
desired value, then I would have a workaround?
2) As I don't have the source code and the field _currTimeKey is not in my
decompiled class stub of class
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ChooseDateRenderer,
could you please give me the value of that key?
3) I have no idea how to get access to the renders. I have access to the
CoreChooseDate bean frm my code
private CoreChooseDate bean_fromDate;
public void setBean_fromDate(CoreChooseDate bean_fromDate) {
this.bean_fromDate = bean_fromDate;
if (bean_fromDate==null) return;
System.err.println(bean_fromDate.getAttributes());
System.err.println(bean_fromDate.getChildCount());
System.err.println(bean_fromDate.getChildren());
}
public CoreChooseDate getBean_fromDate() {
return bean_fromDate;
}
Please tell me how to get access to the renderer of the bean so I can make a
workaround this issue.
Thanks!
Jacob
Allow users to control the starting date of date picker
---
Key: TRINIDAD-458
URL: https://issues.apache.org/jira/browse/TRINIDAD-458
Project: MyFaces Trinidad
Issue Type: Improvement
Reporter: Simon Lessard
Priority: Minor
Attachments: trunk_patch90.patch
Currently, date picker init itself to the current date (unless there's a
DateTimeRangeValidator preventing it). This can be useful, but also
problematic when the date to be selected is decently old, like a birthdate
for instance. A decent workaround would be to add an attribute on the
component to fix the initial selected date of the date picker.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.