I need help to making a date filed as readonly(if the date is pastdate)in WebExperiance Factory.
in my portlet i have xml variable,it contains dates.by using repeated region builder iam displaying those dates in the page.But here the requierement is if the date is pastdate we need to display that field as readonly.and if the date is future date that should be editable.so i how can i make the past dates fields as readonly please suggest me.
Pinned topic how to make past date field as readonly in in WebExperiance Factory
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-03-04T15:31:00Z at 2013-03-04T15:31:00Z by mburati
mburati 060000VQ202575 Posts
Re: how to make past date field as readonly in in WebExperiance Factory2013-03-04T15:31:00ZThis is the accepted answer. This is the accepted answer.I would think you should be able to use an Attribute Setter where both the name and value come from an indirect reference to method calls where the methods determine whether the date is past or future and return the appropriate values to set a readonly attribute or a no-op attribute if the date is in the future.
I hope that info helps,
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.