MSA 4.0 SP8 : "Read-Only" Tile ? (cannot modify data)

Hello
In the Campaign Status tile set (MSACAMcamStatus), I have modified the Campaign tile (camcshort2a) to add a combo engine representing the Campaign Status Profile (BOCAMPAIGN property is 'Stsma')
I made it the same as the Status Profile combo engine in the Campaign Details (camclarge4).
The reason for this change is that it can be changed on the Marketing/Status menu instead of the Marketing/Details menu (which would force the user to go back to Details to set the status, then go to Status to continue)
The problem is that all the controls in the tile stay ReadOnly, I have tried several ways which did not work :
- when adding the control, I set its 'Mode' property to Normal : it is ReadOnly at runtime
- when trying to force a Normal mode in the onLoad tile event, the property doesn't change (ctrlStatusProfile.editmode = cemNormal  is not applied, I get no error but the value stays at cemReadOnly)
- in the tile set MSACAMcamStatus I set the tile 'Editable' property to True, but didn't see any change
- I thought about the BO Attribute being locked, it is not (even with adding
anchor.bo.SetAttributeProp "Stsma", blAttributeNormal, while it is already normal). 
Can you help please ?
Thanks and Regards,
François

Thanks Latha,
I guess by BC you mean Business Component, and I undertand for this case it is the Tile Set ? In that case that's what I did : set the Editable property to True (the 3rd point in my previous post).
There is something strange though : I had to try very hard to set this property. Each time I changed it before, the app would generate an error and prevent me from using the Tile Design and Property windows, I had to restart MAS. Also, my system is in French, and in MAS several controls are mixed between "True/False" and "Vrai/Faux" (french translation, but the dropdown list only give me the choice between "true/false", all letters lowercase). Unfortunately I cannot have my whole system installed in English, which should be a standard for a developer worksation using "English-speaking" apps.
During runtime, the watched value starts as ReadOnly although for this control it should be Normal.

Similar Messages

  • Internal parameter - The report parameter is read-only and cannot be modified.

    Hello,
    We have an SSRS report that has an Internal parameter for the user that is logged in (gets the Report.User!UserID in custom code and assigns to parameter called Login).  We would like it to remain internal as it is for security purposes - we filter
    data depending on whether or not the user has access.  We would not like it to be accessible from the URL.  The report has drill-through functionality where the user can click a link and the report is filtered on certain criteria.  This seems
    to work fine in SSRS 2005, but since i have upgraded the report to SSRS 2012, I am getting the error on the drill-through:
    The report parameter 'Login' is read-only and cannot be modified. (rsReadOnlyReportParameter) 
    The properties in Report Manager have the "Hide" option selected.  Any help would be appreciated.  Thanks.
     

    Hi Hhewson,
    In Reporting Services, if you create a hidden parameter, you can set values for it on a report URL or in a subscription definition. If you set a parameter to Internal, it is not exposed in any way except in the report definition. An internal parameter must
    have a default value, which can be null if the Allow null value option has been selected. Internal Parameters are not configurable by the end-user at run-time.
    In your scenario, I suggest you changing internal parameter to hidden parameter to check whether the issue persists.
    Reference:
    In SSRS, how does an “Internal” parameter differ from a “hidden” parameter?
    Hope this helps.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • The report parameter 'param1' is read-only and cannot be modified. (rsReadOnlyReportParameter)

    hey guys..
    I'm trying to get the report that I need to be filtered by a parameter value (named Param1)
    I created a parameter in the data tab and tried to pass a value from my Web application to the report services.. now my report have that textbox that prompts me to enter the filtering value for the report I want.. everything works fine till this point..
    now I have another webpage that has a report viewer and a textbox for the user input the value they want.. and pass it to the report.. and I'm using the following code to pass the value to the report I made earlier..
    Dim par(0) As Microsoft.Reporting.WebForms.ReportParameter
    par(0) = New Microsoft.Reporting.WebForms.ReportParameter("paramSiteCode", TextBox1.Text.ToString)
    ReportViewer1.ServerReport.SetParameters(par)
    ReportViewer1.ServerReport.Refresh()
    however.. now I'm getting an error.. "The report parameter 'paramSiteCode' is read-only and cannot be modified. (rsReadOnlyReportParameter)"
    what am I missing here? I've been thru the help and forums.. and the code should work.. or so I hope it would.. thanks in advance..

    Details
    Product:
    sql server reporting services
    ID:
    rsreadonlyreportparameter
    Source:
    microsoft.reportingservices.diagnostics.utilities.errorstrings.resources.strings
    Version:
    8.00
    Message:
    The report parameter '{0}' is read-only and cannot be modified.
    Explanation
    This error occurs when you attempt to set a value for a parameter that is read-only. A parameter is read-only when the
    Prompt property for the parameter is set to false.
    User Action
    To set a value for a parameter, the Prompt property for the parameter must be set to
    true. You can set this property in two ways:
    Before publishing the report, provide a prompt string for the parameter. In Report Designer, you can provide a prompt by typing a prompt string in the
    Prompt text box in the Report Parameters dialog box.
    After publishing the report, set the Prompt User property for the parameter. In Report Manager, in report properties, click the
    Parameters tab, and then select Prompt User for the parameter.
    For more information about report parameters in Report Designer and Report Manager, see Books Online.
    In the release version of SQL Server 2000 Reporting Services, when Prompt is
    true and Prompt String is blank, the parameter is still available to the user in the report viewer. In SP1, when
    Prompt is true and Prompt String is blank, the parameter is hidden from the user.
    Note: Publishing a report over an existing report on the report server does not overwrite the parameter information. To update parameters for an existing report, either delete the report on the report server and republish, or update the parameter information
    for the report in Report Manager.
    I struggled with the same problem in VS 2010.
    After a long series of hoops to jump through, I modified the rdlc file by hand and added <Prompt>true</prompt>. This parameter cannot be set through the GUI - go figure.
    In my case, I was attempting to generate a sub report, and pass a parameter to the sub report.
    To get this to work, the sub report needed these two sections.
    <ReportParameters>
    <ReportParameter Name="Network_Id">
    <DataType>String</DataType>
    <Prompt>true</Prompt>
    </ReportParameter>
    </ReportParameters>
    <Variables>
    <Variable Name="Network_ID">
    <Value />
    </Variable>
    </Variables>
    I was then able to use the name "Network_Id" in the sub-report properties of the "sub report control" for the name of a parameter on the parameters tab. I then set it to the key value that I need in the subreport properties dialog.
    Prior to setting prompt to true, I kept getting the read-only exception.
    I'm not sure if I am being clear about this, but sub reports do work, and prompt can be manually added to the report definition file.

  • Document Generation in MSA - Make Word Doc Read-Only or PDF Documents

    Hello,
    The mobile sales client comes with an Document Generation tool to fill Word Document Templates with SAP data on demand.
    Because of legal issues, we do not want to allow anyone to be able to modify the generated word document. Using the permission functionality of the word template is not working as it would prevent the Generator itself to fill in the data.
    Is there any option to set the created Document to "Read-only" after the generation is finished or to convert the Word document on fly to a PDF version?
    As I am not so experienced in VB I would appreciate any code examples.
    Regards,
    Andreas

    Hi,
    there are at least 2 different ways to implement your request:
    - before and after the word document is created you can start a word makro (which e.g. disables the document); this would be done in the method "TextGeneration" of the underlying BO, e.g. BOSALESDOCGEN. The code is quite simple, in earlier Word versions it was sth like
    WordObj.ToolsMacro sMacroname, 1
    - you can call any 3rd party SW to convert the doc file to pdf, similar to this thread
    [MSA "Cancel login" functionality;
    Regards,
    Wolfhard

  • Make "idea exchange" read-only til 2015!!!

    why would you just make 'All of the hard work and deep thought that went into most of those ideas, as well as some very  well-thought-out replies', just vanish!!????? now there's no way to crosscheck if an idea has been sent in b4....please put it back up in forum, even if you have to make it read only......please tell me you are going to migrate the old idea exchange and all of its content  into the new 2015 version of idea exchange...please ? it shows such disregard for us if you don't
    ÔƹÔ

    hello? any thoughts on subject  appreciated
    ÔƹÔ

  • "read from measurement file" reads only first line of data

    Hello,
    I have a problem when trying to read a .lvm file through "Read from Measurements file" with the following block diagram
    Problem: it reads only the first line of data from what I can see in the probe window,.
    A part of the lvm file for reference.
    I haven't used Labview in a long long time, I'm trying to figure out what I am doing wrong.
    Thanks

    Sorry meant to attach the lvm. Here it is. (Actually I had to put it in .txt because the forum wont let me upload a lvm file)
    I unfortunately cannot share the full vi that record the data as I am not its owner/creator. I'll try to give as much info as I can with the relevant pictures attached, I hope it allows us to at least have an hint of where the problem might be.
    (this is in a while loop)
    In the stacked sequence, the other pannels are similar to the one shown here: value read fron a variable, converted to dynamic and a signal attribute is set. The "start recording" control operation is "switch when pressed".
    Here are the properties of the set signal attributes
    And here are the properties of the "write to measurement file"
    Attachments:
    NoTarget_full circle__Rx_-10-SAMPLE.txt ‏60 KB

  • Read only table not displaying data

    hi my read only table is not dispalying data when the page load,am in jdeveloper 11.1.1.6.0
    <af:query id="qryId1" headerText="Search" disclosed="true"
                          value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                          model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                          queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                          queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
                          partialTriggers="::t1"/>
              </af:panelHeader>
              <af:panelGroupLayout id="pgl1" halign="left" valign="middle"
                                   layout="vertical" inlineStyle="width:1806px;">
                <af:table value="#{bindings.CfgTablesView1.collectionModel}"
                          var="row" rows="#{bindings.CfgTablesView1.rangeSize}"
                          emptyText="#{bindings.CfgTablesView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.CfgTablesView1.rangeSize}"
                          rowBandingInterval="0" id="t1" width="705"
                          inlineStyle="height:500px;">
                  <af:column sortProperty="Tablename" sortable="false"
                             headerText="#{bindings.CfgTablesView1.hints.Tablename.label}"
                             id="c1">
                    <af:outputText value="#{row.Tablename}" id="ot1"/>
                  </af:column>
                  <af:column sortProperty="Description" sortable="false"
                             headerText="#{bindings.CfgTablesView1.hints.Description.label}"
                             id="c2">
                    <af:outputText value="#{row.Description}" id="ot2"/>
                  </af:column>
                </af:table>it show no data to display even if there is data in the database
    Edited by: adf0994 on 2012/11/15 9:43 AM
    Edited by: adf0994 on 2012/11/15 9:45 AM
    Edited by: adf0994 on 2012/11/15 10:02 AM
    Edited by: adf0994 on 2012/11/15 10:09 AM

    ok i did that is working,but the problem is when the page load it does not display data,i have to click search button and on my query panel and click refersh than able to see data
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:panelHeader text="Maintain Schema" id="ph1"
                      inlineStyle="height:853px; border-color:Lime; border-style:ridge;">
        <f:facet name="context"/>
        <f:facet name="menuBar"/>
        <f:facet name="toolbar">
          <af:outputLabel value="CF-L-017" id="ol1"/>
        </f:facet>
        <f:facet name="legend"/>
        <f:facet name="info"/>
        <af:panelStretchLayout id="psl1" inlineStyle="width:1869px; height:801px;"
                               bottomHeight="345px">
          <f:facet name="bottom">
            <af:panelGroupLayout layout="scroll"
                                 xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                 id="pgl3" inlineStyle="width:1950px;">
              <af:panelStretchLayout id="psl2"
                                     inlineStyle="width:1861px; height:376px;"
                                     endWidth="4px">
                <f:facet name="center">
                  <af:panelHeader text="Fields" id="ph6"
                                  inlineStyle="height:500px; border-color:Lime; border-style:ridge;">
                    <f:facet name="context"/>
                    <f:facet name="menuBar"/>
                    <f:facet name="toolbar"/>
                    <f:facet name="legend"/>
                    <f:facet name="info"/>
                    <af:table value="#{bindings.CfgFieldsView1.collectionModel}"
                              var="row" rows="#{bindings.CfgFieldsView1.rangeSize}"
                              emptyText="#{bindings.CfgFieldsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                              fetchSize="#{bindings.CfgFieldsView1.rangeSize}"
                              rowBandingInterval="0"
                              selectedRowKeys="#{bindings.CfgFieldsView1.collectionModel.selectedRow}"
                              selectionListener="#{bindings.CfgFieldsView1.collectionModel.makeCurrent}"
                              rowSelection="single" id="t2"
                              partialTriggers="::cb2 ::cb5 ::cb6 ::cb4 ::cb3 ::t1"
                              inlineStyle="height:164px;" columnStretching="last"
                              width="918">
                      <af:column sortProperty="Fieldlabel" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Fieldlabel.label}"
                                 id="c7">
                        <af:outputText value="#{row.Fieldlabel}" id="ot4"/>
                      </af:column>
                      <af:column sortProperty="Format" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Format.label}"
                                 id="c4">
                        <af:outputText value="#{row.Format}" id="ot7"/>
                      </af:column>
                      <af:column sortProperty="Type" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Type.label}"
                                 id="c3">
                        <af:outputText value="#{row.Type}" id="ot6"/>
                      </af:column>
                      <af:column sortProperty="Length" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Length.label}"
                                 id="c6">
                        <af:outputText value="#{row.Length}" id="ot3">
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.CfgFieldsView1.hints.Length.format}"/>
                        </af:outputText>
                      </af:column>
                      <af:column sortProperty="Fielddescription" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Fielddescription.label}"
                                 id="c5">
                        <af:outputText value="#{row.Fielddescription}" id="ot5"/>
                      </af:column>
                    </af:table>
                    <af:panelHeader text="Details" id="ph4"
                                    inlineStyle="height:191px; border-style:ridge; border-color:Lime;">
                      <f:facet name="context"/>
                      <f:facet name="menuBar"/>
                      <f:facet name="toolbar"/>
                      <f:facet name="legend"/>
                      <f:facet name="info"/>
                      <af:panelFormLayout id="pfl1" maxColumns="2" rows="3"
                                          partialTriggers="t1"
                                          inlineStyle="width:589px;">
                        <af:inputText value="#{bindings.Fieldlabel.inputValue}"
                                      label="#{bindings.Fieldlabel.hints.label}"
                                      required="#{bindings.Fieldlabel.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Fieldlabel.hints.precision}"
                                      shortDesc="#{bindings.Fieldlabel.hints.tooltip}"
                                      id="it4">
                          <f:validator binding="#{bindings.Fieldlabel.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Format.inputValue}"
                                      label="#{bindings.Format.hints.label}"
                                      required="#{bindings.Format.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Format.hints.precision}"
                                      shortDesc="#{bindings.Format.hints.tooltip}"
                                      id="it3">
                          <f:validator binding="#{bindings.Format.validator}"/>
                        </af:inputText>
                        <af:selectOneChoice value="#{bindings.Type.inputValue}"
                                            label="#{bindings.Type.label}"
                                            required="#{bindings.Type.hints.mandatory}"
                                            shortDesc="#{bindings.Type.hints.tooltip}"
                                            id="soc1">
                          <f:selectItems value="#{bindings.Type.items}" id="si1"/>
                        </af:selectOneChoice>
                        <af:inputText value="#{bindings.Length.inputValue}"
                                      label="#{bindings.Length.hints.label}"
                                      required="#{bindings.Length.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Length.hints.precision}"
                                      shortDesc="#{bindings.Length.hints.tooltip}"
                                      id="it2">
                          <f:validator binding="#{bindings.Length.validator}"/>
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.Length.format}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Fielddescription.inputValue}"
                                      label="#{bindings.Fielddescription.hints.label}"
                                      required="#{bindings.Fielddescription.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Fielddescription.hints.precision}"
                                      shortDesc="#{bindings.Fielddescription.hints.tooltip}"
                                      id="it1">
                          <f:validator binding="#{bindings.Fielddescription.validator}"/>
                        </af:inputText>
                        <f:facet name="footer">
                          <af:panelGroupLayout layout="vertical" id="pgl5">
                            <af:panelGroupLayout layout="horizontal" id="pgl2">
                              <af:commandButton actionListener="#{bindings.First.execute}"
                                                text="First"
                                                partialSubmit="true" id="cb2"/>
                              <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
                                                text="Add New"
                                                id="cb5"/>
                              <af:commandButton actionListener="#{bindings.Commit.execute}"
                                                text="Save"
                                                id="cb7"/>
                              <af:commandButton actionListener="#{bindings.Delete.execute}"
                                                text="Delete"
                                                id="cb6"/>
                              <af:commandButton actionListener="#{bindings.Next.execute}"
                                                text="Next"
                                                partialSubmit="true" id="cb4"/>
                              <af:commandButton actionListener="#{bindings.Last.execute}"
                                                text="Last"
                                                partialSubmit="true" id="cb3"/>
                            </af:panelGroupLayout>
                            <af:commandButton text="Submit" id="cb1"/>
                          </af:panelGroupLayout>
                        </f:facet>
                      </af:panelFormLayout>
                    </af:panelHeader>
                  </af:panelHeader>
                </f:facet>
                <f:facet name="end"/>
              </af:panelStretchLayout>
            </af:panelGroupLayout>
          </f:facet>
          <f:facet name="center">
            <af:panelHeader text="Tables" id="ph2"
                            inlineStyle="height:500px; border-color:Lime; border-style:ridge;">
              <f:facet name="context"/>
              <f:facet name="menuBar"/>
              <f:facet name="toolbar"/>
              <f:facet name="legend"/>
              <f:facet name="info"/>
              <af:panelHeader text="Filter" id="ph3"
                              inlineStyle="height:165px; border-style:ridge; border-color:Lime;">
                <f:facet name="context"/>
                <f:facet name="menuBar"/>
                <f:facet name="toolbar"/>
                <f:facet name="legend"/>
                <f:facet name="info"/>
                <af:query id="qryId1" headerText="Search" disclosed="true"
                          value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                          model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                          queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                          queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
                          partialTriggers="::t1"/>
              </af:panelHeader>
              <af:panelGroupLayout id="pgl1" halign="left" valign="middle"
                                   layout="vertical"
                                   inlineStyle="width:1796px; height:298px;">
                <af:table value="#{bindings.CfgTablesView11.collectionModel}"
                          var="row" rows="#{bindings.CfgTablesView11.rangeSize}"
                          emptyText="#{bindings.CfgTablesView11.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.CfgTablesView11.rangeSize}"
                          rowBandingInterval="0" id="t1" width="833"
                          inlineStyle="height:186px;" columnStretching="last"
                          columnSelection="multiple"
                          partialTriggers="::cb8 ::cb10 ::cb9"
                          rowSelection="single"
                          selectedRowKeys="#{bindings.CfgTablesView11.collectionModel.selectedRow}"
                          selectionListener="#{bindings.CfgTablesView11.collectionModel.makeCurrent}">
                  <af:column sortProperty="Tablename" sortable="true"
                             headerText="#{bindings.CfgTablesView11.hints.Tablename.label}"
                             id="c2">
                    <af:outputText value="#{row.Tablename}" id="ot2"/>
                  </af:column>
                  <af:column sortProperty="Description" sortable="true"
                             headerText="#{bindings.CfgTablesView11.hints.Description.label}"
                             id="c1">
                    <af:outputText value="#{row.Description}" id="ot1"/>
                  </af:column>
                </af:table>
                <af:panelFormLayout id="pfl2" maxColumns="3" rows="1">
                  <f:facet name="footer"/>
                  <af:panelGroupLayout id="pgl6" layout="horizontal" valign="middle"
                                       halign="right" inlineStyle="width:1228px;">
                    <af:inputText value="#{bindings.Tablename.inputValue}"
                                  label="#{bindings.Tablename.hints.label}"
                                  required="#{bindings.Tablename.hints.mandatory}"
                                  columns="#{bindings.Tablename.hints.displayWidth}"
                                  maximumLength="#{bindings.Tablename.hints.precision}"
                                  shortDesc="#{bindings.Tablename.hints.tooltip}"
                                  id="it5">
                      <f:validator binding="#{bindings.Tablename.validator}"/>
                    </af:inputText>
                    <af:inputText value="#{bindings.Description.inputValue}"
                                  label="#{bindings.Description.hints.label}"
                                  required="#{bindings.Description.hints.mandatory}"
                                  columns="#{bindings.Description.hints.displayWidth}"
                                  maximumLength="#{bindings.Description.hints.precision}"
                                  shortDesc="#{bindings.Description.hints.tooltip}"
                                  id="it6">
                      <f:validator binding="#{bindings.Description.validator}"/>
                    </af:inputText>
                    <af:commandButton text="Add New" id="cb8"
                                      actionListener="#{bindings.CreateInsert1.execute}"/>
                    <af:commandButton actionListener="#{bindings.Commit.execute}"
                                      text="Save" id="cb9"/>
                    <af:commandButton actionListener="#{bindings.Delete1.execute}"
                                      text="Delete" id="cb10"/>
                  </af:panelGroupLayout>
                </af:panelFormLayout>
              </af:panelGroupLayout>
            </af:panelHeader>
          </f:facet>
        </af:panelStretchLayout>
      </af:panelHeader>
    </jsp:root>

  • My external hard drive is read only, need to transfer data off it, reformat the drive then copy back

    my data from my pc is on a hard drive, 1tb formatted windows ntfs.  So I need to copy data, reformat hard drive to mac format, then reload it.
    is that correct?  any tips if so?  only 270 gig is data, about 730 is empty
    internal hard drive has about 950 gig free.

    Correct.

  • Need to make a dff field read only if it has data

    Hi,
    we added dffs to the manage sites page, i am extending the controller to do some validations of this DFF page. I need to make dff read only if it has some data. The following code is not working.
    public void processRequest(OAPageContext pageContext,OAWebBean webBean)
    super.processRequest(pageContext,webBean);
    OAApplicationModule xam = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAViewObjectImpl DffVO = (OAViewObjectImpl)xam.findViewObject("SitesFlexVO");
    OAViewRowImpl DffRow = (OAViewRowImpl)DffVO.getCurrentRow();
    if(DffRow.getAttribute("Attribute1")!= null)
    OADescriptiveFlexBean dffBean = (OADescriptiveFlexBean)webBean.findChildRecursive("Attribute1");
    dffBean.setReadOnly(true);
    can you please suggest whats wrong and give me a correct solution.
    Thanks,
    Kiran M.

    Thanks for the reply nani,
    it didnot work, i am getting the following exception.
    ## Detail 0 ##
    java.lang.NullPointerException
         at xxtjx.oracle.apps.pos.supplier.webui.XXTJXByrMngSiteDFFCO50.processRequest(XXTJXByrMngSiteDFFCO50.java:43)
    The error line 43 in my code is
    dffBean.setReadOnly(true);
    so i feel there is something wrong with this command. I kept this validation in process request and i am able to fetch attribute values in process request. so i feel there is no issue fetching the attribute value. i feel its the issue with the set command.
    Let me know if you have any other solution.
    Thanks,
    Kiran M.

  • Read-only view for XMLType data

    HI Gentlemen,
    When I execute my SQL statement:
    select extract(object_value,'/keytabs/keytab/@SN') SN from keytabs
    against a schema-based XMLType table from SQL*Plus I get normal response:
    EXTRACT(OBJECT_VALUE,'/KEYTABS/KEYTAB/@SN')
    S_KBV_GESCHLECHT
    S_VDX_KONTENART
    However, when I create a Fusion application with business components, and a custom view in the Model project with the SQL statement above,
    it yields:
    oracle.sql.OPAQUE@1623820.
    Attribute type is String, and query column is VARCHAR(255). There is no entity because the view is read-only.
    Can anyone help me how to directly query XMLType to display the contents?
    Thanks, regards
    Miklos HERBOLY

    Can you try:
    select cast(extract(object_value, '/keytabs/keytab/@SN') as varchar2(255)) SN
    from keytabsJohn

  • Cannot modify Data Connection in Infopath form as the original webservice server no longer exists

    Hi,
    I am going to modify one of the data connections in my infopath form, but it throws me an error. The original server no longer exists. I know that I can change the manifest.xsf and replace the old server with the new server name. And when I pulled up the
    Data Connections list, I can see all the connection sources have been changed to the new server. But  I am still getting this error:
    Could not open "http://<oldeserver>/<webservices.asmx>?WSLD
    I don't seems to see a reference to the webservices.asmx, where will that be?
    Please advice. Your help would be greatly appreciated!
    Where is this reference came from? 

    I think I found out where the reference is, it is actually in the udcx file. It is weird though, the one on Central admin has been updated with the new server name, but not the one in the local data connection library, and it is actually referencing the
    local data connection library instead of the one in Central Admin.
    Thanks.

  • Limitations of read-only JE Environments

    Hello all,
    I realized recently that our documentation on the limitations of read-only Environments is lacking. So for the next JE release I updated the javadoc for EnvironmentConfig.setReadOnly. The new text is pasted below. If you're using, or thinking of using, a read-only environment, be sure to take a look. I apologize for the lack of documentation in the current release, especially if you've used a read-only environment without understanding these limitations and this has caused problems for you.
    --mark
    setReadOnly
    public EnvironmentConfig setReadOnly(boolean readOnly)
    Configures the database environment to be read-only, and any attempt to modify a database will fail.
    A read-only environment has several limitations and is recommended only in special circumstances. Note that there is no performance advantage to opening an environment read-only.
    The primary reason for opening an environment read-only is to open a single environment in multiple JVM processes. Only one JVM process at a time may open the environment read-write. See EnvironmentLockedException.
    When the environment is open read-only, the following limitations apply.
    . In the read-only environment no writes may be performed, as expected, and databases must be opened read-only using DatabaseConfig.setReadOnly(boolean).
    . The read-only environment receives a snapshot of the data that is effectively frozen at the time the environment is opened. If the application has the environment open read-write in another JVM process and modifies the environment's databases in any way, the read-only version of the data will not be updated until the read-only JVM process closes and reopens the environment (and by extension all databases in that environment).
    . If the read-only environment is opened while the environment is in use by another JVM process in read-write mode, opening the environment read-only (recovery) is likely to take longer than it does after a clean shutdown. This is due to the fact that the read-write JVM process is writing and checkpoints are occurring that are not coordinated with the read-only JVM process. The effect is similar to opening an environment after a crash.
    . In a read-only environment, the JE cache will contain information that cannot be evicted because it was reconstructed by recovery and cannot be flushed to disk. This means that the read-only environment may not be suitable for operations that use large amounts of memory, and poor performance may result if this is attempted.
    . In a read-write environment, the log cleaner will be prohibited from deleting log files for as long as the environment is open read-only in another JVM process. This may cause disk usage to rise, and for this reason it is not recommended that an environment is kept open read-only in this manner for long periods.
    For these reasons, it is recommended that a read-only environment be used only for short periods and for operations that are not performance critical or memory intensive. With few exceptions, all application functions that require access to a JE environment should be built into a single application so that they can be performed in the JVM process where the environment is open read-write.
    In most applications, opening an environment read-only can and should be avoided.
    -----

    You've asked an interesting question! I'm afraid that the answer is that it's not possible in BDB JE today.
    What you'd really like for your second case is part of the type of functionality provided by MVCC (Multi-Version Concurrency Control). In case you're not familiar with that term, MVCC is the database feature which guarantees that all reads made in a transaction will see a consistent snapshot of the database and that the transaction will successfully commit only if no updates it has made conflict with any concurrent updates made since that snapshot. Unfortunately, while our sister product, BDB (C) has that feature, we do not yet support it.
    I think your alternatives are to do achieve your point in time snapshot from the file copy based backup, from the second process, or from an application level mechanism that locks out other updates.
    Regards,
    Linda

  • Read-Only text area

    Hi,
    I'm using a text area to display a longer read-only text. It should display only 5 lines and, if the text is longer, it should be scrollable. Works fine as long as I set the attribute Editable to true. But if I set it to No (because it should be read-only), I get the following problems:
    - It does not show only the 5 lines anymore, but the complete text without scrollbars.
    - It shrinks the size of the text area, so that it fits the text inside. You can see that looking at the borders. But I wanted to have the borders at the original size independent of the text.
    Does anyone knows, how to solve that?
    Thanks&Regards
    Matthias

    to the best of my knowledge, if you make it read-only you cannot have the scroll bar enabled. and whatever you explained is the expected behaviour!!
    But, i have a workaround under three conditions:
    1. if you need the scroll bar
    2. if you want the size of it as in the initial state - without disturbing the existing size and format of page
    3. you wish to retain the value
    keep the value of the text area in a temporary object and pass it to the reference attribute on submit of page. (here we are just retaining the value and not making it read-only)
    this helps in keeping the format of page undisturbed!!
    HTH
    Sharma

  • JFileChooser and Read Only Folders in XP

    The following question concerns a Java application, not a applet or web service.
    If you are browsing a folder with JFileChooser the button to create a new folder is disabled if the parent folder is read-only. Under XP folders often show up as read only and cannot be easily changed by the user. Even if Windows reports that the parent folder is read only, it does not block the creation of sub-folders in it. I'd like to always make the create folder button active regardless of whether the parent folder is read only or not; that more truely reflects the folder creation permissions anyway and mimics the behaviour of an MFC file browser. How would I do this?
    I've even tried to add a listener to the file chooser so that as the user browses to a new directory I automatically change the write permissions of folder, but short of a system command, there's no way to change the write permissions from JAVA so I don't consider this a neat solution.
    I'm surprised that I haven't found similar complaints on the net. If you use a MFC file browser the create folder button is active, but a Java file chooser has it disabled for the same folder.
    Please help.

    What would you say to a new FileChooser? I love java but I'm no fan of Sun's choosers. (See www.MartinRinehart.com, Examples, ColorChooser.)
    Email me if you're interested in doing one.

  • Read ONLY Permissions in Windows 2008 R2

    Is it possible for users to read only but cannot save a copy to another location?   Would like users to see  historic photos so they can request copies but they cannot "save as" a copy to any other location on the server or on
    their own computer.

    Hi,
    If you grant user "Read" permission on the photos, then the user can copy the photos. 
    For more detailed information, please see:
    Disable copy permission
    https://social.technet.microsoft.com/forums/windowsserver/en-US/5d614843-168a-4252-80dd-48d7c71cd010/disable-copy-permission
    Best Regards,
    Mandy 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • Can I move my iCloud email address to a new Apple ID?

    Hi, My wife and I have just recently bought iPhones. I've had an iMac for years and an iPad for a couple of years now, so we now have the multiple users/devices issue, or conundrum if you like. I had an iTunes account since I've had my iMac so all pu

  • HT201272 Getting an error trying to install iOS 6.1.3. On an iPad  How do I redown load it.

    I downloaded the new update but when it try's to install it I get the error. How do I redown load the update and star from scratch.

  • Confussion With Decode Statement

    Hi... How to write a deocde Staement for this is Condition....please help me IF Empno =7369 And Job = 'CLERK' And Deptno IN (20.30) Then Desc = 'A' Else Desc = 'B' END IF

  • Accessing Discoverer Viewer on a PDA

    Hi, Could anyone tellme if it would be possible to access discoverer viewer on a PDA running windows mobile 2003? We have a Portal running the discoverer portlets and when I click "Analyze" link the discoverer viewer errors with a java null pointer.

  • Pleasant surprise with CSP UR points!

    I logged in to check out my UR points balance and noticed my earnings on next statement was MUCH higher than anticipated. Since I'm still working on my intro spend I looked to find out if I had earned some other type of bonus or something. Turns out