Hi,
ContextRelativeResource looks for the resource in the web application
context, i.e. in the folders next to WEB-INF.
By using new File()/Folder() with relative path you create file relative to
the current working directory. In Eclipse this is the folder that contains
'src/' folder. When
Hi,
is it possible to add Custom Validator (implenting IValidatorT) for
ListMultipleChoice component?
when i'm trying to add validator to the the componnent using the below code,
final ListMultipleChoiceAttribute selectedFields = new
ListMultipleChoiceAttribute(selected,
new
The generic type of your validator should be:
public class SelectedAttributesValidator implements
IValidatorCollectionAttribute
Sven
On 12/28/2012 09:41 AM, wicket_new_user wrote:
Hi,
is it possible to add Custom Validator (implenting IValidatorT) for
ListMultipleChoice component?
when
With the 2nd approach you couple the application (in the role as service
mother) to all your calling components.
Coupling is a bad idea. It's hard to test in separation and almost
always you end in a hell of small single methods.
But if you inject your beans into the target component you can
Many thanks for your help.
This is what I have done:
public class YUICalendarCssResourceReference extends CssResourceReference {
private static final long serialVersionUID = 1L;
public YUICalendarCssResourceReference() {
Hi,
I also think that 4) should not be loaded at all.
I guess that YUI itself loads it. YUI supports its own dependency
management.
Check what is rendered by Wicket in the HTML.
On Fri, Dec 28, 2012 at 1:20 PM, vp143 vishal.po...@cipriati.co.uk wrote:
Many thanks for your help.
This is
The HTML source appears correctly to me:
link rel=stylesheet type=text/css
href=../../../../wicket/resource/web.pages.BasePage/::/::/::/css/app-ver-1356687988000.css
/
link rel=stylesheet type=text/css
Read about YUILoader : http://developer.yahoo.com/yui/yuiloader/
Some .js file uses it to load 4) dynamically.
On Fri, Dec 28, 2012 at 4:12 PM, vp143 vishal.po...@cipriati.co.uk wrote:
The HTML source appears correctly to me:
link rel=stylesheet type=text/css
Nick,
I'm not sure if anyone responded, so let me share how we deal with this.
Since a JPA entity can reference other (persistent entities), and
usually does, we've tried to never, ever, serialize JPA entities. The
only time where it's needed is when you have an entity creation
workflow
Hi,
This is getting empty when it is loaded with default values.
You mean you have values in your model but they don't show up on a
re-submit?
Please take a look at ListMultipleChoicePage in wicket-examples. If I
add a validator there, everything works as expected:
10 matches
Mail list logo