How to define data lists to scroll automatically in a jsf page?

There is a requirement that data lists (extracts from the database) scrolls automatically in the region within a jsf page as a list of names of actors/actress will be shown and scroll at the end of a movie.

Is there an easy way to implement it in jdev 12.1.2?

Thank you.

This is a great feature of continuous scrolling in tables in the ADF. (However, it is a characteristic of af: listView instead of af: jdev12.1.2 table?)

Blog I've posted in previous answer was talking af:table and not af:listView.

My first use case is different:

This is data auto scrolling on the screen without user interaction.

I got the impression that you're talking about that.

Maybe you can use af:poll and call next() operation.

Or you can try with AdfRichTable javascript api: http://jdevadf.oracle.com/adf-richclient-demo/docs/js_docs_out/index.html (I see methods like scrollToRowIndex(), but I don't know exactly how you can use it)

A related use case is image slideshow:

There are several images to shown but one for once, and the images can be shifted to show in turn automatically.

Is the carousel component more af:poll be a good solution for this requirement?

Yes, carousel will be the appropriate component.

You can use af:poll (ADF 11 g: carousel goes round and round (... and round and..)-AMIS Technology Blog), or javascript to do the rotation (componentCarousel with autospin |) ADF recipes)

Dario

Tags: Java

Similar Questions

  • How to define a group of Web sites as a home page

    I want to configure my home page so that it is a group of Web sites. Similar to what you see when I click on the button tab. BUT I want to clarify what these Web sites and I want that they NEVER to change. Can I do this? Is the case, how?

    I misunderstood your request.

    You can add sites to the new tab page and then pin them so that they are not deleted. For more information, see customize the page new tab

  • How do I layout of items stacked in jsf pages in jdev?

    Hi, experts,

    In jdev (11.1.1.7), how can I do layout of items stacked in a jsf page?

    For example, I put an image component in a jsf page as the background of my App UI page, and I want to put several components such as the outtexts WE (bunk) component image.

    Thank you.

    Hello

    There is a provision which may contain other components, but not all of the components

    Suppose that you can drop the image in a layout of the Panel group but cannot remove a text output in af:image

    so it is not widespread, specify your requirement.

    But if you just add pictures in the background and the component of normal form,

    then just use the layout of the Panel as a root component group and set its background image property in the Properties Inspector

    as - background - image: url("noti_error.jpg");

    Thank you

  • I have need of an arrow or a kind of icon that points and moves to alert the user of the website to scroll down.  Are there widgets or is there a method to move an image in its own.  In addition, how to get my muse Web page to scroll automatically?

    I have need of an arrow or a kind of icon that points and moves to alert the user of the website to scroll down.  Are there widgets or is there a method to move an image in its own.  In addition, how to get my muse Web page to scroll automatically?

    A Google search for "animated gifs arrows" returned hundreds of animated arrows.

  • How to define JDBC Data Sources in Oracle MapViewer for Oracle database 12 c Release 1 (12.1.0.1)

    How to define JDBC Data Sources in Oracle MapViewer for Oracle database Release 1 (12.1.0.1) 12 c?

    Here is my setup in the conf\mapViewerConfig.xml:


    < name map_data_source = "mvdemo12".

    jdbc_host = "127.0.0.1".

    jdbc_sid = "orcl12c1".

    jdbc_port = '1522 '.

    jdbc_user = "mvdemo".

    jdbc_password = "7OVl2rJ + hOYxG5T3vKJQb + hW4NPgy9EN.

    jdbc_mode = 'thin '.

    number_of_mappers = '3 '.

    allow_jdbc_theme_based_foi = 'true '.

    Editable = "true" / >

    <!--  ****  -->

    But it does not work.

    After use "sqlplus mvdemo / [email protected]:1522 / pdborcl", it connected to the Oracle 12 c database.

    Anyone know it?

    Thank you

    11.1.1.7.1 use the jdbc_sid syntax, i.e.

    as described in the README file, mypdb1.foo.com

    -Sources of native data (no container) MapViewer can now use the service name of database instead of SID. To provide a db service name, you will use the same attribute of jdbc_sid, but specify the name of the service with double slashes in front, as follows:

    jdbc_host = "foo.com"

    jdbc_sid="//mypdb1.foo.com".

    jdbc_port = '1522 '.

    ... ...

    />

    Use a container_ds to the 11.1.1.7.0.

    that is, instead of using

    jdbc_host = "mydbinstance".

    jdbc_sid = "pdborcl12c".

    jdbc_port = '1522 '.

    jdbc_user = "mytestuser".

    jdbc_password = "m2E7T48U3LfRjKwR0YFETQcjNb4gCMLG8/X0KWjO00Q ="

    jdbc_mode = 'thin '.

    number_of_mappers = "6".

    allow_jdbc_theme_based_foi = "false".

    Editable = "false".

    />

    use

    container_ds = "jdbc/db12c.

    number_of_mappers = "6".

    allow_jdbc_theme_based_foi = "false".

    Editable = "false".

    />

    In my case the Glassfish 3.1.2.2 JDBC connection pool definition has been

    Property

    URL jdbc:oracle:thin:@mydbinstance:1522/pdborcl12c.rest_of.service.name

    Uncheck the wrap JDBC objects in advanced Panel, that is, the page properties change JDBC connection advanced pool.

    Add a resource to that newly created JDBC pool

    Use in mapviewerconfig.xml as above

  • How to declare a list of dates

    Hello

    I have a question what type is "show as text based on LOV. I put in the source section under the "Body of the Pl/SQL function" type the following pl/sql function:
    DECLARE
    X VARCHAR2 (4000);
    Y DATE ;
    BEGIN
    X := 'SELECT distinct(TO_CHAR(DATE1, ''YYYY'')) d, (TO_CHAR(DATE1, ''YYYY'')) r FROM SIVOA.EVV_'|| :p4_site ||' WHERE CLEF_VAR = (SELECT CLEF_VAR FROM SIVOA.SITE_DEBIT_RIVIERE WHERE SITE ='''|| :p4_site ||''')
    order by d';
    EXECUTE IMMEDIATE X INTO Y;
    RETURN Y ;
    END;
    The problem is that I get an error ORA.
    ORA-00932: inconsistent data types; EXPECTED:; obtained:-

    I know I said Y as a date and that which is returned by my function is a list of dates. I don't know how to report a list of dates or anything to be returned as a lily of the values. I hope that I am clear, sorry for my English.

    Thank you for your help.

    Christian

    You must return the string SQL, not a date value:

    DECLARE
    X VARCHAR2 (4000);
    BEGIN
    X := 'SELECT distinct(TO_CHAR(DATE1, ''YYYY'')) d, (TO_CHAR(DATE1, ''YYYY'')) r
    FROM SIVOA.EVV_'|| :p4_site ||' WHERE CLEF_VAR = (SELECT CLEF_VAR FROM
    SIVOA.SITE_DEBIT_RIVIERE WHERE SITE ='''|| :p4_site ||''')
    order by d';
    RETURN X ;
    END;

  • How can I make page scrolls automatically in a certain place?

    I make a portfolio page, the home page has links to different works. (Grahpic design, photography, drawing, etc.)

    Home page contains a link to a HTML 'drawings' but my drawing pictures are at the bottom of the page.

    I was able to add an anchor on the page of html design itself on a link which I titled "drawing", so that when you click on it, it scrolls down.

    My problem is that on my home page when I click on the link to reach the html design, it will not parade down to the selected area on the page unless I click on "design" link once again, but a person who consults the page wouldn't click on drawing twice to see the drawings.

    I don't know if it makes sense, but basically, I want it to work so that when I'm on the home page and I click on the drawing page, it scrolls automatically downwards without having to click again on the link "drawing."

    On the home page link, add the fragment of the anchor (#drawing) at the end of the name of the file in the link:

    for example

    Way: go to the file named "drawing.html" and on this page scroll down the anchor named "drawing."

  • Resizing of custom data list

    Hello! I created a list of custom data in Catalyst beta 2, defined his repeated point and put a scroll bar inside. I would use this list of data in several places, in various sizes, of course, but I can't change the size only when you change parts list and resizing of the area of the repeated element (but it affects all instances, of course). When I place an instance of the list on the Web, it is not resizable, it has no adjustable squares in the corners and also the width and height properties are disabled in the properties panel. How can I create a resizable data list?

    Thanks in advance,

    Attila

    Hi Attila,

    Unfortunately, the first version of Catalyst does not support creating resizable components. It is a high priority for future versions.

    Here's what you can do in the meantime:

    (1) create the resizability in Flash Builder - you will need to write the code of simple constraints. Let me know if you need some learning resources.

    (2) duplicate the component in two different sizes. There are two ways to duplicate an item:

    • Right-click in the library panel, choose "Export a library package", right click again and choose "import a library package". This will duplicate ALL of your components, so you'll need to delete others.

    • Select one instance of the list in question, right-click, and choose "Component of Revert to work". Then right-click again and choose "Create component of work > list. You are now recreating another copy of your list.

    I know that these are solutions to the cheese, but that's what we have in the current version.

    Good luck

    Adam

  • DASYLab how to write data to a file every 15 minutes

    Hi all

    I use dasylab and datashuttle/3000 to record data. What I want to do is to write data to a file every 15 minutes. I use the milti-file, which can write data to the file diffenret, but how do I control the timing, as the journal data every 15 minutes automatically.

    The other problem is that I use FFT analysis of the frequency spectrum. How can I determine the value of frequency where the peaks that happens.

    Thank you

    Write less data in the file that you have collected requires the reduction of certain data.

    There are three techniques to consider.

    With an average or an average of block - both reduce the data by using a function of averaging, defined in the module. To accomplish the reduction of data, choose block or RHM mode in the dialog box properties, and then enter the number of samples/data values that you want to reach on average.

    Average - when you reduce the data, you also should reblock data using the block length of the change in the output parameter. For example if you enjoy at 100 samples/second with a block size of 64, the average module configured on average, more than 10 samples will take 10 times longer to fill a block. The initial block represent 0.64 seconds, the output block represent 6.4 seconds at a sampling rate of 10 samples/second. If you change the size of output in one block, the program remains sensitive.

    Average block - average values in a block against each subsequent block, where the average is based position. The first samples are averaged, all second samples are average... etc. The output is a block of data, where each position has been averaged over the previous blocks. This is how you will be an average data FFT or histogram, for example, because the x-axis has been transformed in Hz or bins.

    Second technique - separate module. This allows to reduce the data and the effective sampling rate jumping blocks or samples. For example, to reduce the data in 1000 samples / second to 100 samples per second, configure the module to keep a sample, jumping 9, keep one, jumping 9, etc. If you configure to skip blocks, you will not reduce the sampling frequency, but will reduce the overall amount of data in a single block 9, for example. It is appropriate for the FFT data or histogram, for example, to have the context of the correct data.

    Finally, you can use a relay and a synchronization module module to control. For example, to reduce a sample data every 15 seconds, configure a generator module of TTL pulses for a cycle of 15 seconds of time. Connect it to a Combi trigger module and configure it to trigger on rising and stop the outbreak directly, with a trigger value after 1. The trigger output connects to the X of the relay command input.

    In addition to these techniques, you can change the third technique to allow a variable duration using a combination of other modules.

    Many of these techniques are covered in the help-tutorial-Quickstart, as the data reduction is one of the most frequently asked questions.

    In regards to the FFT... use the module of statistical values in order to obtain the Maximum and the Max Position. The Position of Max will be the value of the frequency associated with the Maximum value. The output of the statistics module is a single sample per block. Look at the different FFT sample installed in the worksheet calculation/examples folder.

  • How to define the rules of navigation in faces - config.xml dynamically?

    In jdev 12.1.2 I am studying and performing the adf faces demo (12.1.2 version).

    I am trying to implement the function of navigation like this:

    1. in the navigation tree in the left panel of the accordion will show the features of an application which is read from database tables;

    2. When you click on a node in the navigation tree, a corresponding function/page will be launched in the Panel to the right of the home page;

    3. the navigation tree nodes display names and information pages target will be resident in the database tables and will be read in my case, the control of data bindings.

    and now I know, the click action was executed in this file in the demo: componentGallerySideBarTree.jsff:

    ->action = "#{stamp.actionOutcome}"

    < af:tree id = "tree" value = "#{attrs.menuModel}" var = "stamp" = "single" rowSelection fetchSize = "200" "

    Summary = "#{uploading." Summary}"disclosedRowKeys =" #{attrs.menuModel.foldersTreeState} "autoHeightRows = '0'"

    displayRow selectedRowKeys = "#{attrs.menuModel.selectionState}" = "selected" "

    contentDelivery = 'immediate' emptyText = "there are no demos for this category.

    styleClass = "AFStretchWidth" >

    < f: facet name = "nodeStamp" >

    < af:panelGroupLayout id = "nodePgl" >

    < af:image source = "#{stamp.ico}" styleClass = "GalleryIcon" shortDesc = "Image of a tree node" "

    ID = "nodeImg" / >

    < af:switcher facetName = "#{stamp.children == null?' leaves ': 'notLeaf'}" id = "nodeSw" > "

    < f: facet = "journal batch name" >

    < af:link id = text = "#{stamp.label"leafLink"} '"

    shortDesc = "#{stamp.label} #{stamp.deprecated eq 'real'?" (not recommended) " :"} »

    action = "#{stamp.actionOutcome}"

    inlineStyle = "#{stamp.deprecated eq 'true'?-style: italic; color: gray':"} ' "

    selected = "true" >

    < af:target execute="@this"/ >

    < / af:link >

    < / f: facet >

    < f: facet name = "notLeaf" >

    < af:outputText id = value = "#{stamp.label"notLeafText"} ' shortDesc =" #{stamp.label} "/ >"

    < / f: facet >

    < / af:switcher >

    < / af:panelGroupLayout >

    < / f: facet >

    < / af:tree >

    and the value of actionOutcome was entered in this file DemoConfusedComponentsMenuModel.java:

    (for the case of the confused component navagation tree folder)

    private TreeModel _initConfusedComponents()

    {

    Confused components

    The list < DemoItemNode > confusedComponentsNodes = new ArrayList < DemoItemNode >)

    {

    {

    ..

    Add (new DemoItemNode ("Tabs", "/ confusedComponents/tabs.jspx","/adfdt/panelTabbed.png","confused.tabs"));

    Add (new DemoItemNode ("iterators","/ confusedComponents/iterators.jspx","/adfdt/iterator.png","confused.iterators" ""));

    }

    };

    DemoItemNode confusedComponentsGroup = new DemoItemNode ("Often confused", "/ images/folder.png", confusedComponentsNodes);

    List ConfusedComponentsList = new ArrayList();
    confusedComponentsList.add (confusedComponentsGroup);

    TreeModel confusedComponents = new ChildPropertyTreeModel (confusedComponentsList, _CHILDREN);
    Return confusedComponents;
    }

    In addition, there are elements in faces-config .xml to define the rules of navigation for the actions 'by clicking on the tree node.

    <>navigation-case

    < from outcome >confused.iterators< / de-results >

    < to view - id > /confusedComponents/iterators.jspx< / to-view-id >

    <!-< redirect / >->

    < / navigation-case >

    So, I can add a new entry in the navigation tree, like this:

    1. in DemoConfusedComponentsMenuModel.javaof the file: Add

    Add (new DemoItemNode ("Iterators", "/confusedComponents/cms.jspx","/ adfdt/iterator.png","confused.cms" ""));

    2. in the file faces - config.xml, add:

    <>navigation-case

    < from outcome >confused.cms< / de-results >

    < to view - id > /confusedComponents/cms.jspx< / to-view-id >

    <!-< redirect / >->

    < / navigation-case >

    and it works!- I have successfully added a new node in the navigation tree, called a new page created by myself cms.jspx.

    If I implement them using database tables (links datacontrols EO/VO),.

    I think I can put action = "#{stamp.actionOutcome}" by links.

    But how can I pay the entry in the faces-config file. XML? -That is to say:

    How to define the rules of navigation in faces - config.xml dynamically?

    Thanks in advance!

    ADF 12 c comes with support for JSF 2.0, you can use the implicit navigation feature.

    In short: you don't need to add case action property, any set of navigation in the name of the page (and include the path if necessary).

    In your case, the name of the action will be: ' / confusedComponents/cms.jspx ' and of course, you can link the action property of method that returns this string.

    If you want to add by the case of navigation program, try ConfigurableNavigationHandler.

    For example:

    Manager of ConfigurableNavigationHandler = (ConfigurableNavigationHandler) FacesContext.getCurrentInstance () .getApplication () .getNavigationHandler ();

    handler.getNavigationCases () .put (...);

    Dario

  • How to export the list of devices in the Profile Manager?

    Hello

    is there a way to export the list of devices in the Profile Manager on a mini mac running OS Server 5.3?

    Thank you

    How to export data from device in the Profile Manager

    How to export a list of devices and their info?

  • How to define an academic style of reference?

    When I put a reference style in 5.6.2 Pages (MacBook Pro, OS X El Capitan 10.11.3), I gives me a choice of font size. When the font size is set, all future references set automatically to the style follow this font size. The problem is, however, that style overrides the parameter exponent of reference numbers, make the reference number and size of text in the Notes section of the page. It is unacceptable for academic writing.

    Please can someone advise me on how to define a functional style of academic reference that keeps the numbers superscript? I can replace the style and restores the Exhibitor by pressing on "ctrl + cmd + shift +" + ", but these manual effort defies the point of having a style...

    Each reference is in its own independent area at the bottom of the document with the paragraph style by default reference initially applied to his text. 11 pt Helvetica regular is in the v5.6.2, Pages. And small enough for notes.

    You can click three times in one of these cells in reference text, select this option and change the attributes of the font for the text and even a reference itself. The latter would be easier to zoom to 200%. Or, you can click on a single reference, or additional reference cells of control + click and then apply the change of police attribute to all notes. If it were a simple font size increase, the exponent, and the reference text would increase proportionally in the selected cells. No need to keyboard shortcuts.

    You can also define your own style of reference section customized to reduce boredom.

    A double click on a reference in the cell reference, followed by a command-right arrow will deposit your beam to insert directly behind this exponent of reference in the body of the document.

  • On MacOS, FFox 4 b7, sweeping three-finger down now reveals the groups tab thing, how can I change to scroll to top/bottom of page?

    FF4 b6:
    Vertical scan 3 finger scroll to top/bottom of page.
    FF4 b7:
    Scan in 3 fingers up does nothing, down shows tab groups.

    HOW CAN I CHANGE BACK? is there something I can do?

    go to Subject: config in your address bar. Change browser.gesture.swipe.up to cmd_scrollTop and browser.gesture.swipe.down to cmd_scrollBottom

    Ref: this list of changes in Firefox 4

  • How to transfer data to a remote executable?

    Hi every1,

    We make an application where we use 4 PC. I have a panel (Hardware) connected to a PC. I wish to convey my material data to PC remotely. For this, I used "Open Application Ref". It works very well. But when I make an exe it gives me error.

    I mentioned 'Exported screws' & 'The Machine access list' in the option field.

    Can you tell me how I can do this.

    Please find my vi Jpeg. It shows how I send data using vi now.

    Thank you


  • I can't change the date & time to receive automatic updates of Windows XP - help!

    How can I change the date & time to get automatic updates - I've tried everything and did what I was asked to do - still not able to do!       Lin

    What happens when you try to do?

Maybe you are looking for