[
https://issues.apache.org/jira/browse/ADFFACES-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Weßendorf updated ADFFACES-337:
----------------------------------------
Affects Version/s: 1.0.1-incubating-core-SNAPSHOT
> Have to click save twice when in field with ppr trigger
> -------------------------------------------------------
>
> Key: ADFFACES-337
> URL: https://issues.apache.org/jira/browse/ADFFACES-337
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Affects Versions: 1.0.1-incubating-core-SNAPSHOT
> Reporter: Peace Software
>
> We have a problem where if you type into a field which will trigger a ppr and
> then click the save button with the mouse you have to do so twice for the
> submit to go through. This is also occurrs if you type into the field and
> press ALT-S, our hotkey for save.
> I have tried setting the firstClickPassed=true on the body tag but this is
> not working. Stepping through the javascript, _pprConsumeBlockedEvent, I can
> see this is because it does not recognise our save and cancel buttons as
> submit elements as they are command inks. Can you please extend this
> function to recognise links?
> I have also noticed that the code is using the explicitOriginalTarget to get
> the target of the event, rather than the originalTarget which means when we
> use the hotkey to save the code is checking to see if the field typed in is a
> submit element rather than the link, also if we happen to click on the text
> of the link the originalTarget is a Text element. I'm not sure why the code
> is using the explicitOriginalTarget but using just the originalTarget would
> solve a lot of issues for us.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.