***Is there any listener which trigger the method when KEYUP?

Hi,
Is there any listener which can trigger the backingBean method when KEYUP!!!!
Basically, I got 2 input box in the UI where the 2nd box getting enabled when user enters some value in the first box and tab out. I am doing this via valueChangeListener which has attached with first inputBox. But now I want to enable the 2nd input box as soon as the user start enter the value in the first box, how to do this plz..
thanks
kln

Hi klogube,
If you want to call method in backingbean from javaScript you should use both clientListener And serverListener as:
1- Add clientListener inside your inputText as :
<af:clientListener type="KeyUp" method="keyUp"/>2- write javaScript function as :
<af:resource type="javascript">
    function keyUp(event) {
       var source = event.getSource();
       AdfCustomEvent.queue(source,"callServerListener", {}, false);
</af:resource>3-Add serverListener inside your inputText as :
<af:serverListener type="callServerListener" method="#{backingBeanScope.txnBean4.keyUpMethod}"/>Your InputText will be like:
<af:inputText label="Label 1" id="it1">
      <af:clientListener type="KeyUp" method="keyUp"/>             
      <af:serverListener type="callServerListener" method="#{backingBeanScope.txnBean4.keyUpMethod}"/>
</af:inputText>4- The java method:
public void keyUpMethod(ClientEvent event){
// do whatever u want
}Sameh Nassar

Similar Messages

  • Is there any  way to Mask the Name when  a select statement is issued?

    Dear all,
    Is there any way to mask the name .. i mean if User issue a select statement in a customer table the real name should come like ' ABCXXXDEFXXCFXX'... Which is not the actual name?
    e.g if Name: CHIEV SONG MEE
    If user issue a statment select * from customers;
    The Result Should come something Like this:
    Name
    CHXXV SXNG MXX
    Thank You

    user3029023 wrote:
    but it seems there is no option in oracle it self which can be used as there they are saying to get a data masking software which we can't due to some internal issues....I would not say that. How one implements masking depends entirely on the requirements that need to be met.
    For example, schema A owns all the tables. Schema B can be created as a "trusted" schema - in other words, schema A trusts schema B and allows it full access (with grants) to its tables. Schema B implements data masking as views. For each table in A, a view exists in B that implements the required masking. B can now grant select access on these views to user C. User C will see the same data object names in B as it would have if it used A - only, by using the B data objects it uses masked data objects and not the original source data objects.
    Another example - schema Dev is to have all the data objects of schema Prod, but masked where needed. One can use CTAS (Create Table As Select) to create the required tables in Dev with masked values where relevant. This Dev schema can be "refreshed" on weekends by dropping all tables and getting a new fresh copy of production data and masking it - ready for the next week's development cycle.
    If the application use is for example APEX, then instead of coding SQL directly as reporting regions to display, a function is used instead. APEX supports reporting regions where it calls a function and this function provides the APEX run-time with the SQL to execute and contents to render. It is easy to use this approach to implement logic in functions that masked column data depending on who the APEX user is, the security/role attributes of the user, and so on.
    No there is not a single "+mask this column!+" feature in Oracle.. but that does not mean that such a feature is not supported and cannot be implemented. Oracle has a very comprehensive and rich set of tools - more so than most (if not all) other RDBMS products.
    It is up to the architect/designer/developer to use this toolkit in creating a system that meets the specific requirements at hand.

  • Is there any table which records the no. of Jobs run in day in BIP ?

    Hi All,
    I want to create a metadata report on what all jobs ran in my BIP production in a day. Is there any repository where this is recorded?
    Please let me know.
    I am in 10.1.3.4 and using oracle database
    Thanks,
    Ronny

    Hi Ronny
    All the reports the are scheduled the history will be stored in the backend table XMLP_SCHED_JOB.It will create a unique job_id.
    Based on this table u can create a report in BIP using the RTF template.....

  • Is there any listener when leaving the page?

    Hi,
    I use JDev 11g,
    I use this
    *((DCIteratorBinding)this.getBindings.get("MyIterator1")).getViewObject().getApplicationModule().getTransaction.isDirty();*
    to know if there is a change happen in database or not
    I want to check this change when I leave the page.Where can I write this code? Is there any listener when leave the page or not?
    Thank You.
    Sameh Nassar

    Thank You Sireesha,
    I make a class which implements interface PhaseListener and implement 2 methods (beforePhase and afterPhase).
    then I write
    <lifecycle>
    <phase-listener>MyClass</phase-listener>
    </lifecycle>
    in faces-config.xml file
    thank you.
    Sameh Nassar

  • I had my iphone stolen which had quite a lot of music on that I had downloaded from itunes but not synced with itunes on my computer.Is there any way to access the music now or is it lost?

    Hi,
    I had my iphone stolen a few weeks ago which had quite a lot of music on that I had downloaded from itunes via my phone but had not synced with itunes on my computer.
    Is there any way to access the music now or is it lost? Thanks x

    By any chance, did you have the Find My iPhone app installed prior to it being stolen?
    Reporting a lost or stolen Apple product
    Hopefully you had your iTunes purchases backed up to an external source such as an external drive or CD's?

  • There is any table which makes the relation between sold to party and ship

    Hi Gurus,
    There is any table which show the relation between ship to party and sold to party.
    regards
    gursharan

    You can get this information from KNVV, KNVP Tables.
    Refer following link: http://www.erpgenie.com/abap/tables_sd.htm ....Customer Master Data for more detailed explanation.
    Please award points if you find this information useful / resolves your issue.
    Letme know if you need more information.
    Thanks,
    Ramesh

  • Are there any apps which will allow local calling using data only that do not require any special numbers called out initially and does not require the receiver to have a similar app or account?

    Are there any apps which will allow local calling using data only (not minutes, no extra charge) that do not require any special numbers called out initially and does not require the receiver to have a similar app or account?  Just for random local calling.

    Yup.
    Here is a way you could solve this by adding an extra column and a small lookup table:
    The lookup table is here for the copying:
    0
    1
    k
    kilo
    2
    M
    mega
    3
    G
    giga
    4
    T
    tera
    5
    P
    peta
    6
    E
    exa
    7
    Z
    zetta
    8
    Y
    yotta
    In table 8 (the one on the left in the image) column A is where the values are. 
    B1=A1÷(1024^VLOOKUP(INT(LOG(A1, 1024)), Binary Prefixes::A:D, 1))&" "&VLOOKUP(INT(LOG(A1, 1024)), Binary Prefixes::A:D, 2)&"B"
    this is shorthand for... select cell B1, then type (or copy and paste from here) the formula:
    =A1÷(1024^VLOOKUP(INT(LOG(A1, 1024)), Binary Prefixes::A:D, 1))&" "&VLOOKUP(INT(LOG(A1, 1024)), Binary Prefixes::A:D, 2)&"B"
    select cell B1, copy,
    now select all the cells in column B, paste

  • In sap is there any report which gives us the details of all prctr group

    Hi,
       In sap is there any report which gives us the detail of all profit center and their respective profit center group. I need a report or t.code which gives me the details of profit center hierarchy with description and also the associated profit center to it.Is there any report beside t.code KE5X.
    With regards

    Hello
    I like to use TCode KCH6N (Profit Centre standard Hierarchy)
    Although this does not give as much Master data info as the TCode you use, it does give description, who responsible and most importantly where in the structure/hierarchy every Profit centre and Profit centre group is in relation to each other.

  • Is there any way to sort the alarms differently in the Clock app? I have alarms for multiple days during the week, all of which overlap each other. It makes no sense to me that the alarms sort by time and not day. Thanks!

    Is there any way to sort the alarms differently in the Clock app? I have alarms for multiple days during the week, all of which overlap each other. It makes no sense to me that the alarms sort by time and not day.

    No, there is no way to change the sort order.
    Submit your feedback requesting this feature directly to Apple using the appropriate link on the Feedback page:
    http://www.apple.com/feedback

  • On my iPhone 4s, I sent a picture via email and asked to size it down.  However, it seems now that the pic stored on my iphone is now forever the smaller size which is not suitable for printing.  Is there any way to get the larger size back?

    On my iPhone 4s, I sent a picture via email and asked to size it down.  However, it seems now that the pic stored on my iphone is now forever the smaller size which is not suitable for printing.  Is there any way to get the larger size back?

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • Is there any way to put the values inthe system matrix which is non editabl

    is there any way to put the values inthe system matrix which is non editable...
    this Q is not that much priority since i had achieved the requirement other way round by having user defined matrix ... but if i get the way for this it will help my add on performance much better...

    Hi Raj, I didnt get all the details but here some ideas how you can solve your issue:
    Depending in the system form you are working you can always use a DBDataSource in order to manipulate the rows in a matrix. It's much better as using the objects of the matrix itself. In this case you can use:
    oMatrix.FlushToDataSource()
    oDBDsource.SetValue("U_Quan", pVal.Row, "101")
    oMatrix.Clear()
    oMatrix.LoadFromDataSource()
    As you can see in SetValue i'm obtaining the Column, then the row number and then setting a NEW value for this cell.
    Please consider if you can use DBDataSource instead of UserDataSource.
    If the answer is yes then you can use the following:
    oMatrix.FlushToDataSource()
    '//Get the line you want
    matrix.GetLineData(pval.row)
    '//Call the Userdatasource assigned to that column
    UserDataSource = UserDataSources.Item("ItmCode")
    '//Set the new value
    m_UserDS.ValueEx = "A02520"
    oMatrix.LoadFromDataSource()
    You can also use:
    oMatrix.Columns.Item("ItemName").Cells.Item(l_rownum).Specific.String = "A02520"
    In case you are not assigning the string in a combobox of course.
    Good luck!
    Felipe

  • Yesterday i bougt a used iphone 4....when i tried to reset it it asked for the apple ID which of the person from whom i bought the cell...so is there any way of formating the iphone

    yesterday i bougt a used iphone 4....when i tried to reset it it asked for the apple ID which is of the person from whom i bought the cell...so is there any way of formating the iphone.............plzz help me 

    i have the phone unlockd but need to restore it to factory settings nd when i do it ...it asks for the apple id and passord of the guy from whom i bought it.......is there no way to restore it to factory setting

  • Is there any way to get the height/width of an image before importing it in the indesign document.

    Hi All,
    I need to obtain an image's attributes such as dimensions (height, width in pixels) without placing image in indesign document.
    I have full path of the image (say abc.jpg is stored at c:\my pic\abc.jpg).
    I have obtained the IDFile for this image, tried getting size using GetFileSize() which correctly return size in bytes.
    Is there any way to get the height/width of image without importing it in the indesign document.
    Please, give me some hints. I have spent quite a lot time digging in CHM. I have searched in FileUtils, IDFile API's but found no method which serves this purpose.
    At this point I am clueless where to search next.
    Any help will be appriciated.
    Just a point to mention, I am able to get image height and width for an image in indesign doc though Its not my requirement.
    Thnx,
    D.

    You might be able to examine the contents of the PlaceGun after calling kImportAndLoadPlaceGunCmdBoss without actually placing the image in a document. Not sure, but would be worth looking at.
    Otherwise you will probably have to write platform specific code, ideally with a generic platform-independant wrapper (see SDKSamples/paneltreeview/PlatformFileSystemIterator).
    For the Mac, look at CGImageGetWidth() etc., not sure what the best option is for windows.
    Perhaps Quicktime could provide you with a platform independant solution.

  • Is there any way to control the volume on my Apple TV?

    Here's the scenario: I have a small amplifier under my couch that controls the speakers connected to my Apple TV. When I use Airplay from my iPhone to listen to music, I'm able to control the volume right from the music App on my phone- this is perfect because I don't like to reach under the couch to change the volume. However, there are two scenarios when I cannot seem to adjust the volume anywhere except on the amp. These are:
    First: Using Airplay while playing a video from my MacBook Pro to the Apple TV. In this case, the volume slider in iTunes suddenly has a little lock icon on it and is unadjustable. Is there any way to unlock the volume?
    Second: When using the Apple TV directly to play any media- music or movies. The volume up and down buttons on the Apple TV don't control the volume. I'm forced to reach under the couch to adjust the volume- which happens quite frequently. Is there any way to control the output volume of the Apple TV?
    The lack of volume control has been super disappointing. I've been a (multiple) airport express user for years so kind of expected Airplay to work the same for video- with the ability to control the volume from whatever device was transmitting. Can anyone help me?

    Andrew- this is how I would expect things to work. However, when I use airplay from my iPhone to say, play a youtube video, the volume on the phone is suddenly rendered useless and I'm forced to adjust the amplifier. When I just play audio from the phone, the volume works.
    It's the same on my macbook pro. If I mirror the screen, my computer's volume affects the speakers volume. However, if I am in itunes and play a movie and use airplay for that, I get a lock on the volume. Is this a setting somewhere?

  • Is there any way to trigger BSP Page from ITS..

    Hi,
      is there any way to trigger BSP Page from ITS?
      say for example i have a its service, when i click my its service i want to call BSP Page instead of calling module pool screen.
    thanks,
    Abhay.

    do you want to have a link the ITS page which calls a BSP page or do want a simple call the ITS url should redirect you to BSP page?
    for your explanation i understand that calling a ITS service should automatically redirect to BSP page -  in such a case you can just use url redirection by using meta tag or reidrect using javascript.
    <META HTTP-EQUIV="Refresh"
          CONTENT="5; URL=<BSP page>.htm">
    But i dont understand the reason why you would want to do this.
    Regards
    Raja

Maybe you are looking for