Hi.

Try something like
Hi,

try something on the lines...

@Override
public void afterRender(Component component) {
component.getResponse().write("your HTML here");
}


On Thu, Feb 14, 2013 at 4:13 PM, Artur <a_wron...@gazeta.pl> wrote:

> On 2013-02-14 15:13, Ernesto Reinaldo Barreiro wrote:
>
>> Hi,
>>
>> <a id="from2059--lt"href="#" onclick="changeDate('from2059'****,
>> -1)"><<\/a>
>>
>>
>> ins't exactly "proper" JavaScript. What do you want to achieve? Apend that
>> HTML to component's HTML?
>>
> You are of course right.
>
> Yes, I know that is not a valid javascript but it was working somehow in
> previous releases :)
> And I know that wicket execute eval on this. And this is why there is an
> error.
>
> What I want to achieve?
>
> I want to add html link before some wicket component.
> And when clicking on that link I want to call javascript function to
> modify the text value of the component
> without request to the server.
>
> So the question is how to properly add this html snipped to the page.
>
>
> Thanks for help,
>
> Artur
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@wicket.**apache.org<users-unsubscr...@wicket.apache.org>
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Reply via email to