Re: using CssResourceReference for css file that lives in webapp

2017-07-31 Thread Maxim Solodovnik
You can include this css in markup instead of java On Mon, Jul 31, 2017 at 4:39 PM, lucast wrote: > Dear Forum, > I'm implementing a base wicket page where I load all of my CSS and > javascript. > > I'm loading files from java class by using > > > > Is there a way to

Re: using CssResourceReference for css file that lives in webapp

2017-07-31 Thread Vit Rozkovec
Hi, have a look at those classes: ContextRelativeResource ContextRelativeResourceReference Vit On 07/31/2017 01:01 PM, lucast wrote: Thank you, Maxim. Since I am managing all css files and js files form my java class, I was wondering if there is an equivalent to the HTML of

using CssResourceReference for css file that lives in webapp

2017-07-31 Thread lucast
Dear Forum, I'm implementing a base wicket page where I load all of my CSS and javascript. I'm loading files from java class by using Is there a way to load a css file that lives under the webapp folder directly from the java class? At the moment, I'm using response_.render(

Re: using CssResourceReference for css file that lives in webapp

2017-07-31 Thread lucast
Thank you, Maxim. Since I am managing all css files and js files form my java class, I was wondering if there is an equivalent to the HTML of http://apache-wicket.1842946.n4.nabble.com/using-CssResourceReference-for-css-file-that-lives-in-webapp-tp4678358p4678360.html Sent from the Users forum

Re: AjaxButton not calling onError after required validation fail

2017-07-31 Thread Entropy
Wicket 6.24 Yes, there are other buttons. Somehow, they seem to work under the same conditions. We compared and don't see why they behave differently. There are alternate panels that show/hide based on choices further up the form, and that dictates which buttons and fields are shown. Yes,

Re: using CssResourceReference for css file that lives in webapp

2017-07-31 Thread Andrea Del Bene
I was about to suggest the same classes :-) On Mon, Jul 31, 2017 at 1:08 PM, Vit Rozkovec wrote: > Hi, > have a look at those classes: > > ContextRelativeResource > ContextRelativeResourceReference > > Vit > > > On 07/31/2017 01:01 PM, lucast wrote: > >> Thank you, Maxim.

Re: AjaxButton not calling onError after required validation fail

2017-07-31 Thread Martin Grigorov
Set a breakpoint at FeedbackMessage#markRendered() and see when this happens. It seems something marks the feedback message as rendered before it being rendered. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Jul 31, 2017 at 9:57 PM, Entropy

Re: AjaxButton not calling onError after required validation fail

2017-07-31 Thread Martin Grigorov
I guess Wicket thinks that some of the other buttons is clicked instead. Attach the debugger and see what happens. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Jul 31, 2017 at 3:39 PM, Entropy wrote: > Wicket 6.24 > > Yes, there

Re: AjaxButton not calling onError after required validation fail

2017-07-31 Thread Entropy
Okay, new info. So, alot of what I said I accepted on faith from a co-worker who was working the problem. I'm posting on his behalf. Turns out some of that was wrong, but we do have a little bit of a poser here nonetheless. I apologize for that. I should make my guys all sign up for this