Huergo Perez wrote:
>
> What attribute of the Link should I modify with an attribute modifier?
> I could not find any examples of this functionality.
>
> Also, I found the IAjaxCallDecorator interface. Could it be used to
> display an alert after receiving an AJAX response?
>
> Thanks!
> Huer
Here is a pretty simple example.
Link myLink = new Link("myLink");
myLink.add(new AttributeModifier(
"onclick",
true,
new Model("javascript:callAlert()"));
-Craig
Huergo Perez wrote:
>
> What attribute of the Link should I modify with an attribute modifier?
> I could not find a
What attribute of the Link should I modify with an attribute modifier?
I could not find any examples of this functionality.
Also, I found the IAjaxCallDecorator interface. Could it be used to
display an alert after receiving an AJAX response?
Thanks!
Huergo
Nino Saturnino Martinez Vazquez Wael
use a attribute modifier and a behavior for this..
Huergo Perez wrote:
> Hi All,
>
> I need to implement a functionality that in certain cases displays a
> JavaScript alert dialog after a click on a link.
>
> For example, a table of records may contain a [Delete] link against each
> record. When