Creator 2 new table component pagination

I need to change the style of the pagination panel.
With previous versions of creator it was easy.
I had 4 small gold navigation image buttons with a transparent back ground.
Now I am stuck with an obtrusive blue panel with lots of controls.
All I want is two small buttons at the bottom of my table to go forward and back
and the background must be transparent.
cheers,
paul.

misha,
changed the defaulttheme and managed to get rid of the blue background on the pagination
panel. I also located the first previous next and last gifs which i can replace with something neater.
but i could not locate the Go button and the page input field. any ideas?
there must be an easier way to do this.
i can't understand that on the one hand I am free to change the style of a table but if i
want pagination i have to accept the default style. so if the rest of the table is to match the pagination panel then i have no real flexibilty which makes for a pretty useless component.
paul.

Similar Messages

  • Pagination for Woodstock webuijsf:table component

    Hello,
    would someone be so kind to explain me how I can get pagination working with the Woodstock webuijsf:table component?
    I'm using an ObjectListDataProvider and I can get all the elements and put them in my table, but when I click on the buttons that should change the page nothing happens (this means I always see the first page).
    I spent a lot of time studying examples from http://webdev2.sun.com/woodstock-tlddocs/webuijsf/ and from http://webdev2.sun.com/example/faces/index.jsp, but I think that those ones are too much wide and complex and explained-no-so-well, so good and simple examples would be really appreciated.
    Thanks in advance.

    I think that it's a very common situation.
    No ideas?
    I think that it's interesting to create appz with great performance.

  • Sun java Creator, Table component vanishes when associating with the table

    I am trying to develop JSF page with a table component and associating a table (users) to the table component.
    I have created datasource and i can see the data in the SQL editor in Sun Java Creator.
    But when i try to associate the table component with the table(users).
    I table component vanishes.
    I dont understand what is the problem.
    Can anybody help me.

    The default theme is localized. If you look at <Creator-install>/rave2.0/modules/ext/locale
    you should see the localized default theme jars. Not sure which locale you are. You can put your localized jar here. Add the localized jar to your web application via library manager for it to be included in the deployed war file
    - Winston
    http://blogs.sun.com/winston

  • New ADF mobile - problem from lacking of Table component

    Hi, i need a table/grid like component for my mobile app project. There is a List View component in ADF Mobile but isnt enough for me. . How can i create data views like table/grid?

    Hi, thanks for your helpful answers. there table component examples that i need, [Example-1|http://www.google.com.tr/imgres?q=table+view&hl=tr&sa=X&biw=1600&bih=775&tbm=isch&prmd=imvns&tbnid=erU0WN9B4NdweM:&imgrefurl=http://www.visokio.com/table-view&docid=X849sJj0ADP7uM&imgurl=http://www.visokio.com/files/Resources/OUGuide/125_UsingViews/Table226/207_SensitivityAnalysis_500x218.jpg&w=500&h=218&ei=2oisUMOOKYTEsgaWtIGIBg&zoom=1&iact=hc&vpx=924&vpy=432&dur=6925&hovh=148&hovw=340&tx=207&ty=51&sig=116509651760517024274&page=2&tbnh=116&tbnw=266&start=27&ndsp=33&ved=1t:429,r:44,s:0,i:202] [Example-2|http://www.google.com.tr/imgres?q=table+view&hl=tr&sa=X&biw=1600&bih=775&tbm=isch&prmd=imvns&tbnid=3A8oz3El1oxSaM:&imgrefurl=http://docs.oracle.com/cd/E21454_01/html/821-2585/dsgn_db2conn-otd_t.html&docid=ipGQMXtyMBFQwM&imgurl=http://docs.oracle.com/cd/E21454_01/html/821-2585/figures/Oracle_Table_View_Columns.png&w=487&h=396&ei=2oisUMOOKYTEsgaWtIGIBg&zoom=1&iact=rc&dur=337&sig=116509651760517024274&page=2&tbnh=133&tbnw=164&start=27&ndsp=33&ved=1t:429,r:43,s:0,i:199&tx=100&ty=58]

  • Accessing list of DISPLAY objects in a table component.

    Hi there,
    I am using a class that extends ObjectListDataProvider to populate a JSF table component.
    I need to access the list of objects that are actually displayed currently in the table. The table uses pagination so there are other table elements not displayed and I do not want those.
    Can someone help me?
    thanks

    Hello,
    I've been working with this method and it works good with pagination as far as you do not start to sort the table... it starts to append new rows at the end.
    The only workaround I've found so far is to call clearSort() before getting the ids... but that is just partially nice...
    So, maybe I'm doing something wrong or maybe there is a bug that could be fixed in 1.2?
    Regards,
    Rob

  • How to create a new Table

    Hi,
    I need to create a new Table from null,
    is the example in the javadoc of com.sun.rave.web.ui.component.TableBase ok ?
    If yes where are the Messages and Clean classes ?
    Thanks.

    Thanks, found : Creator Tip: Displaying two dimensional array in the table component

  • How to achieve Page Navigation in af:table component

    I am using JDeveloper 11.1.1.3.
    I have a requirement for which i dont know how to proceed. Please guide me on the below requirement.
    I have an af:table component which displays a list of all the employees from the database. The total number of records in my database is 300(employee table).
    So my af:table component while displaying the Employee view object displays all the 300 employees when i scroll down the list.
    But i dont want the user to scroll down to see all the employees. In the af:table footer i want the page navigation option to be shown which will allow the user to see 10 records per page. When the user clicks on the next button , the af:table should display the next 10 records of the view object.
    Kindly help me or guide me to some reference material on how can i achieve this.
    Zeeshan

    There is no out-of-the-box table pagination in ADF 11g, the scroll-table is the way to go. New content is fetched only as needed when the user scrolls down the list. You can use the table's column filters or a separate search query component to make it easier to find employees on the list.
    See previous discussions, e.g. Urgent!! Pagination in ADF 11g.. and ADF Faces - Table Navigation in 11g

  • Table component disturbing the order of rows while displaying

    HI,
    In jspx when ever data is displayed in table,when we select last page the table component
    is displaying data which is not sorted.(values given to table are changed in output).
    This is occuring only in last page.
    EX:If i have 87 records with pagination,where 15 are displayed.
    when i select to last page the output from my query is not matching the data viewed.
    Using apache trinidad1.0.5
    Regards,
    Vin
    Edited by: vinTK on Apr 26, 2012 6:16 AM

    I think that it's a very common situation.
    No ideas?
    I think that it's interesting to create appz with great performance.

  • How to Create a Table Component Dynamically based on the Need

    Hello all,
    I have a problem i need to create dynamically tables based on the no of records in the database. How can i create the table object using java code.
    Please help.

    Winston's blog will probably be helpful:
    How to create a table component dynamically:
    http://blogs.sun.com/roller/page/winston?entry=creating_dynamic_table
    Adding components to a dynamically created table
    http://blogs.sun.com/roller/page/winston?entry=dynamic_button_table
    Lark
    Creator Team

  • New table in database

    I have creator-2004q2-windows-ml.exe.
    1) how can I make new table in Pointbase from JSC or Application Server or comand prompt?
    I'm new in JSF, JSC, Sun AppServer and Piontbase.
    I still learning and I need to add few more tables in any existing database (Order or Travel)- just for learning process!
    2) how can I make new table, and RowSet (and delete) from JSF application?
    Any tutorial about that?

    Hi,
    Here are the steps I followed to create a table :-
    1.Open a command window , go to the directory ..\\Sun\Creator\SunAppServer8\pointbase\tools\serveroption
    2. Type ' startconsole.bat', It pops up with a "Connect to database " window along with pointbase console window.
    3. choose 'create new database' then click ok.
    4.Then select Schema ->Travel - >Tables, Then right click and select 'create table'
    Hope this will help you.
    Thanks,
    Runa.

  • Changing row selection of a af:table component in a managed bean

    Hi,
    how can ich programmatically change the selected row of a <af:table> component within a managed bean class?
    I have a table which depends on the date settings of a <dvt:timeSelector> of a <dvt:lineGraph> component. Now when the timeSelector is moved to new dates the table should be refreshed by executing the query for the table again with the new dates. The problem is when the query of the table's view object is executed again the first row will be automatically selected after executing.
    Now I want to achieve that the last row I have selected will be selected again after moving the time selector.
    I searched already in the OTN Discussion Forum but didn't find a fitting solution.
    Thanks in advance!

    The problem is that executing the query moves the current roe to the first one.
    What you can do is to save the current row (its pk), execute the query and then set the current row to the pk of the saved selected one. Set the table attribute displayRow="selected" and set the selected row of the table to the now current row.
    One problem is that you have to be sure the last selected row is still in the record set of the new query result.
    Here are some pointers with code:
    Keep the scroll position on partial commit in <af:table>
    Jdev 11G ADF BC: rollback and keeping current row problem
    How can I programmatically select row to edit in ADF - 11g
    Timo

  • Jsf data table component + print null cell

    I am using the jsf data table component and binding the column values to a backing bean.
    <h:dataTable binding="#{backing_showDifferences.dataTable2}"
    id="dataTable2">
    <h:column binding="#{backing_showDifferences.userColumn1}"/>
    <h:column binding="#{backing_showDifferences.userColumn2}"/>
    <h:column binding="#{backing_showDifferences.userColumn3}"/>
    </h:dataTable>
    - some code from my showDifferences.java
    HtmlOutputText column1Text = new HtmlOutputText();
    vb =
    FacesContext.getCurrentInstance().getApplication().createValueBinding("#{users.uclass}");
    column1Text.setValueBinding("value", vb);
    usercolumn1.getChildren().add(column1Text);
    HtmlOutputText column2Text = new HtmlOutputText();
    vb =
    FacesContext.getCurrentInstance().getApplication().createValueBinding("#{users.ue1}");
    column2Text.setValueBinding("value", vb);
    usercolumn2.getChildren().add(column2Text);
    HtmlOutputText column3Text = new HtmlOutputText();
    vb =
    FacesContext.getCurrentInstance().getApplication().createValueBinding("#{users.ue2}");
    column3Text.setValueBinding("value", vb);
    usercolumn3.getChildren().add(column3Text);
    ResultSetDataModel dataModel = new ResultSetDataModel();
    dataModel.setWrappedData(rs);
    dataTable2.setValue(dataModel);
    The raw HTML:
    <table id="form1:dataTable2" class="iuptable" border="1">
    <thead>
    <tr>
    <th scope="col">Heading 1</th>
    <th scope="col">Heading 2</th>
    <th scope="col">Heading3</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td>some data in this column</td>
    <td>X</td>
    <td></td>
    </tr>
    <tr>
    <td>Some more data in this row</td>
    <td>X</td>
    <td></td>
    </tr>
    </tbody>
    </table>
    My problem is this...in the raw HTML the <td></td> tag is not formatted nicely on my table output. I have lines around my entire table and each cell within it. When the <td></td> prints there are no lines. I am new to the JSF table data component, but if I were writing some JSP or servlet code I would check that if value was null I would append an &nbsp to the <td> tag (ex. <td>&nbsp</td>) and the table would be formatted properly. The backing bean that I am binding to is pulling the data from a database table...so my sql looks like this:
    SELECT uclass, ue1, ue2 from table1; my problem is when ue1 or ue2 is a null value.
    Any ideas would be greatly appreciated!

    Hi,
    the h:dataTable belongs to the JSF Reference Implementation from Sun, not to Oracle ADF Faces. The rendering is within this component set and I suggest to report your issue on one of the SUN forums (http://forum.java.sun.com/forum.jspa?forumID=427) as we have no handle to e.g. fix an issue if it exists in the component set.
    Frank

  • Table Component and Row Height

    I am using XCelsius 4.5 and using the table component.  Is there anyway the row height on the table component can be linked to the Excel file?  It is not dynamically changing or wrapping text based on the amount of data that is imported in.

    Judging from the stack trace this has nothing to do with your variable row height. You are simply not respecting some array bounds (maybe your data array for the table model) when you insert the new row.
    In newRouteFare() do you fire a tableRowsInserted event? Or something similar? Check the rows passed into the Event object to see if you are exceeding the limits of the current table model.
    Thomas

  • How add new table in derby  travel database

    sir i use Sun Java Studio Creator with derby
    sir i want create new table in derby travel database but when i right click
    on table not that disable and not give and table create button
    please give me idea how i add new table in derby travel database
    thank's aamir

    Within JDeveloper the generation of entities (Persistent POJOs) from tables will overwrite exiting classes. If you have additional tables you wish to map without losing existing work you will need to create the new classes and map them manually. If you are using the native TopLink mappings there is auto-map support on individual descriptors in the structure pane to automate much of this. If you are using JPA mappings it is a bit more manual at present but the tooling is ntended to give you feedback on problems as you construct and configure your mappings.
    Doug

  • How to avoid editing a deleted record in a Table component

    Hi! Everyon,
    I am building a prototype using JSC. In Page1.jsp, I have a table displaying the records. On column one there are buttons that allow the user to edit the record, including deleting it. My problem is: when somebody else deleted a record and if the current user tries to edit the same record by clicking the edit button on the corresponding row he will get the next record. Could somebody tell me how to solve this problem? Thanks in advance.
    By the way, I do not access database directly from the Web part. Instead, I dropped a session bean's method on the Table compoment. In the edit button's event handler, I use
               TableRowDataProvider row = (TableRowDataProvider )getBean("currentRow");However, since that record was deleted already I always get the next record.
    With best regards,
    Daniel

    Thank you very much for your help. And sorry for not explaining clearly.
    I have a session bean that has getCities(), getCity(String code) and other methods. getCities() returns an array of CityDO objects and getCity(String) returns a CityDO object. class CityDO basically is a JavaBean containing city code, city name and other information. When I designed the web part using Java Studio Creator, I dropped a Table component to the design view first, then dropped the EJB method getCities() onto that Table component. Up to now, it is very similar to http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/ejb.html and everything worked fine.
    In order to edit a CityDO record, I added a column containg "edit" buttons into the Table component. If the user clicks the edit button we will show the CityDO in another page called editPage.jsp. In editPage.jsp, the user can update the city or simply delete it. Here is the major part of the event handler of the edit button in Page1,
        public String editCity_action() {
            TableRowDataProvider row = (TableRowDataProvider)getBean("currentRow");
            String code = (String)row.getValue("code");     // "code" is a field in CityDO
            CityDO city = null;
            try {
                city = cityClient1.getCity(code);
            } catch (Exception ex) {
                ex.printStackTrace();
                return null;
            getSessionBean1().setCity(city);          // pass the city to editPage
            return "editPage";
        }Usually, the above logic is good. However, if somebody else deleted one city and the current user tries to edit that deleted city (it is still in his table), he gets the next city. The real problem is in editCity_action(),
    row.getValue("code") returns an updated value, but I only need the old one.
    You memtioned ArrayList. That could be a good solution. Suppose I have an ArryList containing the CityDO objects, if I can bind the table to my ArrayList that will solve my problem. Could you tell me how to do the binding in that case?
    Thank you again.
    With best regards,
    Daniel
    By the way, I do not access database directly from
    the Web part. I do not understand what you mean by the above
    statement.
    Instead, I dropped a session bean's
    method on the Table compoment. Can you explain further. What method did you drop on
    the Table component?
    In the edit button's
    event handler, I use
    TableRowDataProvider row =
    (TableRowDataProvider
    )getBean("currentRow");However, since that
    record was deleted already I always get the next
    record.Here is the delete code from
    http://developers.sun.com/prodtech/javatools/jscreator
    /learning/tutorials/2/inserts_updates_deletes.html.
    As is is working on the rowkey in the page bean's
    table, that should not be affected by other users in
    other sessions, the rowkey should not change, even if
    the underlying record has changed.
        public String delete_action() {
    form1.discardSubmittedValues("save");
    try {
    RowKey rk = tableRowGroup1.getRowKey();
    if (rk != null) {
    tripDataProvider.removeRow(rk);
    tripDataProvider.commitChanges();
    tripDataProvider.refresh();}
    (Exception ex) {
    log("ErrorDescription", ex);
    error(ex.getMessage());
    return null;
    }What is the underlying structure for the table's
    data. Is it a row cache from a query? Is it an
    ArrayList?

Maybe you are looking for