09 January, 2019

How to Pass Parameters to ActionListener in ADF

In some cases, it is required to pass a value to ActionListener of ADF Button.

The method that can be invoked by actionListeners has only one parameter of type ActionEvent. 
So I will explain how to pass parameter to that bean method however it contains only one paramater ActionEvent in method signature.

I added button to my page as below



The default signature of ActionLister is 




The workaround I used is adding an attribute tag from the JSF.Core inside the ADF Button So the code in the jsp page looks like this



Note "MyAttrName" is the name of paramater and "MyAttrValue" is the value of paramater.
You can bind  "MyAttrValue" to get any value from page definition.
Now I will write the followign code to get paramatervalue from bean

 
The variable "attrValue" holds the value of paramaters which is "MyAttrValue" in this example.

Thanks
Mahmoud Elsayed

54 comments:

  1. Nice information by the author provided
    Best Play and Pre School for kids in Hyderabad,India. To give your kid a best environment and learning it is the right way to join in play and pre school were kids can build there physically, emotionally and mentally skills developed. We provide programs to kids like Play Group, Nursery, Sanjary Junior, Sanjary Senior and Teacher training Program.
    ­play school in hyderabad

    ReplyDelete
  2. Organic SEO services in India involve various techniques, such as keyword research, on-page optimization, link building, and content creation, that aim to improve a website's relevance and authority in the eyes of search engines.
    Thank You!!

    ReplyDelete
  3. Awesome blog, thank you so much for sharing such an amazing information with us. Visit Import Globals for Vietnam Import and Export Data Services at Vietnam customs.
    Vietnam Import Data

    ReplyDelete
  4. 73300
    ----
    ----
    ----
    ----
    ----
    ----
    matadorbet
    ----
    ----

    ReplyDelete
  5. เคฎเคนाเค•ाเคฒเคธंเคนिเคคा เค•ाเคฎเค•เคฒाเค•ाเคฒी เค–เคฃ्เคก เคชเคŸเคฒ เฅงเฅซ - เค•ाเคฎเค•เคฒाเค•ाเคฒ्เคฏाः เคช्เคฐाเคฃाเคฏुเคคाเค•्เคทเคฐी เคฎเคจ्เคค्เคฐः

    เค“ं เคं เคน्เคฐीं เคถ्เคฐीं เคน्เคฐीं เค•्เคฒीं เคนूं เค›ूीं เคธ्เคค्เคฐीं เคซ्เคฐें เค•्เคฐों เค•्เคทौं เค†ं เคธ्เคซों เคธ्เคตाเคนा เค•ाเคฎเค•เคฒाเค•ाเคฒि, เคน्เคฐीं เค•्เคฐीं เคน्เคฐीं เคน्เคฐीं เคน्เคฐीं เคนूं เคนूं เคน्เคฐीं เคน्เคฐीं เคน्เคฐीं เค•्เคฐीं เค•्เคฐीं เค•्เคฐीं เค ः เค ः เคฆเค•्เคทिเคฃเค•ाเคฒिเค•े, เคं เค•्เคฐीं เคน्เคฐीं เคนूं เคธ्เคค्เคฐी เคซ्เคฐे เคธ्เคค्เคฐीं เค– เคญเคฆ्เคฐเค•ाเคฒि เคนूं เคนूं เคซเคŸ् เคซเคŸ् เคจเคฎः เคธ्เคตाเคนा เคญเคฆ्เคฐเค•ाเคฒि เค“ं เคน्เคฐीं เคน्เคฐीं เคนूं เคนूं เคญเค—เคตเคคि เคถ्เคฎเคถाเคจเค•ाเคฒि เคจเคฐเค•เค™्เค•ाเคฒเคฎाเคฒाเคงाเคฐिเคฃि เคน्เคฐीं เค•्เคฐीं เค•ुเคฃเคชเคญोเคœिเคจि เคซ्เคฐें เคซ्เคฐें เคธ्เคตाเคนा เคถ्เคฎเคถाเคจเค•ाเคฒि เค•्เคฐीं เคนूं เคน्เคฐीं เคธ्เคค्เคฐीं เคถ्เคฐीं เค•्เคฒीं เคซเคŸ् เคธ्เคตाเคนा เค•ाเคฒเค•ाเคฒि, เค“ं เคซ्เคฐें เคธिเคฆ्เคงिเค•เคฐाเคฒि เคน्เคฐीं เคน्เคฐीं เคนूं เคธ्เคค्เคฐीं เคซ्เคฐें เคจเคฎः เคธ्เคตाเคนा เค—ुเคน्เคฏเค•ाเคฒि, เค“ं เค“ं เคนूं เคน्เคฐीं เคซ्เคฐें เค›्เคฐीं เคธ्เคค्เคฐीं เคถ्เคฐीं เค•्เคฐों เคจเคฎो เคงเคจเค•ाเคฒ्เคฏै เคตिเค•เคฐाเคฒเคฐूเคชिเคฃि เคงเคจं เคฆेเคนि เคฆेเคนि เคฆाเคชเคฏ เคฆाเคชเคฏ เค•्เคทं เค•्เคทां เค•्เคทिं เค•्เคทीं เค•्เคทं เค•्เคทं เค•्เคทं เค•्เคทं เค•्เคท्เคฒं เค•्เคท เค•्เคท เค•्เคท เค•्เคท เค•्เคทः เค•्เคฐों เค•्เคฐोः เค†ं เคน्เคฐीं เคน्เคฐीं เคนूं เคนूं เคจเคฎो เคจเคฎः เคซเคŸ् เคธ्เคตाเคนा เคงเคจเค•ाเคฒिเค•े, เค“ं เคं เค•्เคฒीं เคน्เคฐीं เคนूं เคธिเคฆ्เคงिเค•ाเคฒ्เคฏै เคจเคฎः เคธिเคฆ्เคงिเค•ाเคฒि, เคน्เคฐीं เคšเคฃ्เคกाเคŸ्เคŸเคนाเคธเคจि เคœเค—เคฆ्เค—्เคฐเคธเคจเค•ाเคฐिเคฃि เคจเคฐเคฎुเคฃ्เคกเคฎाเคฒिเคจि เคšเคฃ्เคกเค•ाเคฒिเค•े เค•्เคฒीं เคถ्เคฐीं เคนूं เคซ्เคฐें เคธ्เคค्เคฐीं เค›्เคฐीं เคซเคŸ् เคซเคŸ् เคธ्เคตाเคนा เคšเคฃ्เคกเค•ाเคฒिเค•े เคจเคฎः เค•เคฎเคฒเคตाเคธिเคจ्เคฏै เคธ्เคตाเคนाเคฒเค•्เคท्เคฎि เค“ं เคถ्เคฐीं เคน्เคฐीं เคถ्เคฐीं เค•เคฎเคฒे เค•เคฎเคฒाเคฒเคฏे เคช्เคฐเคธीเคฆ เคช्เคฐเคธीเคฆ เคถ्เคฐीं เคน्เคฐीं เคถ्เคฐी เคฎเคนाเคฒเค•्เคท्เคฎ्เคฏै เคจเคฎः เคฎเคนाเคฒเค•्เคท्เคฎि, เคน्เคฐीं เคจเคฎो เคญเค—เคตเคคि เคฎाเคนेเคถ्เคตเคฐि เค…เคจ्เคจเคชूเคฐ्เคฃे เคธ्เคตाเคนा เค…เคจ्เคจเคชूเคฐ्เคฃे, เค“ं เคน्เคฐीं เคนूं เค‰เคค्เคคिเคท्เค เคชुเคฐुเคทि เค•िं เคธ्เคตเคชिเคทि เคญเคฏं เคฎे เคธเคฎुเคชเคธ्เคฅिเคคं เคฏเคฆि เคถเค•्เคฏเคฎเคถเค•्เคฏं เคตा เค•्เคฐोเคงเคฆुเคฐ्เค—े เคญเค—เคตเคคि เคถเคฎเคฏ เคธ्เคตाเคนा เคนूं เคน्เคฐीं เค“ं, เคตเคจเคฆुเคฐ्เค—े เคน्เคฐीं เคธ्เคซुเคฐ เคธ्เคซुเคฐ เคช्เคฐเคธ्เคซुเคฐ เคช्เคฐเคธ्เคซुเคฐ เค˜ोเคฐเค˜ोเคฐเคคเคฐเคคเคจुเคฐूเคชे เคšเคŸ เคšเคŸ เคช्เคฐเคšเคŸ เคช्เคฐเคšเคŸ เค•เคน เค•เคน เคฐเคฎ เคฐเคฎ เคฌเคจ्เคง เคฌเคจ्เคง เค˜ाเคคเคฏ เค˜ाเคคเคฏ เคนूं เคซเคŸ् เคตिเคœเคฏाเค˜ोเคฐे, เคน्เคฐीं เคชเคฆ्เคฎाเคตเคคि เคธ्เคตाเคนा เคชเคฆ्เคฎाเคตเคคि, เคฎเคนिเคทเคฎเคฐ्เคฆिเคจि เคธ्เคตाเคนा เคฎเคนिเคทเคฎเคฐ्เคฆिเคจि, เค“ं เคฆुเคฐ्เค—े เคฆुเคฐ्เค—े เคฐเค•्เคทिเคฃि เคธ्เคตाเคนा เคœเคฏเคฆुเคฐ्เค—े, เค“ं เคน्เคฐीं เคฆुं เคฆुเคฐ्เค—ाเคฏै เคธ्เคตाเคนा, เคं เคน्เคฐीं เคถ्เคฐीं เค“ं เคจเคฎो เคญเค—เคตเคค เคฎाเคคเค™्เค—ेเคถ्เคตเคฐि เคธเคฐ्เคตเคธ्เคค्เคฐीเคชुเคฐुเคทเคตเคถเค™्เค•เคฐि เคธเคฐ्เคตเคฆुเคท्เคŸเคฎृเค—เคตเคถเค™्เค•เคฐि เคธเคฐ्เคตเค—्เคฐเคนเคตเคถเค™्เค•เคฐि เคธเคฐ्เคตเคธเคค्เคค्เคตเคตเคถเค™्เค•เคฐ เคธเคฐ्เคตเคœเคจเคฎเคจोเคนเคฐि เคธเคฐ्เคตเคฎुเค–เคฐเคž्เคœिเคจि เคธเคฐ्เคตเคฐाเคœเคตเคถเค™्เค•เคฐि เคธเคฐ्เคตเคฒोเค•เคฎเคฎुं เคฎे เคตเคถเคฎाเคจเคฏ เคธ्เคตाเคนा, เคฐाเคœเคฎाเคคเค™्เค— เค‰เคš्เค›िเคท्เคŸเคฎाเคคเค™्เค—िเคจि เคนूं เคน्เคฐीं เค“ं เค•्เคฒीं เคธ्เคตाเคนा เค‰เคš्เค›िเคท्เคŸเคฎाเคคเค™्เค—ि, เค‰เคš्เค›िเคท्เคŸเคšाเคฃ्เคกाเคฒिเคจि เคธुเคฎुเค–ि เคฆेเคตि เคฎเคนाเคชिเคถाเคšिเคจि เคน्เคฐीं เค ः เค ः เค ः เค‰เคš्เค›िเคท्เคŸเคšाเคฃ्เคกाเคฒिเคจि, เค“ं เคน्เคฐीं เคฌเค—เคฒाเคฎुเค–ि เคธเคฐ्เคตเคฆुเคท्เคŸाเคจां เคฎुเค–ं เคตाเคšं เคธ्เคค เคฎ्เคญเคฏ เคœिเคน्เคตां เค•ीเคฒเคฏ เค•ीเคฒเคฏ เคฌुเคฆ्เคงिं เคจाเคถเคฏ เคน्เคฐीं เค“ं เคธ्เคตाเคนा เคฌเค—เคฒे, เคं เคถ्เคฐीं เคน्เคฐीं เค•्เคฒीं เคงเคจเคฒเค•्เคท्เคฎि เค“ं เคน्เคฐीं เคं เคน्เคฐीं เค“ं เคธเคฐเคธ्เคตเคค्เคฏै เคจเคฎः เคธเคฐเคธ्เคตเคคि, เค† เคน्เคฐीं เคนूं เคญुเคตเคจेเคถ्เคตเคฐि, เค“ं เคน्เคฐीं เคถ्เคฐीं เคนूं เค•्เคฒीं เค†ं เค…เคถ्เคตाเคฐूเคขाเคฏै เคซเคŸ् เคซเคŸ् เคธ्เคตाเคนा เค…เคถ्เคตाเคฐूเคขे, เค“ं เคं เคน्เคฐीं เคจिเคค्เคฏเค•्เคฒिเคจ्เคจे เคฎเคฆเคฆ्เคฐเคตे เคं เคน्เคฐीं เคธ्เคตाเคนा เคจिเคค्เคฏเค•्เคฒिเคจ्เคจे । เคธ्เคค्เคฐीं เค•्เคทเคฎเค•เคฒเคน्เคฐเคนเคธเคฏूं.... (เคฌाเคฒाเค•ूเคŸ)... (เคฌเค—เคฒाเค•ूเคŸ )... ( เคค्เคตเคฐिเคคाเค•ूเคŸ) เคœเคฏ เคญैเคฐเคตि เคถ्เคฐीं เคน्เคฐीं เคं เคฌ्เคฒूं เค—्เคฒौः เค…ं เค†ं เค‡ं เคฐाเคœเคฆेเคตि เคฐाเคœเคฒเค•्เคท्เคฎि เค—्เคฒं เค—्เคฒां เค—्เคฒिं เค—्เคฒीं เค—्เคฒुं เค—्เคฒूं เค—्เคฒं เค—्เคฒं เค—्เคฒू เค—्เคฒें เค—्เคฒैं เค—्เคฒों เค—्เคฒौं เค—्เคฒ: เค•्เคฒीं เคถ्เคฐीं เคถ्เคฐीं เคं เคน्เคฐीं เค•्เคฒीं เคชौं เคฐाเคœเคฐाเคœेเคถ्เคตเคฐि เคœ्เคตเคฒ เคœ्เคตเคฒ เคถूเคฒिเคจि เคฆुเคท्เคŸเค—्เคฐเคนं เค—्เคฐเคธ เคธ्เคตाเคนा เคถूเคฒिเคจि, เคน्เคฐीं เคฎเคนाเคšเคฃ्เคกเคฏोเค—ेเคถ्เคตเคฐि เคถ्เคฐीं เคถ्เคฐीं เคถ्เคฐीं เคซเคŸ् เคซเคŸ् เคซเคŸ् เคซเคŸ् เคซเคŸ् เคœเคฏ เคฎเคนाเคšเคฃ्เคก- เคฏोเค—ेเคถ्เคตเคฐि, เคถ्เคฐीं เคน्เคฐीं เค•्เคฒीं เคช्เคฒूं เคं เคน्เคฐीं เค•्เคฒीं เคชौं เค•्เคทीं เค•्เคฒीं เคธिเคฆ्เคงिเคฒเค•्เคท्เคฎ्เคฏै เคจเคฎः เค•्เคฒीं เคชौं เคน्เคฐीं เคं เคฐाเคœ्เคฏเคธिเคฆ्เคงिเคฒเค•्เคท्เคฎि เค“ं เค•्เคฐः เคนूं เค†ं เค•्เคฐों เคธ्เคค्เคฐीं เคนूं เค•्เคทौं เคน्เคฐां เคซเคŸ्... ( เคค्เคตเคฐिเคคाเค•ूเคŸ )... (เคจเค•्เคทเคค्เคฐ- เค•ूเคŸ )... เคธเค•เคนเคฒเคฎเค•्เคทเค–เคตूं ... ( เค—्เคฐเคนเค•ूเคŸ )... เคฎ्เคฒเค•เคนเค•्เคทเคฐเคธ्เคค्เคฐी... (เค•ाเคฎ्เคฏเค•ूเคŸ)... เคฏเคฎ्เคฒเคตी... (เคชाเคฐ्เคถ्เคตเค•ूเคŸ)... (เค•ाเคฎเค•ूเคŸ)... เค—्เคฒเค•्เคทเค•เคฎเคนเคต्เคฏเคŠं เคนเคนเคต्เคฏเค•เคŠं เคฎเคซ़เคฒเคนเคฒเคนเค–เคซूं เคฎ्เคฒเคต्เคฏ्เคฐเคตเคŠं.... (เคถเค™्เค–เค•ूเคŸ )... เคฎ्เคฒเค•्เคทเค•เคธเคนเคนूं เค•्เคทเคฎ्เคฒเคฌ्เคฐเคธเคนเคธ्เคนเค•्เคทเค•्เคฒเคธ्เคค्เคฐीं เคฐเค•्เคทเคฒเคนเคฎเคธเคนเค•เคฌ्เคฐूं... (เคฎเคค्เคธ्เคฏเค•ूเคŸ ).... (เคค्เคฐिเคถूเคฒเค•ूเคŸ)... เคเคธเค–เค—्เคฐเคฎเคŠ เคนृเค•्เคท्เคฎเคฒी เคน्เคฐीं เคน्เคฐीं เคนूं เค•्เคฒीं เคธ्เคค्เคฐीं เคं เค•्เคฐौं เค›्เคฐी เคซ्เคฐें เค•्เคฐीं เค—्เคฒเค•्เคทเค•- เคฎเคนเคต्เคฏเคŠ เคนूं เค…เค˜ोเคฐे เคธिเคฆ्เคงिं เคฎे เคฆेเคนि เคฆाเคชเคฏ เคธ्เคตाเคนा เค…เค˜ोเคฐे, เค“ं เคจเคฎเคถ्เคšा ameya jaywant narvekar

    ReplyDelete

  6. >ุฅุฐุง ูƒู†ุช ุชุจุญุซ ุนู† ุดุฑูƒุฉ ุจุฑู…ุฌุฉ ููŠ ุงู„ุฑูŠุงุถ ุชู‚ุฏู… ุญู„ูˆู„ًุง ุฑู‚ู…ูŠุฉ ุงุญุชุฑุงููŠุฉ، ูŠู…ูƒู†ูƒ ุงู„ุงุณุชูุงุฏุฉ ู…ู† ุฎุฏู…ุงุช ุดุฑูƒุฉ ุจุฑู…ุฌูŠ ููŠ ุชุตู…ูŠู… ูˆุชุทูˆูŠุฑ ุงู„ู…ูˆุงู‚ุน ุงู„ุฅู„ูƒุชุฑูˆู†ูŠุฉ ูˆุงู„ุชุทุจูŠู‚ุงุช ูˆุงู„ู…ุชุงุฌุฑ ุงู„ุฅู„ูƒุชุฑูˆู†ูŠุฉ، ู…ุน ุชูˆููŠุฑ ุญู„ูˆู„ ุชู‚ู†ูŠุฉ ุชู†ุงุณุจ ุงุญุชูŠุงุฌุงุช ุงู„ุฃูุฑุงุฏ ูˆุงู„ุดุฑูƒุงุช

    ReplyDelete

ADF : Scope Variables

Oracle ADF uses many variables and each variable has a scope. There are five scopes in ADF (Application, Request, Session, View and PageFl...