You need SubmitLink instead.
I.e. <a ...>TEXT</a> instead of <a .. value="TEXT"></a>

On Mon, Jan 23, 2012 at 5:26 PM, cosmindumy <[email protected]> wrote:
> Hello,
> Due to Internet Explorer issues, I have to change all <input wicket:id="id"
> type = "button"> with
> Everything was fine until I had to change a component whose value was put
> using ResourceModel.
> The java component is a customized AjaxButtom.
> When I instatiate the component like  submit = new SubmitButton("submit",
> new ResourceModel("my.key")); there is no text on my button.
> If I inspect the element "a" has a attribute value with the text.
> How can I solve this?
> Thanks.
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/replace-input-type-button-with-tag-a-tp4320997p4320997.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to