Replacement for validator and valueChangeListener attributes in JSF1.2

Is there a replacement for these now deprecated attributes (in JSF 1.2 according to the proposed final draft). Or is the onlyl solution to use i.e. the f:validate tag and implement the Validator Interface. In this case Validation Methods inside Beansn are gone... right? Why?

Hello,
You can tell to JSF that you fields are required only if the submit button was responsible for submiting the form :
<h:form id="rmName">
<h:selectOneMenu value="#{mybean.selectedCountry}" valueChangeListener="#{mybean.countryVLC}"
onchange="this.form.submit();" >
<f:selectItem itemName="select" itemValue=""/>
<f:selectItems value="#{mybean.countriesMap}"/>
</h:selectOneMenu>
<h:inputText required=”#{!empty param[‘frmName:btnSave’]}” binding="#{mybean.mobileNo}"></h:inputText>
<h:commandButton id="btnSave" value="btnSave"></h:commandButton>
</h:form>

Similar Messages

  • Palm Desktop replacement for Mac and iPhone?

    Since Palm Desktop is no longer in active development, is there a Palm Desktop replacement for Mac and iPhone?
    http://kb.palm.com/wps/portal/kb/common/article/33219_en.html#mac
    I mean, a single application (not a bunch of them like Address Book, iCal etc) that works on Mac (desktop) and that can sync with the iPhone. Including all data from the current Palm Desktop:
    1. Address List
    2. To Do List
    3. Memo List
    4. Date Book
    Thanks.

    If only Apple did something like that (all-in-one-application personal organizer with contacts, memos, calendar, to do lists, etc)
    Well, they offer all those functions--Mail has Notes and To-dos show up in both Mail and iCal, plus Address Book. Clearly someone made the fundamental decision that separate integrated programs were better than an all-in-one, so I wouldn't expect an all-in-one from Apple in any foreseeable future. But you can send a feature request, if you like:
    http://apple.com/feedback
    What would be interesting---and may exist, I haven't looked---would be if a third-party used the open access to iCal/Address Book info to build an all-in-one that integrated with Apple's separate apps, which could provide seamless iPhone/OS X integration while still letting people have the unified interface. Postbox uses Address Book but I didn't see any calendar/notes features in my quick check. Lots of apps build better replacements for Apple's individual programs--BusyCal, I think a Mail replacement, etc---but nothing unified that I've heard of.
    However, my point was that you may be better off grabbing Entourage 2008 while it is still available than waiting for Outlook 2011, which is going to be a different program. Sometimes features go backwards, and Missing Sync compatibility may change or be delayed with Outlook 2011. I don't see the advantage of hanging onto PD until the very last minute.
    ETA re the tech guarantee:
    http://www.microsoft.com/mac/products/Office2008/office-2011-upgrade.mspx
    Message was edited by: Daiya

  • I could not get my iPhone 5 which purchased in Australia repaired by apple in the US. Guys from apple retail store verified a replacement for me and asked to call apple care. However, apple care said they cannot get it fixed nor repaired.

    My iPhone 5 got some defects and I went to a apple reatil store yesterday. The guy from the genius bar told me that he verified a replacement for me. And I need to call 1-800-apple care to finish that process. I called apple care and one of the senior supervisors told me that I have to send it back to Australia (where I bought this iPhone) to get it repaired. Turns out I could not solve the problem after a apple store vist and several calls. I just want to know if there any way to solve this. This iPhone is a factory unlocked one that purchased in an apple retail store in Melbourne at the day it was first released. And my experience today is not what I can tell as fair. I will be really appreciate for any helps and advices. Thanks.

    Warranty on iPhone is not international, but valid only in country of
    original sale. Since you purchased the iPhone in Australia, your warranty
    is valid only in Australia. You must either personally return the iPhone
    to Australia for evaluation and possible replacement or sent it to someone
    in Australia to take into Apple for the evaluation. Apple will not accept
    international shipments for repair nor will Apple ship out of the country
    after replacement.
    Sorry to be the bearer of this news, but it is the way iPhone warranty and
    replacement has always worked.

  • Replacements for FS and Marshall Muffler cases

    My students have previously taken an ERP course that included the Mueili Simulation Game. In the next course, I had them do the Fitter Snaker configuration exercises followed by the Marshal Muffler case. Now, it seems that the Fitter Snack configuration series of exercies will no longer be available, and is being replaced by the Global BIke case -- yet, I cannot find any material for the Global Bike case -- when is it to be avaiable?
    Also, the Marshall Muffler case does not seem to be available either -- I cannot find a reference to it in the UA site. If it is no longer available, what is a good replacement for it? I have not yet looked at the Kite case to see if it is a good candidate to replace Fitter Snacker or Marshall Muffler.
    What I would like is a series of exercises that takes students through some configuraiton, and then forecasting, production, purchasing, selling (like the Fitter Snaker configuration). After that, I would like them to do another case without detaied instructions to do some configuraiton, produciton, purchasing, sellling (like Marshall Muffler).
    The BPI series of exercises might do some of the above.
    Thanks for any suggestions.

    The Marshall Muffler case is still available along with all of the otherFitter Snacker configuration materials.  Navigate to:
    https://cw.sdn.sap.com/community/uac/bpm
    Then scroll down to Fitter Snacker configuration and download that material. 
    I will be providing a modified module 12 document for the community network shortly.  There are a couple of fixes needed for the ECC 6.0 version that I didn't catch the first time I revised the documents.

  • Free replacement for charger and headphones?

    My apple charger and headphones don't work anymore and I was wondering if apple would give me a free replacement for my charger and headphones?

    They are covered by the same 1-year warranty that covers the iPod. If defective and not abused Apple will exchange them at no cost. I think when you say charger yo mean cable since the iPod does not come with a wall charger
    Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • Configuration docs for Validation and Subsituation

    Hi,
    Can you any body forward me configuration docs related to Validation and subsituation on my e-mail id   :- 
    [email protected]
    Thanx & Regards
    Sandeep

    Dear SAI
    Pls send the documents on validation and substitution.
    My email id id [email protected]
    Thanks and regards
    Priya

  • Problem with f:validator and f:attribute

    Here is part of my code:
    <h:dataTable value="#{getQuestionsBean.answers}"
                                       var="question">
                                       <h:column>
                                       <h:panelGrid columns="1">
                                                 <h:inputText id="inputAnswer" value="#{question.answer}"
                                                      rendered="#{question.isInputText}" required="true">
                                                      <f:attribute name="pattern" value="#{question.validatePattern}"/>
                                                      <f:attribute name="errorMessage" value="error text" />
                                                      <f:validator validatorId="custom" />
                                                 </h:inputText>
                                                 <h:message for="inputAnswer" errorClass="errorMessage"/>
    </h:dataTable>
    "custom" is a custom validator witch need a dynamic pattern and error message text. When I send this values like in my code(in pattern atribute), in validator I have only null's. When I put into value just text (like in errorMessage attribute)everything is ok. Any ideas? It's very importent and I can't solve it. Please help.

    Hi,
    I'm stuck in the same problem...did u get any solution for this problem.
    Thanks
    ved

  • I got my iPhone replaced for £209 and then told by a friend that they've cracked it's screen now. What do I do?

    Less than a month ago I had to have my iPhone replaced and due to the technicians thinking something that didn't happen happened I had to pay £209 for a replacement phone. Now a friend dropped the phone, cracking the screen. What do I do? I can't put any more money into anything. I'm a student and had to scrape every penny to sort that out. I have nothing left. But I can't accept there is no support for a phone I paid for a month ago for when this happens. Come on apple and users as I cant afford to pay for anything unless I go a week without food!

    Why would Apple do anything for a damaged iphone?
    You would have to pay for a replacement

  • How do i organise my files into folders in iCloud. If i can't this clearly isn't a replacement for MM and idisk

    Hey
    Does anyone know the deal with the documents in icloud. I used to have many different folders with documents in idisk. I need to seperate my files into folders. How can this replace i disk????

    I agree - my early days with iCloud are disappointing, particularly since it seems to (extraordinarily) have fewer mail rules than the Mac.
    For file sharing I have gone along a different route.  Have a look at http://www.evernote.com/  I share any information I might want to see or use on my iPad and iPhone when away from my Mac on Evernote - tax forms, essential documents, pdf files, recipes...  I have put them on the evernote 'cloud' (though you could choose to have copies on your devices) and can use Pages, Numbers, pdf readers etc.  Basically you can put pretty well anything into a 'note' and store your notes in 'notebooks'.
    I am as pleased with Evernote as I am not with iCloud. It is so sad, I have used Apple kit since 1985.  I still love it and wouldn't dream of buying a Windows machine, but I feel that the software development guys are losing touch with those of us who don't just want to surf the web and take photos.
    ps It took me a day or two to grasp the structural concepts of Evernote.  Well worth perservering.

  • Checking for valid (and working) address

    (sorry if i posted in the wrong forum... i didn't found any that suits better my problem)
    that's the question: i have a string and need to check if it's a valid host name/ip address and also check if it's up and running at the moment. to solve the host name, i have the following code:
    try {
    URL url = new URL(sURL);
    HttpURLConnection uc = (HttpURLConnection) url.openConnection() ;
    uc.setRequestMethod("GET") ;
    uc.connect();
    uc.getResponseMessage();
    catch (IOException ioe) {
    //wrong url/not working
    but it doesn't work with ip addresses. Someone suggested me to use InetAddress.isReachable(int), but it's only avaliable since Java 1.5, and i must use 1.4. Another way around would be to use InetAddress.get(Canonical)HostName(), but it may fail even with a valid ip address, and i can't allow that.
    can someone give me a hand?
    thanks!

    (sorry if i posted in the wrong forum... i didn't
    found any that suits better my problem)
    that's the question: i have a string and need to
    check if it's a valid host name/ip address and also
    check if it's up and running at the moment. to solve
    the host name, i have the following code:Easy - it isn't possible at all.
    If and only if you were to use ICMP (which you can't in 1.4 using just java) and if and only if the target computer responded to ICMP then you could use that.
    That is seldom very useful because generally one doesn't care if a computer responds to ICMP. What they need to know is if the computer is actually doing what it is supposed.
    For example if you have an http server, what you care about is if it is actually handling http requests. (The computer can be up and not handling http requests.)
    Not to mention of course that a host name requires that the DNS server respond to it first. And just because the DNS server is failing it doesn't mean that the target PC is failiing.
    But if you really want to do nothing but ICMP then you can use Runtime.exec() and an OS specific command (usually 'ping') to do just that.

  • Help needed for Validating and Redireting website form

    Hello
    I know that this is probably a beginners question, but I
    can't seem to figure it out. Yes I am rookie.
    I want my form to validate itselves and if it was successful
    to redirect to a website that was selected by the client from a
    drop-down menu in the form.
    I have tried to use a jumpmenu but the problem is that it
    redirects the webbsite the moment the client makes a selection.
    e.g.
    Client select between three options
    Yahoo
    Google
    Vista
    Client enters details
    Name
    E-Mail
    Then submit form. If above entered detailed was validated
    simply as e.g. for containing an e-mail address the form should
    then redirect to user choice.
    I prefer to use a Javascript is possible.
    Thank you
    David

    I would probably advise server side code to accomplish this
    .. in whatever
    server model you use.
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: Dreamweaver CS3: The Missing Manual,
    DMX 2004: The Complete Reference, DMX 2004: A Beginner's
    Guide
    Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "DavidLeRoux" <[email protected]> wrote in
    message
    news:fsj53v$55d$[email protected]..
    > Hello
    >
    > I know that this is probably a beginners question, but I
    can't seem to
    > figure
    > it out. Yes I am rookie.
    >
    > I want my form to validate itselves and if it was
    successful to redirect
    > to a
    > website that was selected by the client from a drop-down
    menu in the form.
    >
    > I have tried to use a jumpmenu but the problem is that
    it redirects the
    > webbsite the moment the client makes a selection.
    >
    > e.g.
    >
    > Client select between three options
    > Yahoo
    > Google
    > Vista
    >
    > Client enters details
    > Name
    > E-Mail
    >
    > Then submit form. If above entered detailed was
    validated simply as e.g.
    > for
    > containing an e-mail address the form should then
    redirect to user choice.
    > I prefer to use a Javascript is possible.
    >
    > Thank you
    >
    > David
    >

  • Replacement for ExFolders and PFDAVAdmin?

    Is there a replacement out there for either of these tools? 
    It was used heavily in our environment, and we need another way to manage folder level permissions.  Using powershell for each folder individually and propagating to subfolders is not an option. 
    Thanks,
    Ben

    I haven't seen any alternatives on Exchange 2013...
    Perhaps you need jump into PowerShell scripting to manage ;)
    BTW, doesn't this help?
    Get-PublicFolder -Identity "\Legal\Documents\Pending Litigation" -Recurse | Add-PublicFolderClientPermission -User Chris -AccessRights CreateItems
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Software or website for validating and correcting for XHTML syntax

    I have some jsp pages and html pages.
    I would like to format all of them so that all are conform to XHTML standard.
    Is there any software or online website that provide the functionality of validate HTML and if possible auto-correct it?

    If you search google for 'Eclipse Europa', you can download the free IDE which a large bulk of users are using. When you open an html or jsp file in that IDE, it opens with a JSP editor. The editor will tell you if there are any problems. Its also a good idea to develop in an IDE. Alternatively, you can also use Dreamweaver for editing html and JSP, if you like spending money.

  • Can a license key be checked online for validity and activation capable?

    I am planning to buy Photoshop from someone in a face to face transaction locally. Is there a way to check if the serial key is valid, can be activated and registered online? I want to do this on the spot using my smart phone.

    A license key certainly be checked by going to Adobe's Website, login with a valid user name and password.
    There you will find a page called Your Adobe Product and Online Service Registrations.
    This is a full list of my registered Adobe products shown by:
    Serial Number, Application, Version, Platform, date purchased and Licenses.
    Mine shows a list of products purchased and registered all the way back to the year 2002.
    Hope that helps
    /s/
    360texas

  • Checking for valid (and working) host name/ip

    hi
    i have posted this in other topic, but i think it was the wrong forum... so if you wanna try to help me...
    http://forum.java.sun.com/thread.jspa?threadID=603987

    no that was the right forum, although it gets low traffic. This is not the right forum for that quesiotn. Your best bet is the "Java Programming" or "New To Java" forums.

Maybe you are looking for

  • Value Field in PA Document

    Hi, We are seeing a difference while doing an automatic posting and manual posting of an GL transaction. After posting a document, going to T.code:FB03 giving the document number and looking into the document and from there going to Environment>Docum

  • Images ghosting in and needing to be refreshed

    In doing some quality control on a series of jsp generated html sites i find very often the images do not come in until I refresh, especailly on Internet Explorer 6 on a PC. I don't know jsp but I do know html and html data driven code through asp. C

  • R/3 transport management system

    Hi experts,    can anyone explain about R/3 transport management system and reviewing them in test and production system.if any docs.........plz give me the link.

  • How to show popup help for user

    i have made a bar graph for my database in jpanel. now i want to show the proper data in popup when user moves mouse over apprpriate bar in jpanel. i would like to know is there is any way to do this. i need help as i m new in the field of java. i am

  • VNC : windows do not update contains but get grey instead

    Dear list, I use vnc to connect to a 2x2,66 Hhz 6-core Intel Xeon, under 10.6.8. I used to work correctly until last month updates. Since then, when I use the scrollbar on windows or move a window on the screen, the contents becomes uniform-grey. The