Change block property to insert mode

Can i change the status of block property to insert mode while run time.
Please help me.
Vikas

Yes, see the Set_Block_Property() built-in in the online help.
Francois

Similar Messages

  • What property/preference sets block property "Update changed columns only"

    Hi, we are wondering how Designer (latest version 10.1.2.4) desides when it generates a form with block property "Update changed columns only" set to Yes.
    Under some cricumstances this property is No in the generated .fmb
    We checked the object library, but the .olb has this property set to No, so Designer overrules it.
    Our goal is to generate all blocks with the "Update changed columsn only" set to No, because we ran in a forms bug that it can't handle Insert statements on blocks with this property set to Yes (ORA-01036). This bug only occurs in the latest forms version 10.1.2.3
    Hope anyone can help to force this property to be No when we want to achieve 100% generation from Designer.
    Kind Regards
    Auke Quist
    Edited by: aukequist on Oct 13, 2008 8:49 PM

    I think that's not possible in designer. You could define a block with this property set in the template form or in the object library. The use this block use the template/library object property in designer.
    Regards Erik

  • Clearing Form when changing from Insert Mode to Enter/Execute Query

    Morning folks,
    I need some help or pointers with a form I am working on. At startup, the form is in Insert mode. I am using Oracle Forms 9i.
    Goal: Clear the form with NO_VALIDATE when User enters an ID in Insert mode and clicks on the Execute Query button(DEFAULT&SMARTBAR Inbuilt Menu)
    The user can do two things when they first open the screen.
    Option 1: Enter the STUDENT_ID and press Tab
    Option 2: Enter the STUDENT_ID and press the Execute Query button (Part of the DEFAULT&SMARTBAR Inbuilt Menu)
    There is a When-Validate-Item trigger on STUDENT_ID to check if the Student ID already exists in the database. If it does, it gives an Error message saying "Student ID found. Please Query the record or enter a new Student ID". This is fine with Option 1.
    The problem arises with Option 2. When I Enter a Student ID in Insert Mode and (thinking I am in Enter Query mode) and press the Execute Query button, I get two messages:
    Message 1: "Student ID found. Please Query the record or enter a new Student ID"
    Message 2: Oracle message "Do you want to save the changes? Yes/No/Cancel.
    Is there a way to stop this *Message 2?*
    Here is what I have done to try and mitigate this situation. I have created a non database field and have called it clear_form.
    In When-Validate-Item I set the field clear_form = 1 when I encounter *Message 1*
    {code}
    if t_record_exists > 0 then
    set_alert_property('ALERT_ERROR',ALERT_MESSAGE_TEXT,'Student ID found. Please Query the record or enter a new Student ID');
    alert_button := show_alert('ALERT_ERROR');
    :clear_form := 1;
    end if;
    {code}
    By creating *Key-EXEQRY* Trigger at Form Level, I was hoping that it would just clear the form. I put some messages and its seems to me that *KEY-EXEQRY* is firing first and then the *WHEN-VALIDATE-ITEM*. Is there a way to have the *WHEN-VALIDATE-ITEM* trigger fire first?
    {code}
    if :clear_form is null then
    execute_query;
    else
    clear_form(no_validate);
    end if;
    {code}
    Thanks!
    Edited by: Roxyrollers on Sep 28, 2012 8:50 AM
    Edited by: Roxyrollers on Sep 28, 2012 9:45 AM

    Having the actual Student_ID column from the table is dangerous, since it is also the key to the student's data. What if the user properly executes a query, showing a student's data, and then wants to look up another student, so keys in the new ID. If he then presses Execute Query, the Form asks "Do you want to save your changes?"
    If the user presses Yes, the new ID becomes the previous student's key.
    It would be better if you put the student_ID field in a control block. Then, the user enters a Student_ID, and presses Execute Query, the query then populates the student's data in the Base Table block. In the B_T block, the actual Student_ID column should be hidden.

  • How I break then insert mod and change to query mod through coding

    Hi master
    Sir how I break then insert mod and change to query mod through coding
    Please give me idea
    Aamir

    what do you mean with query-mode? QUERY-mode or ENTER-QUERY-mode ?
    QUERY-mode is after you fetch successfully data from the database
    ENTER-QUERY-mode is the mode, when you insert your selection-criteria into the record

  • How to add enter-in-insert mode without post-generation steps

    Hello,
    We'd like to enter one of our pages in insert mode.
    We found the trick how to do it, there is one step which is a post JHeadstart generation step (add code to Page Definition). I'd like to know if we can avoid this post-generation step
    Here the complete list of steps
    (1) Model project, set View Object, Tuning to 'No Rows'
    (2) ViewController Project
    2.1 JHeadstart settings for the page
    - Single-row insert allowed Yes
    - Single-row update allowed Yes
    - SHow New Rows at Top Yes
    2.2 Generate the JHeadstart application
    2.3. Go to the Page which you'd like to enter in insert mode and click on 'Go to Page Definition'
    Add in the <executable> part the following code
    <invokeAction Binds="CreateAanmakenAdminEenheden" id="invokeCreate" Refresh="renderModel"
    RefreshCondition="${!adfFacesContext.postback and empty
    bindings.exceptionsList}"/>
    (see also http://download-uk.oracle.com/docs/html/B25947_01/web_form006.htm for more information)
    Make sure that the Binds part has the sam name as the <action id='Create...' which is available in the bottom part of the page definition.
    My question is
    How can we avoid this last post-generation step, the addition of code to the Page Definition file.
    I know you can unclick the 'Generate Page Definition' property in JHeadstart, but that introduces a risk that functionality is not included after changing the page.
    Regards Leon
    By the way, this is a lot of of work, just for entering a page in directly in insert mode. I think there can be made some improvement in ADF to accomodate this (a lot wanted) functionality.....

    Navid,
    You need to create custom templates to achieve this. The easiest way to get everything in place, is to first generate the group as insert-only (without search and query).
    This will generate the following:
    - in the page definition the ControllerClass property will be set to a JSF EL expression, something like #{EmpWizardPageLifecycle}
    - in the group beans config file, two beans are generated like this:
    <managed-bean>
    <managed-bean-name>EmpWizardPageLifecycle</managed-bean-name>
    <managed-bean-class>oracle.jheadstart.controller.jsf.lifecycle.JhsPageLifecycle</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>beforePrepareRenderMethods</property-name>
    <list-entries>
    <value-class>oracle.jheadstart.controller.jsf.bean.InvokeMethodBean</value-class>
    <value>#{CreateEmpWizardMethod}</value>
    </list-entries>
    </managed-property>
    <managed-property>
    <property-name>validateADFModel</property-name>
    <value>false</value>
    </managed-property>
    </managed-bean>
    <managed-bean>
    <managed-bean-name>CreateEmpWizardMethod</managed-bean-name>
    <managed-bean-class>oracle.jheadstart.controller.jsf.bean.InvokeMethodBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>methodBinding</property-name>
    <!-- we leave out the JSF EL brackets, to prevent premature evaluation of the expression -->
    <value>bindings.CreateEmpWizard.execute</value>
    </managed-property>
    <managed-property>
    <property-name>executeCondition</property-name>
    <!-- we leave out the JSF EL brackets, to prevent premature evaluation of the expression -->
    <value>jsfNavigationOutcome=='StartEmpWizard' or param.StartEmpWizard=='true'</value>
    </managed-property>
    </managed-bean>
    The executeCondition does the trick here: it causes the page to start in insert mode when the navigation outcome is 'StartEmpWizar' or there is a request param named StartEmpWizard with value true.
    So, to get this functionality in a normal queryable group, you need to create a custom template for the groupFacesConfig.vm and add the two bean defs as above. And to get the ControllerClass property generated correctly, you can use the advanced group-level property Page Lifecycle class and set this to #{EmpWizardPageLifecycle}.
    (and replace EmpWizard with your own group name)
    Steven Davelaar,
    JHeadstart Team.

  • Problem with ADF table in  Create Insert Mode

    Hi All,
    i am using jdev version 11.1.1.5.0.
    i have create one adf table in create insert mode. table have composite primary key (divn applyno,applydt,sno,frloc,toloc,frdt,todt).
    now when i create a row in this table it is running fine. but when i change on todt column field.
    property not found exception occur.
    log is following-
    javax.el.PropertyNotFoundException: Target Unreachable, identifier 'row' resolved to null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:343)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:293)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1118)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:717)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:800)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:236)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1278)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1082)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #2
    javax.el.PropertyNotFoundException: Target Unreachable, identifier 'row' resolved to null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:343)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:116)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:56)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:293)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1118)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:717)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:800)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:236)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1278)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1410)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1082)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1380)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Is There any solution? it is very urgent.
    i have also read this post.
    lov issue
    but it is not fit in my use case. it there any better way to do this.

  • Block Property - Update

    Hi,
    I have a problem with forms dev. 6.0 block property. I have only one master block and no details blocks. And I set want user can update the block but not insert. So i set the properties update and insert, true-false properly. But when i want to update a column in the block it wont let me to update. I check the status of the both properties and there was no change. but still cant solve it. Can u help me please. Thanks.

    i've done it already. I've checked the insert and update properties and theres no change of any property but it still dont let me to update. I looked up to the block triggers and item triggers that any changing procedure but i found nothing.

  • Item property does not overrides block property ?

    I have CURRENT RECORD VISUAL ATTRIBUTE set to SOMETHING for block A. i also have CURRENT RECORD VISUAL ATTRIBUTE for item AA in block A ( A.AA) . but when i run form, it looks like item AA's CURRENT RECORD VISUAL ATTRIBUTE is not in effect ?
    usually item's property should override block property. but it'snot happening here.. can anyone figure out??

    Set_Item_Instance_Property is a more specific control, so Set_Item_Property logically should not change it.
    Create two package variables defined in a package specification in the form, trig_item and trig_record.
    Change your WBP trigger:
    Set_Item_Instance_Property(Pkg1.trig_item,Pkg1.trig_record, VISUAL_ATTRIBUTE,'');
    Pkg1.trig_item := :System.trigger_item;
    Pkg1.trig_record := :system.trigger_record;
    Set_Item_Instance_Property(Pkg1.trig_item,Pkg1.trig_record, VISUAL_ATTRIBUTE,'SET');
    Actually, a When-New-Item-Instance trigger might be better than the WBP trigger, so the same action would occur no matter how the cursor is moved around your form (Using Enter or Tab, or shift-Tab, or scrolling).

  • Opening Form in Insert mode but making a query at the same time

    My problem is that I want to open a Portal Form in Insert mode but at the same time making a query.
    If I call a form with patameters the form opens automatically in update mode (to be more precise with FORMSTATE = UPDATE_AND INSERT). In that case the insert button is not shown.
    I have come very close to a solution by running this code:
    BEGIN
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => '_FORM_STATE',
    p_value => 'QUERY_AND_INSERT');
    END;
    under "... before processing the form". The form-state changes to QUERY_AND_INSERT' and I get the record from the table that I want but I still see no insert button!
    I think that I can solve this problem in some table-triggers in the database but it would be interesting to know weather it is possible to do this in the portal.

    Kari,
    You can workaround the disappearing Insert button by creating a custom button instead.
    If you look at the "standard" Insert button code it looks like this:
    --- Type your PL/SQL code here...
    doInsert;--- This is the default handler
    --- ...and here, thanks...
    in the generated forms package doInsert just calls internal insert handler:
    procedure doINSERT
    is
    begin
    onINSERT(
    p_block_name => p_block_name ,
    p_object_name => p_object_name,
    p_instance => p_instance ,
    p_event_type => p_event_type ,
    p_user_args => p_user_args ,
    p_session => p_session);
    end doINSERT;
    If you add a custom button to your form and from PLSQL event combobox select "Custom", then copy&paste this code to the event code:
    onINSERT(
    p_block_name => p_block_name ,
    p_object_name => p_object_name,
    p_instance => p_instance ,
    p_event_type => p_event_type ,
    p_user_args => p_user_args ,
    p_session => p_session);
    You will get a custom button which does exactly what the Insert button does and it will not disappear from the screen.
    Thanks,
    Dmitry

  • Urxvt + vim arrow keys in insert mode problem

    There's this annoying problem I've been experiencing for a while now that I haven't been able to fix.
    I'm running urxvt-unicode-256color as my terminal emulator. When I'm using vim in insert mode, accidentally hitting the arrow keys inserts A B C D or into the file. I don't use the arrows keys, but accidentally hitting them can get really annoying. I've read all sorts of ways to resolve this and none of the seem to work. The only way I was able to get around this was to set $TERM to be xterm, but that seems like a weird fix for this.
    Is there another way of solving this?

    nan wrote:
    karol wrote:
    nan wrote:Is there another way of solving this?
    Map the keys in vim to something useful or to nothing at all.
    BTW, I have the same setup and my cursor keys result in movement like hjkl, so:
    - check if you're using vim and not vi,
    - change your settings in .vimrc.
    I've already mapped the keys to do nothing. But it doesn't seem to work. I'm using map and imap, I've also use set t_ku, etc.
    How do I check if I'm using vim as opposed to vi? I've already installed the vim package.
    I have set nocompatible in my .vimrc but it doesn't seem to do anything.
    Mr.Elendig wrote:set your TERM to rxvt-256color, make sure vim is not in compatible mode (and that you are actually using vim and not vi)
    My term vairable is already set to rxvt-unicode.
    Set it to 'rxvt-256color'

  • Permanent Insert Cursor displayed although not in insert mode...

    Hello,
    I have this problem since the begining on my T431S (2month old) Windows 8pro, it displays the black rectangular box of the insert mode although typing in normal mode. Which is quite annoying. 
    It does that on every program except google chrome.
    I tried pressing the insert key, nothing changed...
    I didn't find anything previously posted on the net, if you guys could help me with this?

    Hi EssenB,
    Welcome to Lenovo Community!
    I am sorry for the situation what you are facing on your ThinkPad T431s. Can you please send us the snap shot of the issue which you are facing in your system, so that it will be easy for us to validate the issue?
    Hope this helps!
    Best regards,
    Hemanth Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Stuck in INSERT MODE

    Does anyone know how to get my Mac out of "Insert" mode when I am in Word? If I go back into text to change something - the computer deletes as I type. There isn't an "Insert" key, so I have no idea how I got into this. So frustrating...

    I assume you are using Office '08 for Mac. One solution is to go to "help" and type "insert." A drop down menu comes up. Go down to "Insert column < left." The verbiage might be slightly different. This works for me. However, there must be an easier answer from the experts.

  • Query_data_source_name block property

    Hi all.
    I want to create a block non-base table in which I want to change dynamically the source of the block. I have thougth to set at runtime the block property query_data_source_name and to pass it a different select at a different value of a parameter.
    My questions are:
    1) How is the use of this property??? I have seen it on the on line help but it's not clear.
    2) Is there another way to obtain the same result??
    I'm on devsuite10g.
    Thanks in advance for the collaboration.
    Fabrizio

    I have tried to clear the block; but the result is the same.
    Here is my code:
    DECLARE
    condizione varchar2(5000) := null;     
    BEGIN
         condizione := '(select '||:parameter.campo1||', count('||:parameter.campo1||') from '||:parameter.imposta_ricerca||' group by '||:parameter.campo1||')';
         go_block('sag_cong_congiunturali');
         clear_block;
         set_block_property('sag_cong_congiunturali_raggr',query_data_source_name,condizione);
         go_block('sag_cong_congiunturali_raggr');
         execute_query;
    END;
    When I'm in runtime the select is this:
    (select CODICE, count(CODICE) from SAG_CONG_CONGIUNTURALI group by CODICE)
    I don't understand where is the error...
    Fabrizio

  • Wizard does not enter in insert mode

    Hello,
    We are using JHeadstart 10.1.3.1.26.
    We are creating a wizard process for creating a record in several steps.
    For some reason we are not able to enter the page in 'Insert' mode.
    When the page is started the page is shown in 'View' mode. When we click the tab page for the View then the page changes into 'Insert' mode.
    View/Application Definition
    - On the view object we've set 'No Rows' to be retrieved from the database on the Tuning panel of the View Object Editor
    - In the application page definition we've the following settings
    * Wizard Style Layout      Checked
    * Layout STyle          form
    * Quick Search           None
    * Advanced Search           None
    * Auto Query          Unchecked
    * Single-Row Insert allowed     Checked
    * Single-Row Update allowed     Unchecked
    Created artifacts
    The Page Definition Page contains a Controller Class
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.40.66" id="EpvOpdrachtenPageDef"
    Package="nl.belastingdienst.epv.lokaal.view.pagedefs"
    EnableTokenValidation="false"
    ControllerClass="#{EpvOpdrachtenPageLifecycle}">
    <parameters/>
    In the structure pane a Warning is shown "Class #{EpvOpdrachtenPageLifecycle} not found"
    Workaround
    A workaround is adding in the Page Definition Page the following invokeAction.
    I am not a fan of post processing actions, because then our application is not 100% generatable anymore.
    <executables>
    <invokeAction Binds="CreateEpvOpdrachten" id="creOpdrachten"/>
    How can we set the wizard process train directly from JHeadstart in insert mode?
    Has this got something to do with the page definition page, and with the fact that the ControllerClass cannot be found?
    Regards Leon Smiers

    Hi Sandra,
    We are facing the same problem, we fixed it by adding the value !adfFacesContext.postback in the bean of the first page.
    But the problem that the back button in this case clear inserted data, secondly there is no any generated beans for other pages of the wizard, so there is no way to write the above value.
    by the way we are trying the steps in the JHeadstart Developer's Guide many times.
    Could you please help us to fix this issue?
    Thanks
    Ahmed Mohsen

  • Insert Mode or Update Mode

    Hello,
    In my form I have a component list. He calls another form. Calling this form is in insert mode or update mode. How can I do this?
    In the insert mode is showing the error:
    ORA-01403: no data found Error Unable to fetch row.
    How can I do that if the record does not exist, it change to insert mode?
    Thank you all.
    Marcelo

    If you built the form using the create form wizard, you should not need to tell it whether you are expecting to insert or update - we do that for you.
    If you built your own, you will need to add a condition to your fetch so that it only fires if you primary key column was passed in (that is what typically signifies an update). You will need the same on the processing to identify whether to run your insert or update procedure (ditto for your buttons, you don't want to display Delete when a user is inserting).
    Even if you did build your own, you might want to create a form using a wizard and inspect what gets created for you so that you can see how it works and then replicate on your page.
    -- Sharon

Maybe you are looking for

  • How Do I get icons image directory to work in a JAR file?

    Yes, I must admit after going through the tutorial and other stuff I am stiil stumped I have an application that uses the jlfgr icons for the toolbar, and it works fine as long as i actually run it from the directory that it is in. I would like to pu

  • RapidInstall R12 on (solaris 5.8) fails to start OPMN

    When installing a new single-node system, opmn fails to start. The error in adopmnctl.txt states: 02/11/07-17:41:37 :: adopmnctl.sh version 120.4 02/11/07-17:41:37 :: adopmnctl.sh: Starting Oracle Process Manager (OPMN) libopmnoraclenls.so: unable to

  • Help on simple two player Pong!!

    I am fairly new to java. But I know quit a bit already. I want my to write a program that is just pong and has two paddles. One player controls one and the second player controls the other. Can anyone help me with it here is my code: ( I have tryed a

  • ATP Based on Data Collection

    Hi, I am working on a fresh implementation project where I want to implement Scheduling Features of OM. (Based upon Collected Data) I have already applied Patch related to R12.1.2 and also ran ATP Partition Program. Now, all the table and Partition n

  • Hgrid Not Rendering the Advance Table Dynalically.

    Hi, I have created a Hgrid region and a Tree region. My requirement is when some one clicks on any of the Node ids from the grid, a Advance table has to be rendered dynamically. This works correctly only if I have a Tree Region. But if I include the