Update_allowed of false bypassed by LOV

Forms [32 Bit] Version 9.0.4.0.19 (Production)
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
Oracle Toolkit Version 9.0.4.0.31 (Production)
PL/SQL Version 9.0.1.5.1 (Production)
i have found that it is possible to update a text item that is set to be update_allowed:false (either through item properties or programattcaillty using set_item_property) if the item has an LOV associate with it.
The item cannot be updated by typing into it (it returns frm-40200 as expected) but when its LOV is displayed (via a when-mouse-double-click called procedure) and the user selects a value, it changes/updates the text-item value.
is this a bug?
is there a workaround that allows an LOV to be displayed for the item (for information purposes) but if a value is select from the LOV then it raises the appropriate error.
many thanks in advance.
Edited by: mojo on Jul 26, 2011 8:31 AM

absolutely right!
you assumed correctly that the procedure fired by when-mouse-doubleclick uses show_lov(); (which displays the lov regardless of the update_allowed property) and that list_values; built-in takes this property into account. it seems like an oversight to me to allow an LOV to return a value to an item marked update_allowed:false though.
the workaround, in my case, is to use an item or block level key-listval that calls LIST_VALUES built-in (this overrides the form level when-mouse-doubleclick which calls do_key('list_values') and the form level key-listval which calls a wrapper procedure encapsulating bespoke logic for displaying appropriate editors for any item).
The workaround is not perfect, since it would be nice for a user to be able to see a list of appropriate values for an item but be unable to select one. i looked at trying to set the lov properties programmatically but this looks like a dead end too.
many thanks to INol and ahmed.

Similar Messages

  • Reg. Update_allowed Property

    I have set one item's update_allowed property false.
    I am not able to edit the value. That is OK.
    BUT I CAN EDIT THAT ITEM'S VALUE THROU FORMS TRIGGER.
    I want to know , what the Update_allowed property realy means? I am using Forms 9.0.2.7.0.

    Update_Allowed in terms of a user updating the value manually through the use of a keyboard. Errors should arise when trying to update programmatically also. However I have seen situations in which I can update Non_Upd items using LOVs (6i c/s).
    Happy New Year.
    N

  • Can anyone explain how to create lov programatically?

    Hi to all,
    Can anyone explain to me how to create lov programatically?.
    Actually i created a region and items usig code and i want to know how to create lov and mapping also.
    Suppose anyone knows plz let me know. its urgent one.
    Thanks in Advance.
    by
    senthur

    Hi,
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean); OAMessageLovInputBean lovInput =
    (OAMessageLovInputBean)createWebBean(pageContext, LOV_TEXT, null,"inputTest");
    webBean.addIndexedChild(lovInput);
    // Specify the path to the base page.
    lovInput.setAttributeValue(REGION_CODE, "/oracle/apps/dem/webui/Basic");
    // Specify the application id of the base page.
    lovInput.setAttributeValue(REGION_APPLICATION_ID, new Integer(20001));
    // Specify the LOV region definition.
    lovInput.setLovRegion("/oracle/apps/fnd/framework/toolbox/tutorial/webui/EmployeesLovRN", 0);
    // Validation should be enabled for LOVs unless it's essential for the field to allow a partial value (in a "Search" region, for example).
    lovInput.setUnvalidated(false);
    // Configure the LOV mappings.
    // Note that you must call this method after you add the messageLovInput item
    // to the web bean hierarchy.
    lovInput.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_RESULT, // direction
    LOV_REQUIRED_NO);
    lovInput.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_CRITERIA, // direction
    LOV_REQUIRED_NO);
    Read more in Dev Guide. Chapter List of Values & Search forums.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Base page button submit causing Lov Controller procesRequest being called

    Hello,
    I have created programmatic LOV's to my base page to which I set to declarative LOV region.
    I run my page, provide value to one of the LOV and trigger LOV page open, select value and the value gets populated to my base page LOV item.
    Now I click submit button which should actually go to my base page CO, however it is going to the LOV Controller.
    and as expected my code in LOV CO which should not be called, at this point is called causing errors.
    This happens as the LOV items are set validation to true by default in OAF. If Is set the lovItemBean.setUnvalidated(false) to my Lov Item in my bas page CO and then run, my base page submit goes to its correct CO.
    Its clear the OAF is trying to validate the values of LOV in base page by calling LOV Controller.
    Is it a bug?
    Please help.
    Edited by: Prashanth Pillai on Aug 13, 2009 4:31 AM

    Hi,
    Whenever a form submit occurs on the page it checks for Client Side Validations.
    These should be enabled as it submits the form only when the validation succeds.
    So you should use
    lovItemBean.setUnvalidated(false);
    in the code
    Thanks,
    Gaurav

  • Disable profile option updation at user level

    I want to disable the profile option HR: Security Profile or for that matter any other profile option at user level. The user should be able to see the value set by the system administrator (Field should be grayed out) and user should not be able to update it.
    How to do it??

    Try a personalization combined with custom PLSQL, like this:
    1) Acces System Profiles
    2) Help->Diagnostics->Custom Code->Personalize
    3) In the newly displayed Form Personalization form, create a line with a description like this: Prevent modification of USER_VISIBLE_VALUE
    4) In the Conditions tab, set Trigger Event = WHEN-NEW-ITEM-INSTANCE
    5) Set Trigger Object = PROFILE_VALUES.USER_VISIBLE_VALUE
    6) In the Condition text area, enter:
    apps.xxror_test_sysprofile(:PROFILE_VALUES.USER_PROFILE_OPTION_NAME,'USER')=1
    7) Set Processing Mode to Both
    8) Switch to the Actions tab and create two actions:
    first:
    type = property
    description = Don't update
    Language=all
    enabled=yes
    object type=Item
    target object=PROFILE_VALUES.USER_VISIBLE_VALUE
    property name=UPDATE_ALLOWED
    value=false
    second:
    type=property
    description=Don't enter
    language=all
    enabled=yes
    object type=Item
    target object=PROFILE_VALUES.USER_VISIBLE_VALUE
    property name=ALTERABLE_PLUS
    value=false
    9) Repeat steps 3-8 if desired for other levels, such as:
    Prevent modification of SITE_VISIBLE_VALUE
    Prevent modification of APPL_VISIBLE_VALUE
    Prevent modification of RESP_VISIBLE_VALUE
    Prevent modification of SERVER_VISIBLE_VALUE
    Prevent modification of ORG_VISIBLE_VALUE
    paying attention to update the corresponding names for xxx_VISIBLE_VALUE.
    10) Create the following PLSQL function:
    CREATE OR REPLACE function xxror_test_sysprofile (
    prof_opt_name in varchar2,
    lvl in varchar2
    return number
    is
    v_ret number;
    s_prof varchar2(1024);
    s_uname varchar2(100);
    s_lvl varchar2(10);
    begin
    -- returns 0 if the user "uname" must be granted access the profile named "prof_opt_name" at the "lvl" level
    -- returns 1 if the user "uname" must be forbidden to access such a profile at such a level.
    -- important assumption: the "lvl" parameter may have only one of the following values:'SITE', 'APPL', 'RESP', 'USER', 'SERVER', 'ORG'
    -- or else this function will return 1, thus forbidding the access
    s_uname:=substr(upper(trim(nvl(fnd_profile.value('USERNAME'),''))),1,100);
    if s_uname in ('MY_ADMIN_1','MY_ADMIN_2','SYSADMIN') then
    v_ret:=0; -- no restrictions
    else
         if s_uname in ('MY_POWERUSER_1','MY_POWERUSER_2') then
         -- restrict to only the below mentioned profiles
         s_prof:=substr(upper(trim(nvl(prof_opt_name,''))),1,1024);
              s_lvl:=substr(upper(trim(nvl(lvl,''))),1,10);
              if
              (s_prof like '%WHATEVER%')
              then
                   if s_lvl in ('SITE', 'APPL', 'RESP', 'USER', 'SERVER', 'ORG') then
                        v_ret:=0; -- level acceptable for these users on these profiles
                   else
                        v_ret:=1; -- unknown level, so reject
                   end if;
              else
                   -- these users may not access these profiles, so reject
                   v_ret:=1;
              end if;
         else
              if s_lvl = 'SITE' then
              -- no way any other user than those above may modify site-level profiles
              v_ret:=1;
              else
                   -- any other user than those above may modify lower-level profiles, but
                   -- for now reject all
                   v_ret:=1;
              end if;
         end if;
    end if;
    return v_ret;
    end;
    Pls be aware that testing first on a test instance is always advisable.

  • Add/Edit Form with object

    OK, I'm somewhat of a newbie, but I know enough to make me dangerous. Here's my problem.
    I have a form that I want to use for both Adding a course and Editing an existing course. I have a Course object. My ideal situation is to check an "action" parameter when the page is loaded. If action == Add, then I would like to instantiate an object with default values, if action == Edit, then get the Course object that corresponds to the CourseID that is also passed in. The form values would be set to Course.getXXX(). That part is pretty basic.
    When the form is submitted I want to validate the fields. If they are valid, then update the DB, otherwise, go back to the form with the fields restored to the users input plus error messages. Here's where I am getting tripped up.
    First, I would like to save the Course object in the Request scope, so I check that first on the Form page. If a course already exists in the Request scope, then I use that Course object, otherwise I create a new Course object like I described in the first paragraph. The problem is really passing that on to the next page that does the validating. I was told to use a JSP tag and setProp="*" blah blah blah, then call a validate method. The question I have is what happens to Course fields that are set to datatypes such as long or timestamp ??? And what kind of validate method should I write? Should I pass it a long or String? Do I really have to write TWO validation methods for every field I have that isn't a String? What's the most common way to do this? And should I validate BEFORE I try to set properties? Maybe through a static method or something?
    The other thought I had was to create a CourseView object in which everything field was a String, then I could validate, then if everything was fine and dandy, I could set or create a new Course object using CourseView and then update the DB. This would mean I would use the CourseView instead of Course for the forms. The problem I have is what's the best way to go about that? I'm not that familiar with abstraction, extending or implementing. What would work best? I would like to have the validation methods with the Course object and just utilize them in CourseView, but I'm sure there are loopholes to that.
    Oh, and the other big problem...null values. How do forms treat null, how do validation methods treat nulls and what about objects that require some fields but not others? Or even worse yet, a field that is not required unless another field is not null. There has to be an answer for this already.
    Oh yeah, Struts is out of the question for reasons to involved to go into here.
    I thank everyone in advance and hope any response help many more people then just I.

    Basically lets say I have this:
    AddEditForm.jsp
    <%@ import com.mycomp.Course, com.mycomp.CourseMgr %>
    <%
    String action = request.getParameter("action");
    Course crs;
    if (request.getAttribute("crs") != null){
    //if crs exisits in request, then form was submitted and rejected
    crs = request.getAttribute("crs");
    //otherwise this is the first time the page has been loaded
    } else if (action == add){
    crs = new Course();
    }else if (action == edit){
    //course_id is a long
    crs = CourseMgr.getCourse(course_id);
    %>
    <HTML>
    <BODY>
    <% Custom tag here to display errors from errorMsg hashtable %>
    <FORM action="process.jsp">
    <input type="text" name="course_id" value="<%=crs.getCourse_id()=%>">
    <input type="text" name="status" value="<%=crs.getStatus()=%>">
    <input type="text" name="created_by" value="<%=crs.getCreated_by()%>">
    <input type="text" name="created_date" value="<%=crs.getCreated_date()%>">
    </FORM>
    </BODY>
    </HTML>
    Process.jsp
    //Call validation methods and set methods
    //If everything validates OK, then call CourseMgr.setCourse(Course crs);
    //The question is, do I write the Course class to have all String values
    //and then change them to longs before I send to the DB?
    //Should I try to validate before I set course_id (my idea)
    //or set them and validate before I call setCourse() (someone else's)
    //If the later is the case, then the object must be very loose
    //and you have to trust that a person is going to call the validation
    //method. I would like to not allow sets without validation. The only
    //way I see it right now is to have a set for both String and long
    //and validations for both. You can still leverage all the code,
    //but it still seems stupid. I worked with ColdFusion for a while
    //and the loose datatypes were a god send for this kinda thing.
    Course.java
    import com.mycomp.CourseMgr;
    public class Course {
         private long course_id;
         private String status="";
         private String version;
    private long created_by;
    private Timestamp created_date;
    public static Hashtable errorMsg;
         public Course() {
    course_id = CourseMgr.getNextCourse_ID();
    public long getCourse_id(){
    return course_id;
    public void setCourse_id(long l){
    this.course_id = l;
    //I would like to be able to not have to write two sets
    //for every long. If the form input is named course_id
    //doing a setProp(*) should reflect it.
    //But it reflects as a String, doesn't it?
    //I also don't know if I should put a try in here.
    //A try is part of the validation method and it seems
    //redundant. But how do I ensure validation before set?
    public void setCourse_id(String s){
    this.course_id = Long.parseLong(s);
    public boolean validateCourse_id(long vL){
    if ( valUtils.isInRange(vL,"Course_id")){
    //if it's within a predetirmined range
    return true;
    }else{
    errorMsg.put("course_id","Course ID out of range.");
    return false;
    //I would love to be able to call only one validation method
    //but other objects need to use a long. It's only the
    //view that uses Strings all the time. I would like it
    //if the request could keep the form field for course_id as
    //the type t was meant to be.
    public boolean validateCourse_id(String vS){
    if ( valUtils.isPositiveLong(vS)){
    //if it can be parsedLong and is positive
    return validateCourse_id(Long.parseLong(vS));
    }else{
    errorMsg.put("course_id","Course ID is invalid Long.");
    return false;
    I really hope this helps. Thank you greatly in advance for any assitance.

  • OAF Extensions Vs Form Personalizations

    Dear all,
    I have a form where a lot of personalizations were done. Now i need to apply the same personalizations to a OA PAge.
    The following are the type of Personalizations done on the form:
    1) Update not allowed for some fields on the form, for a restricted number of users.(Property: UPDATE_ALLOWED, Value: FALSE )
    2) Changing a field value automatically based on some conditions.
    3) Making some fields non editable once data is entered.(Property: UPDATE_NULL, Value: NULL).
    Please let me know which of these can be done by OAPage Personalization and which by OAPage extensions.
    Thanks
    Raj

    Raj
    These things wont be possible through personalization, you may need to extend the controller attached to the region and write the code in controller to handle these requirements.
    Thanks
    AJ

  • Disable updating of DFF segment in PO form using Form Personlization

    Hi All,
    I have to make a dff segment in PO form non-updatable after the PO number has been generated.
    I tried to do form personalisation of item PO_HEADERS.ATTRIBUTE2 making its property(update_allowed) as false.
    But when I test the form, I get an error cannot set attribute of a null canvas item.
    How can I make DFF segment disabled after PO Number is generated in Form
    Regards
    Prajesh

    One approach you can try is using the custom.pll.
    You can write code that makes the attribute non-updatable if the po_num is not null.
    If that does not work, you can consider writing a before-update database trigger on po_headers.
    In the trigger, if :old.attribute1 != :new.attribute1, then you can raise an error.
    Typically, I avoid writing database triggers but if you must, this could help you achieve it.
    Hope this helps,
    Sandeep Gandhi

  • ADF Parameter Form problem

    Hi all. I'm using the new JDev 10.1.3. I tried to add a Parameter Form as described in the "Build a Web Application with ADF Business Components and JavaServer Faces" Tutorial at http://www.oracle.com/technology/obe/obe1013jdev/masterdetail_adf_bc/master-detail_pagewith_adf_bc.htm#t7.
    I get the following exception when I run the page.
    Has anyone come across this problem yet?
    500 Internal Server Error
    java.lang.NullPointerException     at oracle.adfinternal.view.faces.renderkit.core.xhtml.EditableValueRenderer.addOnSubmitConverterValidators(EditableValueRenderer.java:178)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleInputTextRenderer.encodeAllAsElement(SimpleInputTextRenderer.java:82)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.FormElementRenderer.encodeAll(FormElementRenderer.java:48)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:271)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.renderFieldCellContents(InputLabelAndMessageRenderer.java:115)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell(LabelAndMessageRenderer.java:293)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:163)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:94)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:236)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeColumnChild(PanelFormRenderer.java:275)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.renderColumn(PanelFormRenderer.java:251)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._renderColumns(PanelFormRenderer.java:545)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._encodeChildren(PanelFormRenderer.java:153)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeAll(PanelFormRenderer.java:69)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:236)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:66)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)     at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)     at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)     at Search.jspService(_Search.java:219)     [Search.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:298)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:205)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)     at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)

    am not sure, but try to set the required field for this item in the property inspector to false.
    regarding the LOV, check this example : Adding an LOV to a query parameter (executeWithParams) in this link:
    http://blogs.oracle.com/shay/
    also check this:
    http://blogs.oracle.com/shay/2009/12/adf_query_with_parameters_and.html
    Edited by: M.Jabr on Feb 5, 2011 6:11 AM

  • Frm-41312

    i have a problem when iam trying to call a report in form error frm-41312 occurs how can i get rid from this i have used several techniques . iam using oracle9i

    hi
    can u provide us code?
    Set INSERT_ALLOWED or UPDATE_ALLOWED to False for the block, rather than setting
    DERIVED_COLUMN or QUERY_ALLOWED to False for each item.
    sarah

  • To make RFQ form or Quotation form read only after the satus is made closed

    Hi All,
    I have a requirement where we need to make all the fields either on RFQ or Quotation form read only/freezed/greyed out once the document status is made Closed from Active satus. The User should not be able to change any value in the RFQ or Quotation form. The same needs to be achieved in core purchasing module. Looking forward towards kind suggestions. Thanks.
    With Best Regards,
    Nirabh Nayan

    Hi,
    Please perform form personalization.
    Triggering event : WHEN-NEW-RECORD-INSTANCE, WHEN-VALIDATE-RECORD
    Triggering object : PO_HEADERS
    condition : :PO_HEADERS.STATUS='Closed'
    In action, Type : property
    Object type : Block
    Target object : PO_Headers
    Property name : update_allowed
    value : false.
    Like this, you need to create a actions for all the Blocks available in RFQ/Quotation Form ( ex: PO_lines, PO_Shipments etc)
    Thanks,
    Subhashini

  • Problem with multirecord block

    Hi every one
    I have multirecord block in form conten 2 textitem A & B
    and i have checkbox .
    i need when i check the checkbox set instance item A Enable and item B Disable
    and vice versa
    the problem is when i check the checkbox all instance of item enable or disable
    but i want that instance what I foucs on .

    You can't disable/enable an individual instance of a multi-record item.
    What you CAN do is use SET_ITEM_INSTANCE_PROPERTY to set INSERT_ALLOWED, UPDATE_ALLOWED and VISUAL_ATTRIBUTE. To disable, set up a visual attribute that mimics a disabled field, and set INSERT_ALLOWED and UPDATE_ALLOWED to false. If you don't want them to be able to click or tab the cursor into the field create a pre-text-item trigger on the items that checks the value of the checkbox and raises form_trigger_failure if this field should be disabled.

  • Restricting Buyers

    Hi,
    This is in continuation to one of my previous queries to this forum...
    Restrict creation of standard POs from scratch i.e. do not allow POs to be created without a backing requisition and
    Do not allow Quantity value to be updated in the PO autocreated from Requisition
    As suggested in the previous query, I tried form personalization to achieve this
    Trigger event: when-new-form-instance
    condition: :PO_HEADERS.DOC_TYPE_NAME in ('Standard Purchase Order')
    action:
    object type: item
    target object: PO_LINES.QUANTITY
    property name: UPDATE_ALLOWED
    value: FALSE
    This rule is not working! Can someone validate or suggest?
    Thanks,
    Sudarshan

    Sudarshan
    Trigger Event: WHEN-VALIDATE-RECORD
    Trigger Object: PO_HEADERS
    Condition: :PO_HEADERS.DOC_TYPE_NAME='Standard Purchase Order' AND :PO_HEADERS.AGENT_NAME like 'Your Buyer Name'
    Actions: Message
    Message Type Error
    Message Text : Your message.
    Thanks
    Nagamohan

  • Verizon against Palm Pre???

    Why is it in our area the Verizon sales staff does everything they can to talk customers out of a Palm device. I was almost strong armed into a Droid. Then when I went to return it for a Pre I was told it would be a HUGE mistake and that I should consider anything put a Palm. Everything they said bad about the phone was false. I love the Pre and how it performs. It is so much easier to use and functions much better as a phone. Palm should quickly address this issue.

    I had the same experience at the Sprint Store at 5528 South Sepulveda Boulevard, Culver City, CA - (310) 391-8610
    They did everything they could to talk me out of buying the Pre.  In addition, it was the only phone in the store that was locked in a glass case.  
    I believe the reason why these sales people try to talk us (and everyone else) out of the Palm Pre is that they are on commission.  Palm Pre's are returned  (for Hardware issues) more often than other phones.  This takes money out of their pockets.  It also slows down their operations due to the constant maintenance issues and complaints.  Only the manager can make a decision to lock a phone is a case full time.  I swear I had to wait almost thirty minutes to get someone to open up the case even though almost all of the sales people were walking around with keys.  No one wanted to help me because they did not want have their commission recouped from their paycheck later.
    Palm started this problem with their less than stellar hardware and now it has become a systemic problem throughout all of their sale conduits.
    I still have my pre and its cute little oreo twist and I am not giving it up, but many others have not been as loyal.

  • What the best way with no errors?

    Can anywon point me or tell me the best way of importing a
    flash object to dreaweaver so the seach engine does not find
    errors.
    like <embed> or ALT
    Is it best to use CCS or javascript?
    Any good links or information on how to set this up would be
    appreciated.
    Gary

    > Place your alternate content here? WHERE AND WHERE DO I
    Include a link to
    > <a
    > href="?detectflash=false">
    Ignore it.
    But follow the rest of the recommended procedure.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "ghi572000" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thanks again Murry however I could do with a bit more
    help as I do not
    > fully
    > understand what Im reading as followed?
    >
    > Here is an example of what your embed should look like:
    >
    > <div id="flashcontent">
    > Place your alternate content here and users without the
    Flash plugin
    > or with Javascript turned off will see this.
    > Include a link to <a
    href="?detectflash=false">bypass the detection</a>
    > if you wish.
    > </div>
    > <script type="text/javascript">
    > // <![CDATA[
    > var fo = new FlashObject("fo_tester.swf", "fo_tester",
    "300", "150", 6,
    > "#336699");
    > fo.write("flashcontent");
    > // ]]>
    > </script>
    >
    > OKAY THIS IS WHAT I HAVE SHOWING ON MY WEB PAGE FOR THE
    FLASH <object>
    >
    > <div id="Layer6">
    > <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,19,0" width="900" height="375">
    > <param name="movie"
    value="index_chiltons/chiltons_flash_index.swf" />
    > <param name="quality" value="high" />
    > <embed src="index_chiltons/chiltons_flash_index.swf"
    quality="high"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash" width="900"
    height="375"></embed>
    > </object>
    > <script type="text/javascript"
    src="ieupdate.js"></script>
    > </div>
    >
    > Place your alternate content here? WHERE AND WHERE DO I
    Include a link to
    > <a
    > href="?detectflash=false">
    >
    > Any clarification would be a big help
    >
    > Gary
    >

Maybe you are looking for