How do I set a ui:table to Page 0 every time its rendered?

Seems that the paging mechanism in my tables retain the page that
was last selected.
I would like them to always start at page 0.

This is the first difference, my Search page just
loads a data array and
puts that into Session so that the Master page can
display it after the use
selects a Search button, which takes them to the
Master page.Both your project and my project use the search page
to determine the subset of data to display. While we
do it differently, I do not think this interferes
with the table component's paging mechanism. To be
safe, when I have time, I will recreate with your
scenario, but I would be surprised if that made a
difference.
Are you trying to say that on the Search page I
should call the DataProvider
.cursorFirst() method? No,
If so that is not yet
available until I get to the Master
page.
age2 (master page)
o Add table bound to TRIP
o Modified trip row set's query to add querycriteria
for PERSONID
o Added button
o Prerender's code is
        try {
etSessionBean1().getTripRowSet().setObject(1,
(Object) getRequestBean1().getPersonId());
tripDataProvider.refresh();
tch (Exception e) {
log("cannot show trips");
ode]So on the Master page I have a ui:table with the
first column being a RadioButton that the user
selects. The user then selects a Detail button
to take them to the Detail page.
In the Master page's prerender method I've added
memberSummaryDataProvider.cursorFirst();
//memberSummaryDataProvider.refresh(); NO SUCH
METHOD
tableRowGroup1.setFirst(0);In your scenario, a call to setFirst(0) should not be
necessary. This is only necessary if you have the
search mechanism on the same page as the table. I
appologize for leading you down the wrong path. No problem.
>
You should be able to remove this.Done.
>
>
As I stated above nothing is preselected on the
Master page's ui:table.Same with mine
I go Search->Master (goto to Page3)->Detail->Search
(with different
search criteria which in turn generates adifferent
data array)->Master
(know the ui:table is at Page 3 and not at Page 1
which is the BUG.
Thanks you for your help. I just don't understandwhy
the ui:table is set
to Page 3 the second time I do a search.Me neither. On this page
(http://developers.sun.com/prodtech/javatools/jscreato
r/learning/tutorials/index.jsp) is a Creator docs
feedback alias. Perhaps you can zip up your project
(do a clean first) and send it to the alias with
"for chris" in the subject line.Thanks, unfortunately my project is already about 100 pages. It would
take me some time to trim it down to a minimum that you could look at.
>
>>
Perhaps I should be asking; What is thealternative
to refresh() for an
ObjectArrayDataProvider?You don't need it in your case.Understood.
Out of curiosity, does the ui:table use a VirtualForm that I'm not aware of?
If so what would that VirtualForms name be? I'm thinking of trying
to call discardSubmittedValues("virtualformname"). I've had some success
in solving other problems that are related to old values being retained
on other pages.
Just curious, and thanks for your help Chris.

Similar Messages

  • How do I set up my Apple ID so that every time I download a tune/app and email is sent to me alerting me to this fact?

    How do I set up my Apple ID so that every time I download a tune/app and email is sent to me alerting me to this fact?

    If you follow the instructions on this page (i.e. select and 'buy' a free app when creating an account) then you should get the None option : http://support.apple.com/kb/HT2534

  • How to I set Lightroom CC to not start up every time I plug in an external drive, etc.?

    I have Adobe Photoshop and Lightroom CC installed and every time I plug in an external drive Lightroom starts and wants to catalog everything. I want to set it to never start on its own. How do I do this?

    Thank you very much for your help.
    Stephen Wolper, DPM
    [email protected]

  • How do I set Mail to not mark as read every time I click on a message?

    I have an IMAP account which we share in the company between several of us. Basically, if there's a case that's unread its fair game. Thing is that every single time I go over a message with mail it's marked as read and sometimes I forget to mark it as unread again. On Thunderbird and other programs I can have a time limit before it is set to read. Is there such a thing with Mail or with any of its plugins?
    Thanks.

    Turn the Wireless receiver off on your laptop, then your laptop won't connect to your modem. Or, use the reset button on the back of the modem to reset your modem.

  • I would like to know how can I set songs in iTunes to play at different times automatically during the day. i.e. one song at 10am the other at 10:30am etc..

    I would like to know how can I set songs in iTunes to play at different times automatically during the day. i.e. one song at 10am the other at 10:30am etc..

  • How can I set up mhy Airport Express to extend my Time Capsule wifi wirelessly

    I want to extend my wifi off my Time Capsule with an Airport Experess in a part of my house that has no data cable ran to it. How do I do this?
    Thanks

    No more meseges.
    في ٢٦/٠٨/٢٠١٤، الساعة ٢١:٤٥، كتب Apple Support Communities Updates <[email protected]>:
    New discussion activity
    Bob Timmons has posted in the AirPort community.
    How can I set up mhy Airport Express to extend my Time Capsule wifi wirelessly
    Assuming that you have the model A1264 or A1392 version of the Express, it must be located where it can receive a strong wireless signal from the Time Capsule to be able to extend it correctly.
    A good general location would be a point that is about half way between the Time Capsule and other area that needs more wireless coverage.
    You will use AirPort Utility on your computer to configure the Express. An iPhone or iPad could be used as well.
    We can provide more help....if you need it....but we'll need to know what version of AirPort Utility that you are using on your computer....or whether you want to use an iPhone or iPad to setup the Express.
    https://discussions.apple.com/servlet/JiveServlet/downloadImage/2-26506753-46613 2/AboutAirPortUtility.png
    To post a reply, go to the discussion in Apple Support Communities.                                                             
    You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile.
    TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM. Cupertino, CA 95014.
    All Rights Reserved | Privacy Policy | Terms of Use | Apple Support

  • How do I set up devices to access my mobile hotspot once its on?

    How do I set up devices to access my mobile hotspot once its on?

        Great question Bnrybtch019. It's important to have access to all your features, I can help you with that. Since you didn't specific a phone model, these are the steps for a popular Android-Operating Phone http://vz.to/1yrBX0e .
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    The Guest Network function of the Time Capsule and AirPort Extreme cannot be enabled when the device is in Bridge Mode. Unfortunately, with another router...the Telus...upstream on your network, Bridge Mode is indicated as the correct setting for all other routers on the network.
    If you can replace the Telus gateway with a simple modem (that performs no routing functions), you should be able to configure either the Time Capsule or the AirPort Extreme....whichever is connected to the modem....to provide a Guest Network.

  • How can I set up a wi-fi network, using one time capsule and two airport express

    how can I set up a wi-fi network, using one time capsule and two airport express ?
    The time capsule is near the Mac. ok
    The first Airport is on the corridor, ok, works well and the App on the iPad signals so, ok
    But when I plug the next Airport on another room nearby nothing happens, and signals disconected ....
    is the signal so weak that is not able to go to ono room to the other ?

    Well, even if you have the first express set up to extend the network, the second express can only extend from the TimeCapsule.
    Maybe you got walls of sheetrook in the way, or kitchen/bathroom tiles, etc, dampening the signal rapidly.

  • How do I set an email to send at a specific time/date in the future e.g. tomorrow at 9am. I am on an iMACX using apple's version of windows

    how do I set an email to send at a specific time/date in the future e.g. tomorrow at 9am. I am on an iMAC using apple's version of windows

    apple don't have a version of windows
    only microsoft have windows
    as how one automatate windows to send mails at a time
    googled it for you
    http://www.howtogeek.com/125045/how-to-easily-send-emails-from-the-windows-task- scheduler/
    more options in the search
    https://www.google.dk/search?client=opera&q=automatically+send+email+in+windows& sourceid=opera&ie=UTF-8&oe=UTF-8

  • How I can set the spelling language in Pages for iPad?

    how I can set the spelling language in Pages for iPad? may for german...

    how I can set the spelling check to other language in Papers/iPad?
    The only choices you have in the iPad itself are to change the keyboard or change the user interface language. If that doesn't do what you want, probably best ask the people who make Papers.

  • How do i set colors on javascript coding page, colors are not seen after installing Firefox version 8

    How do i set colors on javascript coding page, colors are not seen after installing Firefox version 8 . I am using WaveMaker application for web development

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *Tools > Options > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    *http://kb.mozillazine.org/Website_colors_are_wrong
    *http://kb.mozillazine.org/Websites_look_wrong

  • When building a web site, how do I set up a blank browser page that I can pull html & css files into.

    When building a web site, how do I set up a blank browser page that I can pull html & css files into.

    David's book is a good place to start. This is really far more involved that can be covered in this forum. You'll need to get familiar with a database, most likely MySQL, PHP, how to send requests tot he database - queries - and most likely maintain a state with Sessions. As you can see, it's a bit involved. The good news is this skills you'll acquire to do this will go a long way! It will cover all the basic requirements of web application development.
    Dive in, and have fun!
    Lawrence   *Adobe Community Expert*
    www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF
    www.twitter.com/LawrenceCramer

  • How come I have to put in a keychain password every time safari or mail is opened? Is there a way I can disable it or save the password so it doesn't pop up every time?

    How come I have to put in a keychain password every time safari or mail is opened? Is there a way I can disable it or save the password so it doesn't pop up every time? Also, I have my mail account set up from my Yahoo! account and every time I open mail, it asks for the password for my Yahoo! account. I have checked save this password to keychain and it persists on popping up repeatedly.

    You don't want to disable keychain (if there's even a good way to do so), since it stores stuff like certificates and the such.  It's quite useful.
    Anyways, Keychains>Preferences>First Aid.  Check Set Login Keychain as default.  When you login, it unlocks the keychain.
    That should help you.

  • How to stop Firefox from checking for add-on compatibility every time it opens?

    How to stop Firefox from checking for add-on compatibility every time it opens?

    That can be a problem with the compatibility.ini file in the Firefox profile folder.
    Try to rename (or delete) the compatibility.ini file in the Firefox profile folder to see if that helps.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    You can also check for problems with preferences.
    Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

Maybe you are looking for

  • GT70 0NC - Unable to flash non-Windows 8 BIOS

    Hello, I recently purchased a GT70 0NC notebook and have been unsuccessful at updating the BIOS. The notebook came pre-installed with Windows 8, but I reformatted with Windows 7 x64. I was able to flash in the EC from the factory 1762EMS1 v5.03 to 17

  • Opening my backup from my old PC

    It's a pretty elementary question, I know, but I've never known how to access the files I've backed up, and now I want to do it on my new MacBook. Can anyone advise me? Thanks.

  • VENDOR AND PLANT

    whem i m making the sourcelist for the pipeline, message is coming "vendor 1000 not compatible with plant1000". Please help.

  • AppleScript input box issue

    I created an AppleScript on my Mac Pro and the text input box never shows up! I've tried other samples and it never shows up, I tested the same script on my MBP and it works fine. This looks like a stretched circle with a down arrow. Here is a screen

  • Job Application

    I am out of my league here. I was asked to create a web mounted and fillable PDF application form. It has a "submit by email" button.  The idea is that anyone can access the PDF form, fill it out online, hit submit and it be emailed straight to my bo