How to make af:inputText bind  to a specific format?

Hi,
I want to make af:inputText as format specific i.e., Where I can specify such that it will accept only numeric/alphanumeric/alphabetic value?
Regards,
Lokesh.

Put a validator (based on a regular expression) on your input text. this will not prevent the user to enter the wrong type of character, but give you an error message when you leave the field.
To prevent the input of characters in a field expecting numbers only you can use a javascript function and an event handler.
Timo

Similar Messages

  • How to make a photo DVD (using  very large format photos)

    I am attempting to make a photo DVD using iDVD.  The program seems to lockup when exporting a slide show from iPhoto.
    I am using a 21 mega pixial camera, so the file size is about 15-18 mb, per photo, 266 photo.
    8
    I
    Have had to force a close of the pogram, several times.

    You're image are much to large.  This Apple docukment deescribes how to prepare photos for slideshows: iDVD 7.0 Help (iLife '08): Preparing images for iDVD slideshows.
    OT

  • How to make the filter panel non-folder specific in Bridge CS6

    It seems that the filter panel is folder specific. You click on a folder and only some filters pop up depending on what folder you are looking at and what info is in the photos (I don't know if this refers to tags or not). Assuming I am right. This is my problem. I go to my main folder where all other folders and subfolder with photos within them are placed. I want to look at my "Ratings" 5 starts, 4 stars and so forth. In other words I am looking for (searching for), in this case, all those photos I have labeled with 5 stars. But no such tab/filter exists in my main folder. Why? How do I perform such a task(look for all 5-star photos I have--and also zero stars, those yet to be labelled)?
    OS: WIndows 7 Home Premium 64bit
    Thank you

    The filter panel is a shortcut for the content panel and it only effects the content of that window. So if you have a folder it will only see this as a folder and not with its content. (a Stack behaves about the same, being different in only counting the first file in the filter panel criteria but not what is in the stack itself)
    You have a view work arounds, first is use menu view / show items from subfolders (this can take some time especially if you have not used caching before on this content) and this builds visible thumbs for all content and that can be used for filtering.
    Or use the find command (Edit / find) and inhere specify the source and fill in the criteria include subfolders and this will give you the correct result.
    When you create a smart collection the find command also pops up given you the same opportunity to get the results in a collection, but since a collection is only a bunch of aliases referring to the originals you might be a bit careful with editing and deleting.

  • How to make Outlook 2013 calendar only show specific hours and hide the others that are grayed out

    I’d like to show 7am to 10pm thus allowing the rest of the day to be less cramped vertically on my screen.  I don't want to see all the grayed out hours which are
    outside of business hours.  How can I do this?

    Right click on the time scale and choose the next smaller scale. It may not help much since 7 -10 is a fairly long period, although with 30 min and the ribbon minimized, i see 7a - 11p on a 24" monitor. You may need to set 7 as the start of your business
    day. If you have it set later in options, outlook will start the day at the later time.
    I have screenshots here -
    http://www.outlook-tips.net/tips/tip-503-display-work-hours/
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • Revision: How to make tab control stop on a specific page upon pressing Pause?

    I have a scrolling tab which scrolls through the tab pages until the user presses Pause. That works. Now I want the tab control to stop on a specific page once the user presses Pause. How to do this?

    Well, hopefully I can give a simpler explanation of my project. There is a tab control (right now of 3 pages). I have written code which flips (scrolls) through the pages, one page per second approx. There is also a Pause button. When the user presses it, the scrolling of pages stops and whatever page is shown at the time of Pausing is the page that is viewable. So that could be page 1, 2, or 3 given when the Pause button was pressed.
    But now, I would like to implement the feature that when the Pause button is pressed the tab control, through coding, has no choice but to show Page 1 (for example) or whichever page I restrict it to.
    Actually I think I've got a idea now after typing this out, but your suggestions are very welcome!
    I've attached screenshots of my code to this reply. The first two show Case States in my code (scrolling, not scrolling) and the 3rd isof the Front Panel and the tab panel itself.
    Attachments:
    TempScrolling.jpg ‏209 KB
    TempPausing.jpg ‏194 KB
    TempFrontPanel.jpg ‏156 KB

  • How to make a multi-clip with different footage formats?

    Have an hour-long concert shot with three cameras plus a separate high-quality audio track.
    Cameras 1 & 2 are the same format (HDV 1080p30).  Camera 3 is DSLR footage from Canon 5D (imported into FCP7 using Log & Transfer).
    I used PluralEyes to sync everything up, and created a Multiclip -- but that multiclip isn't working properly when I drag it into a new sequence.  (It makes me render the whole thing before I can even work with it -- and then it won't work anyway.)
    Help ...

    OK.  For testing, I converted the DSLR to HDV (can do ProRes later).
    The Multiclip still does not work.  It DOES work if it's just cameras 1 & 2, but when I add camera 3 (the DSLR) -- the sequence wants to render and then when I select "Open" to work with the multiclip, it doesn't work.
    I don't understand what's wrong, because all three camera clips were used with PluralEyes and all three have the exact same settings (HDV 1080p30, 1440 x 1080, 29.97 fps).
    What's wrong?

  • How to make a periodic background job to specific duration time.

    Hi, all
    Is it possible to make a periodic back ground job to specific time? (ie, run job hourly from 08:00 to 19:00, everday)
    I don't define backgorund job to offline time of legacy server.
    Thanks

    Hi
    I don't think "No start after" will work for this situation. "No start after" is only for the individual job not for whole schedule.
    I guess you have to create different job for each hour as daily job.
    Thanks.

  • How to make PDF render to handle HTML specific?

    I am having a database which has content like footer, footnotes and disclaimer. content can have HTML entities such as ampersand dagger semicolon "†" and ANSI code so that browser is able to interpert and format accordingly. We are pulling the same content for display in web page as well as in PDF. But our PDF render process fails to display since HTML entities and ANSI code are browser-specific and not PDF-specific. How to convert these HTML entities and ANSI code so that to display the same symbol in PDF?
    Any help will be appreciated.
    Thanks in advance.

    Crossposted [http://forums.sun.com/thread.jspa?threadID=5400242&messageID=10779628#10779628]

  • How to make a Homescreen Shortcut to a specific File Folder ?

    I used to be able to do this using Astro File Manager on my DX but now can't see a way to do this on the Razr Maxx.
    I have a file folder on my SD card that contains a bunch of data files. I'd like to have a Shortcut to that on my screen for quick access to the files.
    Any words of wisdom on hos to do that? Maybe I need a different APP than Astro ??
    thanks in advance.

    Thanks Ann i had some Serious Eyes looking at my Maxx yesterday at my Cousins Wedding an the pictures i took was pretty good but i could use some time in that Department. Allot were asking Questions on my Maxx an they were amazed when i told them the battery life i was getting out it. Who knows some of them that were asking Questions on it might of went to the Verizon Store an got one for themselves if so i guess my Maxx did it's work for the Day!  

  • How to make a class confirm to a specific abstract structure?

    I have a class which should extend one of the swing component and on the other hand implement an interface. i.e.
    public class A extends JTable implements UpdateData
    In some other class
    public class UpdatePanel extends JPanel
    public void setUpdateComp(JComponent anJc)
    updateCompJc = anJc;
    // but here i want to use methods of interface UpdateData
    // which i cannot be sure of that anJc implements those methods since
    // its an instance of JComponent.
    // One sol in my mind is to cast with UpdateData and check for
    // ClassCastException.
    // Is there any other way of doing this such that i don't have to cast
    // between JComponent and check ClassCastException to be sure that it
    // implements reqd. interface
    Thanks and reagrds,
    Amit.

    Hi,
    if you use the declaration
    public void setUpdateComp(UpdateData anJc) { ..... }
    instead, then only an instance of a class can be passed to that method, that has UpdateData implemented - but, you are then restricted to the methods of the interface - if you want to use others, you have to check for the instanceOf this parameter and cast it to that class afterwards.
    greetings Marsian

  • How to make a BPM restartble at a specific point after error?

    Hi,
    I have a somewhat very simple question.
    I have a BPM that works like this:
    1. receive message A
    2. transform message A to message B (using valuemapping)
    3. switch with a condition determining if valuemapping was succesfull for all cases.
    3.1. Branch 1
    3.1.1. Send message B to R/3
    3.2. Branch otherwise
    3.2.1. Transform message B to errorMessage
    3.2.2. Send errorMessage to R/3
    This is all fine and works as intended.
    Now what I would like is to somehow be able to "stop" the BPM after step 3.2.2. and somehow be able to reprocess the BPM starting from step 2..
    The reason for this is that if the valuemapping was unsuccesfull it means a table needs to be updated. After updating the table it would be nice if the process could just be restarted and complete with success instead of having to send data through XI once again from sending system.
    I've tried to experiment with exception handling in the BPM, but have not been successfull in finding a solution that works as intended.
    Hope someone can help:-)
    Best regards,
    Daniel

    Hi Kavita,
    What I want is this:
    If valuemapping is unsuccesfull I want to send errorMessage to R/3. Afterwards the BPM should stop. At some point someone (or XI ifself) will try to reprocess the BPM. In this case the BPM should basically start from my previous step 2 (Transformation step with valuemapping) and then go through it all again.
    I a litle unclear what exactly you want me to try - is it something like this you mean?: - but what exactly goes in the exception branch? The time part I guess can be left out in my case, since I just wanna stop right away - but still we the posibility of starting from valuemapping step when reprocessing the BPM after error.
    1. receive message A
    2. Block
    2.1. Exception branch
    2.2. Control branch
    2.2.1. Loop
    2.2.1.1. transform message A to message B (using valuemapping)
    2.2.1.2. switch with a condition determining if valuemapping was succesfull for all cases.
    2.2.1.2.1. Branch 1
    2.2.1.2.1.1. Send message B to R/3
    2.2.1.2.2. Branch otherwise
    2.2.1.2.2.1. Transform message B to errorMessage
    2.2.1.2.2.2. Send errorMessage to R/3
    Best regards,
    Daniel

  • How to make all settings default?

    how to make all settings default?

    What specific settings are you alluding to?  More details please.
    Ciao.

  • How to make BPEL process to be exposed via java binding?

    How to make a BPEL process itself to be exposed via java binding?

    You can using WSIF. There are a few doc on the internet that explain this here are a few to get you started.
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/juric.html
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/java.htm
    cheers
    James

  • How to make Binding

    Hi,
    How to make binding for newely created methods.From Task -> Method.
    For me the Binding icon is not activated.can i know the solution.
    Please givfe the solution ASAP.

    hi,
    PFTC, use TS as type and type in the task number.
    Now click change.
    There you'll see description, text and objectmethod.
    type in the objecttype and the method and press enter. Now notice the green icon somewhere below the text method. this is the binding button.
    This is also accessible via the menu: path goto>binding>object method
    Kind regards, Rob Dielemans

  • How To Make Action Whet You Set Focus On InputText ?

    Hi All :
    Please Help Me How To Make Action Like(Changing BackGround Color For InputText When It GetFocu )
    Best Regards ....

    Hi,
    You can do it using JavaScript function, like this sample:
    <script type="text/javascript">
    function changeColorGetFocus(obj){
    obj.style.backgroundColor = "#f1f1f1";
    function changeColorLostFocus(obj){
    obj.style.backgroundColor = "";
    </script>
    And in your inputText put :
    <af:inputText
    onblur="javascript:changeColorLostFocus(this);return false;"
    onfocus="javascript:changeColorGetFocus(this);return false;"/>
    Regards

Maybe you are looking for