UIX tables and RangeSet

Hi to all;
Let's suppose that we have an view object with 100 records and we are browsing at an common UIX table lets say (1..6 lines) iterator rangeSize = 6;
Some event where called and that view object changes the CurrentRow to the 50th record;
Just like an Browse and Seek records page;
How can i tell to UIX Table that the CurrentrangeSet was changed ?
Thank you;

Thanks for the reply;
But i think that i do not make myself clear;
The problem was when we have an UIX Table browsing records and we change the underlined ViewObject CurrentRow to some row that was not between the actual rangeSet.
Uix table behavior was just not making self refresh of it's data;
Just few hours after posting here i came to this code; and seams to have solved the problem;
public void onSeek( DataActionContext ctx )
      DCIteratorBinding dcDec =            
         ctx.getBindingContainer().findIteratorBinding("DecIterator");
      Row[] r = dcDec.getRowSetIterator().findByKey(k,1);
      if ((r!= null) && (r.length > 0))
         dcDec.getRowSetIterator().scrollRangeTo( r[0],0 );  // here i think is the point
         dcDec.getRowSetIterator().setCurrentRow(r[0]);
  }Very Thanks ;
Marcos Ortega
Brazil

Similar Messages

  • UIX table and textInput with multiple rows

    JDev 9.0.5.2
    I created an input form with a messageTextInput which allows the user to enter in multiple lines of text with the ability to use the return key. When I edit the record, the messageTextInput displays the lines of text just as the user entered them with the correct spacing and returns.
    My question is how do I get the messageTextInput data to display properly in a UIX read only table?
    I am able to display it with a scroll bar but I would prefer for the field to be sized based on the amount of data to display without scroll bars.
    Thanks for any help.

    I tried this but the table would not use my new style. Here is what I have in my xss:<style selector=".DVTableBorder">
    <property name="border-width">0px 0px 0px 0px</property>
    </style>

  • UIX tables and prompts

    Within the <table> tag I want to be able to render <messageTextInput> such that both the field and the prompt are displayed. However, whilst I can display the field I can never get the prompt to display. It would appear that the <table> automatically suppresses the prompt.
    Is this standard behaviour and if so how can I achieve the look and feel I want?

    Thanks for the reponse. I've tried using the <tableLayout> and various other layouts but none seem to work.
    I appreciate that in 95% of cases the column header should be used but in this particular scenario I want to display several address fields stacked vertically in the same column. The column header will be "Address" but I also need to prompts on the individual fields to indicate which is the "Town","State", etc.
    I think I can achieve what I want by just putting some <styledText> tags with the relevant prompts next to the fields. I just can't use the prompt property.
    Thanks for the help ... at least I know I'm not doing something wrong.

  • Column / Row Spanning in UIX table

    Hi There,
    Anybody know how to achieve column/row spanning when using the uix databound table?
    For example, i would like a table which looked similar to the following:
         | Cell1  | Cell2 | Cell3 |
         | A spanned cell         |
         --------------------------Is it also possible to combine this with row spanning in a UIX table and then further combine it with the single-selection bean, producing an output similar to the below (how complex can i make this :)) :
         | Select | Column 1 | Column 2 | Column 3 |
         |        |  Cell 1  |  Cell 2  |  Cell 3  |
         |   o    |---------------------------------
         |        |  A spanned cell                |
         |        |  Cell 1  |  Cell 2  |  Cell 3  |
         |   o    |---------------------------------
         |        |  A spanned cell                |
         -------------------------------------------I guess I should add that both rows on the same select line would come from the same row of the data source.
    I get the impression that spanning can be done from looking through the BLAF standards at http://www.oracle.com/technology/tech/blaf/specs/tables.html#banding_group_colrow, although maybe this just related to the table layouts (where spanning of this type is easy enough) and isn't applicable/implemented for the databound table itself?
    Anyway, thanks in advance for any help :)
    Cheers,
    Lee

    Hi ,
    I have updated the function and its working fine.
    alter
    FUNCTION [dbo].[fnGetFirstOcurrences]
    (@Text nvarchar(max),
    @Delimiter
    char(1),
    @StopAt
    smallint)
    RETURNS
    nvarchar(max)
    BEGIN
    DECLARE @Return
    nvarchar(max),
    @Final
    int = 0,
    @Times
    smallint = 1,
    @Delimiters
    smallint
    SELECT  @Delimiters
    = LEN(@Text)
    - LEN(replace(REPLACE(@text,'
    ','#'), @Delimiter,
    IF
    (@Delimiters
    >= @StopAt)
    BEGIN
    WHILE @Times
    <= @StopAt
    BEGIN
    SET @Final
    = CHARINDEX(@Delimiter, @Text
    + @Delimiter, @Final
    + 1)
    SET @Times
    = @Times + 1
    END
    SET @Final
    = @Final - 1
    SELECT  @Return
    = LEFT(@Text, @Final);
    END
    ELSE
    BEGIN
    SELECT @Return
    = @Text +
    REPLICATE('  '
    + @Delimiter,
    (@StopAt - @Delimiters)
    - 1)
    END
    RETURN
    ISNULL(@Return, @Text)
    END
    Thanks
    Thankx &amp; regards, Vipin jha MCP

  • Jdev 10.1.2 UIX table double rows

    After migrating to JDev 10.1.2 I met such problem!
    When I add row to editable UIX table and then try to select another row the row I just added makes double!
    Does anybody meet such problem?

    Repost

  • "Next" and "Previous" functionality on UIX tables not working with 10g

    With new release of JDeveloper(10G), the "Next" and "Previous" navigation buttons/links on UIX tables are not working. I tried different approaches:
    1. It does not work with Data Controls built from Java Beans or from TopLink.
    2. I tried without using Data Controls and it still does not work.
    I shows "Next" and "Previous" buttons on the page. But it shows all records on the page rather then showing limited records. Say for example if the block size is 5 and total number of records are 15, it shows all 15 records in the table but the "next" and "Previouds" button would say "1-5 of 15".
    Did any of you observe the same behaviour?

    Hi Shital -
    Thanks for the additional info...
    When I said that the total number of records is 15, I
    meant that my tableData's DataObjectList contains 15
    entries. (In case of DataControls you don't even use
    DataObjectList, but for my non data control
    applications I used DataObjectList). You are saying
    that If I want to display only 5 records per page
    then I will need to provide a DataObjectList with
    five items. Then for next five records from 6-10 I
    will have to program in such a way that my method
    call returns 6-10 records.That's correct. In the case where you are explicitly providing data to the table via a DataObjectList, you need to feed the data to the table in page size blocks - and you also need to handle the table's goto event to scroll the table to the next/previous block of data.
    In previous version of
    UIX(2.1.7) I never had to program for next and
    previous buttons. UIX tables used to take care of
    that. That's why I am so surprised.It sounds like you must have been using the <bc4j:table> component. Is that the case?
    Getting back to your original issue...
    1. It does not work with Data Controls built
    from Java Beans or from TopLink.I believe that this is a bug in the preview release - and I'm fairly sure this will be addressed by production. In production, ADF should automatically handle wiring up table scrolling for you when binding your table to a data control - whether the data control is implemented via JavaBeans, Toplink, or BC4J. I believe that in the preview release, scrolling only working when binding to a BC4J data control.
    Andy

  • Hiding certain columns in UIX table

    I want to hide certain colums of my UIX table based on VO at runtime depending on context.
    I know that I can use the rendered property of a column but I believe there is a way to do it without dealing with UIX. The reason is that I have about 30 dynamic colums so specifying the property (and enabling the appropriate bindings) seems to be tiresome and unreasonable.
    I have a method in AppModuleImpl.java that sets the VO query and I want this method to hide the unwanted colums somehow.
    Any suggestions ?

    What about in your UIX table adding a columnGroup containing the 30 odd columns, setting its rendered property to true/false through EL (expression language) based on whatever the context you refer to is (possibly a session variable previously set)? That way you wouldn't have to set the rendered property for each individual column.
    CM.

  • Uix table with multiple lines per row

    Hi,
    how can I design a table that has multiple lines for one row.
    It should look like this
    row1-cell1 row1-cell2
    row1-cell3 row1-cell4
    row2-cell1 row2-cell2
    row2-cell3 row2-cell4
    Thanks a lot.
    Christian

    Christian,
    I'll scribble down a quick example off the top of my head...
    <table data:tableData="${mydata}">
    <column>
    <stackLayout>
    <link text="cell1"/>
    <link text="cell3"/>
    </stackLayout>
    </column>
    <column>
    <stackLayout>
    <link text="cell2"/>
    <link text="cell4"/>
    </stackLayout>
    </column>
    </table>
    I recommend you just play around with UIX XML, and you'll find something that works.
    Hope this helps,
    Ryan

  • UIX table tag's attribute VALUE is missing in jdev 10g production

    In JDeveloper 10g preview, I handled my table's navigation manually and need to set the table's tag attribute VALUE in order to keep the record range.
    However, when i convert my project to JDeveloper 10g Production, eventhought the page is still working fine, but in the design windows will show that the uix page is in invalid state and I found that the attribute VALUE is no more supported.
    Could anyone please help me and let me know how do i set back my record range? Thanks!

    It turns out that you're running into a bug that will be fixed in the soon to be released version of JDev 10g. The good news is that it's a design time bug, so your pages will still work at runtime. You can even fix the bug yourself if you want. In JDEV_HOME\jlib there is uix2-schemas.zip. Inside of that is ui/table.xsd.
    Add the below attribute definition inside of the complex type for the table, and you should be all set.
    <attribute name="value" type="ui:unsignedIntExpressionType" default="1"/>
    Hope this helps,
    Ryan Pollock
    UIX Team

  • uix:table using JSP tags

    I cannot figure out how to bind a dataobject list using the <uix:table> tag. Could someone please help me with this.
    Jeff Driskell

    Do you mean that you already have a DataObjectList which you want to set as the <uix:table>'s tableData attribute? If so, I believe you have two choices:
    1. You can use a scriptable variable for the table and call setTableData() explicitly on the TableBean.
    2. You can use a scriptable variable for a dataScope and register a DataProvider which provides access to your DataObjectList. Then, you can use the tableDataBinding attribute of the <uix:table> tag to bind to your DataProvider.
    Examples of both of these techniques are provided in the "Scriptable variables" section of the "UIX JSP Tag Libraries" section of the UIX Developer's Guide.

  • Creating a LINK in ADF UIX table

    Dear sirs...
    is it possible to create a link for each row in an adf uix table? the link selects the row and forwards to another page.
    i have seen this in a JSP page, but uix????
    best regards

    Dear sirs...
    is it possible to create a link for each row in an adf uix table? the link selects the row and forwards to another page.
    i have seen this in a JSP page, but uix????
    best regards

  • How to get rid of "Previous" en "Next" header in UIX Table?

    I have the simplest of UIX tables in my page,
    showing a single column of dates:
    <table model="${bindings.Startmoment}">
    <contents>
    <column>
    <contents>
    <styledText model="${uix.current.myDate}"/>
    </contents>
    </column>
    </contents>
    </table>
    This renders all the dates, along with a table header
    showing "Previous" and "Next" options, which are grayed out. I don't want this for this particular table - how
    can I switch this "Navigation Bar" off? None of the standard blocksize, minvalue, etc. properties seem to have any effect.

    currently it is not possible to remove the previous/next labels.

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

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

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

  • UIX, TableProxy, and checkboxes

    Hi all,
    I've got a column in a UIX table filled with checkboxes. I want to put a checkbox in the column header, and write some Javascript so that when the header checkbox is checked or cleared, all the checkboxes under it are checked or cleared too. Here's the relevant snippet of my UIX source:
    <columnHeader>
    <stackLayout>
      <contents>
       <sortableHeader text="Remove"/>
       <messageCheckBox name = "selectAll"
        required="no"
        checked="false"
        onClick="javascript:selectAllForDeletion(checked)"
       />
      </contents>
    </stackLayout>
    </columnHeader>
    <contents>
    <messageCheckBox
      id="${ui:concat('Criteria:SelectedForDeletion:',uix.current.tableIndex)}"
      required="no"
      model="${uix.current.CriteriaSelectedForDeletion}"
      name="SelectedForDeletion"
      checked="${uix.current.CriteriaSelectedForDeletion==''}"
      prompt="Remove"
      value=""
    />
    <formValue name="SelectedForDeletion" value=""/>
    </contents> And my relevant Javascript function is
    function selectAllForDeletion(selectAll)
      var proxy = new TableProxy('Criteria');
      var rowCount = proxy.getLength();
      for (var i=0; i<rowCount;i++)
        proxy.getFormElement('SelectedForDeletion', i).checked = selectAll;
    } But this isn't working--I'm not getting an error; just nothing happenning.
    I tried putting an
    alert(proxy.getFormElement('SelectedForDeletion', i).checked);before explicitly setting it, and it came out "undefined", which makes me think that
    proxy.getFormElement('SelectedForDeletion', i)is not in fact returning the checkbox.
    I'd greatly appreciate any help you can provide.
    Thanks much,
    Avrom

    Perhaps the problem might be that your messageCheckbox and your formValue both have the same name. So your javascript might be trying to select the wrong form element.
    Also the table has built-in support for "selecting and acting". You can turn this on my specifying multipleSelection for the table bean's tableSelection property. A column of checkboxes are rendered and are wired up automatically to button(s). If this suits your needs, this is a much easier way to go.

  • How to use one query against multiple table and recieve one report?

    I have duplicate tables, (except for their names of course) with commodities prices. They have the same column headings, but the data is different of course. I have a query that gives me a certain piece of information I am looking for but now I need to run this query against every table. I will do this every day as well, to see if the buying criteria is met. There are alot of tables though (256). Is there a way to say run query in all tables and return the results in one place? Thanks for your help.

    hey
    a. the all 256 tables whuld be one big partitoned table
    b. you can use all_tables in order to write a select that will write the report for you:
    SQL> set head off
    SQL> select 'select * from (' from dual
      2  union all
      3  select 'select count(*) from ' || table_name || ' union all ' from a
      4  where table_name like 'DB%' AND ROWNUM <= 3
      5  union all
      6  select ')' from dual;
    select * from (
    select count(*) from DBMS_LOCK_ALLOCATED union all
    select count(*) from DBMS_ALERT_INFO union all
    select count(*) from DBMS_UPG_LOG$ union all
    remove the last 'union all', and tun the generated quary -
    SQL> set head on
    SQL> select * from (
      2  select count(*) from DBMS_LOCK_ALLOCATED union all
      3  select count(*) from DBMS_ALERT_INFO union all
      4  select count(*) from DBMS_UPG_LOG$
      5  );
      COUNT(*)
             0
             0
             0
    Amiel

Maybe you are looking for

  • Can a Mac Pro boot off a MacBook Pro in Target Disk Mode?

    Summary: "Are you able to boot a Mac Pro off of a Mac Book Pro in Target Disk Mode?" OR "Will a Mac Pro boot off an OS X install that was made on a MBP?" Details: I'm finishing a music project that was created on a PPC G5 Quad computer and going to a

  • HTML preview on front panel

    Hi! Is it possible to preview a text that contains HTML tags on the front panel as HTML? I'd like to see my html report result before i save it into file.  Thanks  Solved! Go to Solution.

  • How to activate classic scenario?

    Dear experts, What are the generic settings required to activate classic scenario?Are there other settings required other than below? 1. If extended classic scenario is not activated in global mode: a. Replicate product categories from ERP backend to

  • Bode magnitude graph cursor not following plot

    Hi, I was wondering if anyone would be able to shed some light on a problem that I am having regarding an XY graph cursor. I have developed a simple VI to determine the characteristics of a low pass filter using a sine wave ramped in frequency and su

  • Questions on pipe channel and e-mail processing

    Hi There, We currently have a sendmail (on Solaris) based system that we use for our primary MTA. Our iMS5.2 (on Solaris 8) is used for message storage. We will want to migrate our sendmail system to the Iplanet MTA. However, I need some ideas on how