Making Period Start Date read-only on Appraisal page

Hi,
I have a requirement to default Appraisal Period Start Date and Period End Date and make these fields non-editable. I am able to default the values for these fields by extending CO. When I make these fields read-only and performs any operation on page, getting error
+'You must enter a value for Period Start Date as criteria for the List Of Values.'+
Please suggest a solution to resolve this error.
Thanks.
Edited by: user12037955 on May 12, 2011 9:26 PM

public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
java.util.Date dateValue1 = null;
java.util.Date dateValue2 = null;
java.util.Date date = null;
OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
OAMessageDateFieldBean bean1=(OAMessageDateFieldBean)webBean.findIndexedChildRecursive("StartDate");
OAMessageDateFieldBean bean2=(OAMessageDateFieldBean)webBean.findIndexedChildRecursive("EndDate");
String startDate=bean1.getText(pageContext);
String endDate=bean2.getText(pageContext);
String strDate1=null;
String strDate2=null;
if((startDate==null||startDate.equals(""))&& (endDate==null||endDate.equals("")))
date=pageContext.getCurrentDBDate();
SimpleDateFormat simpledateformat = new SimpleDateFormat("yyyy-MM-dd");
String dateValue=simpledateformat.format(date);
String year=dateValue.substring(0,4);
try
String sqlStatement = "";
CallableStatement cs = null;
// OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
OADBTransactionImpl txn = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
cs = txn.createCallableStatement(" ",1);
sqlStatement = "SELECT to_char(to_date(ffv.attribute1,'RRRR/MM/DD HH24:MI:SS'),'DD-MON-YYYY') attribute1, " +
" to_char(to_date(ffv.attribute2,'RRRR/MM/DD HH24:MI:SS'),'DD-MON-YYYY') attribute2 " +
" FROM apps.fnd_flex_value_sets ffvs,apps.fnd_flex_values ffv " +
" WHERE ffv.flex_value_set_id = ffvs.flex_value_set_id " +
" AND ffvs.flex_value_set_name = 'XXX_PMP_Fiscal_Date_VS' " +
" AND (SYSDATE BETWEEN NVL(ffv.start_date_active,SYSDATE) AND NVL(ffv.end_date_active,SYSDATE)) " +
" AND flex_value= " + year +
" AND ffv.enabled_flag = 'Y' ";
ResultSet rset = cs.executeQuery(sqlStatement);
if (rset.next())
strDate1 = rset.getString(1);
strDate2= rset.getString(2);
catch(Exception e)
throw new OAException("Error:" + e.toString(), OAException.ERROR ) ;
SimpleDateFormat convertFormat = new SimpleDateFormat("dd-MMM-yyyy");
if(strDate1!= null || strDate2!=null)
try
dateValue1 = convertFormat.parse(strDate1.toString());
dateValue2 = convertFormat.parse(strDate2.toString());
catch(Exception exception)
bean1.setValue(pageContext,dateValue1);
bean2.setValue(pageContext,dateValue2);
     bean1.setReadOnly(true);
bean2.setReadOnly(true);
}

Similar Messages

  • Need to pass period start date as parameter to ProjectLOVVO in OTL module

    Hi All,
    I have a requirement of passing period start date as a parameter to ProjectLOVVO.
    It will check against the project's base view PA_ONLINE_PROJECTS_V and allow to
    display only those projects in the list where the project completion date and
    resource assignment end date is greater than the period start date.
    This VO is in Oracle Time and Labour Module. Navigation is SelfService Time> Create Timecard Screen.
    The screen is based on AK Developer.
    I have tried to followed the steps as per the document hxcconfiguiwp.pdf during the development work.
    Steps are mentioned below. It is still not working.
    Please go through the steps and if you have worked in this module please provide your valuable
    suggestion as soon as possible.
    Steps:
    1. Modified the customizable view PA_ONLINE_PROJECTS_V to
    keep the assignment end date in the select query.
    2. Created Custom VO- XXProjectLOVVO using JDeveloper same as ProjectLOVVO
    It's SQL Query is -
    SELECT project_number projectnumber,
    project_name projectname,
    project_details projectdetails,
    project_id projectid,
    start_date,
    completion_date,
    carrying_out_organization_id
    FROM pa_online_projects_v
    WHERE TRUNC(completion_date) >= TRUNC(FND_DATE.CANONICAL_TO_DATE(:1))
    AND TRUNC(assignment_end_date) >= TRUNC(FND_DATE.CANONICAL_TO_DATE(:2))
    3. Placed the class files (XXProjectLOVVO.xml and XXProjectLOVVOImpl.class) in Custom Directory in server.
    In location- apps_st/comn/java/classes/custom/oracle/apps/xxhxc/selfservice/timecard/server
    4. Attached the Custom VO to standard AM- TimecardAM in location-oracle.apps.hxc.selfservice.timecard.server.TimecardAM
    and in LovAM location-oracle.apps.hxc.selfservice.configui.server.LovAM
    5. In AK Developer module created LOV Attributes 'XX_HXC_CUI_PROJECT_CO_ORG_ID', 'XX_HXC_CUI_PROJECT_END_DATE',
    'XX_HXC_CUI_PROJECT_ID','XX_HXC_CUI_PROJECT_NAME',
    'XX_HXC_CUI_PROJECT_NUMBER', 'XX_HXC_CUI_PROJECT_START_DATE'
    and created a LOV region 'XX_HXC_CUI_PROJECT_LOV attached to Database Object 'ICX_PROMPTS' in the Object
    and in Region items added all the above attributes.
    Added LovAM location in place of AM and LovCO lication in place of CO.
    6. Migrated the LOV with the below code
    begin
    hxc_lov_migration.migrate_lov_region
    (p_region_code => 'XX_HXC_CUI_PROJECT_LOV'
    ,p_region_app_short_name => 'HXC'
    ,p_force => 'Y'
    commit;
    end;
    7. Copied hxczzhxclayt0019.ldt LDT file from server. Renamed it to xhxczzhxclayt0019.ldt
    modified the Layout section for ProjectLOV
    BEGIN HXC_LAYOUT_COMPONENTS "Custom Projects Timecard Layout - Project"
    OWNER = "CUSTOM"
    COMPONENT_VALUE = "PROJECT"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_TIMECARD_PROJECT"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "210"
    COMPONENT_DEFINITION = "LOV"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT =
    "Projects Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2010/11/10"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Custom Projects Timecard Layout - Project"
    OWNER = "CUSTOM"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "XXProjectLOVVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "XX_HXC_CUI_PROJECT_LOV"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "12"
    QUALIFIER_ATTRIBUTE6 =
    "XxHxcCuiProjectNumber|PROJECT-DISPLAY|CRITERIA|N|XxHxcCuiProjectId|PROJECT|RESULT|N|XxHxcCuiProjectNumber|PROJECT-DISPLAY|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "ProjectNumber"
    QUALIFIER_ATTRIBUTE9 = "ProjectId#NUMBER"
    QUALIFIER_ATTRIBUTE10 =
    "custom.oracle.apps.xxhxc.selfservice.timecard.server.XXProjectLOVVO"
    QUALIFIER_ATTRIBUTE11 = "TIMECARD_BIND_START_DATE|TIMECARD_BIND_START_DATE"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    QUALIFIER_ATTRIBUTE27 = "Attribute1"
    QUALIFIER_ATTRIBUTE28 = "PROJECT"
    LAST_UPDATE_DATE = "2010/11/10"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    8. Used FNDLOAD command to upload the ldt
    FNDLOAD apps/apps@instance 0 Y UPLOAD /ad01/app/o2cdev/apps/apps_st/appl/hxc/12.0.0/patch/115/import/hxclaytlayoutsld.lct ./xhxczzhxclayt0019.ldt
    9. Bounch Apache
    10. Checked in below database table to check weather layout records are getting update or not and found records existing:
    In table hxc_layout_COMPONENTS where region_code = 'HXC_CUI_TIMECARD' and component_value = 'PROJECT' and SEQUENCE = 210
    and COMPONENT_NAME = 'Custom Projects Timecard Layout - Project'
    In table hxc_layout_comp_qualifiers where layout_component_id is as in layout component table.
    11. Checked that the XXProjectLOV is attached in the TimecardAM and LovAM. It is visible there but while quering for the project list its picking up all the projects irrelavant of start date parameter value .
    As if its picking up all the records from seeded LOv- ProjectLOV not custom LOV.
    Regards,
    K Bosu

    Hi
    this steps is wrong
    4. Attached the Custom VO to standard AM- TimecardAM in location-oracle.apps.hxc.selfservice.timecard.server.TimecardAM
    and in LovAM location-oracle.apps.hxc.selfservice.configui.server.LovAMU cant add extended VO direct to standard AM .
    VO extension requires .jpx import ,that u have to do ,rest will be take care by this import itself and no need to modify standard AM .
    Please check the steps for VO extension in http://oracle.anilpassi.com/extend-vo-in-oa-framwork-2.html
    thanks
    Pratap

  • Making Multiple Digital Signatures Read-only in Form (Acrobat 9)

    I have created a form which includes two (2) digital signature fields.  What needs to occur with the form is Person1 fills the form and then digitally signs it thereby making the form fields read-only .  Person2 then digitally signs the form which should make Person1's digital signature read-only.
    Here's what I've done:
    1) For the Person1 digital signature field, in Digital Signature Properties, under the Signed tab, I have selected Mark as read-only <all fields except these> and selected the Person2 digital signature field.
    2) For the Person2 digital signature field, in Digital Signature Properties, under the Signed tab, I have selected Mark as read-only <all fields> since once Person2 signs the form I do not want Person1 to be able to clear the digital signature and make changes to the form.
    Here's what actually occurs:
    Step 1 above works fine.  Once the signature is applied all the form fields are read-only except for the Person2 digital signature field.
    The problem is that after Person2 digitally signs the form, even though I selected all fields as read-only, Person1 can 'clear' their signature which leaves all the form fields available for editing and leaves Person2's digital signature still on the form.
    I honestly don't care about 'validating' signatures on this form since it's going to be printed but I cannot allow Person2's signature to remain on the form and allow Person1 to edit the form.
    --Mike.

    Hi!
    I have the same problem. Have not been able to figure it out, although tried everything.
    Hope somebody can help
    - MackeMan

  • Making a field as read-only using Forms Personalization.

    Hi All,
    I have one requirement.I developed one form which is used to display Customer related Information.Some fields are created under one block and "reason-for-write off amount" field is created under another block.I have created Master-Detail relation for these 2 blocks.If there is any "reason-for-write off amount" is present for queried customers then it shows the "reason-for-write off amount" data.check boxes also created beside customer number field in Master block.If there is no "reason-for-write off amount" for any customer I need to write it and when I click on "submit" button in my form it goes to database.
    Now my requirement is :
    I need to make "reason-for-write off amount" field as read-only and I need to CHECK corresponding Customer "check_box" and make "SUBMIT" button as disable using personalization.
    I wrote code in Personalization as
    Trigger-Event:WHEN-NEW-FORM-INSTANCE
    Condition: :DUMCUST.REASON_FOR_WRITEOFF IS NOT NULL
    Processing mode:BOTH
    Actions:
    object type: ITEM
    Target Object: :DUMCUST.REASON_FOR_WRITEOFF
    Property Name: Enterable
    Value:false
    object type: ITEM
    Target Object:      :XXMCS_CUSTOMER_DETAILS.CUSTOMER_NUMBER_CBX
    Property Name: Value
    Value:1
    object type: ITEM
    Target Object:      :XXMCS_CUSTOMER_DETAILS.SUBMIT
    Property Name: Enabled
    Value:False
    But it is not working..the applied changes are not affected in my form.I tried the above actions with WHEN_NEW_BLOCK_INSTANCE trigger also.I didn't write any validation triggers for these items in my FMB also.
    Could anyone please help me..
    Thanks in Advance.

    in your iterator declare the inputfield with disabled = true .
    p_replacement_bee = cl_htmlb_inputfield=>factory(
                                id        = p_cell_id
                                disabled  = 'true'
                                value     = comments ).
    this will generate the html like below
    <input type="Text"
    class="urEdf2TxtEnbl urEdf2TxtRo urV" autocomplete="off" id="TAB1_1_4" ct="InputField" name="TAB1_1_4" st="r" tp="STRING"
    readonly value="some value" onblur="sapUrMapi_InputField_Blur('TAB1_1_4',event)"
    onkeydown="sapUrMapi_InputField_keydown('TAB1_1_4',event)"
    onkeyup="sapUrMapi_InputField_KeyUp('TAB1_1_4',event)" onfocus="sapUrMapi_InputField_focus('TAB1_1_4',event)">
    now you can use js getElementById as this now has a id attached (TAB1_1_4)

  • Making a JSP Form read only based on the form value present in DB

    I need suggestions/examples as i am newbie into java stream.
    I have two JSP pages 'Add Page' and 'Edit Page' .
    Add Page -> In add Page,I have many text boxes,select drop-downs options. In one select drop-down I have values as Locked and open .I can save this page contents in DB by entering those form values.
    Edit Page -> In eidtPage,once saved in DB, based on 'select drop-down- Locked and open' If it is locked i have to make all the fields (text boxes and select drop downs) as read only and if it is open i have to make it editable.
    I am taking all the values from DB,setting to 'form bean' and then setting up the values in session and forwarding it to JSP page to populate there .I am using beehive net UI tages in JSP. Please help me out.

    Not sure I'm following what you want, but this might help:
    In your select tag, put something like an 'onchange' event that calls a javascript function. In the javascript function it you add code to enable or disable your other fields based on the item selected from the drop down box.
    To determine what item was selected in a select tag, you write something like the following. I'm not sure of the exact syntax. You can look it up in a javascript book:
    var optionSelected = document.forms[0].selectTagName.options[document.forms[0].selectTagName.selectedIndex].value;
    To enable or disable a textfield, search for this in google:
    'jquery disable input'

  • Is there a script for making a digital signature read-only after signing?

    When the user signs a PDF Form, the user can clear his own signature. I want to disable the "Clear Signature" feature. I noticed I can run a Javascript in the digital signature's property. Is it possible to execute a Javascript to make just that signature Read-only?
    Thanks.

    If the person who signed the document has Acrobat Pro, you could use the flattenPages() method, which lets you specify the page(s) to be flattened.
    For example:
    this.flattenPages(0)         //flattens page 1
    this.flattenPages(0, 2)     //flattens pages 1 - 3
    But if they have only Reader, they can't use flattenPages().

  • Best way to make all the items read-only in many pages for a resposibility?

    Hi,
    We have the following requirement:
    We need to make all the fields read-only in 5 standard self-service pages for a particular responsibility. One way is to personalize these pages at responsibility level. Is there any other quick/better way to do it?
    Highly appreciate your suggestions on this.
    thanks,
    Hem

    Hem,
    Personalisation is easiest and fastest way of doing this. The same requirement can be acheieved by extensions of CO by setting the bean properties rr by SPEL binding by extending VO.
    But when I can get something done without coding at all that approach is best, I am sure u agree :)!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Temporarily make data read-only

    Anyone out there have any thoughts on a solution for the following scenario -
    1) Websphere 5.0 app server. Oracle 8.1.7 db.
    2) Users are doing updates/inserts/deletes via entity beans called from session beans (called from servlet, called from swing client).
    3) At some point in the day we want to be able to suspend/block/somehow prevent these updates/inserts/deletes whilst we run a batch program that will extract data from our database.
    4) When batch program completes, the users can continue to do their updates etc.
    5) Servers to remain up throughout (ideally).
    thanks for any comments
    Pete

    Yes, that was my initial thought.
    Alternatively, I was hoping that there may be something in Websphere that acts in a similar way, perhaps some security setting that can be programmatically set/unset to prevent/allow access to entity bean methods.

  • Need help making digital signature field read only if required fields are null

    Using Adobe LiveCycle Designer, I have a digital signature field.  I want to prevent users from being able to digitally sign the pdf if any required fields in the pdf are null or blank.  I'm a newbie to scripting so any detailed help would be greatly appreciated.  The required fields in the pdf include radio buttons, check boxes, text field, etc.  I appreciate any help anyone can provide.
    Thanks

    Exactly how you check a field for being empty depends on what type of field it is. For text fields, you should get the field's value as a string and compare it to an empty string, something like:
    var val = getField("Text1").valueAsString;
    if (val) {
        app.alert("Field is not empty");
    If there is a default value that needs to be changed, you would compare to the default value:
    var f = getField("Text1");
    var val = f.valueAsString;
    if (val !== f.defaultValue) {
        app.alert("Field value is OK");
    For check boxes and radio buttons, you'd compare to the string "Off", which means none in the group is selected.
    For dropdowns (combo boxes) and list boxes, there is normally one value selected, so you would have to get the value and check against the default value (or something else) to see if the field is properly filled in.
    You could place the script there, but I usually use a separate button that I encourage the user to click in order to check the field. The problem with using the Will Save event is you can't prevent the save from happening.
    The script can loop through all of the fields (and test all required ones), or you could set up an array of field names to check.

  • Making sharepoint List dropdown read Only

    In my sharepoint list newform.aspx, i have two cascading dropdown *(Country, Training), where based on the Country, Trainings gets populated. I had achieved this using spservices.
    Now for some country users i need to make default country as their own country in dropdown and show its corresponding trainings.
    Kindly let me know how can i get this.
    Im able to disable dropdown with specific country using jquery. But i want make readonly, coz only wen the value newform saves to sharepoint list.
    Its happen for textbox not for dropdown.
    Kindly advice..Its urgent
    Anand B

    Hi ,
    For "Add Folder" Operation use the side-effect in Rule :
    Activation condition :
    IdcService like "FLD_CREATE_FOLDER_FORM"
    Side Effect : <$fOwner:isInfoOnly="1"$>
    Check the "Is Global" option for this rule .
    Test and report if it works fine .
    Thanks,
    Srinath

  • How to determine current period start and end dates

    Hi All,
    If given previous period start date and end date, how to determine current period start date and end date?
    Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
    Can you please suggest an FM to determine the current period dates?
    Thanks & Regards
    Gowthami

    >
    gowthami karunya wrote:
    > If given previous period start date and end date, how to determine current period start date and end date?
    > Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
    Hello,
    I am assuming you have the Company Code with you & proposing this solution.
    TABLES: bkpf.
    PARAMETERS:
    p_bukrs TYPE bukrs.
    SELECT-OPTIONS:
    s_date FOR bkpf-budat.
    DATA :
    l_perio LIKE bkpf-monat,
    l_poper TYPE poper,
    l_year  LIKE bkpf-gjahr,
    l_spmon TYPE spmon,
    l_periv TYPE periv,
    l_date1 TYPE datum,
    l_date2 TYPE datum.
    CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
      EXPORTING
        companycodeid = p_bukrs
        posting_date  = s_date-high
      IMPORTING
        fiscal_year   = l_year
        fiscal_period = l_perio.
    CONCATENATE l_year l_perio INTO l_spmon.
    * Get the next period
    IF l_perio < 12.
      l_perio = l_perio + 1.
    ELSE.
      l_perio = '01'.
      l_year = l_year + 1.
    ENDIF.
    MOVE l_perio TO l_poper.
    SELECT SINGLE periv INTO l_periv
    FROM t001
    WHERE bukrs = p_bukrs.
    IF sy-subrc = 0.
      CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = l_year
          i_periv        = l_periv
          i_poper        = l_poper
        IMPORTING
          e_date         = l_date1
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = l_year
          i_periv        = l_periv
          i_poper        = l_poper
        IMPORTING
          e_date         = l_date2
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      WRITE: / l_date1, l_date2.
    ENDIF.

  • Making OAF page read-only

    Hello,
    In forms to make a form read-only we set the parameter QUERY_ONLY=Yes
    like that for OAF page do we have any option to make the entire page query only. can OAF personalization be used for this?
    Thanks.

    There is no such functionality... in OA Framework, by which u can turn all the fields on a page to read only by some page layout region property. You would have to set the read only property to true for each bean in the page.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Need to Add and Remove Columns of ADF Read Only table from Backing bean

    I have a scenario where I am trying to Populate TransientVO which is shown has a ADF Read Only Table in page.
    I have couple of Check Boxes Based on their selection I am trying to render and hide certain Columns.
    But the Issue which I am facing is only the Column Header seems to change where as the Rows and Values doesnt..
    even If I apply the expression language rendering condition on the outputText inside those columns.. ..
    So I am thinking to add and remove VO Attribute columns to the table from backing bean.
    Need some sample code snippet or a better design to achieve this. Its kind of urgent too...having an aggressive deadline :(
    Please chip in People..
    Thanks in Advance .
    TK

    Table Code..
    <af:table value="#{bindings.InventoryGridTrans.collectionModel}"
                                    var="row"
                                    rows="#{bindings.InventoryGridTrans.rangeSize}"
                                    emptyText="#{bindings.InventoryGridTrans.viewable ? 'No data to display.' : 'Access Denied.'}"
                                    fetchSize="#{bindings.InventoryGridTrans.rangeSize}"
                                    rowBandingInterval="0" id="t4"
                                    partialTriggers="::sbcSales ::sbcUsage ::cb1">
                            <af:column sortProperty="Period" sortable="false"
                                       headerText="#{bindings.InventoryGridTrans.hints.Period.label}"
                                       id="c38">
                              <af:outputText value="#{row.Period}" id="ot33"/>
                            </af:column>
                            <af:column sortProperty="Past12SalesCount"
                                       sortable="false"
                                       headerText="#{bindings.InventoryGridTrans.hints.Past12SalesCount.label}"
                                       id="c29"
                                       rendered="#{backingBeanScope.IndexPageBackingBean.onUsage != true and backingBeanScope.IndexPageBackingBean.onSales == true}">
                              <af:outputText value="#{row.Past12SalesCount}"
                                             id="ot40"
                                             rendered="#{backingBeanScope.IndexPageBackingBean.onUsage != true and backingBeanScope.IndexPageBackingBean.onSales == true}"
                                             visible="#{backingBeanScope.IndexPageBackingBean.onUsage != true and backingBeanScope.IndexPageBackingBean.onSales == true}">
                                <af:convertNumber groupingUsed="false"
                                                  pattern="#{bindings.InventoryGridTrans.hints.Past12SalesCount.format}"/>
                              </af:outputText>
                            </af:column>
                            <af:column sortProperty="Past12UsageCount"
                                       sortable="false"
                                       headerText="#{bindings.InventoryGridTrans.hints.Past12UsageCount.label}"
                                       id="c40"
                                       rendered="#{backingBeanScope.IndexPageBackingBean.onUsage == true and backingBeanScope.IndexPageBackingBean.onSales != true}"
                                       visible="#{backingBeanScope.IndexPageBackingBean.onUsage == true and backingBeanScope.IndexPageBackingBean.onSales != true}">
                              <af:outputText value="#{row.Past12UsageCount}"
                                             id="ot47"
                                             rendered="#{backingBeanScope.IndexPageBackingBean.onUsage == true and backingBeanScope.IndexPageBackingBean.onSales != true}"
                                             visible="#{backingBeanScope.IndexPageBackingBean.onUsage == true and backingBeanScope.IndexPageBackingBean.onSales != true}">
                                <af:convertNumber groupingUsed="false"
                                                  pattern="#{bindings.InventoryGridTrans.hints.Past12UsageCount.format}"/>
                              </af:outputText>
                            </af:column>
                            </af:column>
                    </af:table>

  • Add instance on Read only field issue

    I have a subform with two fields , one a date field to capture current system date and time and another is a Text field for some comments.
    Then there are two buttons ,one for Adding the instance for these two fields and another is a Save button which makes these two fields
    The requirement is that once both the fields are filled with data and i click on save button, the fields should become read only ,however when i click on the add instance button the instance is added successfully but the save button click is not making the new instance read only.
    The Code for Add Instance Button is :
    "New1.FileNote.instanceManager.addInstance(true);
    xfa.form.recalculate(true);"
    The code for Save button to make the fields read only is :
    New1.FileNote.DateTimeField101.access = "readOnly";
    New1.FileNote.TextField37.access = "readOnly";
    Please guide me as I am totally blank on how to code the same..Have a rough logic of using a for loop with index of the Add Instance but not getting the way out for the code.
    Thanks a lot for any help and guidance.

    Hi Steve,
    Thanks for your reply..I made it happen using the for loop with Index and resolve node. However there is another issue which occured after that..I have a date/time field in that repeating subform instance.
    The run time property is set to Current Date/Time. Now the issue is whenever i click on save, form.recalculate instance changes the existing time value in the previous subbform instance as well
    Is there a way to retain the existing value in the field of the previous instance ??
    Regards
    Kapil

  • Read only online archive

    Hello
    Is it possible to make an online archive read only with Exchange 2010?
    Maybe making the message store read only ?
    The idea is to make some PST online... but read only.
    Regards,
    Stephane

    then add the data to an existing mailbox, in a specific folder and restrict the access/visibility to that folder only.
    However, that mailbox owner will have full access...

Maybe you are looking for

  • Object with a feathered edge

    I want to place a circle with a feathered edge in to Animate. I know how to feather in PSD but when I save as a png for Animate it is made of rough dots? What's the proper proceedure to get feathered elements into Animate?

  • Web Dynpro ABAP Material

    I am new to web Dynpro ABAP. Please send the regarding sites to work out this concept. Please send me materials or pdfs regatrding this topic My Mail ID is <b>[email protected]</b> Please help me. I am requiring it a lot. Please send me . With Regard

  • How to run a script op Indesign startup?

    Hi, I have a script that runs fine when manually running it in inDesign CC. Now i need that script to run automatically when a file is opend in InDesign. I put the script in "stratup scripts" folder. But get the error that there is no active document

  • Help in using Group

    HI All, I need a help tos display the xml data to the template. I have xml file as <TEMPLATE> <APPL> <APPLICATION_NO>10002</APPLICATION_NO> <College_DETAILS> <T_College_DETAILS_ITEM> <name>MLC</name> </T_College_DETAILS_ITEM> <T_College_DETAILS_ITEM>

  • Assign alert sound to foreign language input

    I'm not a good typist, and I can not keep my eyes on the screen when I type. I use English and Japanese input. Sometimes I type in wrong language and waste a lot of time. Is there anyway to assign an alert sound when I start typing in the secondary l