BoundAttribute incoherence?

If i write:
<text data:text="someText@myData"/>
it is just supposed to be a shortcut for:
<text>
<boundAttribute name="text">
<dataObject source="myData" select="someText"/>
</boundAttribute>
</text>
right?
So here is what I was trying to do:
- case 1:
<data name="paths">
<inline navigationPath="/locales/navigation/"/>
</data>
<data name="navigationPath">
<inline>
<boundAttribute name="tabs">
<dataObject source="paths" select="navigationPath"/>
</boundAttribute>
</inline>
</data>
<text data:text="tabs@navigationPath"/>
I expected the text element to render "/locales/navigation/". So i tried:
-case 2:
<data name="paths">
<inline navigationPath="/locales/navigation/"/>
</data>
<data name="navigationPath">
<inline data:tabs="navigationPath@paths">
</data>
<text data:text="tabs@navigationPath"/>
It produce, as expected: "/locales/navigation/"
Why the first case didn't work?
It's not a theorical question: i want to use the <concat> element inside the second <inline> (the one with the tabs attribute) and from my understanding it doesn't work with the short syntax.

I'm actually surprised that it worked in the second case. The boundAttribute
element is only supported on UINode elements and not DataProviders like <inline>.
etc.Hi,
Thanks for you answer. Actually i was also surprised it worked in one case or not in another. That's the reason of my initial question. After your answer i tried it again: same results.
So i have prepared two files if you want to investigate: index01.uix and index02.uix and there respective output: index01.html and index02.html (actually the html source code read by the browser that i saved with those name).
It still only works in the second case. As i said in my angry post ;), i don't like to program with tools, languages etc. that produce results that i perceive as impredictable.
But if the normal behavior would be that it should work in both cases, i think it would be a smart decision.
===> index01.uix
<?xml version="1.0" encoding="ISO-8859-1"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui">
<provider>
<data name="paths">
<inline navigationPath="/locales/navigation/"/>
</data>
<data name="navigationPath">
<inline>
<boundAttribute name="tabs">
<dataObject source="paths" select="navigationPath"/>
</boundAttribute>
</inline>
</data>
</provider>
<contents>
<flowLayout>
<contents>
<text data:text="tabs@navigationPath"/>
</contents>
</flowLayout>
</contents>
</dataScope>
</content>
</page>
===> index01.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="ltr" lang="en-US"><head><link rel="stylesheet" charset="UTF-8" type="text/css" href="/templ-inc-context-root/cabo/styles/cache/blaf-en-mozilla.css"></head><body class="xc" onload="_checkLoad(event)" onunload="_checkUnload(event)"><script src="/templ-inc-context-root/cabo/jsLibs/MarlinCore.js"></script> </body></html><!-- Created by Oracle UIX 2.1.7 -->
====> index02.uix
<?xml version="1.0" encoding="ISO-8859-1"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui">
<provider>
<data name="paths">
<inline navigationPath="/locales/navigation/"/>
</data>
<data name="navigationPath">
<inline data:tabs="navigationPath@paths"/>
</data>
</provider>
<contents>
<flowLayout>
<contents>
<text data:text="tabs@navigationPath"/>
</contents>
</flowLayout>
</contents>
</dataScope>
</content>
</page>
===> result= index02.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="ltr" lang="en-US"><head><link rel="stylesheet" charset="UTF-8" type="text/css" href="/templ-inc-context-root/cabo/styles/cache/blaf-en-mozilla.css"></head><body class="xc" onload="_checkLoad(event)" onunload="_checkUnload(event)"><script src="/templ-inc-context-root/cabo/jsLibs/MarlinCore.js"></script> /locales/navigation/ </body></html><!-- Created by Oracle UIX 2.1.7 -->

Similar Messages

  • Question about using SessionScope in a BoundAttribute ( Jdev 10.1.2 / UIX )

    Hi All,
    We have an older application that was written using ADF UIX and JDeveloper 10.1.2.1.
    I am trying to pass a value from the SessionScope map to a javascript routine using a boundAttribute on the "onClick" attribute of a <link> tag.
    Here is the basic overview of what I've put together:
    <link destination="#">
    <boundAttribute name="onClick">
    <concat>javascript:return noShowRouter(&quot;
    <dataObject default="${sessionScope.userId}"/>
    &quot;);
    </concat>
    </boundAttribute>
    <contents>
    <image source="images/e2.gif/>
    </contents>
    </link>
    However, this isn't working. When UIX renders my page, instead of the value of "sessionScope.userId" being put in the javascript call, the following string is put there instead:
    "oracle.cabo.ui.data.bean.BeanAdapterUtils$MapDataObject@14a"
    However, if on the page I put the following code:
    <text text="${sessionScope.userId}"/>
    The userid value is rendered on the page fine. So I know the session attribute is set, but for some reason as a <concat> child it is not working.
    Can anyone offer any advice why or show me what I am doing wrong?

    Dear sir...
    i faced the same problem before, and yet no one helped me, however there is a workaround, though i do not think it should be done. however the steps are as follows:
    1- go to the code of the page.
    2- override the processupdatemodel method, adding only this line:
    actionContext.setActionForward("nextpage");
    3- draw a forward from the upload page into the next page.
    i hope this would help solving your problem.
    please if you find a better solution, post it here.
    good luck.

  • Incoherence between FMIOI and FMIFIIT

    Hello,
    I work in ECC 6.0 with Former Budget.
    I have problem with FM account assignment in purchase order for services.
    I created a purchase order with 1 line item and 2 lines in the item details with 2 differents commitment items in the item details.
    Example:
    ITEM OVERVIEW of the purchase order
    line 10 for an amount of 500 EUR
    ITEM DETAIL - in Account assignment tab
    Seq 1 - Fund AA - Funds center 100 - Commitment item A100 for an amount of 300 EUR
    Seq 2 - Fund AA - Funds center 100 - Commitment item A101 for an amount of 200 EUR
    I have an invoice of 240 EUR:
    200 EUR on the Seq 1 (Fund AA - Funds center 100 - Commitment item A100)
    40 EUR on the Seq 2 (Fund AA - Funds center 100 - Commitment item A101)
    In table FMIOI, i have a reduction of 240 EUR on the line Fund AA - Funds center 100 - Commitment item A100 and nothing on the line Fund AA - Funds center 100 - Commitment item A101.
    In table FMIFIIT, i have the correct data.
    Can you tell me how to correct FMIOI in order to display the data in the correct FM account assignment?
    I try FMN4N to reconstruct the purchase order, but there is no document corrected.
    Thanks for your help.
    Chiachen

    Thanks for your answer.
    I don't use BL.

  • Charset versus InputStreamReader:  incoherence with Cp037

    Hello
    I am tring to use the java.nio.Charset class and it seems incoherent with the InputStreamReader support of various encoding scheme, specialy the EBCDIC IBM US one: Cp037...
    java version "1.4.1_02"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
    Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
    What's wrong with this code!!!
    * @author Francis ANDRE
    import java.io.*;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.UnsupportedEncodingException;
    import java.nio.ByteBuffer;
    import java.nio.CharBuffer;
    import java.nio.charset.*;
    import java.nio.charset.Charset;
    import java.nio.charset.CharsetDecoder;
    import java.nio.charset.CharsetEncoder;
    public class EBCDIC {
         String     charset;
         EBCDIC(String charset) {
              this.charset = charset;
         InputStreamReader open(InputStream is) throws UnsupportedEncodingException {
              InputStreamReader isr = new InputStreamReader(is, charset);
              return isr;
         void read(InputStreamReader is) throws IOException {
              String css = is.getEncoding();
              System.out.println(css);
              char[]     ib = new char[4];
              is.read(ib);
              System.out.println(ib);
         void decode(byte[] in) {
              Charset          charset = Charset.forName("Cp037");
              CharsetDecoder decoder = charset.newDecoder();
              ByteBuffer bytes     = ByteBuffer.wrap(in);
              CharBuffer chars = null;
              try {
                   chars = decoder.decode(bytes);
              } catch (CharacterCodingException e) {
                   System.err.println("Error decoding");
                   System.exit(-1);
         public static void main(String[] args) {
    //          Convert.main(null);
              try {
                   EBCDIC ebcdic = new EBCDIC("Cp037");
                   byte[] in = {(byte) 0xF1, (byte) 0xF2, (byte) 0xF3, (byte) 0xF4 };
                   ByteArrayInputStream bais = new ByteArrayInputStream(in);
                   InputStreamReader isr = ebcdic.open(bais);
                   ebcdic.read(isr);
                   System.out.println(Charset.availableCharsets() );
                   System.out.println("Is Cp037 supported: " + Charset.isSupported("Cp037"));
                   ebcdic.decode(in);
              } catch (Exception e) {
                   e.printStackTrace();
    C: java EBCDIC
    Cp037
    1234
    {Big5=Big5, Big5-HKSCS=Big5-HKSCS, EUC-CN=EUC-CN, EUC-JP=EUC-JP, euc-jp-linux=eu
    c-jp-linux, EUC-KR=EUC-KR, EUC-TW=EUC-TW, GB18030=GB18030, GBK=GBK, ISCII91=ISCI
    I91, ISO-2022-CN-CNS=ISO-2022-CN-CNS, ISO-2022-CN-GB=ISO-2022-CN-GB, ISO-2022-KR
    =ISO-2022-KR, ISO-8859-1=ISO-8859-1, ISO-8859-13=ISO-8859-13, ISO-8859-15=ISO-88
    59-15, ISO-8859-2=ISO-8859-2, ISO-8859-3=ISO-8859-3, ISO-8859-4=ISO-8859-4, ISO-
    8859-5=ISO-8859-5, ISO-8859-6=ISO-8859-6, ISO-8859-7=ISO-8859-7, ISO-8859-8=ISO-
    8859-8, ISO-8859-9=ISO-8859-9, JIS0201=JIS0201, JIS0208=JIS0208, JIS0212=JIS0212
    , Johab=Johab, KOI8-R=KOI8-R, Shift_JIS=Shift_JIS, TIS-620=TIS-620, US-ASCII=US-
    ASCII, UTF-16=UTF-16, UTF-16BE=UTF-16BE, UTF-16LE=UTF-16LE, UTF-8=UTF-8, windows
    -1250=windows-1250, windows-1251=windows-1251, windows-1252=windows-1252, window
    s-1253=windows-1253, windows-1254=windows-1254, windows-1255=windows-1255, windo
    ws-1256=windows-1256, windows-1257=windows-1257, windows-1258=windows-1258, wind
    ows-936=windows-936, windows-949=windows-949, windows-950=windows-950}
    Is Cp037 supported: false
    java.nio.charset.UnsupportedCharsetException: Cp037
    at java.nio.charset.Charset.forName(Charset.java:428)
    at EBCDIC.decode(EBCDIC.java:40)
    at EBCDIC.main(EBCDIC.java:67)

    http://java.sun.com/j2se/1.4.1/docs/guide/intl/encoding.doc.html
    as you can see, cp037 is not (yet?) supported by java.nio.

  • Señal incoherente en modulo 6008

    Hola estimados(as), trabajando con un compañero en un trabajo de Tesis, dentro del sistema, estamos recibiendo y enviando una señal de 0-5 volts a dos calefactores a traves de un modulo Ni 6008, los problemas son los siguientes:
    1- Enviando el maximo de voltaje(correspondiente a 1700 watts aprox) el sistema responde bien, mostrando en los indicadores del labview dos voltajes( uno para cada calefactor) cercanos a 5, pero sucede que al reducir el voltaje a Cero( de manera drastica), labview aun muestra el voltaje maximo.... este valor solo disminuye si bajamos el voltaje a los calefactores de manera escalonada, esto es, 5--> 4--> 3---> 2--> 0 volts.
    ese es el primer problema, y el segundo es:
    2- Aun cuando tenemos en cero el voltaje de salida a los calefactores, labview muestra que dichos equipos estan recibiendo voltajes que oscilan entre 0,8. 1,3, valores que deberian ser cero ni no muy cercanos a éste.
    Muchas gracias.

    Hola Niko!
    En la mayor While Loop, debe haber una función "Wait (ms) o Wait Until Next ms Multiple", para temporizar el loop con el fin de dar tiempo para el procesamiento de los datos. Una vez que haya escogido el modo de adquisición, " 1 sample (On demand)", la adquisición sólo será posible cuando existir una demanda de datos. Cuando se cambia el valor de forma abrupta, no hay tiempo para el VI para entender la variación, y no haberá demanda, entonces el 6008 no adquirirá nada y mostrará el último valor adquirido.
    Otra alternativa es utilizar el modo de adquisición "Continous Samples", en la que se obtiene un número determinado de muestras continuamente una frecuencia de muestreo determinada.
    Haga una tentativa con las sugerencias anteriores.
    Att.
    Felipe Flores
    Felipe Flores
    Engenharia de Aplicações
    National Instruments Brasil

  • How can I render an active link (yrl) within a UIX/XML page

    How can I render an active link (url) within a UIX/XML page.
    How can I get <jbo:ShowValue> to work in UIX/XML, or is there another way?
    Bill G...

    It may seem strange, but the <contents> of <rawText> aren't actually
    raw - it's only the "text" attribute that's raw. (It seems strange because
    it is. Ah well.) This is different from UIX JSP.
    So, try something like the following:
    <bc4j:attrScope name="Notes">
    <contents>
    <rawText text="&lt;a href=&quot;"/>
    <rawText>
    <boundAttribute name="text">
    <bc4j:attrProperty name="value"/>
    </boundAttribute>
    </rawText text="&quot;&gt;"/>
    Some text in the link.
    <rawText text="&lt;/a&gt;"/>
    </contents>
    <bc4j:attrScope>
    Thankfully, this will be much simpler in 9.0.3, when the following
    will work:
    <link text="Whatever you want">
    <boundAttribute name="destination">
    <bc4j:attrValue name="Notes"/>
    </boundAttribute>
    </link>

  • UIX 2.2.8: Difference between bc4j:_null and null/

    Anyone here who can explain me the difference between <boundAttribute name="attrName">
      <contextProperty select="bc4j:_null"/>
    </boundAttribute> and <boundAttribute name="attrName">
      <null/>
    </boundAttribute> Does <contextProperty select="bc4j:_null"/> work when using EL?
    Thanks, Markus

    ping

  • Remote Update Manager does not exit

    I'm trying to use Remote Update Manager to update PCs in our domain, but RemoteUpdateManager.exe does not exit, it just hangs. The log looks like this
    11/04/14 15:19:27:374 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | ##################################################
    11/04/14 15:19:27:374 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | ##################################################
    11/04/14 15:19:27:374 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | Launching the RemoteUpdateManager...
    11/04/14 15:19:27:374 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | RemoteUpdateManager version is : 1.7.0.25 (BuildVersion: 1.6; BuildDate: Tue Sep 02 2014 07:02:05 )
    11/04/14 15:19:27:374 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | **************************************************
    11/04/14 15:19:27:374 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | Initializing UpdaterCore Library...
    11/04/14 15:19:27:484 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | UpdaterCore library initialized successfully.
    11/04/14 15:19:27:484 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | **************************************************
    11/04/14 15:19:27:484 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | Starting UpdaterCore CheckForUpdate...
    11/04/14 15:19:29:730 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | CheckForUpdates completed successfully.
    11/04/14 15:19:29:730 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | **************************************************
    11/04/14 15:19:29:730 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | Starting UpdaterCore DownloadUpdates...
    11/04/14 15:19:29:730 | [WARN] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | No new applicable Updates. Seems like all products are up-to-date.
    11/04/14 15:19:29:730 | [INFO] |  | AAMEE | Utilities | RemoteUpdateManager |  |  | 2164 | **************************************************
    What I'm not getting is the "Ending the RemoteUpdateManager Return Code (0)" part.
    I'm using the latest AAMEE.
    Are there any further things I can do to see why this is happening?

    It seems to be related to the new Creative Cloud Packager (version 1.7).
    All the packs I had made with 1.5 exited correctectly.
    All the packs I have make with 1.7 dont exit.
    And it seems to be impossible to go back to 1.5 ....
    I think the problem might be with this line (from uob_csis but I get the exact same):
    RemoteUpdateManager version is : 1.7.0.25 (BuildVersion: 1.6; BuildDate: Tue Sep 02 2014 07:02:05 )
    There seems to be an incoherence between the version and the buildversion.

  • Detail-Disclosure problem with Master- Detail VO

    Hi,
    I have UIX pages based on Master - Detail VO, detail data being shown when you press Detail button on the left, detail data display in the BC4J Table correctly, but I am able to update only the last record of the rowset. when I click on the first master detail and press update button i get Null Pointer Exeception error and other problem is that my detail data has sorted headers, when i click on the sorted column header, it close the Detail portion on the Table.
    Here is UIX page listing, please any one review the code and let me what is wrong
    Thanks
    View Page
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:viewpage="http://www.example.org/siriusbilling/templates">
    <ctrl:head xmlns="http://www.w3.org/TR/REC-html40">
    <title>View Properties</title>
    </ctrl:head>
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="templates/SiriusBilling.uit"/>
    </templates>
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="PropertiesForeignKeyLink1AppModule"
    definition="siriusbilling.SiriusBCModule"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="PropertyTypesMasterView"
    rangeSize="2" />
    <bc4j:viewObjectDef name="PropertiesDetailView"
    rangeSize="5" />
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <ctrl:content xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <viewpage:siriusPageLayout>
    <pageHeader>
    <globalHeader selectedIndex="0">
    <contents>
    <link text="View Properties" />
    </contents>
    </globalHeader >
    </pageHeader>
    <contents>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <displayException />
    </catch>
    <contents>
    <!-- this will contain any validation errors after form
    submission -->
    <messageBox automatic="true" />
    <bc4j:rootAppModuleScope name="PropertiesForeignKeyLink1AppModule" >
    <contents>
    <header text="Properties Search" >
    <contents>
    <form name="search" method="POST" >
    <contents>
    <inlineMessage prompt="Search by:" vAlign="middle" >
    <contents>
    <bc4j:viewObjectScope name="PropertiesDetailView" >
    <contents>
    <flowLayout>
    <contents>
    <choice name="attrName"
    data:selectedValue="attrName@ctrl:page"
    shortDesc="Search Column">
    <contents>
    <option text="Property Id" value="PropertyId" />
    <option text="Property Name" value="PropertyName" />
    <option text="Property Description" value="PropertyDescription" />
    <option text="Unit Of Measure" value="UnitOfMeasure" />
    </contents>
    </choice>
    <textInput prompt="Criteria" name="attrValue" columns="20"
    data:text="attrValue@ctrl:page"
    shortDesc="Search Criteria for Propeties"/>
    </contents>
    </flowLayout>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    <end>
    <submitButton text="Go" ctrl:event="search" />
    </end>
    </inlineMessage>
    </contents>
    </form>
    </contents>
    </header>
    <spacer width="10"/>
    <separator />
    <header text="Property Types" >
    <contents>
    <form name="viewForm" method="POST" >
    <contents>
    <bc4j:viewObjectScope name="PropertyTypesMasterView" >
    <contents>
    <bc4j:table name="viewPropertyTypeTable" automatic="false"
    width="100%" alternateText="No rows found"
    formSubmitted="true"
    partialRenderMode="self"
    data:detailDisclosure="tableDetails@ctrl:eventResult">
    <!-- the key identifying the current row in the table -->
    <bc4j:keyStamp>
    <bc4j:rowKey name="key" />
    </bc4j:keyStamp>
    <contents>
    <!-- placing the region in automatic mode will cause the key
    named child to be rendered, followed by each attribute
    in the ViewObject using the attrStamp named child. -->
    <!-- A bc4j:column element is added for each attribute
    in the ViewObject. -->
    <bc4j:column attrName="PropertyType">
    <columnHeader>
    <bc4j:sortableHeader text="Property Type"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="TableName">
    <columnHeader>
    <bc4j:sortableHeader text="Table Name"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="Comments" >
    <columnHeader>
    Comments
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    </contents>
    <detail>
    <flowLayout>
    <contents>
    <header text="Properties Detail">
    <contents>
    <spacer width="10"/>
    <bc4j:viewObjectScope name="PropertiesDetailView" >
    <contents>
    <!-- placing the table in automatic mode will cause the table
    to contain the keyStamp named child followed by the
    columnStamp named child for each attribute in the
    ViewObject. -->
    <bc4j:table name="viewTable" automatic="false"
    width="100%" alternateText="No rows found"
    formSubmitted="true"
    partialRenderMode="self">
    <tableSelection>
    <!-- single selection for each row in the table -->
    <singleSelection selectedIndex="0" text="Select Row and ...">
    <contents>
    <submitButton text="Create" ctrl:event="create" />
    <!-- the update button causes the currently selected
    row to be sent to the update page -->
    <submitButton text="Update"
    ctrl:event="update" />
    <!-- the delete button causes the currently selected
    row to be removed -->
    <submitButton text="Delete"
    ctrl:event="delete" />
    </contents>
    </singleSelection>
    </tableSelection>
    <!-- the key identifying the current row in the table -->
    <bc4j:keyStamp>
    <bc4j:rowKey name="key" />
    </bc4j:keyStamp>
    <contents>
    <!-- A bc4j:column element is added for each attribute
    in the ViewObject. -->
    <bc4j:column attrName="PropertyId">
    <columnHeader>
    <bc4j:sortableHeader text="Property Id"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="PropertyName">
    <columnHeader>
    <bc4j:sortableHeader text="Property Name"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="PropertyDescription">
    <columnHeader>
    <bc4j:sortableHeader text="Property Description"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    <bc4j:column attrName="UnitOfMeasure">
    <columnHeader>
    <bc4j:sortableHeader text="Unit of Measure"/>
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    </contents>
    </bc4j:table>
    </contents>
    </bc4j:viewObjectScope>
    <formValue name="disclosed" value="true" />
    </contents>
    </header>
    </contents>
    </flowLayout>
    </detail>
    </bc4j:table>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </form>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    </try>
    </contents>
    </viewpage:siriusPageLayout>
    </ctrl:content>
    <handlers>
    <event name="search" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- search for the view criteria -->
    <bc4j:findByExample>
    <bc4j:exampleRow ignoreCase="true" >
    <bc4j:exampleAttribute>
    <bc4j:nameBinding><bc4j:parameter name="attrName" /></bc4j:nameBinding>
    <bc4j:valueBinding><bc4j:parameter name="attrValue" /></bc4j:valueBinding>
    </bc4j:exampleAttribute>
    </bc4j:exampleRow>
    </bc4j:findByExample>
    <bc4j:executeQuery/>
    <!-- store the current search criteria as page properties -->
    <bc4j:setPageProperty name="attrName" >
    <bc4j:parameter name="attrName" />
    </bc4j:setPageProperty>
    <bc4j:setPageProperty name="attrValue" >
    <bc4j:parameter name="attrValue" />
    </bc4j:setPageProperty>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="first" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the first department -->
    <bc4j:first/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="previous" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the previous department -->
    <bc4j:previous/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="next" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the next department -->
    <bc4j:next/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="last" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the last department -->
    <bc4j:last/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="sort" source="viewTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- sort by the submitted attribute name -->
    <bc4j:sort/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="sort" source="viewPropertyTypeTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- sort by the submitted attribute name -->
    <bc4j:sort/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="goto" source="viewPropertyTypeTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertyTypesMasterView" >
    <!-- navigate to the submitted range -->
    <bc4j:goto/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="goto" source="viewTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- navigate to the submitted range -->
    <bc4j:goto/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="create" >
    <!-- forward to the create page -->
    <ctrl:go name="InsertProperties" redirect="true" />
    </event>
    <event name="update" >
    <!-- forward to the update page, passing the selected key
    as a page property -->
    <ctrl:go name="UpdateProperties" redirect="true" >
    <ctrl:property name="key" >
    <ctrl:selection name="viewTable" key="key" />
    </ctrl:property>
    </ctrl:go>
    </event>
    <event name="delete" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- find the selected Row -->
    <bc4j:findRowByKey>
    <bc4j:keyBinding>
    <bc4j:selectionKey name="viewTable" key="key" />
    </bc4j:keyBinding>
    <bc4j:handlers>
    <!-- remove the selected ViewObject row -->
    <bc4j:removeRow />
    <!-- execute the query to eliminate dead row access -->
    <bc4j:executeQuery/>
    </bc4j:handlers>
    </bc4j:findRowByKey>
    </bc4j:findViewObject>
    <!-- commit the transaction, forwards to self automatically -->
    <bc4j:commit/>
    </bc4j:findRootAppModule>
    </event>
    <event name="show">
    <method class="servlet.showDetails" method="doHideShowEvent" />
    </event>
    <event name="hide">
    <method class="servlet.showDetails" method="doHideShowEvent" />
    </event>
    </handlers>
    </page>
    Update View
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns:updatepage="http://www.example.org/siriusbilling/templates">
    <ctrl:head xmlns="http://www.w3.org/TR/REC-html40">
    <title>Update Properties</title>
    </ctrl:head>
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="templates/SiriusBilling.uit"/>
    </templates>
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="PropertiesForeignKeyLink1AppModule"
    definition="siriusbilling.SiriusBCModule"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="PropertiesDetailView" >
    <bc4j:rowDef name="UpdatePropertiesDetailView" autoCreate="false" usesCurrency="true">
    <bc4j:propertyKey name="key" />
    </bc4j:rowDef>
    </bc4j:viewObjectDef>
    <!-- Display only 20 rows -->
    <bc4j:viewObjectDef name="PropertyTypesView" rangeSize="20" >
    <bc4j:rowDef name="UpdatePropertyTypesView" autoCreate="false">
    <bc4j:propertyKey name="key" />
    </bc4j:rowDef>
    </bc4j:viewObjectDef>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <ctrl:content xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <updatepage:siriusPageLayout>
    <pageHeader>
    <globalHeader selectedIndex="0">
    <contents>
    <link text="Update Property" />
    </contents>
    </globalHeader >
    </pageHeader>
    <contents>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <displayException />
    </catch>
    <contents>
    <switcher childName="default">
    <boundAttribute name="childName">
    <if>
    <comparison type="equals">
    <dataObject select="key" source="ctrl:page"/>
    <dataObject source="ui:null"/>
    </comparison>
    <fixed text="error"/>
    </if>
    </boundAttribute>
    <case name="error">
    <header text="Required page property 'Property Type' missing. Cannot display page."/>
    </case>
    <case name="default">
    <flowLayout>
    <contents>
    <!-- this will contain any validation errors after form
    submission -->
    <messageBox automatic="true" />
    <script>
    <contents>
    function UOMLovCallBack(lovwin, event)
    var value = lovwin.returnUOMValue;
    if (value!=(void 0))
    document.updateForm.UnitOfMeasure.value = lovwin.returnUOMValue;
    </contents>
    </script>
    <form name="updateForm" method="POST" >
    <contents>
    <!-- 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" />
    <!-- layout the fields in two columns -->
    <spacer width="10"/>
    <tableLayout width="80%"
    cellPadding="2"
    hAlign="center">
    <contents>
    <bc4j:rootAppModuleScope name="PropertiesForeignKeyLink1AppModule" >
    <contents>
    <bc4j:viewObjectScope name="PropertiesDetailView" >
    <contents>
    <bc4j:rowScope name="UpdatePropertiesDetailView" >
    <contents>
    <bc4j:messageChoice prompt="Property Type" attrName="PropertyType" name="PropertyType">
    <contents>
    <bc4j:optionList voName="PropertyTypesView" attrName="PropertyType" textAttributeName="PropertyType" size="30"/>
    </contents>
    </bc4j:messageChoice>
    <bc4j:messageInput prompt="Property Id" vAlign="left" attrName="PropertyId" size="30"/>
    <bc4j:messageInput prompt="Property Name" attrName="PropertyName" size="30"/>
    <bc4j:messageInput prompt="Property Description" attrName="PropertyDescription" size="30" />
    <bc4j:messageLovField prompt="Unit Of Measure"
    attrName="UnitOfMeasure"
    name="UnitOfMeasure"
    onClick="openWindow(window,
    'UOMLov.uix',
    'lovwin',
    {width:480, height:300},
    true,
    'dialog',
    UOMLovCallBack);
    return false;" />
    </contents>
    </bc4j:rowScope>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    </tableLayout>
    </contents>
    </form>
    </contents>
    <contents>
    <contentFooter>
    <contents>
    <html:center>
    <!-- place a row of buttons below the content -->
    <pageButtonBar>
    <contents>
    <!-- the cancel button performs a transaction rollback -->
    <button text="Cancel" ctrl:event="cancel" />
    <!-- the update button submits the user-entered
    form data -->
    <submitButton text="Update" formName="updateForm"
    ctrl:event="apply" />
    </contents>
    </pageButtonBar>
    </html:center>
    </contents>
    </contentFooter>
    </contents>
    </flowLayout>
    </case>
    </switcher>
    </contents>
    </try>
    </contents>
    </updatepage:siriusPageLayout>
    </ctrl:content>
    <handlers>
    <event name="cancel" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- rollback the current transaction -->
    <bc4j:rollback/>
    <!-- forward to the summary page -->
    <ctrl:go name="ViewProperties" redirect="true" />
    </bc4j:findRootAppModule>
    </event>
    <event name="apply" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="PropertiesForeignKeyLink1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="PropertiesDetailView" >
    <!-- find the row by key, falling back on a new default
    row if the key is not found -->
    <bc4j:findRow name="UpdatePropertiesDetailView" >
    <!-- set each attribute explicitly -->
    <bc4j:setAttribute name="PropertyId" />
    <bc4j:setAttribute name="PropertyType" />
    <bc4j:setAttribute name="PropertyName" />
    <bc4j:setAttribute name="PropertyDescription" />
    <bc4j:setAttribute name="UnitOfMeasure" />
    <!-- commit the transaction -->
    <bc4j:commit/>
    <bc4j:executeQuery/>
    <!-- forward to the summary page -->
    <ctrl:go name="ViewProperties" redirect="true" />
    </bc4j:findRow>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    </handlers>
    </page>

    I think the detailDisclosure state needs to be saved and retrieved from the session.
    I'm not sure using a table with singleSelection inside a detail disclosure is supported. Are you doing master-detail inside of detail disclosure? Detail disclosure is not really meant for that. In jdev 10g preview we make hooking up a master-detail easy. Here's a link to some doc about it.
    http://otn.oracle.com/products/jdev/collateral/tutorials/9050/adfuix_tut.html#Create%20a%20Master-Detail%20page

  • Try to open mov file with quicktime, says can't open pdf files.

    Hi to everyone,
    Suddenly I try to open a mov, any mov file, with quicktime 10.4 and some times opens the finder and nothing more, some times says that it cannot open one pdf document ( a document I actually have but never try to open with QT). some times QT says it canot open some png or jpg file.
    But I double click mov files. And the incoherence is permanent, I mean that for the same movie file says it can't open the same pdf file, and in other file the same png, or the same jpg.. it depends on the mov file I try to open.  Like if somewhere, somme kind of cache, adresse or reference is wrong.
    this is the text of one of those messages when I double click a mov file:
    "The document “phoenixRoomfillerB_v001_0104.jpg” could not be opened. QuickTime Player cannot open files in the “JPEG image” format."
    And if I try again and again, at some point QT open only the finder window.
    The weird thing is that on the finder window i can see the preview and play the preview. and the same mov files play well with VLC. And if I copy the mov file to my desktop it plays well unless QT start to open only the finder window, if that happens it does not work anymore with any file.
    The files are on an external drive with 3 partitions.
    And I make all the possible cleaning that I can:
    I am the administrator of the imac and I am the only one to use it.
    I am the owner of the volume
    I use disk utility to check and everything is ok
    I use onyx to clean as much as possible, cache, boot, volume structure, smart status, home folder permissions, kernel, extensions, QT components, etc. and everything works fine.
    Imac 27 inch late 2012.
    Intel 3.4 GHz  i7
    32 Gb Ram
    NVIDIA GeForce GTX 680MX 2048 MB
    thanx.

    Try QT v7.x which is located inside your Utility folder.

  • LOV problem : here is my code

    Hello all,
    I've been trawling through the forums trying to find a solution to this problem but with no success.
    I am trying to create an LOV for my application, the Activity_Plan_ObjectView1_Update page accesses the LOV (via LocationLOV.uix) which is meant to then update this page.
    Here is my code, the first page has the BC4J tag which opens the LocationLOV.uix page, I think the problem lies with how I'm trying to pass the parameter back to the Activity_Plan_ObjectView1_Update page :
    Activity_Plan_ObjectView1_Update :
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j" >
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="Activity_Plan_ObjectView1AppModule"
    definition="uiXML.BC4J_PackageModule"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="Activity_Plan_ObjectView1" >
    <bc4j:rowDef name="UpdateActivity_Plan_ObjectView1" autoCreate="false" >
    <bc4j:propertyKey name="key" />
    </bc4j:rowDef>
    </bc4j:viewObjectDef>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <content>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <displayException />
    </catch>
    <contents>
    <switcher childName="default">
    <boundAttribute name="childName">
    <if>
    <comparison type="equals">
    <dataObject select="key" source="ctrl:page"/>
    <dataObject source="ui:null"/>
    </comparison>
    <fixed text="error"/>
    </if>
    </boundAttribute>
    <case name="error">
    <header text="Required page property 'key' missing. Cannot display page."/>
    </case>
    <case name="default">
    <pageLayout title="Activity Plan - Update" >
    <!-- Start of common pageLayout section. If you plan to expand this
    example application, consider using a UIT template to specify the common
    portions of your pageLayout -->
    <productBranding>
    <image source="tools_collage.gif" shortDesc="JDeveloper Product Logo"/>
    </productBranding>
    <corporateBranding>
    <image source="oraclelogo.gif" shortDesc="Oracle Logo"/>
    </corporateBranding>
    <globalButtons>
    <globalButtonBar>
    <contents>
    <globalButton source="www_home.gif"
    text="Home"
    destination="Main.uix" />
    <globalButton source="www_contact.gif"
    text="Contact Us"
    destination="http://www.oracle.com" />
    <globalButton source="www_help.gif"
    text="Help"
    destination="http://otn.oracle.com/products/jdev/content.html" />
    </contents>
    </globalButtonBar>
    </globalButtons>
    <copyright>Copyright 2002 Oracle Corporation. All Rights Reserved.</copyright>
    <privacy>
    <link text="Privacy Statement" destination="http://www.oracle.com"/>
    </privacy>
    <!-- End of common pageLayout section -->
    <contents>
    <!-- this will contain any validation errors after form
    submission -->
    <messageBox automatic="true" />
    <form name="updateForm" method="POST" >
    <contents>
    <!-- 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" />
    <!-- layout the fields in two columns -->
    <tableLayout>
    <contents>
    <bc4j:rootAppModuleScope name="Activity_Plan_ObjectView1AppModule" >
    <contents>
    <bc4j:viewObjectScope name="Activity_Plan_ObjectView1" >
    <contents>
    <bc4j:rowScope name="UpdateActivity_Plan_ObjectView1" >
    <contents>
    <bc4j:messageInput attrName="PlanId" prompt="Plan ID" />
    <bc4j:messageInput attrName="PlanType" prompt="Plan Type"/>
    <bc4j:messageInput attrName="PlanTypeCode" />
    <bc4j:messageInput attrName="PlanDesc" />
    <bc4j:messageInput attrName="PlanStart" />
    <bc4j:messageInput attrName="PlanFinish" />
    <bc4j:messageInput attrName="ActivityApproved" />
    <bc4j:messageInput attrName="CreatedBy" />
    <bc4j:messageLovField attrName="DeployToLocation"
    onClick="openWindow(top,
    'LocationLOV.uix',
    'lovWindow',
    {width:400, height:450},
    true,
    'dialog')" />
    </contents>
    </bc4j:rowScope>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    </tableLayout>
    </contents>
    </form>
    </contents>
    <contentFooter>
    <!-- place a row of buttons below the content -->
    <pageButtonBar>
    <contents>
    <!-- the cancel button performs a transaction rollback -->
    <button text="Cancel" ctrl:event="cancel" />
    <!-- the update button submits the user-entered
    form data -->
    <submitButton text="Update" formName="updateForm"
    ctrl:event="apply" />
    </contents>
    </pageButtonBar>
    </contentFooter>
    </pageLayout>
    </case>
    </switcher>
    </contents>
    </try>
    </content>
    <handlers>
    <event name="cancel" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="Activity_Plan_ObjectView1AppModule" >
    <!-- rollback the current transaction -->
    <bc4j:rollback/>
    <!-- forward to the summary page -->
    <ctrl:go name="Activity_Plan_ObjectView1_View" redirect="true" />
    </bc4j:findRootAppModule>
    </event>
    <event name="apply" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="Activity_Plan_ObjectView1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="Activity_Plan_ObjectView1" >
    <!-- find the row by key, falling back on a new default
    row if the key is not found -->
    <bc4j:findRow name="UpdateActivity_Plan_ObjectView1" >
    <!-- set each attribute explicitly -->
    <bc4j:setAttribute name="PlanId" />
    <bc4j:setAttribute name="PlanType" />
    <bc4j:setAttribute name="PlanTypeCode" />
    <bc4j:setAttribute name="PlanDesc" />
    <bc4j:setAttribute name="PlanStart" />
    <bc4j:setAttribute name="PlanFinish" />
    <bc4j:setAttribute name="ActivityApproved" />
    <bc4j:setAttribute name="CreatedBy" />
    <bc4j:setAttribute name="DeployToLocation" />
    <!-- commit the transaction -->
    <bc4j:commit/>
    <bc4j:executeQuery/>
    <!-- forward to the summary page -->
    <ctrl:go name="Activity_Plan_ObjectView1_View" redirect="true" />
    </bc4j:findRow>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    </handlers>
    </page>
    LocationLOV.uix :
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j" >
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="LocationView1AppModule"
    definition="uiXML.BC4J_PackageModule"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="LocationView1"
    rangeSize="5" />
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <content>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <displayException />
    </catch>
    <contents>
    <pageLayout xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    title="Location LOV" >
    <!-- Start of common pageLayout section. If you plan to expand this
    example application, consider using a UIT template to specify the common
    portions of your pageLayout -->
    <!-- End of common pageLayout section -->
    <contents>
    <!-- this will contain any validation errors after form
    submission -->
    <messageBox automatic="true" />
    <bc4j:rootAppModuleScope name="LocationView1AppModule" >
    <contents>
    <header text="Search" >
    <contents>
    <form name="search" method="POST" >
    <contents>
    <inlineMessage prompt="Search" vAlign="middle" >
    <contents>
    <flowLayout>
    <contents>
    <choice name="attrName"
    data:selectedValue="attrName@ctrl:page"
    shortDesc="Search Column">
    <contents>
    <option text="LoCode" value="LoCode" />
    </contents>
    </choice>
    <textInput name="attrValue" columns="20"
    data:text="attrValue@ctrl:page"
    shortDesc="Search"/>
    </contents>
    </flowLayout>
    </contents>
    <end>
    <submitButton text="Go" ctrl:event="search" />
    </end>
    </inlineMessage>
    </contents>
    </form>
    </contents>
    </header>
    <header text="Results" >
    <contents>
    <form name="viewForm" method="POST" >
    <contents>
    <tableLayout>
    <contents>
    <bc4j:viewObjectScope name="LocationView1" >
    <contents>
    <bc4j:table name="viewTable" width="20%"
    alternateText="No rows found">
    <tableSelection>
    <!-- single selection for each row in the table -->
    <singleSelection selectedIndex="0" shortDesc="Select Row">
    <contents>
    <!-- the update button causes the currently selected
    row to be sent to the update page -->
    <!-- the delete button causes the currently selected
    row to be removed -->
    </contents>
    </singleSelection>
    </tableSelection>
    <!-- the key identifying the current row in the table -->
    <bc4j:keyStamp>
    <bc4j:rowKey name="key" />
    </bc4j:keyStamp>
    <contents>
    <!-- A bc4j:column element is added for each attribute
    in the ViewObject. -->
    <bc4j:column attrName="LoCode">
    <columnHeader>
    <bc4j:sortableHeader sortable="no" text="Location Code" />
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    </contents>
    </bc4j:table>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </tableLayout>
    </contents>
    </form>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    <contentFooter>
    <!-- the create button redirects to the create page -->
    <button text="Select" ctrl:event="select" />
    </contentFooter>
    </pageLayout>
    </contents>
    </try>
    </content>
    <handlers>
    <event name="search" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="LocationView1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="LocationView1" >
    <!-- search for the view criteria -->
    <bc4j:findByExample>
    <bc4j:exampleRow ignoreCase="true" >
    <bc4j:exampleAttribute>
    <bc4j:nameBinding><bc4j:parameter name="attrName" /></bc4j:nameBinding>
    <bc4j:valueBinding><bc4j:parameter name="attrValue" /></bc4j:valueBinding>
    </bc4j:exampleAttribute>
    </bc4j:exampleRow>
    </bc4j:findByExample>
    <bc4j:executeQuery/>
    <!-- store the current search criteria as page properties -->
    <bc4j:setPageProperty name="attrName" >
    <bc4j:parameter name="attrName" />
    </bc4j:setPageProperty>
    <bc4j:setPageProperty name="attrValue" >
    <bc4j:parameter name="attrValue" />
    </bc4j:setPageProperty>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="sort" source="viewTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="LocationView1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="LocationView1" >
    <!-- sort by the submitted attribute name -->
    <bc4j:sort/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="goto" source="viewTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="LocationView1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="LocationView1" >
    <!-- navigate to the submitted range -->
    <bc4j:goto/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="select" >
    <ctrl:go name="Activity_Plan_ObjectView1_Update" redirect="false" >
    <ctrl:property name="key">
    <ctrl:selection name="viewTable" key="key" />
    </ctrl:property>
    </ctrl:go>
    </event>
    </handlers>
    </page>
    My apologies for such a huge post, hopefully any solutions will serve as some sort of tutorial for others stuck with this problem.
    I thank the kind souls in advance for any solutions they offer.
    Greg

    That's a bit too much code to look into, I'm afraid.
    Perhaps you could enable UIX debug mode (see the UIX
    Configuration chapter) and see the servlet log to
    find out what parameters are being sent back to
    the server.

  • OS X won't boot, files disappearing

    Hi,
    I'm running 10.3.9 on a 12in powerbook whose CD/DVD drive ceased functioning more than a year ago.
    Two days ago processes began to slow down enormously and hanging. On a number of occasions I had to force restart. Last night it failed to restart. Initially the logo would appear and then the sun dial, which just rotated forever. I tried another force restart and after a few minutes there arrived a black screen, similar to terminal, with the message
    :I have no name!>
    I started to worry. I next connected powerbook to another mac via firewire and booted in Target mode. Although extremely slow it did allow me to open some directories, and I was able to copy some files.
    I then ran disk utility which found errors and could not repair the disk, and tried disk warrior which went into hanging state.
    Next I booted in safe and single-user mode: neither worked. I tried a regular boot again and ended up back at the ": I have no name!" message. At this point I ran fsck, which found "overlapped extent allocation" errors and then attempted to rebuild the catalog b tree, but failed. In its description of the system there was also the message:
    "/etc/rc.boot: cannot execute binary file". At this point a standard boot would arrive at the grey page with the apple logo, but without the spinning sundial, like a tomb.
    By now I was a bit pale. I launched the PB in Target mode again and it mounted, but when I tried to browse inside the directories (which was incredibly slow as if connecting to a very slow LAN) they would disappear one by one, as if selecting them was enough to kill them.
    At this point I'm at a loss. Obviously the fact that the CD/VDV drive is broken isn't helping diagnostics. I haven't been able to run a hardware test or to try a reinstallation of the OS.
    What I have:
    My disks
    A powermac
    An external firewire drive
    Can anyone advise me how to proceeed? I recall that command/option/shift/delete allows one to boot from another machine - but so far I haven't been able to do that (is that because of incompatability between my powermac G5 and my powerbook disks)?
    My apologies for the incoherence of this post, but it's been a long night. Any help would be appreciated.
    cheers,
    a.
    Powerbook Mac OS X (10.3.9)
    Powerbook   Mac OS X (10.3.9)  

    Good advice, colin clarke 1, but let's not think that a partition is exactly like a physical drive (I use the word physical in its real sense, not the DOS sense). If the hard drive (the actual physical drive) fails, that would mean that both partitions are also sunk. What you can recover from is corruption of the volume info of a partition and, in fact, that is a common recovery option with multi-partitions. Even if the disk utility cannot repair completely, you may be able to copy all important data of the partition to another drive or partition and erase the troubled partition. Ninety percent of the time (give or take) that will fix all data corruption issues on a partition. Brute force has its uses. I have done it a dozen times and it is a god-send.
    I have also, less often, come up against corruption that is at the whole-drive layer and that cannot be fixed by erasing a single partition or even all partitions. For that nasty issue, the only resolution is success with a disk repair utility or initialize the whole drive again.
    Oh, BTW, I am sure Disk Utility of OS X has an option to mark bad sectors out. The old Drive Setup program of OS 9 could do it so I can't imagine that Disk Utility would not have that option.

  • How to set values of a parameterized message in ADF Faces?

    Hi all,
    i've got the following problem: I want to set the values of a parameterized message before i add the message to the FacesContext.
    Contents of the message resource bundle:
    testPage.successMsg.create=The device {0} was created successfully!
    Code within backing bean method:
    String message = getStringFromBundle("testPage.successMsg.create");
    FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(message));
    In Struts/ADF UIX the following code did the job:
    protected void setUIXInfoMessage(HttpServletRequest request, String key, Object[] args)
    MessageData msgs = new MessageData();
    MessageResources mr = this.getResources(request);
    String msg = "";
    if (mr != null)
    msg = mr.getMessage(request.getLocale(), key, args);
    msgs.addMessage(null, msg, null, UIConstants.MESSAGE_TYPE_INFO);
    request.setAttribute(UIX_MESSAGE_KEY, msgs);
    Can anyone help me with this problem? I have searched a lot in the Oracle ADF Development Guide and within forum, but did not find any solution.
    Another interesting thing is, how to set the parameters from jspx-Code.
    How can i achieve the same results in ADF Faces corresponding to the following UIX-Code:
    <boundAttribute name="title">
    <messageFormat format="${nls['deleteTip.confirmation']}">
    <dataObject source="${bindings.TipName}"/>
    </messageFormat>
    </boundAttribute>
    Resource Bundle:
    deleteTip.confirmation=Do you really want to delete the tip {0}?
    Another question:
    What are the corresponding elements in ADF Faces corresponding to <concat> and <if> in UIX or what possibilites exist in ADF Faces to dynamically concatenate strings depending on certain conditions?
    I know, these are many questions. I am familiar with UIX, but now i have to start developing applications with ADF Faces and there are some things i don't find corresponding equivalents.
    Thanks in advance!
    Regards,
    Stefan

    Hi,
    SRDemo shows you how to do this declratively
    <h:outputFormat value="#{res['srcreate.confirmPanel.message']}"
    escape="false" id="nextButton">
    <f:param value="#{requestScope.SRDEMO_CREATED_SVRID}"/>
    </h:outputFormat>
    where the <f:param ...> element sets the value of the variable
    To programmatically access internationalized strings, SRDemo uses
    private static ResourceBundle getBundle() {
    FacesContext ctx = getFacesContext();
    UIViewRoot uiRoot = ctx.getViewRoot();
    Locale locale = uiRoot.getLocale();
    ClassLoader ldr = Thread.currentThread().getContextClassLoader();
    return ResourceBundle.getBundle(ctx.getApplication().getMessageBundle(),
    locale, ldr);
    public static String getStringFromBundle(String key) {
    ResourceBundle bundle = getBundle();
    return getStringSafely(bundle, key, null);
    You take it from there and put it to a FacesMessage, If it uses parameters I guess you will have to parse the string
    Frank

  • How to concat the data located in ctrl:eventResult and fixed data ?

    I want to concat the data located in ctrl:eventResult and the content of <fixed> ,like the following(it is incorrect):
    <messageTextInput name="name">
    <boundAttribute name="prompt">
    <concat>
    <dataObject select="listName"
    source="ctrl:eventResult"/>
    <fixed text="Hello"/>
    </concat>
    </boundAttribute>
    Thanks.

    I don't see anything wrong with your code - I was able to set up a small test case using it and didn't see any problems with concatenation. Are you certain that you are setting up the EventResult property correctly? Does the following code work?
    <styledText data:text="listName@ctrl:eventResult"/>Can you post your code which creates the EventResult object?
    Andy

  • Uix frameset - how to get the current frame name?

    I have a frameset with 3 different frames in it. a top, center and bottom.
    There is a menu in the top frame that changes the contents of the center or bottom frame.
    How can I get the value of the frame name for the current frame into a bound value like a httpsession or page?
    for example if I change the center frame to "listadmin.uix" how can I load a bound value with the frames new source?
    Is there a way to pass javascript to a boundvalue? I could get the frames new properties from javascript

    In Jdev 9.0.3 you could do something like this:<frameBorderLayout>
    <start>
       <frame name="sideFrame">
        <boundAttribute name="source">
         <ctrl:pageURL name="sideFramePage">
          <ctrl:properties>
           <ctrl:property key="currentFrame"
                          value="sideFrame"/>
          </
         </
        </
       </
    </
    </then in startFramePage.uix you can access the current frame name by doing:<styledText data:text="currentFrame@ctrl:page"/>

Maybe you are looking for

  • Unable to view photos although after sycronising after upgrade to IOS 5.1.

    Hi, I'm unable to view the photos after syncronising although application shows that I've successfully syncronise 9 photos. None can be displayed.This is after upgraded to IOS 5.1.Pls help.

  • Bank of America and JPM Chase Agree to Erase Debts From Credit Reports After Bankruptcies

    http://www.nytimes.com/2015/05/08/business/dealbook/bank-of-america-and-jpmorgan-chase-agree-to-erase-debts-from-credit-reports-after-bankruptcies.html?hp&action=click&pgtype=Homepage&module=first-column-region&region=top-news&WT.nav=top-news&_r=1  T

  • Problem with stoping managed server

    I have wls 10.3.5 on solaris10 64bit, created the domain mytest_cluster with AdminServer and two managed servers in one cluster: ms1 and m2. All are on the same server. For ms1 I can start and stop with no problem. For ms2 I can start, but I cannot s

  • Upgrading from MX2004 to CS4

    I have currently my work copy of CS3 Web Premium installed on my home office computer, as I work from both. I am planning to leave my employer and have bought my own license of CS4 Design Premium (upgrading from my own MX2004 Studio). I'll remove CS3

  • Using DNG Format to full potential

    This has been mentioned before but I'd like to re-iterate it. I can see no reason why LR should not be using the high quality previews, embedded in DNG file, at least as an option, when it comes to generating web galleries. Parsing the full RAW data