Dynamically change feedback panel border color?

2010-03-04 Thread David Chang
I am using a div with border color to enclose feedback messages. I can control whether to generate the feedback div based on whether there is any message to render. Now I hope to change its border color depending on the severity of the message. But (1) always causes error:

Re: Dynamically change feedback panel border color?

2010-03-04 Thread Riyad Kalla
I *think* you want to handle that inside of onRender: http://wicket.apache.org/docs/1.4/org/apache/wicket/Component.html#onRender(org.apache.wicket.markup.MarkupStream) On Thu, Mar 4, 2010 at 7:58 PM, David Chang david_q_zh...@yahoo.com wrote: I am using a div with border color to enclose

Re: Dynamically change feedback panel border color?

2010-03-04 Thread David Chang
feedback panel border color? To: users@wicket.apache.org Date: Thursday, March 4, 2010, 10:28 PM I *think* you want to handle that inside of onRender: http://wicket.apache.org/docs/1.4/org/apache/wicket/Component.html#onRender(org.apache.wicket.markup.MarkupStream) On Thu, Mar 4, 2010 at 7