[
https://issues.apache.org/jira/browse/MYFACES-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867475#action_12867475
]
Werner Punz edited comment on MYFACES-2715 at 5/14/10 7:13 AM:
---------------------------------------------------------------
ok I fixed this issue on my side be using also the event target as source for
the issuer if the original issuer cannot be determined by the passed src
element. This works well for me, and also follows the "undocumented" behavior
Mojarra exposes in this case.
If this is good enough we can close this issue.
I would not change the identifier rendering behavior itself since Mojarra does
not do it as well.
see also http://www.pastebin.org/236088 for my integration testcase
and https://issues.apache.org/jira/browse/MYFACES-2716 which is the issue under
which my fix is committed together with a load of other stuff.
was (Author: werpu):
ok I fixed this issue on my side be using also the event target as source
for the issuer if the original issuer cannot be determined by the passed src
element. This works well for me, and also follows the "undocumented" behavior
Mojarra exposes in this case.
If this is good enough we can close this issue.
I would not change the identifier rendering behavior itself since Mojarra does
not do it as well.
> CommandLink didnt have id by default, will cause ajax problem
> -------------------------------------------------------------
>
> Key: MYFACES-2715
> URL: https://issues.apache.org/jira/browse/MYFACES-2715
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0
> Reporter: Mark Li
>
> <h:commandLink/>
> will output
> <a hre="#" onclick="om..."/>
> not id by default.
> I think it will cause ajax problem.
> suggestion:
> in HtmlLinkRendererBase.java
> should use HtmlRendererUtils.writeIdAndName(writer, component,
> facesContext);(or other stuff can add id attribute)
> instead of
> HtmlRendererUtils.writeIdIfNecessary(writer, component, facesContext);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.