Uix:navigationBar

Is there a way that I can disable the "Next" link (keeping the previous link enabled) in the UIX navigation bar without setting the maxValue?
Currently, we pull the RowSet from a VO and put those rows into a DTO (i.e. an ArrayList of objects) and iterate through the DTO inside our JSP. We're still using the uix:navigationBar to allow the user to scroll through the resultSet. Our settings look like this:
<uix:navigationBar minValue="0"
maxValue="-1"
blockSize="100"
value="<%=newIndx%>"
formSubmitted="true"
name="ResultNavBar"
formName="myForm"
destination="<%=link%>" />
We set the maxValue to -1 because we do not know the total # of records that will come back from the database.
This also allows us to hide the "x-y of n" select box between the previous and next links.
I am able to control the blocks of records that the user can see and correctly navigate to the end of the set and back. However, once at the end (last page) of the collection, the user is able to continue to hit the "next" link because it is still enabled and the maxValue is not set. This will then cause problems when they hit the "previous" link because the index value continues to increment (by 100), so they'll have to hit the previous link the same number of times they hit the next link (AFTER) the last page has already been displayed before they'll actually start going back through the rowset.
I can get the next link to be disabled on this last page only if I set the maxValue to be =< the current Index (value), but then the select box shows up on this last page with incorrect values.
Is there anyway to get the next link to be disabled without setting the maxValue, without showing the select box and without having to figure out the total # of rows returned from the query?
Thanks!
-Teri
[email protected]

the moment you set the maxValue and the blockSize you get the choice. there isn't a way to turn this off.
I can get the next link to be disabled on this last page only if I set the maxValue to be =< the current Index (value), but then the select box shows up on this last page with incorrect values.
what incorrect values?
the other thing that you can do is in your application logic detect when it is the last page and not advance the counter. This way, the user may click 5 times on the last "next" link, but the counter is not increased and he has to only click once on the previous link to get back to the "real" data.

Similar Messages

  • Help with navigation step by step, handlers and train

    HI, im trying to use a train with a navigationbar, to make a relationship between 3 pages in a step by step process, but I can`t configure the links in the next and previous buttons, if it`s posible, could any body help me ?
    to relate this
    <uix:train selectedIndex="1">
    <uix:contents>
    <uix:link text="Conceptos Cobros"
    destination="cobros1.jsp"/>
    <uix:link text="Formas de Pago"
    destination="cobros2.jsp"/>
    <uix:link text="Impresisn"
    destination="cobros3.jsp"/>
    </uix:contents>
    </uix:train>
    and this
    <uix:pageButtonBar>
    <uix:contents>
    <uix:navigationBar minValue="1" maxValue="3" value="2" />
    </uix:contents>
    </uix:pageButtonBar>
    and change between the asp pages.

    Navigation bars do not let you set the destination for previous and next
    separately. Rather, they deliver an event to the specified destination
    (or to the destination on the form, if you're using formSubmitted).
    See the navigationBar documentation for the details on the
    parameters of this event.

  • ADF UIX:  MessageChoice in a table. NavigationBar.

    Hi,
    I've got two problems with adf uix.
    I would like to have a drop-down list which presents the answers possible to each questions. (An answer is referancing a questions with two columns: quesNumero, and numerodep, sequenced in parent).
    I don't know why, but the visible answers are those of the first question.
    Here are the properties of the list binding editor:
    http://img81.imageshack.us/img81/5376/prob16rj.jpg
    Here's the source code of the list:
    <column>
    <columnHeader>
    </columnHeader>
    <contents>
    <messageChoice model="${bindings.current.Remarque3}">
    <contents childData="${bindings.Remarque3.displayData}">
    <option model="${uix.current}"/>
    </contents>
    </messageChoice>
    </contents>
    </column>
    Here the result:
    The answer is matching only the first question.
    How could I correct that?
    In addition, I would like to have all the recordings on a page. I would like that the table does not use a navigationBar. I have each time between ten and tewnty questions to post and I don't want that the user must change pages to see the last questions. How can I do that?
    http://img72.imageshack.us/img72/6851/prob31el.jpg
    Thanks a lot !
    Nicolas

    Nobody ?
    Message was edited by:
    user481143
    Message was edited by:
    user481143

  • Use NavigationBar

    I will want to use the tag navigationBar manualy with ViewObject.
    I made of DataBinding on my ViewObject with DataObjectList and DataObject.
    Here the code uix:
    <bc4j:viewObjectScope name="ViewGcoGood">
    <contents>
    <dataScope>
    <provider>
    <data name="fromGcoGoodPublicView2">
    <method class="mypackage.ui.bc4j.ViewHook" method="getList"/>
    </data>
    </provider>
    <contents>
    <navigationBar name="emps" data:blockSize="rangeSize@navBar@fromGcoGoodPublicView2" data:value="currentRow@navBar@fromGcoGoodPublicView2" minValue="1" data:maxValue="rowCount@navBar@fromGcoGoodPublicView2"/>
    </contents>
    </dataScope>
    </contents>
    </bc4j:viewObjectScope>
    And in my Java class here how I return the three values.
    // RangeSize, RowCount, CurrentRowIndex.
    public Object selectValue(RenderingContext context, Object key)
    // Make sure that the key is non-null
    if (key != null)
    try
    if (RANGESIZE_KEY.equals(key))
    return IntegerUtils.getInteger(_iterator.getRangeSize());
    else if (ROWCOUNT_KEY.equals(key))
    return IntegerUtils.getInteger(_iterator.getRowCount());
    else if (CURRENTROW_KEY.equals(key))
    return IntegerUtils.getInteger(_iterator.getCurrentRowIndex());
    else
    return null;
    catch (NoDefException nde)
    // Do nothing. It's legal to pass an invald key to DataObjects.
    return null;
    But with my code doesn't that function well and I do not know why?
    Thank you in advance.
    Nathanael

    Thank you for your answer.
    Finnally I have found my problem.
    For exemple, A viewObject with 8 row and a range set at 5.
    I know navigationbar rendering 2 set 1-5 and 6-8 ok.
    I have in set 1-5 and click next. Normally navigationBar show set 6-8. But not navigationBar change and show 3 set, 1-3, 4-6 and 7-8. The problem come from this code :
    _iterator.getRangeSize(); This methode return the real range size and not the definition range size.
    I have to seek and seek how to make to reach that :
    <bc4j:viewObjectDef name="ViewGcoGood" rangeSize="5" />
    Finnally I have found this :
    // RangeSize, RowCount, CurrentRowIndex.
    public Object selectValue(RenderingContext context, Object key)
    // Make sure that the key is non-null
    if (key != null)
    try
    RootAppModuleDef rootappmoduledef = (RootAppModuleDef)context.getProperty("http://xmlns.oracle.com/uix/bc4j", "rootAppModuleDef");
    ViewObjectDef viewDef = rootappmoduledef.findViewObjectDef(_iter.getName());
    if (RANGESIZE_KEY.equals(key))
    return IntegerUtils.getInteger(viewDef.getRangeSize());
    else if (ROWCOUNT_KEY.equals(key))
    return IntegerUtils.getInteger((int)_iter.getRowSet().getEstimatedRowCount());
    else if (CURRENTROW_KEY.equals(key))
    return IntegerUtils.getInteger(_iter.getRangeStart()+1);
    else if (RENDERER_KEY.equals(key))
    return ((int)_iter.getRowSet().getEstimatedRowCount()<=viewDef.getRangeSize())?Boolean.FALSE:Boolean.TRUE;
    else
    return null;
    catch (NoDefException nde)
    // Do nothing. It's legal to pass an invald key to DataObjects.
    return null;
    The code viewDef.getRangeSize() return the definition range size.
    Yes great.
    Nathanael

  • 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>

  • Unit testing UIX

    Hi Steve
    Can you advice me a tool for unit testing my UIX pages apart from HttpUnit and HtmlUnit frameworks?
    HttpUnit gives javascript errors. HtmlUnit is not practical for the complex HTML produced from a UIX page.
    Thanks

    Cactuz?

  • Why is it not possible to write a UIX (or ADF) portlet for 9iAS?

    Hi,
    I have been trying for months to create a UIX/BC4J portlet for 9iAS but have been unsuccessful. The documentation and examples cover doing this with JSPs (there is a nice Forum application available for download on portalstudio). However all of my attempts to use UIX have hit a brick wall - we want to use UIX, not JSP!
    I have raised a TAR on Metalink and it has been going back and forth for several months. The support analyst has finally closed it in frustration because he cannot even tell me whether it is possible, let alone give me an example! I have investigated the JPDK and all of the UIX documentation I can get hold of, and have also looked at the ADF components in 10g, and the "Java Portlet Wizard" for Jdeveloper, but they are so far all dead ends. Can anyone help me, or explain why it is that a (to me anyway) SIMPLE and LOGICAL integration of two Oracle frameworks is impossible.
    Thanks,
    Steve

    Hi Steve -
    Thanks for the info. I have a few more questions...
    Andy,
    Yes, this is exactly the issue. Currently I am
    invoking the UIX servlet not as a registered portlet
    but as a hard-coded URL link on the portal page.Are you saying that in order to access the UIX application, the user clicks on a link which navigates out of Portal? If so, is this by design, or did you go this route because of problems creating a portlet for your UIX servlet? That is, would you prefer to have your UIX application run inside of Portal as a portlet, or do you explicitly not want this?
    Also, can you provide more background about your deployment environment? In particular, is the UIX application running locally on the same machine as Portal, or remotely on another machine? Is the UIX application running in the same application server/servlet engine as Portal?
    The application runs connected to the database but
    without the context of the SSO Portal user. I want to
    be able to display the Portal username on the uix
    pages, have the VPD context in the database
    connection (we have striped the tables but it only
    works if connected via Portal!!) and potentially have
    access to some of the extended Portal functionality
    in the JPDK (this last one a "nice to have").Unfortunately I have no idea whether this is possible, so I'm not going to be much help on my own. The best I can do is try to track down someone who can actually speak to this issue. However, given the lack of documentation and the fact that you weren't able to get a solution through support, I wouldn't be suprised to find that this type of integration simply isn't supported yet.
    I think you mentioned in the TAR that you had seen support for similar integration with Struts. If you know of documentation which shows how to do this type of thing with Struts, could you point me at it?
    Andy

  • How to open new window in UIX page

    I'm using UIX for view layer. I have text input in the UIX form. When I click on a button, I want to open a new window with the URL built using the value from the input. I want to do it using javascript. Is it possible with UIX?

    Hi Krishnamoorthy,
    Look out the LovXXXX components demo in uix.
    See <script> demo of component guide. This should help you clearly understand the functionalities.
    See documentation of above UIX components
    Like providing handlers to HTML elements, you can attach event handlers to UIX components too. You can attach event handlers on onClick, onMouseOver,... on UIX components just as you would do in HTML.
    http://www.oracle.com/technology/sample_code/products/jdev/index.html
    This link could be of some help to you.
    Thanks,
    Vijay Venkataraman

  • [UIX] How To: Return multiple values from a LOV

    Hi gang
    I've been receiving a number of queries via email on how to return multiple items from a LOV using UIX thanks to earlier posts of mine on OTN. I'm unfortunately aware my previous posts on this are not that clear thanks to the nature of the forums Q&A type approach. So I thought I'd write one clear post, and then direct any queries to it from now on to save me time.
    Following is my solution to this problem. Please note it's just one method of many in skinning a cat. It's my understanding via chatting to Oracle employees that LOVs are to be changed in a future release of JDeveloper to be more like Oracle Forms LOVs, so my skinning skills may be rather bloody & crude very soon (already?).
    I'll base my example on the hr schema supplied with the standard RDBMS install.
    Say we have an UIX input-form screen to modify an employees record. The employees record has a department_id field and a fk to the departments table. Our requirement is to build a LOV for the department_id field such that we can link the employees record to any department_id in the database. In turn we want the department_name shown on the employees input form, so this must be returned via the LOV too.
    To meet this requirement follow these steps:
    1) In your ADF BC model project, create 2 EOs for employees and departments.
    2) Also in your model, create 2 VOs for the same EOs.
    3) Open your employees VO and create a new attribute DepartmentName. Check “selected in query”. In expressions type “(SELECT dept.department_name FROM departments dept WHERE dept.department_id = employees.department_id)”. Check Updateable “always”.
    4) Create a new empty UIX page in your ViewController project called editEmployees.uix.
    5) From the data control palette, drag and drop EmployeesView1 as an input-form. Notice that the new field DepartmentName is also included in the input-form.
    6) As the DepartmentName will be populated either from querying existing employees records, or via the LOV, disable the field as the user should not have the ability to edit it.
    7) Select the DepartmentId field and delete it. In the UI Model window delete the DepartmentId binding.
    8) From the data controls palette, drag and drop the DepartmentId field as a messageLovInput onto your page. Note in your application navigator a new UIX page lovWindow0.uix (or similar) has been created for you.
    9) While the lovWindow0.uix is still in italics (before you save it), rename the file to departmentsLov.uix.
    10) Back in your editEmployees.uix page, your messageLovInput source will look like the following:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="${bindings.DepartmentId.path}"
        destination="lovWindow0.uix"/>Change it to be:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="DepartmentId"
        destination="departmentsLov.uix"
        partialRenderMode="multiple"
        partialTargets="_uixState DepartmentName"/>11) Also change your DepartmentName source to look like the following:
    <messageTextInput
        id=”DepartmentName”
        model="${bindings.DepartmentName}"
        columns="10"
        disabled="true"/>12) Open your departmentsLov.uix page.
    13) In the data control palette, drag and drop the DepartmentId field of the DepartmentView1 as a LovTable into the Results area on your page.
    14) Notice in the UI Model window that the 3 binding controls have been created for you, an iterator, a range and a binding for DepartmentId.
    15) Right click on the DepartmentsLovUIModel node in the UI Model window, then create binding, display, and finally attribute. The attribute binding editor will pop up. In the select-an-iterator drop down select the DepartmentsView1Iterator. Now select DepartmentName in the attribute list and then the ok button.
    16) Note in the UI Model you now have a new binding called DCDefaultControl. Select this, and in the property palette change the Id to DepartmentName.
    17) View the LOV page’s source, and change the lovUpdate event as follows:
    <event name="lovSelect">
        <compound>
            <set value="${bindings.DepartmentId.inputValue}" target="${sessionScope}" property="MyAppDepartmentId" />
            <set value="${bindings.DepartmentName.inputValue}" target="${sessionScope}" property="MyAppDepartmentName" />
        </compound>
    </event>18) Return to editEmployees.uix source, and modify the lovUpdate event to look as follows:
    <event name="lovUpdate">
        <compound>
            <set value="${sessionScope.MyAppDepartmentId}" target="${bindings.DepartmentId}" property="inputValue"/>
            <set value="${sessionScope.MyAppDepartmentName}" target="${bindings.DepartmentName}" property="inputValue"/>     
        </compound>
    </event>That’s it. Now when you select a value in your LOV, it will return 2 (multiple!) values.
    A couple things to note:
    1) In the messageLovInput id field we don’t use the “.path” notation. This is mechanism for returning 1 value from the LOV and is useless for us.
    2) Again in the messageLovInput we supply “_uixState” as an entry in the partialTargets.
    3) We are relying on partial-page-refresh functionality to update multiple items on the screen.
    I’m not going to take the time out to explain these 3 points, but it’s worthwhile you learning more about them, especially the last 2, as a separate exercise.
    One other useful thing to do is, in your messageLovInput, include as a last entry in the partialTargets list “MessageBox”. In turn locate the messageBox control on your page (if any), and supply an id=”MessageBox”. This will allow the LOV to place any errors raised in the MessageBox and show them to the user.
    I hope this works for you :)
    Cheers,
    CM.

    Thanks Chris,
    It took me some time to find the information I needed, how to use return multiple values from a LOV popup window, then I found your post and all problems were solved. Its working perfectly, well, almost perfectly.
    Im always fighting with ADF-UIX, it never does the thing that I expect it to do, I guess its because I have a hard time letting go of the total control you have as a developer and let the framework take care of a few things.
    Anyway, I'm using your example to fill 5 fields at once, one of the fields being a messageChoice (a list with countries) with a LOV to a lookup table (id , country).
    I return the countryId from the popup LOV window, that works great, but it doesn't set the correct value in my messageChoice . I think its because its using the CountryId for the listbox index.
    So how can I select the correct value inside my messageChoice? Come to think of it, I dont realy think its LOV related...
    Can someone help me out out here?
    Kind regards
    Ido

  • ADF UIX Passing values from one Data Control to another

    How to transfer value of any column in the selected row of the table (one data control) to the messageTextInput, based on another Data Control?
    It may be on a single UIX-page or on different pages.
    Thank you.

    HI Prithviraj,
    The problem screen shot is as follows:
    The First Applicant is coming from one sub report and the second applicant is coming from another sub report. It is working fine from Crystal reports. But in the Crystal report viewer i am unable to get the out come as 1,2,3.
    If you need any additional information please let me know.
    Thanks
    Penchal

  • I have a new project -- should UIX or JSP be used?

    I am concluding a UIX project now, and though I think UIX is a terrific idea, these factors have been what I've observed about UIX:
    1) Few examples.
    2) Lack of documentation (either online, or in print).
    3) A very small set of functionality compared to tag libraries available in JSP.
    4) Unable to get good support.
    5) Feedback from others UIX experiences didn't seem very positive.
    Then we have the ADF / JSF picture, which is going to be a reality very soon. My question is this: I have a new Oracle / JDeveloper project for a client starting immediately. What in your opinion is the best course of action with respect to the UI web technology? JSP? Or is UIX still the best way to go (and if so, I need solid reasons here) . Or, is it feasible to deliver now using ADF Faces (project is a 3 month project, and I can't be crippled by bugginess, if that's a possibility)?
    My leaning is JSP, but I'm very interested in others' insight here.
    B

    I chose to push UIX (and ended up being chosen as the framework) for my most recent project. I've had mixed feelings about it... most of the things you've mentioned were also true to my experience. UIX seems to be great as long as you color inside the lines. But if you want to do anything advanced or customized then it starts getting very ugly. There's no source and virtually no documentation about concepts and internals. The best two guides out there are probably the ADF binding primer and the UIX developer's guide... but these still leave a lot to be desired.
    However, to make a case for UIX over JSP, there is a lot of pre-built functionality that JSP doesn't have. The biggest reason I'm glad I chose UIX is PPR and their TABLE tag. There is mostly prebuilt detail disclosure, event handling, scrollable result sets, and single or multiple selection. Also, the page layouts are a nice shortcut and the templating engine is very powerful. And if you can put up with incompetent metalink support, very little help from the forums, and lots of time in google results and the debugger -- well there are some truly amazing features about UIX that could make it worth your while.
    I personally think it really comes down to the requirements of your application. If it's a bigger app, the templating engine in cunjunction with pageLayouts can really simplify coding a consistent navagational interface and look/feel. You will probably benifit a lot from the functionality UIX offers. But it will be a headache if you're not an Oracle employee.
    Just my two cents, for what it's worth. :)
    jeremy

  • [UIX-ADF] How to get the selected row in my ViewObjImpl.java

    Hi,
    I have a uix table with a select column. I dragged my method from my ViewObjImpl
    and dropped it on the select column (radiobutton) as a submitbutton.
    If I run my application and select a row and press my button it always reads the first
    row. Why?
    I also tried including a param in my method, for the record id, but I dont know what to
    pass to my action binding as a param, where can I find the selected row?
    This is what I want, my method in ViewObjImpl.java
    public void doDelete() {
      ViewObjRowImpl pRow = (ViewObjRowImpl)this.getCurrentRow();
      try {
        pRow.setIsDeleted("Y");
        //this.executeQuery();
        this.getDBTransaction().commitAndSaveChangeSet();
        //this.validate();
      } catch(Exception e) { System.out.println("ERROR doDelete" + e);  }
    }It should set the IsDeleted field to 'Y' for the selected row. Perhaps im not doing the
    right thing for this?
    Can anyone give me some pointers?
    Thanks in advance
    Ido

    Thanks. So even if you select a row and then press the button, your method still only finds the first row?!
    Are you sure that the selection mechanism of your table is working? Your tableSelection fires a select event and your page contains a select handler?
    When you wire your page using drag and drop the binding should always use the default iterator of the ViewObject. And getCurrentRow() should always give you the current row of that iterator. So my feeling is that the selection doesn't take place.
    Or could it be that something resets the currency in the ViewObject from another place?
    Sascha

  • Uix two view-objects on one entity-object synchronize

    Hi All
    I want to add some uix pages to an old project using ADF UIX and Business Components.
    I have an entity object to a table witch about 50 fields.
    Now I create two view objects due to a better performance. One witch seven attributes for the overwiew and one with all attributes for the detail page.
    They are related via a view link.
    I create the overview as a read-only-table and the detail-page as an input-form.
    The proplem is that the synchronization don't work. The detail page shows the first dataset ever.
    Has anyone a solution or a tip where I can found that?
    Is where a performance problem if I use one view-object for both pages?
    Thanks in advance
    Roger

    Use custom DataAction for the first page:
    package controller;
    import oracle.adf.controller.struts.actions.DataAction;
    import oracle.adf.controller.struts.actions.DataActionContext;
    public class Class1 extends DataAction
      protected void validateModelUpdates(DataActionContext actionContext)
         //super.validateModelUpdates(actionContext);
          // put you custom validation here
    }http://www.oracle.com/technology/products/jdev/collateral/papers/10g/ADFBindingPrimer/index.html#usingdataaction
    Message was edited by:
    Sasha
    Message was edited by:
    Sasha

  • Uix:Tree - How to populate in jsp ?

    Hello all,
    I'm having trouble to know how to populate an <uix:tree> in a JSP page. I see the UIX Developer's guide and the SimpleTreeData example and the documentation about uix:jsp is very poor. The data that will be posted in the <uix:tree> was provided by IFS. Then, I populate a DataObjectList with the files name. The point is that I don't know how to make a link between this DataObjectList, populated in a class(*.JAVA) file and the <uix:tree>(*.JSP) file. I wanna know how to use only <uix:jsp> and don't use *.UIX files, only *.JSP and *.JAVA files, ok ?
    Here are some code part :
    This is the JSP file
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ page import="Hierarquia" %>
    <%@ page import="oracle.cabo.ui.data.DataObjectList" %>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>
    Ifs - Publicação de Documentos
    </title>
    </head>
    <uix:document>
    <uix:styleSheet />
    <body>
    <uix:body>
    <uix:pageLayout>
    <uix:contents>
    <uix:form name="teste">
    <uix:contents>
    <%
    DataObjectList dados = null;
    Hierarquia x = new Hierarquia();
    x.conecta();
    x.populateTree();
    dados = x.getResultSet();
    %>
    <uix:formattedText text="Teste" />
    <uix:tree id="arvore_teste" nodesBinding="????" formName="teste">
    </uix:tree>
    </uix:contents>
    </uix:form>
    </uix:contents>
    </uix:pageLayout>
    </uix:body>
    </body>
    </uix:document>
    </html>
    Thanks folks !
    Carlos

    Carlos -
    I believe that the best way to do this is to use scriptable variables, eg:
      <uix:tree id="arvore_teste">
        <%
          // Assuming "dados" contains your tree data
          arvore_teste.setNodes(dados);
        %>
      </uix:tree>See the "Scriptable Variables" section in the "UIX JSP Tag Libraries" chapter of the UIX Developer's Guide for more info...
    Andy

  • Want to show UIX Media Model link in new page using jdev1012

    Hi, I hope you can help me.
    I have a read only table in uix page
    there's a Column of type ORDDOC
    here is my code for this column:
    <column>
    <columnHeader>
    <styledText text="${bindings.Doc.label}" styleClass="DefaultFont"/>
    </columnHeader>
    <contents>
    <media
    model="${ctrl:createMediaModel(uix.current.Doc,'AppModulLocal')}"
    shortDesc="${uix.current.DocName == null ? 'Doc' : uix.current.DocName}"
    styleClass="DefaultFont"/>
    </contents>
    </column>
    So it works all fine, i get a link to this file, but if I click on this link it shows this file in the same window as my application.
    And i want to get this link open in a new Window. Just like i could make it with link-tag (targetFrame property) and so I'm trying to find a solution to get the medie link in new page.
    So, is there a possibility to geht this media link in new window ?
    I hope somebody know this problem and can help me.
    Thanks a lot
    Sebastian
    Message was edited by:
    Sebastian_ME
    Message was edited by:
    Sebastian_ME

    Hi, I hope you can help me.
    I have a read only table in uix page
    there's a Column of type ORDDOC
    here is my code for this column:
    <column>
    <columnHeader>
    <styledText text="${bindings.Doc.label}" styleClass="DefaultFont"/>
    </columnHeader>
    <contents>
    <media
    model="${ctrl:createMediaModel(uix.current.Doc,'AppModulLocal')}"
    shortDesc="${uix.current.DocName == null ? 'Doc' : uix.current.DocName}"
    styleClass="DefaultFont"/>
    </contents>
    </column>
    So it works all fine, i get a link to this file, but if I click on this link it shows this file in the same window as my application.
    And i want to get this link open in a new Window. Just like i could make it with link-tag (targetFrame property) and so I'm trying to find a solution to get the medie link in new page.
    So, is there a possibility to geht this media link in new window ?
    I hope somebody know this problem and can help me.
    Thanks a lot
    Sebastian
    Message was edited by:
    Sebastian_ME
    Message was edited by:
    Sebastian_ME

Maybe you are looking for