Some deathful bugs of JSF EA3 !!through test strictly!!

bug1--about Input components ( like Input_text ) , test course : I put a input_text in form1,if user modify the value of the input_text from 'xxxx' to null then submit the form,and the new null value of the input_text is not submitted,and the value submmited of the input_text is 'xxxx' yet .
bug2--about selectboolean_checkbox , test course : I put a selectboolean_checkbox in form1,and the page has form2 alse,when i submit form2,the value of selectboolean_checkbox is submitted too,and the value submmited is not the value of selectboolean_checkbox in form1,but it's always false;
bug3--about selectboolean_checkbox also,test course : if I call context.renderResponse() in Apply Request Values Phase,and I found
the selectboolean_checkbox not get value from it's model,the model corresponding getXXX() method not executed.
another suggestion : in JSF,how to forward the current page a to another page b using this format : b#someWhereOfPageb ,to go to some where in Page b?

>
bug1--about Input components ( like Input_text ) ,
test course : I put a input_text in form1,if user
modify the value of the input_text from 'xxxx' to null
then submit the form,and the new null value of the
input_text is not submitted,and the value submmited of
the input_text is 'xxxx' yet .
Can you demonstrate an example of this happening to you? The reason I ask is that basically all of the JavaServer Faces applications I'm familiar with rely on this sort of behavior, and do not have the problem you are describing -- so there must be something interesting about your particular approach that is causing this.
One thing to keep in mind is that there is no such thing as "submitting a null value" for a text field. At best, you can erase all the contents and get a zero-length string.
bug2--about selectboolean_checkbox , test course : I
put a selectboolean_checkbox in form1,and the page has
form2 alse,when i submit form2,the value of
selectboolean_checkbox is submitted too,and the value
submmited is not the value of selectboolean_checkbox
in form1,but it's always false;
Same issue .. this works fine in the sample apps included with JavaServer Faces, so we'll need to explore why it doesn't work for your app.
One thing to keep in mind that if your page has two different forms (A and B) on it, submitting to form A has no effect on the components in form B (and vice versa).
bug3--about selectboolean_checkbox also,test course :
if I call context.renderResponse() in Apply Request
Values Phase,and I found
the selectboolean_checkbox not get value from it's
model,the model corresponding getXXX() method not
executed.
Probably the same sort of issue ... please supply a test case that fails for you.
another suggestion : in JSF,how to forward the current
page a to another page b using this format :
b#someWhereOfPageb ,to go to some where in Page bOne way would be to use an <h:command_hyperlink> control that uses an "href" element to specify the destination.
Craig

Similar Messages

  • Thread bottleneck due to bug in JSF 1.1 : please help

    Hi. We are using JSF 1.1 on a J2EE 1.4 server and have identified a critical a bottleneck because methods of class com.sun.faces.application.ApplicationAssociate are synchronized. This is a bug in JSF 1.1 identified by Sun (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6223295) that has apparently been fixed in JSF 1.2.
    However, JSF 1.2 requires Servlet 2.5 and JSP 2.1support, and our server is only J2EE 1.4 compatible.
    So what can we do ? If you have any ideas, please post.
    Thanks.
    Fabien Coppens

    Actually, I have just tried JSF 1.1_02 and it does seem to solve the thread bottleneck problem. I'll need verification once we get into performance testing, I'll keep you guys posted.

  • I use js change the sequence of options, JSF go through lifecycle, why?

    Hi,All
    When I use javascript change the sequence of options,
    JSF go through Restore View, Apply Request Value,
    Process Validations, Render Response four lifecycle. why?
    <f:view>
    <head>
    <script>
    function moveDown()
         var selObj = document.getElementById("org_rank:childOrgs");
         var index = selObj.selectedIndex;
         if (index == -1 || index >= selObj.options.length - 1)
         return;
         var selectedText = selObj.options[index].text;
         var selectedValue = selObj.options[index].value;
         selObj.options[index].text = selObj.options[index + 1].text;
         selObj.options[index].value = selObj.options[index + 1].value;
         selObj.options[index + 1].text = selectedText;
         selObj.options[index + 1].value = selectedValue;
         //selObj.options[index + 1].selected = true;
    </script>
    </head>
    <body>
    <h:form id="org_rank">
    <table align="center" border="1" cellpadding="0" cellspacing="0">
    <tr>
    <td align="middle" heigth="100" width="160">
    <h:selectOneListbox id="childOrgs" value="#{orgDelegate.curId}" style="height:100px;width:150px" >
    <f:selectItems id="orgNames" value="#{orgDelegate.orgNames}" />
    </h:selectOneListbox>
    </td>
    <td align="middle" width="80">
    <h:commandButton value="down" onclick="moveDown()" /><br><br>
    </td>
    </tr>
    </table>
    <h:messages styleClass="errorMessage" layout="table" showDetail="true" showSummary="false" />
    </h:form>
    </body>
    </f:view>

    When you say the text shrinks when you change the size of the window, do you mean in terms of making the window smaller / zooming out from the page so that for instance you can see more of the "page" that you're working on?
    If so then that's by design and is how it's always been. The view you see in Word is designed to represent what would appear on the page if you printed it, so relative to the page the text remains the same size. If you change the page so that you can see
    more of it, eg effectively zooming out, then the size of the text must shrink. It's no different to holding a physical document in front of you, if you move the paper further away from you so the page looks smaller, the text will as well.
    On the other hand if you mean when you make the window smaller, eg displaying less of the grey space on either side, that the page and text shrink then I don't know what you mean. Which version of Word are you using? I've tried with Word documents in Word
    2010 and Word 2013, and in both cases simply changing the size of the document window does nothing to the view of the document (other than make it impossible to read all the test on a line without scrolling if I go too far.

  • Some small bugs and errors

    Hi,
    In the meantime, waiting for the DPS network fix, I have some small bugs and errors to post:
    #1: When signed ot from the folio builder panel, the click to create new folio message isn't useful, as it doesn't work. You must be signed in.
    #2: "System Status" cut off on the DPS Status Website:

    Hi Bob,
    Just tested again. but nope, it doesn't work for me anymore. Since one of the latest updates, I can only create folios, when I'm signed in. Here is my video proof:
    This is the case for me on two (tested) computers running CS5.5 and CS6!
    That's why I thought this feature has been removed.

  • [svn] 1388: Fixing a bug introduced for DefineFont3 equality testing.

    Revision: 1388
    Author: [email protected]
    Date: 2008-04-24 10:19:44 -0700 (Thu, 24 Apr 2008)
    Log Message:
    Fixing a bug introduced for DefineFont3 equality testing. DefineFontAlignZones already checks its DefineFont3 for equality and so this goes back to the old behavior and avoid an infinite equality check.
    Doc: No
    QA: Yes, also please add a test case that makes use of two, duplicated embedded fonts with advanced anti-aliasing to the automated mxunit testsuite.
    Bug: SDK-15378
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15378
    Modified Paths:
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tags/DefineFont3.java

    I just posted something about this too, and while I feel that its wrong to "bump" an old post, this issue has still stayed unresolved and my frustration is peaking. In my thread my problem is i can't even use the KXdrivers on an x64 operating system, so this things an expensi've paper weight. Great.
    Creative makes good sound cards, NO DOUBT about that. Their customer service on the other hand however, is absolute trash. I have read that "statement" as well, and it seems an easy way out to just say "yeah we addressed it, so please, shut up about it already". And I agree, it is NOT a fix, for all of us. If one would take the time to read the forum, its not only ABIT motherboards. Even in that one thread, one if the first couple of replies a guy says "but I have a gigabyte motherboard". Surprise surprise, he was ignored by the mod who posted that (she answered some other poster's question with "read the instructions please" . Please creative, give us some faith back in your company by helping out the many of us with this problem. Only then will I reccomend and buy your products.

  • HT204022 I have copied some photos to my I phone through the computer of my friend. I want to delete those photos but not able to do. My friend is not in my country. I tried through another computer but didn't know how to delete it

    I have copied some photos to my I phone through the computer of my friend. I want to delete those photos but not able to do. My friend is not in my country. I tried through another computer but didn't know how to delete it

    If they were synced to your phone, they can only be removed by syncing them off with iTunes.  Create an empty folder on the computer you normally sync your phone with.  Then connect your phone to your computer, open iTunes, click on the name of your phone in iTunes, go to the photos tab and select to sync the empty folder you created earler.  Then click Apply at the bottom to sync your phone.  This will remove any photos on your phone that were synced to it from a computer.

  • [svn:bz-trunk] 21014: bug fix for RTMP security test case failure for Tomcat 7,

    Revision: 21014
    Revision: 21014
    Author:   [email protected]
    Date:     2011-04-04 13:44:59 -0700 (Mon, 04 Apr 2011)
    Log Message:
    bug fix for RTMP security test case failure for Tomcat 7,
    defer the ValveBase.getContainer() call to run time.
    Checkin tests not run as it only applies to Tomcat 7
    Modified Paths:
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/Tomcat7Valve.java

    Revision: 21014
    Revision: 21014
    Author:   [email protected]
    Date:     2011-04-04 13:44:59 -0700 (Mon, 04 Apr 2011)
    Log Message:
    bug fix for RTMP security test case failure for Tomcat 7,
    defer the ValveBase.getContainer() call to run time.
    Checkin tests not run as it only applies to Tomcat 7
    Modified Paths:
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/Tomcat7Valve.java

  • [svn:osmf:] 16045: To fix bug FM-760, add a test suite for http streaming video.

    Revision: 16045
    Revision: 16045
    Author:   [email protected]
    Date:     2010-05-11 16:35:52 -0700 (Tue, 11 May 2010)
    Log Message:
    To fix bug FM-760, add a test suite for http streaming video.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-760
    Modified Paths:
        osmf/trunk/framework/OSMFIntegrationTest/org/osmf/OSMFIntegrationTests.as

    (Removed)

  • [svn:bz-trunk] 13744: Bug: BLZ-481 - AMFConnection JUnit test do not run properly as part of checkintests on Mac  (and Windows?)

    Revision: 13744
    Revision: 13744
    Author:   [email protected]
    Date:     2010-01-25 01:14:09 -0800 (Mon, 25 Jan 2010)
    Log Message:
    Bug: BLZ-481 - AMFConnection JUnit test do not run properly as part of checkintests on Mac (and Windows?)
    QA: No
    Doc: No
    Checkintests: Pass
    Details:
    -Don't start the server before unit task, unit task already checks if the server is not running and starts the server.
    -Don't stop the server after FlexUnit tests, JUnit tests need the server running, and they will stop the server after they are done.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-481
    Modified Paths:
        blazeds/trunk/build.xml
        blazeds/trunk/qa/apps/qa-regress/testsuites/flexunit/build.xml

    Tony,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • I've recently downloaded an album but some songs only play half way through and i'm no longer able to hear any audio. What can i do about this? Thanks

    I've recently downloaded an album but some songs only play half way through and i'm no longer able to hear any audio. What can i do about this? Thanks  

    I am sorry to hear. Yes it's very disappointing and the fact that you can't at least re-download your purchase makes it that much more irritating haha well thank you and good luck!

  • [svn:osmf:] 15979: Second code submission for bug FM-760, add unit tests to increase code coverage.

    Revision: 15979
    Revision: 15979
    Author:   [email protected]
    Date:     2010-05-09 16:26:09 -0700 (Sun, 09 May 2010)
    Log Message:
    Second code submission for bug FM-760, add unit tests to increase code coverage.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-760
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/MockHTTPNetStream.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/TestHTTPStreamingDVRCastDVRT rait.as
    Added Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestHTTPNetStreamMetrics.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestHTTPStreamRequest.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestHTTPStreamingFileHandlerBase .as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestHTTPStreamingIndexHandlerBas e.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestHTTPStreamingUtils.as

    Revision: 15979
    Revision: 15979
    Author:   [email protected]
    Date:     2010-05-09 16:26:09 -0700 (Sun, 09 May 2010)
    Log Message:
    Second code submission for bug FM-760, add unit tests to increase code coverage.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-760
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/MockHTTPNetStream.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/TestHTTPStreamingDVRCastDVRT rait.as
    Added Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestHTTPNetStreamMetrics.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestHTTPStreamRequest.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestHTTPStreamingFileHandlerBase .as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestHTTPStreamingIndexHandlerBas e.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/TestHTTPStreamingUtils.as

  • [svn:osmf:] 15956: First code submission for bug FM-760, add unit tests to increase code coverage.

    Revision: 15956
    Revision: 15956
    Author:   [email protected]
    Date:     2010-05-07 10:42:13 -0700 (Fri, 07 May 2010)
    Log Message:
    First code submission for bug FM-760, add unit tests to increase code coverage.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-760
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
    Added Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/MockHTTPNetStream.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/TestDVRInfo.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/TestHTTPStreamingDVRCastDVRT rait.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/TestHTTPStreamingDVRCastTime Trait.as

    Revision: 15956
    Revision: 15956
    Author:   [email protected]
    Date:     2010-05-07 10:42:13 -0700 (Fri, 07 May 2010)
    Log Message:
    First code submission for bug FM-760, add unit tests to increase code coverage.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-760
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as
    Added Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/MockHTTPNetStream.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/TestDVRInfo.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/TestHTTPStreamingDVRCastDVRT rait.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/httpstreaming/dvr/TestHTTPStreamingDVRCastTime Trait.as

  • [Bug] Some email replies don't go through

    I've noticed that some of my replies by email don't come through... For example, I've sent a reply to this thread (I have a question about extracting pages.  When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf".  Without too many gory details, I a) and it never arrived, so I posted it via the thread itself. I have a suspicion it might have to do with the use of special symbols in the title (quotes, smaller-than, greater-than, etc.), but this is just a guess. Anyone else experiencing this behaivour?

    I have the same problem and its annoying. Plz Help! 

  • Bug in JSF 2.0?

    I was using JSF 2.0 + DI + Bean Validation in a app to test the new functionalities. In the end, a got a bug. When the data validation failed in a form, the entire page was redisplayed again, with the appropriate error messages but without some html components, like outputLabels and outputText. I thought that it was my mistake, but i opened the Scrum Toys netBeans example and got the same problem. Anyone here already noticed this?
    Edited by: 1234teste on Jun 5, 2010 10:12 AM
    Edited by: 1234teste on Jun 5, 2010 10:12 AM

    if you think it is a bug, file a bug report.
    I'd find it hard to believe that the Netbeans example displays the same problem and that it has gone unnoticed though. Perhaps you should first try it on a fresh installation of Glassfish V3 to see if the problem remains.

  • Another subfolder bug (or JSF flow?)...

    1. Create new project
    2. On the Page1 place any image from the Samples directory such as navbar.jpg
    3. Create subfolder
    4. Create a new page Test.jsp in the subfolder
    5. Place a button on Page1 to point to test/Test.jsp
    6. Place a button on Test.jsp to point back to Page1
    7. Create two navigation cases: from Page1to Test and back from Test to Page1
    8. Create action handlers for the both buttons
    9. Start project and click the button to go to Test page then click the button to go back to Page1
    See how the IMAGE on Page1 is NOT displayed (path is broken - address bar still points to the test/Test.jsp)
    Please fix it in the upcoming subfolder/jspf patch if possible.
    The current workaround I have to use is calling getExternalContext().redirect("../Page1.jsp");
    in the action handler for the Test page button

    We don't support subfolders very well. We recently fixed a bunch of bugs in this area, so I was hoping that this would be fixed, but when I tried on the current bits it I get the same problem.
    Note that the URL being "wrong" is unrelated to this, and that this is actually how JSF works (yeah, it's a bit counter intuitive. This might be a good blog topic.) You can google around for some information about this, but in essence you get this problem when the navigation decision is made on the server -after- the user has submitted the request on the browser and the url bar is updated.
    Back to the bug:
    You can work around this by manually changing the "value" attribute of the image to be context relative; e.g. instead of having a value of "resources/navbar.jpg", make that "/resources/navbar.jpg" (e.g. just add a / at the beginning). Now it will work fine at deployment.
    Unfortunately, until you get the next patch (which should be very soon; it left development a while ago and is being tested) this won't work well at design time. In the patch the designer was fixed to handle context relative paths right in most scenarios. This means that the image won't show up at designtime (you'll just see a box with the url in it instead.)
    I'm not sure why the page relative path doesn't work; I'll forward that to somebody more familiar with JSF internals.
    -- Tor
    http://blogs.sun.com/tor

Maybe you are looking for

  • Apex 2.2.1

    hi, I have installed apex 2.2.1. Now it says: The structure of the link to the Application Express administration services is as follows: http://host:port/pls/apex/apex_admin from where i can get this port number? kindly help.. Regards, Saad.

  • Removing modules to help with boot, not sure which modules to remove

    ok i have a dell studio 1555, 320gb hdd, i use ext4 for home and / and ext2 for boot and swap is swap i use kernel26-pae as i have 4gb ram i have an ati graphics card if you need anything else please tell me would really appreciate help with  improvi

  • Declined Invitation.

    I have read over this forum numerous times to try and figure this out, but still no luck with the problem. I am trying to video chat over iChat. My girlfriend uses AIM and a Dell laptop. I can connect to the Apple test buddies just fine but whenever

  • Text mode

    Hello, I recently updated my q10, ever since I have had problems with text messages. They are sending as mms messages versus sms. How can I fix this thank you

  • [Duplicate:ignore]Mapping Errors: no table selected, but unable to select

    Sorry Duplicate Posting. I am unable to delete. [Lost Cause] Mapping Errors: no table selected, but unable to select one Message was edited by: RWBerg