|
Re: Hyperlink Action not working in RAP [message #1085081 is a reply to message #1074356] |
Mon, 12 August 2013 12:31 |
|
Hi Jason
I made a quick test and noticed the following:
- If the link points to an ordinary url, execHyperlinkAction doesn't get called
- If the link points to a local url, execHyperlinkAction gets called properly
I think execHyperlinkAction should be called in both cases. I opened Bug 414866. But you can easily workaround it by just using local urls.
@Order(10.0)
public class HtmlField extends AbstractHtmlField {
@Override
protected String getConfiguredLabel() {
return TEXTS.get("Abc");
}
@Override
protected int getConfiguredGridH() {
return 2;
}
@Override
protected void execInitField() throws ProcessingException {
// setValue("<a href=\"http://local/person/123\">Open Person</a>");
setValue("<a href=\"http://www.google.com\">Google</a>");
}
}
Regards
Claudio
|
|
|
|
Powered by
FUDForum. Page generated in 0.03364 seconds