Help w/ ADF UIX event parameters

Is there any way to add a parameter when firing an event like this:
==========code=============
<link text=" Accounts "
destination="${ctrl:eventUrl(uix,'changePage')}"/>
===========================
Bellow is how I used to fire events using a link but since the production release of 10g that doesn't work anymore. Destination is now required and when specified the <fireAction> content is ignored and when it's not specified, the link is dead (not clickable)
==========code=============
<link text=" Section1 " destination="">
<primaryClientAction>
<fireAction event="changePage" formSubmitted="false"
unvalidated="true">
<parameters>
<parameter key="destPage" value="Section1Page"/>
</parameters>
</fireAction>
</primaryClientAction>
</link>
===========================

Hi -
Is there any way to add a parameter when firing an
event like this:
==========code=============
<link text=" Accounts "
destination="${ctrl:eventUrl(uix,'changePage')}"/>
===========================I don't think we have a EL function which specifically deals with query parameters, but in a pinch you could do something along the lines of:
destination="${ui:concat(ctrl:eventUrl(uix,'changePage'), '&amp;amp;destPage=Section1Page')}"/
Bellow is how I used to fire events using a link
but since the production release of 10g that doesn't
work anymore. Destination is now required and when
specified the <fireAction> content is ignored and
when it's not specified, the link is dead (not
clickable)
==========code=============
<link text=" Section1 " destination="">
<primaryClientAction>
<fireAction event="changePage"
formSubmitted="false"
unvalidated="true">
<parameters>
<parameter key="destPage" value="Section1Page"/>
</parameters>
</fireAction>
</primaryClientAction>
</link>
===========================
I was able to verify that there is a regression in fireAction behavior. A simple fireAction like this:
<link text="Test">
  <primaryClientAction>
    <fireAction event="changePage" formSubmitted="false"/>
  </primaryClientAction>
</link>...no longer works unless a destination is specified. The same ClientAction works just fine if formSubmitted="true". I have logged a bug against UIX to track this issue. In the meantime, it seems like you could specify the empty string as your destination - in which case I believe that the event will be delivered back to the same page. Or, if you need to explicitly specify a page, perhaps you could use a combination of ctrl:pageUrl() and fireAction, eg:
<link text=" Section1 "
      destination="${ctrl:pageUrl(uix,'testPage')}">">
  <primaryClientAction>
    <fireAction event="changePage" formSubmitted="false" unvalidated="true">
      <parameters>
        <parameter key="destPage" value="Section1Page"/>
      </parameters>
    </fireAction>
  </primaryClientAction>
</link>Andy

Similar Messages

  • [UIX / Event] Parameters on event

    Is it possible to put paramater in event ?
    I trigger an event on the load of my page by puting this :
    <event name="*">
    <method class="view.Auser" method="ensCheckUserDroit"/>
    </event>
    the fact is that i want to put some parameters on that event.
    I already try this on my bean : event.getParameterNames() but it is totally empty.
    I can't put parameters on form because of the event name="*".
    Can you help me ? is it possible to put parameters ?
    Thanks for your help
    Use : JDev 10.1.2 UIX 2.2.16

    sorry to reply to my own thread but i need a clue to move on.

  • Help please  ... adf uix deployment

    dear sirs...
    sorry for posting this many types, but can any one identify the problem please,
    given the following information:
    1-the application server is oracle application server 10g 9.0.4.0 i guess.
    2- jdeveloper is 10g 10.1.2.1.0
    3-the application is adf uix
    4-the application server is updated through jdeveloper
    5-the application uses intermedia
    6-the datasource is defiened correctly
    when i deploy the application on the AS i get the following stack.
    500 Internal Server Error
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an application module due to the following exception:
    JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an application module due to the following exception:
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:2457)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:2416)
    at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:1429)
    at oracle.adf.model.bc4j.DCJboDataControl.setApplicationModule(DCJboDataControl.java:200)
    at oracle.adf.model.bc4j.DCJboDataControl.(DCJboDataControl.java:171)
    at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:90)
    at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:81)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:256)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:63)
    at oracle.adf.model.BindingContext.get(BindingContext.java:411)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
    at oracle.adf.model.binding.DCIteratorBinding.(DCIteratorBinding.java:127)
    at oracle.jbo.uicli.binding.JUIteratorBinding.(JUIteratorBinding.java:59)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)
    at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)
    at oracle.adf.model.BindingContext.get(BindingContext.java:427)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
    at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)
    at oracle.adf.model.binding.DCUtil.initializeBindingContainer(DCUtil.java:505)
    at oracle.cabo.adf.rt.InitModelListener.getBindingContainer(InitModelListener.java:595)
    at oracle.cabo.adf.rt.InitModelListener._initBindingContainer(InitModelListener.java:564)
    at oracle.cabo.adf.rt.InitModelListener._doModelUpdate(InitModelListener.java:98)
    at oracle.cabo.adf.rt.InitModelListener.eventStarted(InitModelListener.java:57)
    at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source)
    at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:541)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1859)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:2457)
    at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:2416)
    at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:1429)
    at oracle.adf.model.bc4j.DCJboDataControl.setApplicationModule(DCJboDataControl.java:200)
    at oracle.adf.model.bc4j.DCJboDataControl.(DCJboDataControl.java:171)
    at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:90)
    at oracle.jbo.uicli.binding.JUApplication.(JUApplication.java:81)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:256)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:63)
    at oracle.adf.model.BindingContext.get(BindingContext.java:411)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
    at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
    at oracle.adf.model.binding.DCIteratorBinding.(DCIteratorBinding.java:127)
    at oracle.jbo.uicli.binding.JUIteratorBinding.(JUIteratorBinding.java:59)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)
    at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)
    at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)
    at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)
    at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)
    at oracle.adf.model.BindingContext.get(BindingContext.java:427)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)

    Hi Anubha,
    This error is reported from the model layer and not from UIX layer. If you would like to see more repsonse on this, it would be better if you can change the subject and post a new message with subject like - "Exception encountered from ADFm layer with deployed application." You may get more reponse.
    Thanks,
    Vijay Venkataraman

  • ADF UIX Partial page rendering

    Hi
    I am facing a mysterious problem with partial page rendering in ADF UIX.
    My page contains a <header> H1 and inside this there are two headers(H2 and H3).
    The partial page rendering is in the header H2 and is working fine.
    When i remove the below header H3 the partial page rendering ceases to work and get stuck.
    Pasting the full code below. Please suggest.
    <?xml version="1.0" encoding="windows-1252"?>
    <!-- $Header: registration.uix 115.4.51.4 2009/12/14 13:10:05 kcthirum noship $ -->
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:myTemplate="http://xmlns.oracle.com/xhub"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:data="http://xmlns.oracle.com/cabo/marlin" expressionLanguage="el">
    <!--This UIX page is used as a tutorial page for new developers, which is why it has a lot of comments-->
    <!--This section describes the ApplicationModule used by this page, and any View Objects that are used to display UI components or are used in any of the event handlers-->
    <bc4j:registryDef>
    <!-- XhubRegAM is the application module used by the entire Registration flow. defFullName is just the class. configName is the Configuration, which always has the pattern <AM name>Local -->
    <bc4j:rootAppModuleDef name="XhubRegAM"
    defFullName="oracle.apps.snw.tpadmin.server.XhubRegAM"
    configName="XhubRegAMLocal" releaseMode="stateful">
    <bc4j:viewObjectDef name="TpProfilesRegVO" rangeSize="1" autoCreate="false"/>
    <bc4j:viewObjectDef name="UsersRegVO" rangeSize="1" autoCreate="false"/>
    <!--IdentifierDomainsView drives the dropdown list of Identifier Types-->
    <bc4j:viewObjectDef name="IdentifierDomainsView" rangeSize="20"/>
    <!--XhubTerritoriesTlView drives the dropdown list of Countries-->
    <bc4j:viewObjectDef name="XhubTerritoriesTlView" rangeSize="300"/>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <!--We import the template file xhub.uit, which has code to display the tabs, subtabs, global buttons, etc., appropriately-->
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="xhubtpadmin.uit"/>
    </templates>
    <content>
    <!--in this section we define all of the methods and ResourceBundle classes that we want to reference as data sources in our page-->
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!--We use the TextProvider class to display ANY text to the user. All text is controlled in the database and cached on the middle tier. This allows for translation and for customization of text-->
    <data name="textSource">
    <bundle class="oracle.apps.snw.uicommon.TextProvider"/>
    </data>
    <!--This method provides information about the hub-->
    <data name="adminInfo">
    <method class="oracle.apps.snw.tpadmin.webui.AdminInfo"
    method="getAdminInfo"/>
    </data>
    </provider>
    <contents>
    <document>
    <!--This section defines the html metadata, usually just the page title-->
    <metaContainer>
    <head title="${textSource.REGISTRATION}"/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <!--This next tag indicates that everything inside of it should be encapsulated in the "rootChild" node of the template page-->
    <myTemplate:xhubTpAdminPageLayout selectedTab="1">
    <contents>
    <!-- this will contain any validation errors after form submission -->
    <messageBox automatic="true"/>
    <!--The form tag is necessary for any kind of form handling. This particular form performs some javascript validation before submitting-->
    <form name="reg" method="POST">
    <contents>
    <!--The javascript that is executed on form submission-->
    <!-- we cannot implicitly determine that events will be triggered because submit buttons are outside the form scope, so add the placeholder explicitly -->
    <formParameter name="event"/>
    <!-- define the bc4j scope of all child elements-->
    <bc4j:rootAppModuleScope name="XhubRegAM">
    <contents>
    <!-- a top-level header -->
    <header text="${textSource.REGISTRATION}">
    <contents>
    <!-- always used OraInstructionText, not <tip>, for explanation messages-->
    <styledText styleClass="OraInstructionText"
    text="${textSource.REG_PAGE_EXPLAIN}"/>
    <!-- a second-level header -->
    <header text="${textSource.REG_COMPANY_INFO}">
    <contents>
    <stackLayout>
    <contents>
    <!-- the labeledFieldLayout is the correct layout for vertically-stacked labeled fields-->
    <labeledFieldLayout id="TpPartialDetails" width="80%"
    labelWidth="40%">
    <contents>
    <messageChoice name="OracleAppsCustFlag"
    prompt="Oracle Apps Customer"
    required="yes" statePreserved="true"
    selectedValue="${ui:defaulting(uix.pageProp.OracleAppsCustFlag, 'select')}">
    <primaryClientAction>
    <firePartialAction event="buyorsup"
    targets="TpPartialDetails"
    formSubmitted="true"
    unvalidated="true"/>
    </primaryClientAction>
    <contents>
    <option text="-select-" value=""/>
    <option text="${textSource.YES}" value="Y"/>
    <option text="${textSource.NO}" value="N"/>
    </contents>
    </messageChoice>
    <messageTextInput prompt="${textSource.ORACLE_CSI_Q}"
    name="OracleCsi"
    text="${uix.pageProp.OracleCsi}"
    rendered="${ui:defaulting(uix.pageProp.OracleCsiRender, 'false')}"/>
    <messageTextInput prompt="${textSource.YOUR_TP_NAME}"
    name="TpName"
    tip="${textSource.YOUR_TP_NAME_TIP}"
    required="no"
    text="${uix.pageProp.TpName}"
    rendered="${ui:defaulting(uix.pageProp.TradeswithTPRender, 'false')}"/>
    <messageTextInput prompt="${textSource.YOUR_TP_ALIAS}"
    name="TpAlias"
    tip="${textSource.YOUR_TP_ALIAS_TIP}"
    required="no"
    text="${uix.pageProp.TpAlias}"
    rendered="${ui:defaulting(uix.pageProp.TradeswithTPAliasRender, 'false')}"/>
    </contents>
    </labeledFieldLayout>
    </contents>
    </stackLayout>
    </contents>
    </header>
    <!--level-2 header-->
    <header text="${textSource.TP_DEFAULT_CONTACT_INFO}">
    <contents>
    <labeledFieldLayout width="80%" labelWidth="40%">
    <contents>
    <!--all of these fields default to the corresponding ctrl:page value if the user has entered a value. These values are set up in the register() handler-->
    <messageTextInput prompt="${textSource.PASSWORD_PROMPT}"
    name="Password" id="Password"
    required="yes" secret="true"
    maximumLength="32"
    text="${uix.pageProp.Password}"/>
    <messageTextInput prompt="${textSource.PASSWORD_CONFIRM_PROMPT}"
    name="PasswordConfirm"
    id="PasswordConfirm" required="yes"
    secret="true" maximumLength="32"
    text="${uix.pageProp.PasswordConfirm}"/>
    </contents>
    </labeledFieldLayout>
    </contents>
    </header>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    <spacer height="10"/>
    <!--message indicating how we indicate required fields-->
    <inlineMessage required="yes"
    prompt="${textSource.REQUIRED_FIELD}"/>
    </contents>
    </form>
    </contents>
    <!--the contents of this tag will appear below the page-->
    </myTemplate:xhubTpAdminPageLayout>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <!--event handlers-->
    <handlers>
    <!--This event is called by pressing the submit button-->
    <event name="continue">
    <bc4j:findRootAppModule name="XhubRegAM">
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="register"/>
    </bc4j:findRootAppModule>
    </event>
    <!--This event is called by pressing the Cancel button-->
    <event name="cancel">
    <!-- finding the ApplicationModule causes it to be checked out from the ApplicationPool. It is released after rendering completes. -->
    <bc4j:findRootAppModule name="XhubRegAM">
    <!-- rollback the current transaction -->
    <bc4j:rollback/>
    <!-- forward to the summary page -->
    <go name="main"/>
    </bc4j:findRootAppModule>
    </event>
    <!--the * event is called whenever the page is accessed and no other event is called-->
    <event name="buyorsup">
    <bc4j:findRootAppModule name="XhubRegAM">
    <!--This method sets the context of the page, namely the scope of the country dropdown view object-->
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="isBuyerorSupplier"/>
    </bc4j:findRootAppModule>
    </event>
    <event name="*">
    <bc4j:findRootAppModule name="XhubRegAM">
    <!--This method sets the context of the page, namely the scope of the country dropdown view object-->
    <method class="oracle.apps.snw.tpadmin.webui.RegistrationHandlers"
    method="setContext"/>
    </bc4j:findRootAppModule>
    </event>
    </handlers>
    </page>
    Please suggest if you know of any documentation on ADF UIX partial page rendering.
    ADF UIX has very little documentation online and finding it hard to debug this issue.
    It ll be of great help.
    Thanks
    Kamal

    Hi Jason,
    As of EA9, all rendered components support a partialTriggers attribute. This attribute takes a list of master component IDs. If any of the master components are updated via a partial event, the dependent component will be rerendered in the partial update.
    If you are on an earlier release, you should upgrade.
    Thanks,
    Jeanne

  • ADF UIX Forward on Successful Update

    I am working through the tutorial at:
    http://otn.oracle.com/obe/obe9051jdev/uixTutorial/lesson_UIX.htm
    I have complete the tutorial, and the way it works now there is a browse page which lists rows from the database. You can select a row and press modify, or click on new to create a new one. Both buttons take you to a modify page.
    The modify page posts back to itself. After I insert / update a record I am taken back to the modify page. Is there some way to have it forward the user back to the browse page if the insert / modification as successful and only go back to the modify page if there was a validation error?
    Nick

    you should create and event for your "Submit" button
    placed on create/modify page, the event refers to
    DataAction which must return you to browse page. Read
    the tutorial more careful.Hi, I went back through the tutorial and I don't see anything I missed. I'm new to ADF / UIX / Struts and am not sure how to even handle this or where to look.
    I want the modify form (formEmp.uix) to redisplay the form input if there was an error inserting into the database (which it does do now), and forward the user back to the browse page (browseDeptEmp.uix) if the insert / update was successful.
    If I did miss something in the tutorial please point me to the right section but looking back through I didn't spot anything.
    Thanks for your help,
    Nick

  • ADF/UIX - How NOT to loose currentRow? Iterator issue?

    Hi All,
    I'm having a bit of a problem in keeping maintaining the state of a couple of views across pages; I'm hoping I'm just doing this wrong and someone can point me in the right direction.
    Environment: ADF/UIX
    1) From the first page the views (used in dropdowns) are manipulated and the current row set appropriately (I traced the app module and rows are indeed pointing where they should)
    2) In an event handler <go name="Page2"/> is executed
    3) Page2 references the views from the datacontrol used in Page1 (note that identical bindings are used) but the current row is lost. Tracing through the app module confirms that the current row is set to the first row.
    Q1) Is there a way to keep iterators from being reset?
    if not...
    Q2) If not, is there a method on the AppModule on Views that can be overloaded to set the current row BEFORE the page displays?
    Thanks in advance!
    /SFL

    Thanks for the prompt reply Gabrielle!
    I did a bit more testing and in fact it's one view which was causing the problem. A new row is created (and commited) for this view through the AppModule like this:
    ViewXRowImpl row = vo.createRow();
    row.setX( "...");
    row.setY( "...");
    vo.insertRow(row);
    vo.setCurrentRow(row);
    try{
       this.getTransaction().commit();
      }catch(Exception e)
        e.printStackTrace();
      }I hadn't realized that the iterator would get reset after a commit. Fetching the key before the commit and doing a findbykey afterwards solved the problem.
    I think I'll implement a base view class that uses beforeCommit and afterCommit to set the iterator back to the desired location. I'm a bit surprised that it isn't the default behaviour though...
    Thanks again for the help!

  • ADF UIX: LOV searchText contains wrong value (maybe it is a bug)

    I'm developing a WEB-application using ADF UIX.
    I'm using JDeveloper 9.0.5.2 build 1618.
    I've created a form with a messageLovInput field.
    If I type e.g. Veszprém into the input field the content of the searchText parameter seems wrong. The URL is http://bela:8988/szszr/_ui.uix?_t=fred&enc=UTF-8&_minWidth=750&_minHeight=550&configName=BaseUIPBCfg1&contextURI=/szszr&redirect=/szszr/telepulesekLOV.do&source=levCimTelepules&searchText=Veszpr%C3%A9m&event=lovFilter
    And the value of the searchText string in the lovFilter event is
    [0] 'V' 86
    [1] 'e' 101
    [2] 's' 115
    [3] 'z' 122
    [4] 'p' 112
    [5] 'r' 114
    [6] ' ' 65533
    The interesting thing is that the final letter (m) is missing from the string!
    If I write Veszprém into the search field of the listOfValue and I press the Go button I get the right value in searchText.
    The web.xml contains the following part:
    <filter>
    <filter-name>ADFBindingFilter</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    <init-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    <!--param-value>windows-1250</param-value-->
    </init-param>
    </filter>
    The encoding of the UIX pages is windows-1250.
    Any help is appreciated,
    Gábor

    repost

  • [ADF UIX] LOVs, what does the "dot" path expression do?

    Hi
    In developing an ADF UIX web page, I've let JDeveloper create a messageLovInput on the "ExternalSource" field for me as follows:
    <messageLovInput
    model="${bindings.ExternalSource}"
    id="${bindings.ExternalSource.path}"
    destination="refCodesExternalSourceLevelOneLov.uix"
    partialRenderMode="multiple"
    partialTargets="_uixState"/>
    You'll notice that the id is set to blah-de-blah ".path". I can't find mention in the documentation of what the .path does. I think it should be documented in the section "About the Properties of the ADF Bindings" but has been excluded.
    Does anybody have any idea what this binding value provides? And specifically what functionality it provides in the id as a apart of a messageLovInput?
    Thanks!
    CM.

    Or to be more specific, the messageLovInput supplying the following ID with ".path":
    <messageLovInput
    model="${bindings.DepartmentId}"
    id="${bindings.DepartmentId.path}"
    destination="lovWindow0.uix"/>
    ...is used by the LOV lovSelect event "SET" call target property below in returning a value to the calling page?
    <event name="lovSelect">
    <set property="inputValue"
    value="${bindings.DepartmentId.inputValue}"
    target="${data.departmentsUIModel.DepartmentId}"/>
    </event>
    .....and trying something like the following to return more than one field to the calling page would be pointless:
    <event name="lovSelect">
    <compound>
    <set property="inputValue"
    value="${bindings.DepartmentId.inputValue}"
    target="${data.departmentsUIModel.DepartmentId}"/>
    <set property="inputValue"
    value="${bindings.DepartmentName.inputValue}"
    target="${data.departmentsUIModel.DepartmentName}"/>
    </compound>
    </event>
    ..... as the calling messageLovInput can only supply one ID .path?
    Oops, sorry, I hope that isn't too long winded. It's at the end of a very long day for me.....
    Thanks for your help!
    CM :)

  • ADF UIX table example: oracle.cabo.doc.* missing

    Hi,
    I'm working through the Oracle ADF UIX Developer's Guide and want to try the ADF UIX Table Example. Unfortunately I don't seem to have the classes which are referred to in that example (located in oracle.cabo.doc.demo.table..), which makes it difficult for me to follow and understand the example.
    I've found a reply to a post to this forum of 26-nov-2002 where it is stated that these files were at that moment not yet available.
    My question is: have these files become available in the meantime. If so, wher can I find them?
    Regards,
    Anton

    Clicking on a sortable header generates a sort event. You need to specify a handler for this event. The error you see is a result of the application not knowing how to handle the sort event. On your page you should include something like the following to handle the sort event:
    <handlers>
    <event name="sort">
    <method class="myPackage.myClass" method="doMySort"/>
    </event>
    </handlers>
    For more details, see the "Sortable Column Headers" section in this chapter of the ADF UIX Dev Guide: http://helponline.oracle.com/jdeveloper/help/state/content/navSetId.jdeveloper/navId.4/vtAnchor.Sort/vtTopicFile.jdeveloper%7Cuixhelp%7Cuixdevguide%7Ctables%7Ehtml/

  • [ADF-UIX] passing selected items to a custom method, how?

    Hi,
    ADF-UIX can be tricky, and im stuck atm building some functionality, I hope
    someone here can point me in a good direction
    I have a multipleSelection table filled with data from a ViewObject. I also
    have 2 MessageChoice components also filled with data from 2 ViewObjects.
    I made a custom method in my AppMod accepting 3 params and dragged that method
    on to a DataAction. And I have a submit button calling the DataAction.
    Now comes the tricky part, how can I pass the selected rows (radiobuttons) and
    the selected items from my MessageChoices to my custom method.
    I know I have to change something in paramNames[0].value but what exactly, specialy
    the multiselect from my table.
    Thanks in advance for any tips :)

    "what's the application module"
    JDev 10.1.3 leverages an Application Development Framework (ADF) that you can learn about here: http://download-east.oracle.com/docs/pdf/B25947_01.pdf
    Specifically, you'll want to look at chapters 2, 4, & 8 in the developer's guide to understand the framework and to understand how to use application modules to call service methods from a JSF page. You can also search this forum as there are other threads discussing this topic, but I'd recommend reviewing the developer guide first.
    This article I also found helpful:
    http://www.oracle.com/technology/products/jdev/tips/muench/mostcommon/index.html
    From my (short) experience, I've learned that you can call methods either using a bean or service methods on the Application Module. Since I am using ADF Business Components (BC), I try to implement any methods that interact with the BC's (view objects, etc.) as service methods on the Application Module (AM). If my method needs to purely implement logic related to the UI or Navigation, then I implement a method on a bean. The other case where I implement a method on a bean is if I need to do some pre-processing (i.e., gather info. about the state of the UI) prior to calling a service method on the AM (an example of this can be found in the dev guide related to the tableSelectMany component) - so there are some cases where the bean method will call a method on the AM - but again, if the method will update the model I try to use a method on the AM to accomplish this. Understanding the ADF framework is the first step (see the dev guide), and then I'd recommend looking at the SRDemo and previous posts on this forum.
    Finally, one thing that is really cool - if you define a service method on your AM, it shows up in the data control pallette - you can drag and drop the method on the .jspx page and all of the bindings/wiring is done automatically for you (including handling passing of parameters.)
    hope this helps.

  • ADF UIX Struts and the BajaContext, Page, and PageEvent

    Hi,
    I'm hoping someone can point me to the right piece of documentation, but I can't seem to figure out how to build the link between 1) the new ADF bindings and the UIX controller event handler objects such as the BajaContext and 2) a UIX event handler and the ADF bindings.
    We used the ServletBindingUtils object to gain a handle on BC4J objects within UIX event handlers. To get the application module, we'd use getApplicationModule and pass in the BajaContext object. Or, the BindingContext, but this context is the oracle.cabo.data.jbo.bind.BindingContext, not oracle.adf.model.BindingContext.
    Also, the opposite question remains on how does one obtain a handle the Page, PageEvent, and BajaContext from the struts side, from say the DataActionContext?
    If there is no link (or not one easily obtained) are there plans to provide one, or are these two controller mechanisms to remain separate?
    Thanks much,

    I don't know if this will help:
    http://helponline.oracle.com/jdeveloper/help/state/content/navSetId.jdeveloper/navId.4/vtAnchor.handlingEvents/vtTopicFile.jdeveloper%7Cuixhelp%7Cuixdevguide%7Cintroducingbaja%7Ehtml/
    There is a snippet to finding the BajaContext off of the rendering context:
    BajaContext bajaContext = BajaRenderingContext.getBajaContext(context);
    I'm not sure if something similar can be done with the ActionContext or not.
    Brad

  • ADF UIX Model State url Parameter

    Hello
    After pressing "submit" on UIX datapge the framework appends a parameter that looks like "searchImageUIModelState__=789C73720E0EB...." to the url wich looks realy ugly.
    How can this parameter be passed in another way (session, cookie,...) instead of appending it to the url ????
    further description:
    My ADF UIX application contains a datapage called "searchImage.uix" (action "searchimage.uix.do). On this page a little form is displayed for entering a search term, and the results are listed below. I use url parameters (such as search_text) for passing the clients values to the server.
    Thanks for your help in advance,
    Philipp Stecher

    hmmm, thanks for your answer.
    But unfortunatly, i dont need this parameter at all. I thought about it again and from my apps view the parameter could as well be passed in a cookie or a session(sessions dont get lost when opening a new browser window, afaik)
    Any help will be appreciated,
    thanks
    Philipp

  • UIX event handler + struts

    Hi,
    I'm using UIX + struts in jdev10g and im getting problems trying to handle a simple action binding event like the "Next" operation. Below is a short example of what im trying to do.
    Test.uix
    <submitButton text="Next" model="${bindings.Next}" id="Next2" event="next"/>
    <event name="next" source="Next2">
    <invoke method="doIt" javaType="oracle.jbo.uicli.binding.JUCtrlActionBinding"
    instance="${bindings.Next}"/>
    </event>
    testAction.java
    public void onNext(DataActionContext ctx)
    if (ctx.getEventActionBinding() != null)
    ctx.getEventActionBinding().doIt();
    If i run the code above i can see that it executes ctx.getEventActionBinding().doIt(); but the action binding never gets executed, and this efect is the same for other actions like create,previous etc...
    Another thing that calls my attention is that every time i drag a operation from the DataControl Palette the event name is always "action"
    <submitButton text="First" model="${bindings.First}"
    id="First0" event="action"/>
    So how is the correct way to handle events in the UIX + Struts?????
    Please i need a help on this one!!!!!
    Tanks,
    Eduardo M. Sasso

    First of all tanks for the help.
    But what i want to do is to subclass the DataForwardAction for my DataPage and let the struts controller handle the event, just like the documentation says...
    About Event Handling in Applications Using Oracle ADF, UIX, and Struts
    http://helponline.oracle.com/jdeveloper/help?topic=adf_auixadfevents_html
    If i try to do the same thing using jsp it works great...
    This is problem is getting me nuts!!! it looks to me that this problem is very easy to solve but i just cant see the solution....
    tanks again

  • Event Parameters in WDA from Flash

    Hi experts
    I've alredy created a WDA with Flash inside in wich i send data from WDA and Flash make graphics.
    Now i need to interact from Flash to WDA sending an event with values.
    I found how to send event from Flash (fireEvent) and how to detect that event in WDA (adding and event) and get the values in WDA ; but that values are transfered just like the other context nodes, just with 'readOnly' property empty and in Flash these values are just public variables  (not  parameters in fireEvent).
    I see we can add parameters in WDA Event ,  does somebody knows where can i search about how to manage parameters in WDA Event received from Flash  (and how to send these parameters from Flash in the 'fireEvent') ? 
    Any help will be usefull.
    Best Regards
    Frank

    >does somebody knows where can i search about how to manage parameters in WDA Event received from Flash (and how to send these parameters from Flash in the 'fireEvent') ?
    You can add the parameters into the fireEvent method.  In this sample I have the Event name newDirections. I am adding the event parameter named dirString and the value is the variable dirS.  You pass event parameters in this name/value pair format.
    FlashIsland.fireEvent(this,"newDirections",{dirString:dirS});
    From the ABAP side I can retrieve the event parameter from within the Event Handler method of the controller as follows:
    data dir_results type string.
      dir_results =  wdevent->get_string( 'dirString' ).
      check dir_results is not initial.

  • How to upload a file to a blob By ADF uix

    I need to add a file to a record as an accessory;
    I now use ADF-Uix?How do it?
    Someone can help me !
    Thanks

    The forum search would be my first try...
    Then google...
    This has been asked at least once a week and got correct answers...
    Timo

Maybe you are looking for

  • Using MD5 to generate Dimension IW Keys

    Hi Guys I had wanted to use MD5 to hash concatenated strings in a dimension table to come up with IW Keys. I must be missing something because I couldn't find much around the net when looking for it. Basically were looking at facts and dimension data

  • Photo Settings not working

    Hi - when I try to edit clip length or Ken Burns effect in the Photo Settings pane, my Preview screen is black, and the changes I try to make don't seem to be applied to the clip. I have tried different clips and tried adding a new clip to the projec

  • Date issue - Data Template

    Hi, I am using a data template plus CP combination to generate XMLP reports. From CP i am passing a standard date parameter to the data template. The issue is that there seems to be a problem accesing this variable in the data template SQL where cond

  • Portal Content Copy Folder Error

    Hi, In Portal Content Admin, the folders <b>Key Account Manager</b> & <b>CRM</b> are provided by business package and located under <i>Content Provided by SAP -> specialist</i>. When these folders are copied to another folder for further customizatio

  • [SOLVED] gpgme error: Bad file descriptor

    I tried to install a new system today. I chrooted into it and wanted to install some packages, but all I got was this error instead: error: GPGME Error: bad file descriptor error: <package>: missing required signature And that for each and every sing