ADF : Issue with Popup and setPropertyListener
I am trying to launch popup on button click and on same event I want to set some property on same event. I was facing issue on that "popup is getting launched but property is not setting to target variable".
After trying a lot of combination finally I solved issue.
If you are trying to use same then remember following point:
- Always provide value of triggerType attribute, Value for this attribute must be triggerType="click" only
- When using the setPropertyListener define the type="action"
Find the code snapshot
Using above code both action launching popup and setPropertyListener can be invoked.
Note: Reason of this problem is when me didn't provide triggerType in . It take default as action. So action event triggered and get skipped. Always provide
type="action" for Listener > and triggerType="click" for showPopupListener>
Enjoy Coding !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hi amit
ReplyDeleteI am new to ADF, can u tell me the exact difference between setActionListener and setPropertyListener please.
Hi GopiNadh Simhadri,
DeletesetActionListener is used only for action events. SetPropertyListener is more generic and can be used other types of events like action, valuechange etc
This was my exact problem. Thank you so much for sharing!! Works like a charm.
ReplyDeleteHi Amit,
ReplyDeleteI am working on ADF for mobile. On the button click am showing a popup, and as soon as popup appears I have to load a link in the popup.
I have shown popup and now am trying to open a link in the pop. Please suggest me how can I do that.
Thanks.
Hi,
ReplyDeleteOn click i am trying to open popup. In popup there is checkbox selection. When i close and open popup checkboxes are selected as default. Anyone can help me on clearing previous checked selection in checkbox when i open popup?
Hi,
ReplyDeleteamit i have a requirement where on button click input text field value of that particular button must be shown in a table first row as a read only field ..???
Hi,
ReplyDeleteI have a command link in a column in af:table.
and I open popup programmatically from MyBean- invActionTemp method
getBindings().getMyDetails().show(new RichPopup.PopupHints());
The problem is popup is not getting invoked properly everytime.
Please help.
Hi Amit,
ReplyDeleteYour code works good, but the issue is for the first time the values are null, when i click on the
popup second time, it fetches the value.
Do you think iam missing any property ?
Reg
Sri
This is quite educational arrange. It has famous breeding about what I rarity to vouch.
ReplyDeleteColossal proverb. This trumpet is a famous tone to nab to troths. Congratulations on a career well achieved.
This arrange is synchronous s informative impolite festivity to pity. I appreciated what you ok extremely here.
Selenium interview questions and answers
Selenium Online training
Selenium training in Pune
selenium training in USA
selenium training in chennai
selenium training in Chennai