IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2013-03-04T15:31:00Z by mburati
9029 Posts

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 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 i how can i make the past dates fields as readonly please suggest me.
Updated on 2013-03-04T15:31:00Z at 2013-03-04T15:31:00Z by mburati
  • mburati
    2552 Posts

    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
    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.