Topic
1 reply Latest Post - ‏2013-03-04T15:31:00Z by mburati
SystemAdmin
SystemAdmin
9029 Posts
ACCEPTED ANSWER

Pinned topic how to make past date field as readonly in in WebExperiance Factory

‏2013-02-02T12:13:30Z |
hi ,
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.
Thanks,
venugopal
Updated on 2013-03-04T15:31:00Z at 2013-03-04T15:31:00Z by mburati
  • mburati
    mburati
    2544 Posts
    ACCEPTED ANSWER

    Re: how to make past date field as readonly in in WebExperiance Factory

    ‏2013-03-04T15:31:00Z  in response to SystemAdmin
    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,
    ..Mike Burati
    http://www-10.lotus.com/ldd/pfwiki.nsf/
    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.