Binded attribute value reset in ADF BC 10.1.3.3.

Hi,
I have a jspx page with data from a couple of bind iterators. On one of those iterators I have an attribute AuditId I'm using when user chooses to view some data or download some file. I need this AuditId to be the same the until user leaves the page so that every part of data he sees is stored in DB with the same Id.
I've created an transient attribute on one of the iterators with -1 the default view. When the page is opened and there exists some data that the insight into must be recorded, the AuditId is given and set to this attribute. This works fine for the data already displayed on the page, but when the user downloads some document from the page - the code is in an actionListener of the command button and on application module - the value of attribute AuditId is -1 again although the execute for that iterator was never executed (I know this since I have a custom execute method and I set a breakpoint there - it is executed only when the page opens).
How comes that the attribute value is reset to -1 without executing the query behind the iterator's VO that has already been set to the right value.
Before this solution I also tried putting the value to processScope and the behaviour was the same. Without resetting the value through the code the value was lost somewhere. Maybe there is a problem that I have some code in a backing bean and some on the application module? Is there some other way to store the value of this attribute without declaring it on a VO?
Thank you in advance,
regards!

Dragan,
If you are talking about iterating over VO records - have a look at the VO tuning parameters, especially if you are using range paging mode. In range paging mode, the performance of getting the next set of rows degrades as you proceed through the result set.
John

Similar Messages

  • Difference between the binding and the value attribute of an Oracle ADF com

    Can somebody please tell me the difference between
    the binding attribute and the value attribute of any oracle ADF component such as inputText and when would we use one over the other.
    THanks,

    Value represent the value that is going to be displayed by the item.
    Binding indicate the backing bean object that represents the instance of the component.

  • Can I change the properties of a Binding attributes in ADF BC?

    Hello all,
    i have a binding attribute as follow:
    <af:inputText id="LnlnmanfBlLoanSmanSmanNam"
    value="#{bindings.LnlnmanfBlLoanSmanSmanNam.inputValue}"
    label="#{nls['LNLNMANFBLLOAN_SMANSMANNAM']}"
    partialTriggers=" LnlnmanfBlLoanSmanSmanCde"
    required="false" columns="35" maximumLength="60"
    disabled="true"
    shortDesc="#{nls['LNLNMANFBLLOAN_SMANSMANNAM_HINT']}">
    <f:validator binding="#{bindings.LnlnmanfBlLoanSmanSmanNam.validator}"/>
    For example, i want to set disabled to false, how can i access the properties in ADF BC?
    Any sample code for reference?
    Thanks

    Neon,
    Is is possible to do that in the VO java layer?Absolutely, no it is not. You cannot access the view layer components from the model like that.
    Sounds like what you want to do is this:
    <af:inputText id="B"
    value="#{bindings.B.inputValue}"
    partialTriggers=" A"
    required="false" columns="35" maximumLength="60"
    disabled="#{empty bindings.A.inputValue}"
    <f:validator binding="#{bindings.B.validator}"/>You set the disabled property to a boolean EL expression - the one I used would make the input text disabled if the column A is "empty" (null or empty string)
    John

  • Protecting the attribute value from getting reset!

    Hello all,
    I have attached a custom drop down search help to the attribute "SERVICE_UNIT_NAME" in the "BTPARTNERSET" context node. The drop down list contains a blank entry as well as a couple of other entries, I have placed a create object statement for my search help class in the Getter method "GET_V_SERVICE_UNIT_NAME" while written the following code in the setter method "GET_P_SERVICE_UNIT_NAME" as suggested by one of the esteemed experts here on the forum.
      case iv_property.
        when if_bsp_wd_model_setter_getter=>fp_fieldtype.
             rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
      endcase.
    This drop down list is showing correctly, however my problem is that if the user selects any value from the drop down list, the selected value gets copied to the attribute but when ever the user press an "ENTER KEY" or any other action, the value in the attribute gets initialized to the first value in the drop down list which is a "BLANK" value. I want to preserve the value originally selected by the user from the drop down list, without it being reset by any other user actions on the screen.  Do I need to redefine any other method for this attribute? I'll appreciate any help.
    Regards,

    Naresh and Sumit, many thanks for your valuable inputs however, I have tried your code but I am still facing the same issue, as the attribute value for "SERVICE_UNIT_NAME" is getting refresh every time an "ENTER" is pressed on the page. Let me specify some other detail that may help in understanding this behaviour for the attribute value, actually when on the initial page, user has to enter his phone no / network ID, so that the standard functionality bring about the city, postal code, country etc. so once these values are set in the related attributes, the user will click on the incident button, which brings about a search help (web dialogue) for partner selection, so any value selected, is displayed afterwards in the "SERVICE_UNIT_NAME" attribute on the next page. However, after putting the custom drop down list at the said attribute, the value selected on the previous page is not populating in the attribute and the user can select the value from the custom drop down list now, but once he press "ENTER" or pushes any other button the page, the selected value in the attribute gets initialized. Is there a way to check for the user input?

  • Passing SQL Server identity attributes values into adf entity objects

    Hi all.
    I'm using Jdeveloper 10g for developing an ADF Swing application based on MS SQL Server DB.
    Does anyone know if it is possible to pass SQL Server identity attributes values into the correspondent attrributes of adf entity objects, like we do with Oracle DB Sequence.
    The problem is that i should somhow implement cascade deleting of detail view objects, so i should use the composition association. But since i cant fill the primary key attribute with appropriate value (that is actually a ms sql server db sequence value) i always get
    the following exception: oracle.jbo.InvalidOwnerException: JBO-25030 as i try to create a new pair of master/detail objects.
    Thanks in advance.
    Alex.

    The approach is good. but i still dont understand how i can address the sql server db sequence (identity field) programmatically...
    The code offered
    SequenceImpl sequence = new SequenceImpl("PRODUCTS_SEQ",getDBTransaction());
    setProdId(sequence.getSequenceNumber());
    generates something like this:
    select deq_name.nextval from dual
    but this syntax works for oracle only... and not for sql server...
    Edited by: Timin on Mar 26, 2009 6:34 AM
    Edited by: Timin on Mar 26, 2009 10:25 AM

  • OutputText : why both bind and value attribute and other gripes

    Hi
    gripe1
    I have started using creator and I'm a bit confused as to why creator insists on the binding attribute being in place to link the outputText field to the default managed bean -
    like most of us I want to set the value via a resource bundle. ( as shown blelow). If I delete the binding atttribute then outputText Field doesn't get displayed in the Visual Design tab. aaaaaaah!
    <h:outputText binding="#{DemographicInformation.nameLabel}" id="nameLabel" value="#{bundle.userName_label}"/>
    gripe2
    When you declare a resource bundle; either through editing the source directly or dragging from the advanced palette you can't seem to be able place the contained "names" in this the individual outputText field values via value property->bind to object->select from property file. i.e you do don't see to be able to expand the f: loadBundle. This results in a lot of tedious typing
    which I thought this tool was all about preventing!
    Regards
    Daniel

    Re gripe 1:
    Why do you want to remove the binding attribute? The binding attribute has nothing to do with the value - you can certainly display values from resource files without removing the binding attribute. One of the online tutorials (the Sign On example) shows a Creator project using bundle files.
    Re gripe 2:
    The designtime experience for using bundle files in the web app has been improved in the next version of Creator.
    -- Tor
    http://blogs.sun.com/tor

  • Value and binding attributes?

    In a number of UIComponents there is a value and a binding attribute. What is the difference between these attributes and when should one be used vs. the other?

    The "binding" attribute is used to bind the tag to a related instance of a component on a backing managed bean.
    For example, if you had created an instance of HtmlPanelGrid (called "grid") on a backing bean and had a getter/setter method for that component (getGrid/setGrid), you would use "binding={managedBean.grid}" to tie the <h:panelGrid> tag to the backing instance of component.
    The "value" tag is used to assign a value to the component. This may be a String for some components (i.e. outputText) or a List (i.e. dataTable)
    The simplest example would be:
    <h:outputText value="Hello world!"/>
    The preceding tag would render text of "Hello World!"
    However... if you were to use binding for that... in your managed bean:
    private HtmlOutputText text = new HtmlOutputText();
    text.setValue("Hello world!");
    public void setText(HtmlOutputText t) {
    this.text = t;
    public HtmlOutputText getText() {
    return text;
    Then on the JSP:
    <h:outputText binding="#{managedBean.text}"/>
    Regards.

  • Difference between using Binding and Value Attribute

    what is the deference between using binding and value attribute, when I use binding attribute at the time of Value change listener is behaving like action listener,
    Ex:
    If I use value attribute, at the time of value change listener the component is not showing the result in the component but when I use Binding attribute it is happening automatically. So I want to know how the binding attribute is working.
    I know, at the time of binding attribute the component is creating an instance at the bean side, So even also how it is following the life cycle of the JSF Frame work, and also Please suggest me weather which one is better to use either Binding or Value?

    JNaveen wrote:
    If I use value attribute, at the time of value change listener the component is not showing the result in the component but when I use Binding attribute it is happening automatically. So I want to know how the binding attribute is working.You need to learn about the JSF lifecycle. The ValueChangeEvent is invoked after conversion and validation in the 3rd phase, while the model values are updated in the 4th phase. In the valueChangeListener method you normally use ValueChangeEvent#getNewValue() to get the new value after the change.
    I know, at the time of binding attribute the component is creating an instance at the bean side, So even also how it is following the life cycle of the JSF Frame work, and also Please suggest me weather which one is better to use either Binding or Value?Use the 'value' attribute to bind the value to the bean. Use the 'binding' attribute to bind the component to the bean. If you don't need to precreate the component or do other things than getting/setting its value, then there is no need for the 'binding' attribute.
    Read on those links if you want to know something more about the JSF lifecycle:
    [http://balusc.blogspot.com/2006/09/debug-jsf-lifecycle.html].
    [http://jcp.org/aboutJava/communityprocess/final/jsr252/index.html] (pick 1st download).

  • How to use bind variable value of one VO as initial value for other VO row?

    JDeveloper 10.1.3.3, ADF Faces, ADF BC
    Hi,
    I have two View Objects: one read only with several bound variables and another editable entity based. Correspondingly there are two ADF Faces pages: first contains search form based on the read-only VO and second create form based on the editable VO. The search form has several hidden fields for some of bound variables because they aren't edited directly by user. These fields are updated with PPR when user selects other search criteria from LOV.
    There is a command button in the first page that navigates to the second form. Is there any way to transfer values of bound variables from the first VO to the second VO as initial values of the new row?
    I tried to set custom controller for the second page and retrieve search criteria values from request parameter map but values from hidden fields are missing. I think because that these fields are updated by PPR. Of course I can add custom action method to the navigation button and in the method put these values to request parameter map but I hope there is better solution.
    Thanks,
    Marius

    To summarize, given a bind variable value for one VO, on creating a row in a second VO, for 1 of the attributes of the second VO, you want to use the first VO's bind variable value. Correct?
    A potential solution ADF BC driven:
    1) Ensure you have an AppModuleImpl for your AM
    2) Ensure you have a ViewImpl for your 1st VO (where the bind variable will exist) - lets refer to that VO as "Alpha"
    3) Ensure you have a ViewRowImpl for your 2nd VO (the one you want to default the value in) - lets refer to that VO as "Beta"
    4) For your first VO "Alpha" create the bind variable (say pValue)
    5) In your second VO "Beta" ViewRomImpl add following code:
    @Override
    protected void create(AttributeList attributeList) {
      super.create(attributeList);
      AppModuleImpl am = (AppModuleImpl)this.getApplicationModule();
      String someValue = am.getAlphaView1().getpValue();
      setSecondVOAttr(someValue); // change this code to whatever your setter is for the field you want to initialize.
    }Hope this helps. Let us know how you go.
    Regards,
    CM.

  • Change an attribute value in the last level of a tree

    Hi,
    I'm using jdev 11.1.1.0.1
    I have a tree composed of 5 VO. Each VO represent a level of the tree. I made an "executeWithParam" in my VO level 1 to pass some parameters.
    I would like to make a "setAttribute" on my VO level 5. I'm working with a tree, so i can't do : "getMyVo.getCurrentRow.setAttribute..."
    How can i do?
    ideas :
    - Today, i use bind variable to pass parameters from first level VO to last level VO : can i put the bind variable value in an attribute value?
    - Is there a method to override in the viewRowImpl.java to catch the "setAttributeInternal" made by ADF? so i could change the value of this attribute
    - Is there a method to override in the viewImpl.java which can help me?
    I try a lot of think without success... hope someone can help me
    Thanks in advance
    Clément

    Hi Frank,
    Thanks for your help.
    My need is to initialize all the rows of my VO level 5. Not only the selected ones. But i keep your solution for later :)
    Today, that is what i'm doing :
    - First, i use "executeWithParam" to complete a bind parameter of the first VO.
        public void executeWithParamTreeNiv1() {
            VoLvl1ViewImpl view =
                (VoLvl1ViewImpl) getLvl1View ();
            VoSourceId rowSrc =
                (VoSourceIdRowImpl) getVoSourceIdView().getCurrentRow();
            if (rowSrc != null) {
                saisPrevTreeView.setFkId(rowSrc.getId());
        }- Then, i use the method "createViewLinkAccessorRS" of the viewImpl, to pass bindParmeters between VOs.
            protected ViewRowSetImpl createViewLinkAccessorRS(AssociationDefImpl assocDef, ViewObjectImpl accessorVO,
                                                          Row masterRow, Object[] values) {
            ViewRowSetImpl v = super.createViewLinkAccessorRS(assocDef, accessorVO, masterRow, values);
            Number fkId = (Number)((ViewRowImpl)masterRow).getViewObject().getNamedWhereClauseParam("FkId");
            accessorVO.setNamedWhereClauseParam("FkId", fkId );
            v.setNamedWhereClauseParam("FkId", fkId );- Finally, i use the method "isAttributeUpdateable" of my VO level 5, to get the bind parameter and make a setAttribute.
        @Override
        public boolean isAttributeUpdateable(int i) {
            Number fkId= (Number)this.getViewObject().getNamedWhereClauseParam("FkId");
            if (fkId!= null) {
                this.setFkId(fkId);
        }What do you think about this method?
    Thanks
    Clément

  • Programmatically set af:query attributes value

    Hello,
    Is there an option to programmatically execute af:query search giving some attributes value?
    I have a query component for the view criteria like:() Group
    Attrib1 =
    AND Attrib2 =
    AND Attrib5 =There are almost 30 attributes in this VO that can be used in a query with advanced search mode, so I wouldn't like to create 30 bind variables for them (not sure that would be a solution either).
    Maybe there are some methods in QueryModel or QueryDescriptor to archieve this?
    // set some attributes in a key/value style
    query.setAttribute("AttribX", 123);
    // execute query
    JSFUtils.resolveMethodExpression("#{bindings.InformationSearchVCQuery.processQuery}", null,
    new Class[] { QueryEvent.class }, new Object[] { queryEvent });Thanks.
    ADF 11.1.2.2

    You can use something like this to iterate through VC and set values:
    http://adf-code-corner.blogspot.com/2012/08/programmatically-changing-validation.html
    Dario

  • Iterator Binding + Attribute binding problem

    I have created a SelectOneListbox and an associated attirute binding in my pagedef. When I try to access the changed value in my managed bean event handler method - I get a null object. However the index for the changed value is passed fine.
    tempIter.getRowAtRangeIndex( index ) returns a null object.
    I tried using attribute binding - that does not work either.
    Managed bean:
    public void productChange(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    BindingContainer bc = this.getBindings();
    // get the selected department
    DCIteratorBinding tempIter = (DCIteratorBinding) bc.get("TempIterator");
    if ( tempIter != null ){
    Object newVal= (Object)valueChangeEvent.getNewValue();
    System.out.println("New Product value:"+newVal);
    String ss = (String)newVal.toString();
    Row rw = tempIter.getRowAtRangeIndex(Integer.parseInt(ss));
    if ( rw!=null ) {
    String[] attrs = rw.getAttributeNames();
    //Object prodName = (Object) rw.getAttribute("ProdId");
    System.out.println(" Attribute value:"+ attrs);
    } else System.out.println(" Null row ");
    //trying to get value from attribute binding
    AttributeBinding prodIdBinding =
    (AttributeBinding)getBindings().getControlBinding("TempId");
    if ( prodIdBinding != null){
    Object deptId = (Object)prodIdBinding.getInputValue();
    if ( deptId != null)
    System.out.println("Finally value:"+deptId.toString());
    else
    System.out.println("Cant access value for department id");
    } else System.out.println("**********Product id binding is null");
    Pagedef:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="10.1.3.41.57" id="lov6PageDef" Package="view.pageDefs">
    <parameters/>
    <executables>
    <iterator id="ProductViewIterator" RangeSize="-1" Binds="ProductView"
    DataControl="SRTest1DataControl"/>
    <iterator id="TempIterator" RangeSize="10" Binds="Temp"
    DataControl="SRTest1DataControl"/>
    </executables>
    <bindings>
    <table id="ProductView" IterBinding="ProductViewIterator">
    <AttrNames>
    <Item Value="ProdId"/>
    <Item Value="Name"/>
    <Item Value="Image"/>
    <Item Value="Description"/>
    </AttrNames>
    </table>
    <list id="TempTempId" IterBinding="TempIterator" StaticList="false"
    ListOperMode="0" ListIter="ProductViewIterator">
    <AttrNames>
    <Item Value="TempId"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="ProdId"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="Name"/>
    </ListDisplayAttrNames>
    </list>
    <attributeValues IterBinding="TempIterator" id="TempName">
    <AttrNames>
    <Item Value="TempName"/>
    </AttrNames>
    </attributeValues>
    <methodAction id="displayProductValue"
    InstanceName="SRTest1DataControl.dataProvider"
    DataControl="SRTest1DataControl"
    MethodName="displayProductValue" RequiresUpdateModel="true"
    Action="999" IsViewObjectMethod="false"/>
    <attributeValues IterBinding="TempIterator" id="TempId">
    <AttrNames>
    <Item Value="TempId"/>
    </AttrNames>
    </attributeValues>
    </bindings>
    </pageDefinition>

    Frank,
    When I try to obtain the row directly using the code below I get a class cast exception.
    Row rw = prodIter.getRowAtRangeIndex(( (Integer)valueChangeEvent.getNewValue()).intValue());
    javax.faces.el.EvaluationException: java.lang.ClassCastException: oracle.jbo.domain.Number
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
         at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1087)
         at oracle.adf.view.faces.component.UIXEditableValue.broadcast(UIXEditableValue.java:247)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:269)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:363)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: oracle.jbo.domain.Number
         at Lov6.productChange(Lov6.java:49)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         ... 28 more

  • Reset an ADF table?

    Hi,
    I am using Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. How can I reset my ADF table which is inside a page fragment(.jsff) from my backing bean on some action like button click?
    Thanks,
    Vik

    Vik,
    Still not completely clear. To save the data - you can execute the Commit binding, obviously. Still "clearing" the table - not exactly sure - do you mean that one of the columns displayed in the VO is from the table and the rest are transient attributes? If so, does re-executing the query do the job for you?
    John

  • Unable to set the selected value for a ADF LOV

    Hi,
    I am developing an application using jdeveloper 10.1.3 and Struts.
    I have created a ADF LOV on my JSP Page as given below:
    <html:select property="lob" onchange="javascript:selectLOB(this.form)">
    <html:optionsCollection label="prompt" value="index" property="lob.displayData"/>
    </html:select>
    When i submit the form, i am able to get the value of the selected Value in the List.
    JUCtrlListBinding listBinding = (JUCtrlListBinding) formBean.get("Lob");
    Row r = (Row) listBinding.getSelectedValue();
    String SoLob = (String) r.getAttribute("LobLob");
    But i am unable to set the selected value back in the list when i return to the form again.
    I tried the following:
    int x = listBinding.getSelectedIndex();
    listBinding.setSelectedIndex(x);
    It would be really helpful if some one could let me know what needs to be done.
    Thanks,
    Subashini

    Gyan,
    I tried with the code you suggest , its trying to set the value of a field, but my requirement is to change the property for
    "Rendered" on the field so that based on search parameters we can hide result table column.
    After searching online, I modified the controller code as follows
    1.Created a new transient attribute (Testrender) with type "Boolean" and always updateable.
    2.changed the "Rendered" property value on the field I want to hide as ${oa.PoSearchVO1.Testrender}.
    3. Modified the controller code as follows :
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            OAViewObject testvo = (OAViewObject)am.findViewObject("PoSearchVO1");
            OADBTransaction txn = am.getOADBTransaction();
            if (testvo != null)
              OARow row = (OARow)testvo.first();
                if (a.equalsIgnoreCase("Approved"))
                     row.setAttribute("Testrender", Boolean.FALSE);
                else
                     row.setAttribute("Testrender", Boolean.TRUE);
            } But now when i run the page and populate the search field and click "Go" its hiding the field but throwing the following error and the search results are also bad.
    Its using only the value of one search parameter but not the second one .
    The search cannot be executed because the table has pending changes that would be lost. I think the vo is getting dirty when I update the transient attribute value. So I used txn.rollback ,then search is working fine but its not hiding the field.
    So can you please let me know how to proceed from here ?

  • How to get attribute value from standard page ?

    Hi,
    How to get attribute value from standard page ?
    String str = (String)vo.getCurrentRow().getAttrbute("RunId");
    But this value is returning a null value ....
    Can anyone help me to get this attribute value which is actually having a actual value .

    getCurrentRow() would always return null if no setCurrentRow() is used.
    Please check the page design and understand how many rows of VO are there. You can also use the following to get the row:
    vo.reset();
    vo.next();
    Regards
    Sumit

Maybe you are looking for

  • How can i sync my outlook 2013 with icloud calander, how can i sync my outlook 2013 with icloud calander

    Hello!! I am just trying to sync my icloud calandar and Outlook mail etc. All is good on my phone however when i install icloud on the PC all seems fine untill go to sync the contacts, calendars and tasks with Outlook ....it says the icloud controll

  • Measure scan frequency using 2 e-series boards and an external clock.

    I am setting up a data acquisition system in which the user has the ability to select between multiple sources for the scan frequency. The user can choose either hardware based and select the scan frequency or an external source, in this case, an enc

  • Problems using home sharing....

    Hey guys, I have home sharing activated on my iMac, and use it to share to my iPads and macbook pro.... my question is:  I have setup my iMac not to turn off (Only the screen) and I leave iTunes running..... but sometimes when i try to use home shari

  • Safari won't open properly after Lion update.

    After updating to Lion, Safari will not load any pages. It begins to load a page and goes into an endless loop. No crash, so I can't generate any crash report. I don't see a way to reinstall Safari. How can I get it working again?

  • E531 Will Not Boot - Cannot Access BIOS.

    Hi everyone, I'm running out of ideas here and I'm really hoping that someone out there can help me. I have a ThinkPad E531 which I cannot get to boot into Windows, or even into the BIOS. The screen just goes blank (but it's still on) and then hangs