Re: replace input type=button with tag a
In wicket 1.4.18 there is no method setBody() in AbstractLink. If there is no other possibility don't bother. I found a backup solution. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/replace-input-type-button-with-tag-a-tp4320997p4323257.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
replace input type=button with tag a
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: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: replace input type=button with tag a
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 cosmind...@yahoo.com 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: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: replace input type=button with tag a
Hi, SubmitLink doesn't know ajax, nor AjaxCallDecorator. And AjaxSubmitLink doesn't has a model. How can I dinamically change the text in AjaxSubmitLink? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/replace-input-type-button-with-tag-a-tp4320997p4321148.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: replace input type=button with tag a
org.apache.wicket.markup.html.link.AbstractLink#setBody() On Mon, Jan 23, 2012 at 6:14 PM, cosmindumy cosmind...@yahoo.com wrote: Hi, SubmitLink doesn't know ajax, nor AjaxCallDecorator. And AjaxSubmitLink doesn't has a model. How can I dinamically change the text in AjaxSubmitLink? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/replace-input-type-button-with-tag-a-tp4320997p4321148.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org