Lookups read-only

Hi
I generated a form with jheadstart, this have a table read-only with many lookups. When I execute the page, it is very slow, I analize the page and saw that the lookups generate a <select > and <option> for all the values of the lookup, my table is read-only, I don't need all the values of the lookup, only one, the displayed. The page have a lot of lookups and the page is very big with all the information. How can I revolve it?
Thans in advance
Liceth

Liceth,
Your lookups are of type 'choice'. This means that all possible options are generated into the JSP page, even though the input item is set to be read-only. This way we can show a display value that is different from the underlying value (id, foreign key) attribute.
If you don't need all the options in your JSP page because it is read-only, the best workaround is to remove the lookups from the Application Structure File, and to make sure that the display values of the lookups are included in the base View Object of the group. How to do this is described in the JHeadstart Developer's Guide, chapter 3: JHeadstart Application Generator, section 'Generating User Interface Widgets' - 'Generating List of Values' - 'Add attributes from other Entities to a View object'.
After having tested in the ADF BC Tester that the right values are shown in the View Object, you can change the Custom JHeadstart properties of the View Object to set Display?=false for the underlying value (id, foreign key) attributes that you don't want to show in the page. Then run JHeadstart Application Generator again, and the page should be a lot faster!
Hope this helps,
Sandra Muller
JHeadstart Team
Oracle Consulting

Similar Messages

  • Invalid data has been used to update the list item. The field you are trying to update may be read only (Lookup Field).

    Hi.
    I am getting below error while adding value to look-up field.
    Invalid data has been used to update the list item. The field you are trying to update may be read only.
    I have tried many forums ans post but didn't come to know what's the root cause of issue. I am also posting Code for creating and adding lookup field.
    CAML to create lookup field (It works Fine)
    string lkproductNumber = "<Field Type='Lookup' DisplayName='Product Number' StaticName='ProductNumber' ReadOnly='FALSE' List='" + pNewMaster.Id + "' ShowField='Product_x0020_Number' />";
    Code to insert value to lookup field
    ClientContext client = new ClientContext(SiteUrl);
    client.Load(client.Web);
    client.Credentials = new NetworkCredential(this.UserName, this.Password, this.Domain);
    // Lookup Lists
    List pmList = client.Web.Lists.GetByTitle("Product_Master");
    //List Conatining Lookup Columns
    List piList = client.Web.Lists.GetByTitle("Product_Inventory");
    client.Load(piList);
    query.ViewXml = "<View/>";
    ListItemCollection collection = pmList.GetItems(query);
    client.Load(collection);
    client.ExecuteQuery();
    int prodid=0;
    foreach (ListItem item in collection)
    if (Convert.ToString(item["Product_x0020_Number"]) == ProductNumber)
    { prodid = Convert.ToInt32(item["ID"]); }
    ListItem piItem = piList.AddItem(new ListItemCreationInformation());
    piItem["Product_x0020_Number"] = new FieldLookupValue() { LookupId = prodid };
    piItem.Update();
    client.ExecuteQuery();
    Exception Detail
    Microsoft.SharePoint.Client.ServerException was caught
    Message=Invalid data has been used to update the list item. The field you are trying to update may be read only.
    Source=Microsoft.SharePoint.Client.Runtime
    ServerErrorCode=-2147352571
    ServerErrorTypeName=Microsoft.SharePoint.SPException
    ServerStackTrace=""
    StackTrace:
    at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
    at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
    at WebServiceProviders.ClientServices.NewProductInventory() in Z:\.............ClientServices.cs:line 889
    InnerException:
    Quick response is highly appreciated.
    Thanks
    Mehar

    Try some thing like below,
    your data value that needs to be update should be in this format "ID of the lookup";#"Title of the Lookup" 
    For example,
    listItem["Product_x0020_Number"]
    = "1;#iPhone";
    listItem["Product_x0020_Number"]
    = "2;#Mobile";
    Hope this helped you....

  • Read only List-Field

    HI Folks
    It seems to me that there should be an easy answer to the following
    problem, so much so that I feel foolish for submitting it. However, since
    this is my first posting, it is usually o.k. to be an dimwitted idiot.
    Is there any way to have a list field (i.e. scroll list or drop list) that
    doesn't display the icon at the right side of the box (the drop arrow or
    scroll icon).
    We wish to display an item from the list in a read-only fashion, thus is
    not any need to display the list, just the corresponding item from the
    list. (i.e 'sex' it comes from the database as a 1 (Male) or 2 (Female),
    and rather than display the 1 or 2, we would like to display the 'Male' or
    'Female'. )
    Since we are displaying the records in an array and the array field is
    mapped to an object that corresponds to the database table, extra fields
    for translation, including virtual attributes, in that object fowl up the
    writing to that database table. And, of course, the Drop list adds some
    vertical height to the array field, screwing up the esthetic beauty of the
    screen.
    Thanks for reading this.
    -later
    -labeaux
    [email protected]

    Try some thing like below,
    your data value that needs to be update should be in this format "ID of the lookup";#"Title of the Lookup" 
    For example,
    listItem["Product_x0020_Number"]
    = "1;#iPhone";
    listItem["Product_x0020_Number"]
    = "2;#Mobile";
    Hope this helped you....

  • SharePoint 2010 List View Web Part not showing for read-only users?

    Hello all,
    I have List View Webparts on my Blank Web Part page, and it's not showing for Read-Only users.
    Is this intended by Microsoft or is it a bug?
    Thank you!

    Hi,
    According to your post, my understanding is that the read only user could not see the list view web part.
    Per my knowledge, the issue may be cause that the user do not have the proper permission for the list.
    1. Check whether the user can access the list.
    2. Check whether the user can view all the items instead of partial items in the list.
    3. Check whether there are some fields refer to other lists or terms, especially the lookup field or managed metadata filed.
         If that is the case, make sure the user can access the lookup list.
    Thanks,
    Jason
    Forum Support
    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]
    Jason Guo
    TechNet Community Support

  • BC4J/JSP:Foreign Keys:Read Only Renderers

    I've read and implemented all of the Renderers in the Renderer how to document. I've also read 8 pages of postings to this forum regarding renderers and LOVs. And I've read reams of BC4J class documentation.
    Though the EditRenderer that does a lookup via a SQL query works well, there is no equivalent Read-only (via a SQL query) Renderer example.
    I have tried to use the examples to create a Read-only (SQL based) Renderer but I haven't had much luck.
    The closest I got to a solution was an indicator that another poster accomplishes this by modifying the generated JSP. This is clearly the wrong place to implement this functionality (doesn't allow for code re-use).
    I was also able to use the DynamicEditRenderer as a Read-Only Renderer but that would confuse my users and create bugs.
    It was my idea that you shouldn't have to define the SQL and that you could use existing BC4J classes to lookup the friendly FK value. I looked through the XML files for View Objects and View Links and saw all the information required to do this. A smart person (obviously much smarter than me), should be able to create a read-only and Edit Renderer that doesn't require a SQL property or the PK or column properties (use the UK from the db).
    Does someone have an example of a Read-Only, SQL based, Renderer? Better, has someone written a generic renderer that can track back through View Links to find the UK in the lookup table?
    This is incredibly basic functionality that I'm surprised is missing from JDeveloper.
    Please help.
    Thanks, George

    You are not going to find an 'exact' match in our existing classes. The rednering HOWTO(http://otn.oracle.com/products/jdev/howtos/jsp/renderers.html) provides enough information for implementing your readonly lookup field. If you look at the first renderer in this document, it uses a static lookup list. You can easily use a secondary view object for your lookup values. Here is the code from that document:
    package myrenderers;
    import oracle.jdeveloper.html.ReadOnlyField;
    import oracle.jbo.Row;
    import oracle.jbo.AttributeDef;
    import java.util.StringTokenizer;
    public class ListFieldRenderer extends ReadOnlyField
    public ListFieldRenderer()
    public String renderToString(Row row)
    setValueFromRow(row);
    AttributeDef aDef = getAttributeDef();
    String sAttrValue = getValue();
    String sList = (String)aDef.getProperty("DISPLAY_LIST");
    if(sAttrValue != null && sList != null)
    StringTokenizer tokens = new StringTokenizer(sList, ",", false);
    while(tokens.hasMoreTokens())
    String sEntry = tokens.nextToken();
    String sValue = sEntry.substring(sEntry.indexOf('=') + 1);
    String sKey = sEntry.substring(0, sEntry.indexOf('='));
    if(sKey.equals(sAttrValue))
    return sValue;
    return super.renderToString(row);

  • Managing External Content Types - make it read only?

    I have a simple SharePoint list with an External Data column. When I edit item where the corresponding data was removed from the External Content Type I get this error:
    No exact match was found. Click the item(s) that did not resolve for more options. You can also use Select button to
    choose External Data.
    I assume this is by design and I cannot delete underlying data and keep the value in the list - is this correct?
    So my question now - is it possible to keep that info in the external list but disable in a picker so new records cannot be created with that particular value? How do I do it?
    Thanks,

    I don't understand the question exactly, could you restate it.  Sorry mate, I might just be braindead.
    But, as far as the issue, it is by design.  the column is a lookup columns which essentially ties to the external data.  if that data is removed, the column on your simple list becomes invalid and any edits of the simple list item will require
    it to be changed.
    are you wanting to make the ECT read only?  that's simple enough.  you can pop open SPD and edit the ECT, then remove the C/E/D operations (create/update/delete).  That will not, however make it read-only in any other systems that access that
    external data, as I assume its not just SP or else it wouldn't be external
    Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com

  • How to make a field conditional Read Only

    Hi,
    There is a "Close date" field. I need to check if the date today, and the "Close date" falls in the same quarter. If it does, then, a particular field has to be made editable otherwise not.
    (Better, if it could be done by using business component user properties)

    Hi,
    Surely i can give you details.
    The LOV Type is - QTR_DET which has the following values -
    1.Description - 04/03/2009 & Display Value - "Q2-2009"
    2.Description - 07/05/2009 & Display Value - "Q3-2009"
    3.Description - 10/02/2009 & Display Value - "Q4-2009"
    These 4 quarter values are updated for every year
    Hence, I need to compare values, on the basis of these values.
    The Quarter for the Close Date has to be compared to Quarter which includes "Today"
    As far as i know, JulianQuarter divides the year into exactly 4 parts, but as you can see, the values are not same as the quarter values, i need to use.
    It would be surely great if you could help me solve this, as i am new to siebel.
    I was trying to try with Lookup as well.
    (The Following way, i was trying, but did not work
    -Field1 is a calculated field - Lookup(QTR_DET,[Close Date])
    -Field2 is a calculated field - Lookup(QTR_DET,Today())
    -InPresentQuarter is a calculated field - IIF((Field1 = Field2), "N", "Y")
    And this was further used for the Field Read Only Field: [Field Name] to make it read only)
    Also please let me know, if this is the right way.

  • Best Way to Override 'Everyone - Read Only' using ACLs

    Hi, let me first clarify that I'm not an 'official' network administrator, I'm just the only one in a small design office able to attempt to figure this stuff out.
    We are needing to upgrade our security in a small office (5-7 users, 1 server running OSX Server 10.4.4).
    We've been working great since OSX Server 10.3.x using standard POSIX privileges setup as follows:
    Owner: Our_Server - R/W
    Group: OurGroup - R/W
    Everyone: None
    We've been able to share files great as we're all in the same group (OurGroup). No problems.
    Unfortunately, we now need to add a higher level of security for some incoming freelance workers. Essentially, we need to give them access to only certain folders UNDER our main Share Point directory. But we need to retain all of the freedom we've always had for the entire Shared directory.
    From my understanding, the only way to do this is by using ACL's and a different group for the freelancers. I've setup a TEST directory to try this on. I've almost got it setup to work the way we want, but now am experiencing what I've discovered to be one of the drawbacks of using ACL's - the "Inherit Permissions from Parent" feature of AFP is no longer an option.
    So using this method, new files added by default pick up the standard POSIX permissions, which allow Read access to Everyone. And I have to 'replicate' the behavior of 'Owner' and 'Group' that we had working before using POSIX or the group would end up Read Only.
    - Any way to simulate the inherited permission of 'Everyone: None" using ACLs?
    - Is there an easier/better way to allow access to only certain sub-folders of our main Share Point for a different group (FreelanceGroup)?
    - Any way to do this while keeping our good working POSIX model?
    - What should my POSIX access settings be set now when using ACLs?
    - How dangerous is having 'Everyone: Read Access' really? We have guest access disabled, appropriate firewalls, etc.?
    Thanks a lot. I hope I'm approaching this properly. I'm open to any tips. We just need to make sure nothing 'appears' to change too much in the workflow we have grown accustomed to (within reason).
    G5 Dual 2Ghz   Mac OS X (10.4)   1.5GB RAM

    If you haven't already, you may find my ACL Tips post helpful: http://discussions.apple.com/thread.jspa?messageID=1696702
    My best advice would be to concentrate on defining ACLs for the groups of users for whom access should be granted (Allow rules). These can define inheritance for newly created files and folders, and you don't have the limit of having to think about just one group and everyone else. Remember that the POSIX "everyone" group is actually "everyone else" - that is, any valid user (guest if guest access is enabled) who does NOT match the owner or who is NOT a member of the POSIX group. The way that POSIX permissions are calculated, the connecting user is always granted ownership if possible, then group membership (primary group first, membership lookup by GID second) if that fails. Failing the two, the everyone else permissions are returned.
    Here's an example that highlights the difference:
    There is a group called "everyone" - that's actually all users, guests included, if guest access is enabled. This group is NOT the POSIX everyone else field. Rather, if you grant an ACL deny for everyone, then that covers all users, not just those for whom you don't have an ACL defined!
    Further, there's an "authed users" group, which is the group of all authenticated users (and it never includes guests, even if guest access is enabled). Like the "everyone" group, membership is calculated by GUID by memberd. So you can thinnk of these two groups as "smart groups."
    Since the "smart groups" have membership controlled by memberd and GUID values, it's wise to only use them when defining ACL entries. Neither should be used for the group value of the POSIX group field. Either membership calculation will fail, or the "everyone else" POSIX field may never need to be consulted.
    As to the missing "inherit from parent" feature, the story is just the opposite: ACLs actually give you better inheritance than that feature ever did. For example, ACLs each support inheritance with the file_inherit, directory_inherit, only_inherit, and limit_inherit controls. For each entry, you can have a group or single user's ACL entry apply to new child files, new child folders, or both. Further, you can control inheritance on a per-folder level, and manage how deeply that inheritance goes (limit_inherit) or whether the permissions are only inheritable.
    For example, your example POSIX group permissions would look like this using two ACLs:
    ourgroup allow readattr,readextattr,readsecurity,list,search,read,execute, write,delete,append,deletechild,add_file,add_subdirectory,writeextattr,writeattr,file_inherit,directoryinherit
    Again, my ACL Tips post explains more, and my answer to this post clarifies how new files, copied files, and moved files/folders get their POSIX and ACL permissions: http://discussions.apple.com/thread.jspa?messageID=3188259&#3188259
    Hope this helps!
    --Gerrit

  • Oracle data lookup (read) - Licensing query

    Hi,
    We are running SAP R/3 4.7 Enterprise with Oracle 9.2.0 as the backend database (on Windows Server 2003 OS).
    Our Oracle license is embedded with SAP i.e., not acquired separately.
    For business needs we intend to make read only queries to the backend database (Oracle database lookup) programmatically through Microsoft's SharePoint portal.
    For the access methods, one option is to use Business Data Catalog - BDC of sharepoint which queries the Oracle database directly (xml).
    Would appreciate comments on whether this is authorized or we need any additional Oracle component / license.
    Thank you

    Hi,
    +Would appreciate comments on whether this is authorized or we need any additional Oracle component / license. +
    This should be raised with the SAP Portal, as per your scenario Oracle is not going to support you directly in any case. SAP is going to support you. You can raise SAP Service resquest and can check with them. anyway you'll not be allowed to get lisence seperatly for your existing SAP Database.
    Regards,
    Vijayaraghavan K

  • Updatable view and Read only view

    Jdev version 11.1.1.6
    1. Can we use an updatable view instead of readonly view for LOVs?
    2. In my use case, I am having a panel-tabbed component. I create Region in the first tab & create Countries in the second tab. If I use a LOV for Regions based on the read-only view, then the data created & COMMITTED in the first tab is not getting reflected in the LOV in the second tab. But, if I use an updatable view for the Region field's LOV, then the LOV works fine. But, want to know if it is fine to use an updatable view for LOVs.

    Quotation from the developer guide
    >
    Best Practice: When you need to create a read-only view object for
    data lookup, you should use the entity-based view object and deselect
    the Updatable option in the Entity Objects page of the view object
    overview editor.
    >
    >
    View objects can either be related to underlying entity objects or not. When a view
    object is related to one or more underlying entity objects the default behavior supports
    creating new rows and modifying or removing queried rows. However, the update
    feature can be disabled by deselecting Updatable in the overview editor for the
    entity-based view object
    >
    So the answer for your first question is Yes

  • Load balancing not happending but fail over is for Read only Entity beans

              The following are the configuration.
              Two NT servers with WL5.1 sp9 having only EJBs(Read only entity beans)
              One Client with WL5.1 sp9 having servlet/java application as
              EJB client.
              I am trying to make a call like findbyprimarykey in one of the
              entity bean. I could see the request is being directed only to the one of the
              server always. When I bring that server, fail over is happening to the other server.
              Here are the settings I have in the ejb-jar.xml :
                        <entity>
                             <ejb-name>device.StartHome</ejb-name>
                             <home>com.wl.api.device.StartHome</home>
                             <remote>com.wl.api.device.StartRemote</remote>
                             <ejb-class>com.wl.server.device.StartImpl</ejb-class>
                             <persistence-type>Bean</persistence-type>
                             <prim-key-class>java.lang.Long</prim-key-class>
                             <reentrant>False</reentrant>
                             <resource-ref>
                                  <res-ref-name>jdbc/wlPool</res-ref-name>
                                  <res-type>javax.sql.DataSource</res-type>
                                  <res-auth>Container</res-auth>
                             </resource-ref>
                        </entity>
              Here are the settings I have in the weblogic-ejb-jar.xml.
              <weblogic-enterprise-bean>
                        <ejb-name>device.StartHome</ejb-name>
                        <caching-descriptor>
                             <max-beans-in-cache>50</max-beans-in-cache>
                             <cache-strategy>Read-Only</cache-strategy>
                             <read-timeout-seconds>900</read-timeout-seconds>
                        </caching-descriptor>
                        <reference-descriptor>
                             <resource-description>
                                  <res-ref-name>jdbc/wlPool</res-ref-name>
                                  <jndi-name>weblogic.jdbc.pool.wlPool</jndi-name>
                             </resource-description>
                        </reference-descriptor>
                        <enable-call-by-reference>False</enable-call-by-reference>
                        <jndi-name>device.StartHome</jndi-name>
                   </weblogic-enterprise-bean>
              Am I doin any mistake in this?
              Any one's help is appreciated.
              Thanks
              Suresh
              

    we are using 5.1
              "Gene Chuang" <[email protected]> wrote in message
              news:[email protected]...
              > Colocation optimization occurs if your client resides in the same
              container (and also in the same
              > EAR for 6.0) as your ejbs.
              >
              > Gene
              >
              > "Suresh" <[email protected]> wrote in message
              news:[email protected]...
              > > Ok....the ejb-call-by-reference set to true is making the call to one
              server
              > > only. i am not sure why it is. I removed the property name and it
              works.
              > > Also I have one question, in our prduct environment, when i cache the
              ejb
              > > home it is not doing the load balancing. can any one help me for that.
              > > thanks
              > >
              > > Mike,
              > > From the sample pgm I sent, even from single client calls get load
              > > balanced.
              > >
              > > Suresh
              > >
              > >
              > > "Gene Chuang" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > In WL, LoadBalancing will ONLY WORK if you reuse your EJBHome! Take
              your
              > > StartEndPointHome lookup
              > > > out of your for loop and see if this fixes your problem.
              > > >
              > > > I've seen this discussion in ejb-interest, and some other vendor
              (Borland,
              > > I believe it is), brings
              > > > up an interesting point: Clustering and LoadBalance is not in the
              J2EE
              > > specs, hence implementation
              > > > is totally up to the vendor. Weblogic loadbalances from the remote
              > > interfaces (EJBObject, EJBHome,
              > > > etc..), while Borland loadbalances from JNDI Context lookup.
              > > >
              > > > Let me suggest a third implmentation: loadbalance from BOTH Context
              > > lookup as well as stub method
              > > > invocation! Or create a smart replica-aware list manager which
              persists
              > > on the client thread
              > > > (ThreadLocal) and is aware of lookup/evocation history. Hence if I do
              the
              > > following in a client
              > > > hitting a 3 node cluster, I'll still get perfect round-robining
              regardless
              > > of what I do on the
              > > > client side:
              > > >
              > > > InitialContext ctxt = new InitialContext();
              > > > EJBHome myHome = ctxt.lookup(MY_BEAN);
              > > > myHome.findByPrimaryKey(pk); <== hits Node #1
              > > > myHome = ctxt.lookup(MY_BEAN);
              > > > myHome.findByPrimaryKey(pk); <== hits Node #2
              > > > myHome.findByPrimaryKey(pk); <== hits Node #3
              > > > myHome = ctxt.lookup(MY_BEAN);
              > > > myHome.findByPrimaryKey(pk); <== hits Node #1
              > > > ...
              > > >
              > > >
              > > > Gene
              > > >
              > > > "Suresh" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > > Mike ,
              > > > >
              > > > > Do you have any reasons for the total number of machines to be 10.
              > > > >
              > > > > I tried with 7 machines.
              > > > >
              > > > >
              > > > > Here is my sample client java application running individual in the
              > > seven
              > > > > machines.
              > > > >
              > > > > StartEndPointHome =
              > > > > (StartEndPointHome)ctx.lookup("dev.StartEndPointHome");
              > > > > for(;;)
              > > > > {
              > > > > // logMsg(" --in loop "+currentTime);
              > > > > if (currentTime > nextRefereshTime)
              > > > > {
              > > > > logMsg("****- going to call");
              > > > > currentTime=getSystemTime();
              > > > > nextRefereshTime=currentTime+timeInterval;
              > > > > StartEndPointHome =
              > > > > (StartEndPointHome)ctx.lookup("dev.StartEndPointHome");
              > > > > long rndno=(long)(Math.random()*10)+range;
              > > > > logMsg(" going to call remotestub"+rndno);
              > > > > retVal =
              > > > >
              > >
              ((StartEndPointHome)getStartHome()).findByNumber("pe"+rndno+"_mportal_dsk36.
              > > > > mportal.com");
              > > > >
              > > > > logMsg("**++- called stub");
              > > > > }
              > > > >
              > > > >
              > > > >
              > > > > The range value is different for each of the machines in the
              cluster.
              > > > >
              > > > > If the first request starts at srv1, all request starts hitting the
              same
              > > > > server.
              > > > > If the first request starts at srv2, all request starts hitting the
              same
              > > > > server.
              > > > >
              > > > > I have the following for the url , user and pwd values for the
              context
              > > .
              > > > >
              > > > > public static String url="t3://10.11.12.14,10.11.12.117:8000";
              > > > > public static String user="guest";
              > > > > public static String password="guest";
              > > > >
              > > > >
              > > > >
              > > > > It would be great if you could help me.
              > > > >
              > > > > Thanks
              > > > > suresh
              > > > >
              > > > >
              > > > > "Mike Reiche" <[email protected]> wrote in message
              > > > > news:[email protected]...
              > > > > >
              > > > > > If you have only one client don't be surprised if you only hit one
              > > server.
              > > > > Try
              > > > > > running ten different clients and see if the hit the same server.
              > > > > >
              > > > > > Mike
              > > > > >
              > > > > >
              > > > > > "suresh" <[email protected]> wrote:
              > > > > > >
              > > > > > >The following are the configuration.
              > > > > > >
              > > > > > > Two NT servers with WL5.1 sp9 having only EJBs(Read only entity
              > > beans)
              > > > > > >
              > > > > > > One Client with WL5.1 sp9 having servlet/java application as
              > > > > > > EJB client.
              > > > > > >
              > > > > > >
              > > > > > >I am trying to make a call like findbyprimarykey in one of the
              > > > > > >entity bean. I could see the request is being directed only to
              the
              > > one
              > > > > > >of the
              > > > > > >server always. When I bring that server, fail over is happening
              to
              > > the
              > > > > > >other server.
              > > > > > >
              > > > > > >
              > > > > > >Here are the settings I have in the ejb-jar.xml :
              > > > > > > <entity>
              > > > > > > <ejb-name>device.StartHome</ejb-name>
              > > > > > > <home>com.wl.api.device.StartHome</home>
              > > > > > > <remote>com.wl.api.device.StartRemote</remote>
              > > > > > > <ejb-class>com.wl.server.device.StartImpl</ejb-class>
              > > > > > > <persistence-type>Bean</persistence-type>
              > > > > > > <prim-key-class>java.lang.Long</prim-key-class>
              > > > > > > <reentrant>False</reentrant>
              > > > > > > <resource-ref>
              > > > > > > <res-ref-name>jdbc/wlPool</res-ref-name>
              > > > > > > <res-type>javax.sql.DataSource</res-type>
              > > > > > > <res-auth>Container</res-auth>
              > > > > > > </resource-ref>
              > > > > > > </entity>
              > > > > > >
              > > > > > >
              > > > > > >Here are the settings I have in the weblogic-ejb-jar.xml.
              > > > > > >
              > > > > > ><weblogic-enterprise-bean>
              > > > > > > <ejb-name>device.StartHome</ejb-name>
              > > > > > >
              > > > > > > <caching-descriptor>
              > > > > > > <max-beans-in-cache>50</max-beans-in-cache>
              > > > > > > <cache-strategy>Read-Only</cache-strategy>
              > > > > > > <read-timeout-seconds>900</read-timeout-seconds>
              > > > > > > </caching-descriptor>
              > > > > > >
              > > > > > > <reference-descriptor>
              > > > > > > <resource-description>
              > > > > > > <res-ref-name>jdbc/wlPool</res-ref-name>
              > > > > > > <jndi-name>weblogic.jdbc.pool.wlPool</jndi-name>
              > > > > > > </resource-description>
              > > > > > > </reference-descriptor>
              > > > > > > <enable-call-by-reference>False</enable-call-by-reference>
              > > > > > > <jndi-name>device.StartHome</jndi-name>
              > > > > > > </weblogic-enterprise-bean>
              > > > > > >
              > > > > > >
              > > > > > >Am I doin any mistake in this?
              > > > > > >
              > > > > > >Any one's help is appreciated.
              > > > > > >Thanks
              > > > > > >Suresh
              > > > > >
              > > > >
              > > > >
              > > >
              > > >
              > >
              > >
              >
              >
              

  • Strange behavior when Popup LOVs has read-only condition and Bug Report

    Hi,
    I observed an inconsistent behavior of Popup LOVs when the read-only condition is true. In that case the defined lov query is used to map the internal value of the page item to the display value defined in the lov query.
    What is the reason for this behavior? Because if the Popup LOV is in "edit mode" the page item value is just displayed without looking up the display value. The display value is just used for the popup lov. Mapping the value is normally a behavior of the popup key lov.
    -> The result is that different values are displayed if the page item is in edit or read-only mode. That's not really the behavior someone would expect.
    BTW, there seems to be a bug with "Display Extra Values" set to "Yes" in the case read-only is true. If the lookup doesn't return a value it just displays [ ], but because the property is set to yes it should display the value. The Popup Key Lov has the same bug.
    Thanks for bringing some light into that behavior
    Patrick
    Oracle APEX Essentials: http://essentials.oracleapex.info/
    My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/

    Patrick,
    I've added your comments to a task already in our queue to examine all item types for correct behavior in read-only mode. I've noticed the quirks with display extra values also.
    By the way, still interested in your thoughts re: Re: Bug Report: Images broke when using get_blob_file_src and not authentic .
    Scott

  • Should I rebuild my read only database every time I launch my server?

    I'm getting into web development, and I'm trying to get a grip on databases.
    In an app I want to make, there is a read only database that will be filled up with a large amount of data, which will be the heart of the application, and also a lot of work to put in.
    I'm uncomfortable with putting all this data into the database, as the database is "separate" from my web app code. I feel like I should rather write my data in code somewhere, and then have my application put the data into the database for me.
    This way I would have my entire project written in code, and not an integral part of my software hidden away in the database, which is a bit complicated to work with, and seems difficult to move from computer to computer.
    But is this a sensible way to do this, however? Should I write my data in code, and every time I launch the server, make the application drop all the tables and read them in from my code again?
    Is this the wrong way to go about it? Would it cause considerable overhead? How do people do this?

    Why are you uncomfortable in separating the data into a database? Don't you follow a modular approach when it comes to coding and separate the UI layer and the business layer? The data you are referring to, that many legacy applications will have at least
    some of it embedded in the code in the form of constants, is an ideal lookup table data that should be stored in a database. 
    >>>"This way I would have my entire project written in code, and not an integral part of
    my software hidden away in the database, which is a bit complicated to work with, and seems difficult to move from computer to computer."
    You can locate your database centrally and connect to it from any computer. The maintenance of your read only data in your DB is much more easier than embedding it in
    the code
    >>>"Should
    I write my data in code, and every time I launch the server, make the application drop all the tables and read them in from my code again?"
    This is totally unnecessary. If you will be entering a lot of read only data into your DB, you can have
    a small utility program that provides an interface to enter the data into a DB - if you are uncomfortable with using the SSMS UI or TSQL to enter the new data. Also, reloading the data every time will only make your application look very slow and unacceptable. 
    To summarize, store your data in a DB. Even it if is small application, you can start with SQL Express
    edition to store the data as you will most likely need a proper DB in future if not now as your application functionality grows.
    Satish Kartan www.sqlfood.com

  • Can we make the request datset user attributes read-only

    IS ther any poosiblity that we make the attributes in request dataset as read-only or non-editable

    Hi,
    I am not sure about but in lookup you can use the tag read-only="false".
    Can you try in your data type e.g:
    <AttributeReference available-in-bulk="true" length="200" widget="lookup-query" type="String" required="true" read-only="false" attr-ref="Facility" name="Facility">
    <lookupQuery lookup-query="**************" display-field="FacilityName" save-field="FacilityName"/>
    </AttributeReference>
    -Kuldeep

  • Making a "SelectOne" list on a Read Only VO in Find mode

    I have a simple search page. The page is built on one VO - that is RO. One attribute/column of this VO is a type field - which I have a lookup VO for.
    The search form goes directly to find mode. The column I want to define the simple "Select One" method for is of course part of the Read Only VO, but in find mode I can easily type in the field and the search works great.
    When I try to create the dropdown (Select One) ADF complains and says it's a Read Only attribute and that I cannot use it to assign values to. This is correct - however in Find mode it's not read only.
    So is there a way to bypass this problem?

    Well, gladly I can report I solved this myself.
    Makes little sense though - when I created the Read Only VO, I "had fun" and changed the attributes of the VO to "no change". That should be given, since the VO is read only. However, that was what caused the issue. The update is set for "Always" now, and while the view is still read only, I have the drop down working perfectly.

Maybe you are looking for

  • Subquery in IF statement in trigger, without using foreign keys

    Hello, I'm investigating ways of writing a subquery in an IF statement, which is placed inside a trigger. I wanna write smth like IF (:new.jazz not in (select goldies from T where ... )) etc. I don't know whether the fact that the IF is in a trigger

  • Thread: In Hyperion Financial Reporting can we show comments entered in dat

    Hi, I want to show comments in Hyperion financial reports. The data form are against BSO cube and when users enter comments in it they want to see in reports which are against ASO. Also, if you can help me if it is possible against same cube?

  • MainStage 2 performance / CPU Spikes

    MainStage 1 was almost perfect. Just to join the misery ... Same problems (i am reading about on Forums everywhere) here with MainStage 2. Huge cpu spikes and stuttering audio from Virtual Synths. Basically unplayable. CPU usage is at least 30% highe

  • Search/Filter a Picture Library with an External Content Type

    We have the need to manage 50,000-100,000 images of ODOT Bridges. Currently, they are added to a SharePoint 2010 Picture Library that is associated to an External Content Type. To handle list threshold and performance issues, we are using folders. Th

  • Sm59 & load distribution

    Hi Friends, I have a question about sm59. Now, I am creating r3 connections from sm59. Lets say the connection name as 'TEST'. In this connection I don't select load distribution. And when I am calling the bapis; call funciton 'BAPI1' destination TES