My code not give me result and error for move to next record please see

hi master
sir i import this file also
import javax.faces.event.ValueChangeEvent;
then my error remove
i am use this code in button event
getMfatableDataProvider().cursorNext();
form1.discardSubmittedValues("virtualForm1");
and my textField is bounded with data provider table field
please give me idea how i show next rocord in page when user press button
thank's
aamir

thank for reply
sir your help very usefull for my but when i press F10 then system show massage do you want to save change the record
sir how i avoid that window and directly move to next record
please give me idea
thanking you
aamir

Similar Messages

  • See my code that i use for user login but my code not give me result

    sir i use oracle with vwp in netbeans 6.1
    i want creat a user login form
    i drop three textfield and one button
    in button i use this code for finding the user in database but this code not me result that go to catch (Exception e) all field in database is string
    public String button1_action() {
    try {
    RowKey userRowKey = luserDataProvider.findFirst
    (new String[] { "luser.username", "luser.pwd" },
    new Object[] { textField1.getText(), textField2.getText() });
    if (userRowKey == null) {
    textField3.setText("fahim");
    error("Invalid user id or password");
    return "case1";
    } else {
    textField3.setText("aamir");
    return "cust";
    catch (Exception e) {
    log("Cannot perform login for userid " + textField3.getText(), e);
    error("Cannot perform login for userid " + textField3.getText() + ": " + e);
    textField3.setText("NOOOO");
    return null;
    please give me idea how i find record from database
    thank you
    aamir

    These are user-to-user forums, you are not talking to Apple here - so I've asked the hosts to remove your email address from your post.
    The security code is the 3 or 4 digit code on your credit card, it's quite often on the back of the card on the signature strip, though on some cards it's on the front : credit card security code.

  • My code not give error nut not give pdf report output

    hi master
    sir see my code not give error nut not give pdf report output
    String reportSource = "./WEB-INF/reports/mfa.jasper";
    String reportDest = "./reports/mfa1.html";
    Connection conn = null ;
    Statement msqlStatement = null ;
    ResultSet mrs = null ;
    Connection mconn = null ;
    ExternalContext econtext = getExternalContext();
    InputStream stream = econtext.getResourceAsStream(reportSource);
    if (stream == null) {
    throw new IllegalArgumentException("Unknown report name '" + reportSource
    + "' requested");
    try {
    String mfat = ac_categoryDataProvider.getCachedRowSet().getDataSourceName();
    javax.naming.Context mctx = new javax.naming.InitialContext() ;
    DataSource mds = (DataSource)mctx.lookup(mfat);
    Connection mcon= mds.getConnection();
    mcon.setAutoCommit(false) ;
    JasperPrint jasperPrint = null;
    //getSessionBean1().getTripRowSet(),
    //getSessionBean1().getAc_categoryRowSet(), mfat getSessionBean1().getAc_categoryRowSet()
    jasperPrint = JasperFillManager.fillReport(stream, null,mcon);
    JRExporter exporter = null;
    HttpServletResponse response = (HttpServletResponse)econtext.getResponse();
    FacesContext fcontext = FacesContext.getCurrentInstance();
    exporter = new JRPdfExporter();
    exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
    exporter.setParameter(JRExporterParameter.OUTPUT_STREAM,
    response.getOutputStream());
    exporter.exportReport();
    fcontext.responseComplete();
    } catch (Exception ex) {
    log(" Error Description" , ex);
    error("Error counting rows: " + ex.getMessage() );
    error("Error counting rows: " + ex );
    please give me idea
    thank's
    aamir

    Thanks Sven.
    The query works but the other way. The output is for all the targets, not for the respective target which we select from :p1_target.
    select target_name,target_type, column_label,
    warning_threshold,critical_threshold,occurrence_count
    from sysman.MGMT$TARGET_METRIC_SETTINGS@crmodem
    where target_name in (select MEMBER_TARGET_NAME from MGMT$TARGET_FLAT_MEMBERS@crmodem
    where upper(AGGREGATE_TARGET_NAME) like '%X' || :P1_TARGET || '%')
    Thanks again.

  • Why does Apple not give a list of error messages and possible solutions? I have the (-54) error continually that has suddenly appeared and cannot find a solution, even though other users seem to have the same problem.

    Why does Apple not give a list of error messages and possible solutions? I have the (-54) error continually that has suddenly appeared and cannot find a solution, even though other users seem to have the same problem.

    This is a user to user forum.  Apple isn't here and won't answer you.  You need to contact Apple directly.  You can use the Contact button at the bottom of the screen.

  • NonLinearFitWithMaxIters does not give correct results for phase

    Dear all,
    I am trying to fit a sin cuve with NonLinearFitWithMaxIters function of labwindows, but the results given by this function are dispersed a lot (the function does not give same results).
    In fact, I have two waveforms signals v and i (of 104 points), and I  find the phase between the two signals with NonLinearFitWithMaxIters.
    The two singals v and i are  measured with an osciloscope.
    I use the following fit functions :
    v=p1*sin(wt+p2) ;
    i=p3*sin(wt+p4) ;
    I use the NonLinearFitWithMaxIters function to fit the data and to have the parameters  p1, p2, p3, p4. Then, the phase is claculated as follow phase=p4-p3.
    The problem is that the phase calculted between the two signals (v and i) is different for each run for the same conditions.
    In fact, for a same condition, I measure different times the signals v and i, and I calculate the phase p4-p3, using NonLinearFitWithMaxIters. The goal is to calculate a mean of phases for the same condition. For example, there are cases where the phase=-5 degree, and other cases when phase=12 degree.
    For ten measures of v and i, the phase calculated is different. I get a big dispersion between the phases.
    I would like to know please why I have a big difference in phases calculated with the same condition?whern using NonLinearFitWithMaxIters.
    I read that this function does not give all time the correct results, is there a way to know when the results are not corrects and when they are correct ?
    And is there any solution to find accuratly the phase between the two waveforms.
    Thank you for your precious answer.

    The pseudocode which I am using is :
    v_err=NonLinearFitWithMaxIters(array_x,array_v,v_y_fit,1252,100,sinus,v_coef,2,&v_mean_squareError);
    The fit function is
    double sinus(double x, double a[],int noef){
        return (a[0]*sin((w*x)+a[1]));
     I use the same inital coeficient of v_coef for each run :     
    v_coef[0]=0.03;
    v_coef[1]=0.2;
    These coeficient are choosen arbitrary.
    In this case, the number of points of the data is 1252 (the data of array_v).
    The number of iterations is 100.
    For the array_x, the distance between adjacents values of the array is dt=0.4*1e-9(difference between array_x[i] anv array_x[i+1]=dt=0.4*1e-9 ).
    for (i=0;i<1252;i++){
    array_x[i]=i*(0.4*1e-9);
    The means square error returnned by the function when it is complished is  small, of the order of 0,001.
    I read the help
    « From the help:
    You must pass a pointer to the nonlinear function f(x,a) along with a set of initial guess coefficients a. NonLinearFitWithMaxIters does not always give the correct answer. The correct output sometimes depends on the initial choice of a. It is very important to verify the final result.
    That means that the function cannot be used, as it does not give correct results. How
    can we check if the results are good or not ? in my case.
    I think that in my case, the function does not give correct results, but how can I check if the results are good, or not ? The mean square error is small.

  • ITSM Search on status with "is not" gives incorrect results due to SLA statuses

    Hi,
    When executing a search on Solution Manager ITSM tickets, on the search criterion Status and with operator "is not", the result list does not give correct results.
    For example, an incident with status "Confirmed IRT Exceeded" does show up when searching with criterion "Status is not Confirmed".
    Is there any solution for this behaviour?
    Kind Regards,
    Joyca

    Hi Vivek,
    Thanks for the Knowledge Article.
    The content of the document would indeed help if we only wanted to find "not confirmed" tickets.
    However, the same thing is happening on other statuses. For example searching for "status is not proposed solution" is still not possible with the descriptions in the knowledge document, since the user status "proposed solution" is linked to system status "in process" (I1003), like all the other in-between user statuses such as "customer action" and "in process" etc.
    The only workaround that I see is to use only "is" as operator and never "is not". However, the underlying problem remains. I think it should be possible to use also "is not" without having issues due to those SLA statuses...
    Kr,
    Joyca

  • Site list update not working with TED and Zenworks for Servers

    Product: Zenworks for Desktops 7Sp1 and Zenworks For Server/TED 7Sp1HP5
    Subject: Site list update not working with TED and Zenworks for Servers ,
    all on Linux
    Description: We have an exiting environment with 6 ZfS Servers and now we
    brought up a new Server for another location. I configured all same as on
    the other Server and the new one created all NAL-Apps at the new location.
    But in the Application Site list on the golden App is this Application
    missing. So I clicked on the Link up site list on the Distribution Screen
    in C1. On ApplicationSite list the App from the new location is missing.
    So I removed all and added the new from the new location and now i see all
    in the application site list.When I install an app on the client on the
    new location NAL is connecting alway th the same (wrong location-server
    and i get an msi error 1612 or id=53272 with path=\Wrong serverpath to
    file.
    I looked on the other tab on C1 at the golden app an I see the backlinks
    are going to all other servers without the new one. Software installation
    on other locations are ok
    Regards

    Andreas,
    I forgot to mention that you can also set the loging level on the Distributor and the Subscriber to 6. to do this at the Zenworks Server Management prompt type "setconsolelevel 6" if you want to capture this to the log file ted.log then use "setfilelevel 6"
    Next delete the Distribution from the Subscriber and then re-push the channel.
    What we are looking for here in the log is the creation of the object and the linking information about the gold object. it should look like this (not the failure part ;-))) )
    In this excerpt you will see the entry
    Golden App =
    This should be were the link is to
    You can check this both ways in the Golden App and in the Distributed Application.
    Here is a log from me that shows this info as an example of what you should be looking for.
    2008.05.29 03:35:41 [TED:Work Order In(yourserver.yes.com)] Receiving distribution: Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_YOURSERVER.BRN.FL.SUBS.SUBSCRIBERS.ZSM. GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..
    2008.05.29 03:35:41 [TED:Event Processing] Handle Event: Work order IN completed... Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_HAVERHI-FLBRN1.BRN.FL.SUBS.SUBSCRIBERS.ZSM.GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..
    2008.05.29 03:35:41 [TED:Event Processing] Received (from haverhi-flbrn1.yesbank.com) Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_HAVERHI-FLBRN1.BRN.FL.SUBS.SUBSCRIBERS.ZSM.GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..

  • The iphone could not be restored an unknown error occurred 14 ...  please help me

    the iphone could not be restored an unknown error occurred 14 ...  please help me

    Hello ahmedhelmy41
    That error is typically related to USB issues when trying to update or restore. Check out the article below to troubleshoot the issue further. There are also a few things to try that are quoted down below.
    Resolve issues between iTunes and security software
    http://support.apple.com/kb/TS3125
    To narrow down the issue, you can also change up your hardware:
    Use another USB cable.
    Plug your cable into a different USB port on your computer.
    Try a different dock connector (or no dock).
    Add (or remove) a USB hub between your device and computer.
    Connect your computer directly to your Internet source, with no routers, hubs, or switches.
    Regards,
    -Norm G.

  • My mac is not accepting my name and password for login because it is in arabic how am i suppose to login?

    my mac is not accepting my name and password for login because it is in arabic how am i suppose to login? how do i type Mark Yap in arabic, im typing it in pressing the actual letters on the keyboard but wint accept  it?

    I am assuming that you are trying to log in with the English language. If this is the case (or any other language for that matter), see if there is a button on the login screen that allows you to change your language.

  • CS4:  "Critical errors were found in setup. Please see the setup log for details" !!

    I am using Win XP Pro SP3. I have CS3 installed, and successfully installed Dreamweaver, Fireworks and Flash from CS4 Design Premium. Then I successfully uninstalled DW, FW and FL CS3.
    When I tried to open a SWF in Illustrator it failed to open, and then I tried to create a really simple SWF (a rectangle) by exporting from Illustrator and tried to open that and it also failed. Whenever I tried to open or place ANY SWF into Illustrator I get a "file *** is in an unknown format and cannot be opened" error.
    I decided there must be a corrupt file, maybe the upgrade must have affected some Illustrator files, so I tried to repair the CS3 installation. After over 2 hours of INTENSE FRUSTRATION having to constantly switch CS3 and CS4 disks many MANY times, the installation failed, listing "common files" that were missing from non-existent folders such as "C:\Documents and Settings\[username]\Desktop\Adobe CS4\Fireworks CS4\payloads\etc
    When I tried to repair the CS4 installation after loading all the profile settings it errors before the installation window comes up, with "Critical errors were found in setup. Please see the setup log for details". Then it shuts down the installer. I then tried to do a system restore and system restore failed on all restore points!
    Please help:
    1. Where is "the setup log"?
    2. Will creating and populating the folders mentioned in the failed CS3 installation from the CS4 disk allow it to work?
    3. How can I uninstall CS4 if I can't even get to the installation window?
    4. Has Adobe just DESTROYED MY REGISTRY BEYOND REPAIR!!!???

    im haveing a huge irritation useing illustrator cs4 live paint bucket because i can use everything else apart from the paint bucket which should be the easyiest tool to use sometimes it works with the white arrow sometimes it doesnt i sometimes get this below message
    the selection contains objects that cannot be converted. live paint groups can only contain paths and compound paths. clipping paths are not allowed
    the lines which i have drawn are connected which i believe have to be in order to use the paint bucket and i have no clipping paths so i am am baffled
    i presume it is because the line is set to 0.01 it seems the live paint bucket wont notice thin lines, but i tried makeing the line thicker so i could use the paint bucket and it still doesnt work.

  • Critical errors were found in setup. Please see setup log file for details.

    What fixes this problem in IE? I have read a lot of forums with many replies saying they got by it, but they never explain how. One guy posted a link, but the link is dead now.
    I need to know how to fix this problem. Only thing I can gather is its a Java issue, but my java is up to date. In fact I just reinstalled it make sure that it was updated.
    With as many people having this issue I can't believe I have not found something from Adobe on this issue.
    Regards,
    Scott

    I run the setup file and it does the checking system process... then goes into the actual install menu and not more than 10 seconds into that 2nd menu I get "critical errors were found in setup. Please see setup log file for details". That is all I can get out of the install.
    The message window that I get the error in indicates windows Internet Explorer.
    That is the my entire process. I have searched and found the log file and I have looked through it, but I am having a hard time finding the actual cause of the error. Out of shear frustration I removed all my adobe products and tried the install again and had the same exact problem. So I know there is something stopping me some where... just don't know what it could be.
    Thanks,
    Scott =

  • Critical Errors Were Found in Setup. Please see the Setup Logs for Details

    Hello everyone. I have recently gotten Adobe Flash CS4 and i was really happy, until i kept getting the same error whenever i tried to install:
    "Critical Errors Were Found in Setup. Please see the Setup Logs for Details"
    I do not know what is the cause of the problem, but i have installed Adobe Photoshop CS3 succesfully without any problems. Please do help. I checked the setup logs, but i have no clue what it is saying, and its too long to post here.
    Thank you for your time and help.

    We've all been there with the frustration.
    And I'd really like to see you get back up and running. I'm a bit of an insomniac and tend to go back over the day while I'm pretending to sleep, and a couple of new things filtered back into my mind. There have been, I think, some problems reported about conflicts with some scanner drivers, and of course with firewalls, anti-virus programs, and the like. I think iTunes and instant messengers are also on that list.
    Make sure you turn off everything non-essential before trying to do your installation (and I'd probably do the same thing before running the scripts again). I do this by running MSConfig on XP and going to the startup tab. I uncheck everything I can't identify as being essential (which means I pretty much only leave the mouse driver checked. You may need to google some of the stuff to find out what it is) and then go to the services tab and hide all Microsoft services. From what's left I again uncheck everything that isn't required to run the system. Bonjour, if you see it, should be left active as it is used by the CS3 installer. Restart the computer.
    This should have turned off pretty much everything that could have been conflicting with the installer. Go to windows security center and make sure the windows firewall is also temporarily turned off, if you use it, and you should be ready to go. It can't hurt to try the add/remove programs again, but it probably won't show any adobe products anymore if you've run the scripts correctly (did you also run the MSI cleanup utility?).
    After you've finished, you can run MSConfig again and reset to standard startup.
    Peter

  • Hi, i have an imac which i bought second hand but but the itunes store wont load up nor will me songs ect sync with the itunes on this comp? i have had no issues with this on previous laptops.... any more of this and i may move to samsung! please help!

    hi, i have an imac which i bought second hand but but the itunes store wont load up nor will me songs ect sync with the itunes on this comp? i have had no issues with this on previous laptops.... any more of this and i may move to samsung! please help!

    kaylsk1 wrote:
    udated and its on 10.6.8 yet still no change
    Your signature in 1st post was 10.8.2.
    You went backwards?
    Did you reformat and reinstall when you first purchased it?
    If not I HIGHLY recommend you do that before you do anything else.

  • My name is Mike. I live in New Zealand. My username is waipukurau1. I downloaded MacBook booster from the prompts. Was this a good idea and good for my MacBook Pro? Please answer.

    My name is Mike. I live in New Zealand. My username is waipukurau1. I downloaded MacBook booster. I write to ask was this a good idea? Was this good and correct for my MacBook Pro. Please answer.

    ashish35,
    No one from Apple here - we're just users like you. All I can tell you is that electronic fail and with MacBook Pros (and most notebooks) the components are so integrated as to make a repair to the logic board practically impossible, hence the high prices charged for repairs.
    Only you can decide if you want to have your computer repaired or put the money towards the purchase of a new computer. If you do decide to purchase a new unit I would suggest that you also purchase the AppleCare Protection Plan which increases your warranty from one year to three years.
    Sorry and good luck,
    Clinton

  • Dear Friends...... I have an ipad 2 32gb with wifi and 3g enabled sim..... i bought it second hand .... and now if am going to download any games it is showing me an email id and asking for its password... please guide me how can i change this setting

    Dear Friends...... I have an ipad 2 32gb with wifi and 3g enabled sim..... i bought it second hand .... and now if am going to download any games it is showing me an email id and asking for its password... please guide me how can i change this setting to my email id and password

    Tap on the id in Settings > Store and log out of it and then login with your id. Any content already on the iPad will be tied to the previous owner's id and it can't be copied or transferred to your id - so it's probably best to do restore the iPad back to factory defaults and start as from new with it : Settings > General > Reset > Erase All Contents And Settings

Maybe you are looking for

  • Strange missing renders

    As some of you know I have FCP HD 4.5 I've upgraded to 2.5 gigs of RAM and 500 gigs of HD space. I'm color correcting now and render alot. I also shut down frequently to do other things and when I get back the parts I rendered are nolonger rendered.

  • DBMS_LOB.GETLENGTH   Bytes?  K?  MB?  GB?

    What is size of a BLOB or LOB returned with DBMS_LOB.GETLENGTH? Is it bytes? K? MB?

  • Install Oracle 10gR2 on Windows x64

    Is this possible to install Oracle 10gR2 on Windows 2008 x64 ? I though that there aren't any difference between 2003 and 2008, but during reading this presentation: http://www28.cplan.com/cbo_export/PS_S291788_291788_176-1_FIN_v2.pdf (login: cboracl

  • Error loading video

    I'm not sure whats wrong but everytime I try to load this video I get a message that its being blocked. I've tried resetting Safari and moving around plugins, reinstalling Adobe flash. http://jtwvl.com/jenny/screnshot.jpg

  • How to Create User define forms.

    Hi, We are replace old system of our Client. Client has some Exit form,approval form for terimination of employee and approval to access various resource respectively. Can any one tell me how to achive this in OIM.