OAF:Unable to bound a viewobject attribute in child VO using a viewlink

Hi
I am using the following piece of code to bound the viewobject attribute to prompt in my inner table.
OADataBoundValueViewObject promptBV =
new OADataBoundValueViewObject(colHeaderBean,"Counter1","MRStatusLastAccVO1");
While the above piece of code works for all the viewobjects attributes, it is not working if I use an attribute of inner Viewobject(i.e the VO which is linked by viewlink with the outer VO). This is done in processRequest()
In processFormRequest(), I am overriding the values in the inner VO by querying it from another VO(if show event happens). All the overridden values are shown on the UI correctly.
However if I use the same view attribute which is shown on the UI correctly, to bound with the prompt , the prompt is shown as blank.
I have 2 inner VOs. For both of them bounding of view attribute doesn't work, while it works for all other VOs
Can you please tell what must be the reason for this? Is it because they are linked by view link to outer VO?
Thanks
Abhinav.

Hi Raj,
We have 4 buttons on page Search Clear, ADD_ANOTHER_ROW  and SAVE
I have already posted code for all 3 buttons.
Sample code written for Search button click,
Sample code written for ADD NEW ROW button click,
Sample code written for Save button click,
What i missed out it code for CLEAR button, its a single line of code on that button,
    pageContext.forwardImmediatelyToCurrentPage(null,false,null);
This is how the page code which makes a call to individual functions above,
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    PlannerapprAMImpl am = (PlannerapprAMImpl)pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("Go")!=null)
    am.Manualsearch(pageContext);
    if (pageContext.isLovEvent())  
      String lovInputSourceId = pageContext.getLovInputSourceId(); 
    if (pageContext.getParameter("Clear")!=null)
    pageContext.forwardImmediatelyToCurrentPage(null,false,null);
     if(pageContext.getParameter("Save")!=null)
      am.save(pageContext);   
    if(ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
        am.frCreateRow();

Similar Messages

  • Unable to clear Qmtsrv.dll attributes

    Dear All,
    We are having an issue while installing communication station.here the deatils go..
    Background:
    We are in the process of Installing the Communication Station SP6. We are following SAP Communication Installation Manual from CD.
    Components:
    OS: 2003 Enterprise Edition
                CRM: 4.0 SP10
    Issues:
                We have installed Microsoft Visual Studio Runtime Environment, Microsoft .Net Frame work and SAP Gateway as per manual. When we try installing communication station we got the error message at the end of installation say that “Unable to clear Qmtsrv.dll attributes”.
    Appreciate your response

    hi,
    we have the same problem here.
    CRM 4.0 and the Errormessage "Unable to clear Qmtsrv.dll attributes" while installing Communication Station 4.0 SP6.
    The default Authentication Level is on "none" and the Default Impersonate Lebel is on "Identify".
    We stopped all instances of our SAP System before starting the installation.
    It´s running on Windows Server 2003 64-bit.
    .NET and Visual Runtime is already installed.
    I hope you can help us with this issue.

  • Error deploying EJB on weblogic: Unable to set the transaction attribute

    Hi,
    I'm trying to deploy an application in WL10.3.2 and an error occurred during activation of changes.
    Here is the error message from the log file:
    <Jun 6, 2011 1:28:27 PM MDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'serverEAR-2' due to error weblogic.application.ModuleException: Exception preparing module: EJBModule(serverEJB-2.8.0.jar)
    Unable to deploy EJB: C:\oracle\Middleware\user_projects\domains\base_domain\servers\Server_3\tmp\_WL_user\serverEAR-2\1zw7ao\serverEJB-2.8.0.jar from serverEJB-2.8.0.jar:
    Unable to set the transaction attribute for method 'saveActionGroup(EditableActionGroup)' on EJB 'ViewBean'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your Remote interface for this EJB.
    weblogic.application.ModuleException: Exception preparing module: EJBModule(serverEJB-2.8.0.jar)
    Unable to deploy EJB: C:\oracle\Middleware\user_projects\domains\base_domain\servers\Server_3\tmp\_WL_user\serverEAR-2\1zw7ao\serverEJB-2.8.0.jar from serverEJB-2.8.0.jar:
    Unable to set the transaction attribute for method 'saveActionGroup(EditableActionGroup)' on EJB 'ViewBean'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your Remote interface for this EJB.
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:454)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.ejb.container.deployer.DeploymentDescriptorException: Unable to set the transaction attribute for method 'saveActionGroup(EditableActionGroup)' on EJB 'ViewBean'. No matching method could be found. Please verify the method signature specified in the ejb-jar.xml file matches that of your Remote interface for this EJB.
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.processCTs(MBeanDeploymentInfoImpl.java:1502)
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.processSpecificMethodCTs(MBeanDeploymentInfoImpl.java:1472)
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.initializeTransactionAttribute(MBeanDeploymentInfoImpl.java:773)
         at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:259)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1190)
         Truncated. see log file for complete stacktrace
    Please help me...Thanks.

    In your ejb-jar.xml you are referring to a method saveActionGroup(EditableActionGroup) which is not defined in your remote interface.
    Maybe you have made some typo in the configuration. Check your transaction section, i.e.,
    <container-transaction>
                <method>
                    <ejb-name>ViewBean</ejb-name>
                    <method-name>saveActionGroup</method-name>
                    <method-params>
                        <method-param>package.EditableActionGroup</method-param>
                    </method-params>
                </method>
                <trans-attribute>Required</trans-attribute>
    </container-transaction>or something similar. See if the defined methods are corresponding to the methods defined in the remote interface.

  • Check Mandatory Fields when state is bound with context attribute

    Hello All,
    Currently i am facing  problem in my SAP SRM 7.0 standard component.
    Actually, i have to remove  mandatory(State = Required) for one of my inputfileds for this I have written below code, but it has been  remove only Red mark * infront of Inputfield, after that, i am trying to save other data, still it is asking me enter the required value.
         here my input field  bound with Context attribute, it is standard attribute.
    data:lo_input1 type ref to cl_wd_input_field.
       lo_input1 ?= VIEW->get_element( 'NAME_FIRST' ).
       lo_input1->set_state( '00' ).
    I am trying to delete state = required property from below component and view
    Component Name : /SAPSRM/WDC_MOFC_PERSON
           View  :  V_PERSON
    Can you help me on this?
    Thanks
    Sandeep.

    Hi Baskaran ,
    Thanks for ur reply ..
    Eveen in that component they have not used cl_wd_dynamic_tool class for mandatory attributes
    I want to share another thing with u that is
    I am trying it in another way
    with the following code which i have done in post exit  is
    let me explain u what i did
    __first of all i got the child node of rootuielementcontaine
    later
    i get the childnode of container_left and assigned it to another class of ref cl_wd_uielemnent
    now where i have struked is
    *CALL METHOD LR_CHILD2->GET_CHILD
    EXPORTING
       ID        = 'FORM_OF_ADDRESS_DROPDOWN'
       INDEX     =
    RECEIVING
       THE_CHILD = LR_C1.
    what the error i am getting is
    OBJECTS_OBJREF_NOT_ASSIGNED
    Please correct me if there is any wrong inn the code ...
    FORM_OF_ADDRESS_DROPDOWN--->ui element dropdown
    r__ DATA lr_container TYPE REF TO cl_wd_uielement_container.
    DATA lt_children  TYPE        cl_wd_uielement=>tt_uielement.
    DATA lr_view      TYPE REF TO if_wd_view.
    DATA lr_child     TYPE REF TO cl_wd_uielement.
       DATA lr_child1     TYPE REF TO cl_wd_uielement.
       DATA lr_child2     TYPE REF TO cl_wd_uielement.
    data : LR_CON1 TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
    data : LR_CON2 TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
    SANDEEP
    lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
    lt_children = lr_container->get_children( ).
    CALL METHOD lr_container->get_child
       EXPORTING
         id        = 'DATACONTAINER'
         index     = 1
       RECEIVING
         the_child = lr_CHILD.
    LR_CON1 ?= LR_CHILD.
    CALL METHOD LR_CON1->GET_CHILD
      EXPORTING
        ID        = 'CONTAINER_LEFT'
        INDEX     = 1
      RECEIVING
        THE_CHILD = LR_CHILD1 .
    DATA : LR_CHILD2 TYPE REF TO CL_WD_TRANSPARENT_CONTAINER.
    LR_CHILD2 ?= LR_CHILD1 .
    *DATA : LR_C1 TYPE REF TO CL_WD_UIELEMENT.
    *CALL METHOD LR_CHILD2->GET_CHILD
    EXPORTING
       ID        = 'FORM_OF_ADDRESS_DROPDOWN'
       INDEX     =
    RECEIVING
       THE_CHILD = LR_C1.
    *DATA : LR_DD TYPE REF TO CL_WD_DROPDOWN_BY_KEY .
    *LR_DD ?= LR_C1 .
    *CALL METHOD LR_DD->SET_STATE
    EXPORTING
       VALUE  = '00'
    sandeep

  • ViewObject attribute as group tabname

    Hi all. I'm still learning JHeadStart and need to use values from ViewObject attributes as group tabnames. Is this possible and if so, where can i find an example. thanks

    Hi,
    I haven't tried this but it should be possible. You are not going to be able to tell JHS to generate it this way, you'll have to do this afterwards. But, you can continue to generate you'll just want to set a property in the App Structure file so that you don't regenerate your tab bar.
    First, get your tab bar the way you want it by using JHS. After you have done that, go into the App Structure file and uncheck "Generage TabBar?". That way your changes won't be lost. Next, open the generated tab bar page which is generally named BlahTabBar and located in the same directory as the other pages generated by JHS. Finally, replace the tab text with an EL expression for the attribute you are wanting to display (i.e. <link text="${EL Expression}" destination="wherever.do">).
    Like I said I haven't tried this. If you try it please let me know if it worked or not.
    Thanks.

  • ViewObject attribute is null; ViewUsageName: (DetailGuestAttendeesVO);

    Hi
    I have added a new LOV created in JDEV to existing seeded page. This new LOV(BioPrescribersVO) is in new AM(TestAM). But the page has an underlaying seeded View Object DetailGuestAttendeesVO. I get this error when click on the torch light and select the values in the LOV window.
    I get this error 4 times as 4 rows are in this Advanced Table region.
    ViewObject attribute is null; ViewUsageName: (DetailGuestAttendeesVO); RegionItem: (item1)
    ViewObject attribute is null; ViewUsageName: (DetailGuestAttendeesVO); RegionItem: (item1)
    ViewObject attribute is null; ViewUsageName: (DetailGuestAttendeesVO); RegionItem: (item1)
    ViewObject attribute is null; ViewUsageName: (DetailGuestAttendeesVO); RegionItem: (item1)
    Please help
    Thanks

    This is the layout in my page. Please let me know if this correct. Thanks
    - Stack Layout: (BioStk)                        Yes
       -- Message Lov Input: Item1            Yes
          --- lovMappings
              ---Lov Map: (BioStk.lovMap1)
              ---Lov Map: (BioStk.lovMap2)
          --- lovContents
             ---List Of Values: (BioStk.region1) Yes 
                ---Table: Bio Table Yes
                   ---Message Styled Text: Last_Name Yes
                   ---Message Styled Text: First_Name Yes
                   ---Message Styled Text: Address Yes
    This is the LOV region details in JDEV
    --Region Style:Stack Layout
      Scope: Pubclic
      AM Def: bio.oracle.apps.ap.oie.lov.server.TestAM
      Stand Alone: True
      ----ID: Item1
          Item Style:Message LOV Input 
          Seatch Allowed:True
          View Instance: DetailGuestAttendeesVO
          View Attribute: Name
          Prompt: Item1
          ---LOV Mappings
             --lovMap1
               LOV Region Item: Last_Name
               Return Item: Item1
               Criteria Item: Item1 
             --lovMap2
               LOV Region Item: First_Name
               Return Item: Item1
               Criteria Item: Item1 
          --ID:Region1
            --Region Style:listOfValues
              AM Def:bio.oracle.apps.ap.oie.lov.server.TestAM
              Advanced Search Allowed:False
              ---ID:Bio Table
                 ----Region Style:Table
                     AM Def:bio.oracle.apps.ap.oie.lov.server.TestAM
                     Stand Alone:True
                      ---ID:Last_Name
                         Item Style:Message Styled Text
                         View Instance:BioPrescribersVO
                         View Attribute: X_Last_Name
                          Prompt: Last_Name
                      ---ID:First_Name
                         Item Style:Message Styled Text
                         View Instance:BioPrescribersVO
                         View Attribute: X_Fst_Name
                          Prompt: First_Name
                      ---ID:PR_PER_ADDR_ID
                         Item Style:Message Styled Text
                         View Instance:BioPrescribersVO
                         View Attribute: PR_PER_ADDR_ID
                          Prompt: PR_PER_ADDR_ID

  • Additional ViewObject attribute

    Hi,
    I opened my friend's application which include a view controller and model, in his created ViewObjects, he can see Object, Array etc as attribute type of ViewObject attribute but if i created a new application, and a ViewObject. If i want to create for example, productName attribute in the viewObject, i can only see some basic attribute types for it (Boolean, String etc). I tried to copy all the libraries he has in his Model project to my newly created model project, still cannot see those additional attribute.
    Anyone has any idea on where do those attributes come from?

    hi,
    I have valid db connection
    Im talking about attribute type. I dont have : object, array, ordImageDomain, ordVideoDomain, REF, Character etc. Im much more interested in Object and Array attribute type but i only have the basic types. All i have is BigDecimal, Blob, Boolean, Clob, Date, Float, Integer, Long, String, Time, TimeStamp

  • Incompatible ViewLink source and destinati viewobject attributes

    I have a ViewLink. The source viewobject attribute is a DBSequence and the destination viewobject attribute is a Number.
    Now, as i have experienced, when i create a new row for the destination viewobject, ADF throws the exception bundles similar to these:
    JBO-29000 Unexpected Exception
    JBO-25017 RowCreateException
    Oracle.jbo.domain.NumberUpon inspection what generates this message is that the source and destination attributes are incompatible, DBSequence->Number.
    Now, is there anyway I can go around this error?
    One way i thought of was to just change the destination attribute to DBSequence of the EntityObject, but I have already lots of ViewObjects depending on it. So the wizard would not allow me to change the attributes from Number->DBSequence just like that.

    Ok I noticed that this error occurs when my source viewobject is a read-only viewobject, from an Sql statement, not based on entity objects.
    This happens when I use the following code:
           //viewLink attributes = source.Id (DBSequence primary key) ; = dest.Id(Number, foreign key)
            ViewLink viewLink =  getTheViewLink();
            ViewObject source  = viewLink.getSource();
            ViewObject dest = viewLink.getDestination();
            Row newRow  = dest.createRow(); //exception thrown here.
            ...When

  • Unable to install Adobe CS5 64 bit package created using Adobe Application Manager on Windows 7 64

    I am unable to install Adobe CS5 64 bit package created using Adobe Application Manager on Windows 7 64 bit.Basically installation rollback on Win 7 64 bit image.
    MSI Log File :-
    Property(S): ProductToBeRegistered = 1
    MSI (s) (5C:D4) [17:59:21:784]: Note: 1: 1708
    MSI (s) (5C:D4) [17:59:21:784]: Product: Adobe_CreativieSuite_5_MNT -- Installation operation failed.
    MSI (s) (5C:D4) [17:59:21:784]: Windows Installer installed the product. Product Name: Adobe_CreativieSuite_5_MNT. Product Version: 1.2.0000. Product Language: 1033. Manufacturer: Adobe Systems Incorporated. Installation success or error status: 1603.
    Please let me how to install 64 bit package on Win7 64 bit.
    Thanks in Advance.

    Ok so I downloaded the most current installer CS5.1, My previous installer was version 5.0. It did install fine fully updated to my license version. I just wanted to update in case anyone in the future has a similiar experience. Too bad this advice was not offered by the "experts" here.

  • HT3529 I can't set up my imessage or facetime with my email because it says "Unable to verify email because it is already in use" which it was with my old ipod but how do i reset it or whatever so that it works with my current ipod?

    I can't set up my imessage or facetime with my email because it says "Unable to  verify email because it is already in use" which it was with my old ipod but how do i reset it or whatever so that it works with my current ipod?

    Try here:
    iOS: FaceTime is 'Unable to verify email because it is in use'

  • When trying to launch facetime on mac, a message drops down that says "unable to verify email because it is already in use by another Apple ID". The mac tech things it's an itunes problem. Anybody?

    when trying to launch facetime on mac, a message drops down that says "unable to verify email because it is already in use by another Apple ID". The mac tech things it's an itunes problem. Anybody?

    You need to select the "Manage My Account" link and not the "Reset Your Password" link.  Once you use the "Manage My Account" it will ask you to log in and in there you should see which email addresses are verified.
    Manage My Account Direct Link:  https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/31/wa/directToSignIn? wosid=UqdNjJEj36wU900BTj4Hw0&localang=en_US
    I'm thinking this may help as well.  http://www.cultofmac.com/100524/imessage-supports-multiple-addresses-and-selecta ble-caller-id/
    Which is what I'm trying to do with my iPad and iPhone.  

  • Unable to open in pdf files in ipad 3 using adobe reader 10.2 but able to do so in ipad 2 using adob

    Unable to open in pdf files in ipad 3 using adobe reader 10.2 but able to do so in ipad 2 using  adobe reader x 10.1 .

    Can you please share the file you are trying to open with us at [email protected]? Also, can you please confirm that you've updated the Adobe Reader on your iPad 3 to the latest version using iTunes or the AppStore app?

  • How to get the naming attribute of an LDAP using JNDI.?

    Hi,
    How do we fetch the naming attribute of a LDAP using JNDI. Is this possible using JNDI..?
    By default, every LDAP has been set with a naming attribute such as 'uid' or 'cn'. This could be changed according to business needs.
    How to determine this using JNDI.
    Regards,
    Barani

    Are you trying to call the portlet Customization form directly from the browser?

  • TS3510 I only have one apple ID and facetime has worked with it before, but now I get the message "Unable to verify email because it is already in use". I have looked ofr a solution but can't find one. can anyone help please?

    I only have one apple ID and facetime has worked with it before, but now I get the message "Unable to verify email because it is already in use". I have looked ofr a solution but can't find one. can anyone help please?

    I spoke with Apple Support this morning and they believe anything MobileMe related is due to the conversion over to iCloud that's taking place.
    As for other email clients, check with your host to see if settings have changed on their end. I use inmotionhosting.com and over the weekend the updated their outgoing requirements so that a password authentication is now needed.
    Hope that helps get some on the right path to resolving their issues!

  • I can't log into iMessage; I get the message "Unable to verify email because it is already in use".

    I have iOS5 installed on my iPad and iPhone. I can't log into iMessage on my iPad as I get the message "Unable to verify email because it is already in use". Can anyone help me solve this?

    I've found the answer to this (at least for me)!
    The problem is I have 2 AppleIDs. One from before MobileMe which I use to make iTunes purchases (which is linked to my @me.com email) and the second is my MobileMe email address used for MobileMe syncing.
    Each AppleID has to be linked to a separate email address. Because my iTunes Apple ID is linked and verified to my @me.com address. My @me.com AppleID address can't be verified.....quite confusing at first but starts to make sense once you get your head around it!
    See this thread for futher explanation: https://discussions.apple.com/message/16414211#16414211

Maybe you are looking for