Hi!

It's not clear what you mean by "not working" but I'll assume you expect
your Invoice object to be populated when the submit button is clicked. It
won't work with your code because you have disabled default form processing
with your submit button. You actually don't even need a Wicket component
for the submit button. Just include an <input type="submit"> inside your
form markup. To handle the submit, you can override Form#onSubmit().

The warning message is not related to your form model issues. Maybe you're
referring to wicket-logo.png with a PackageResourceReference but it's not
actually alongside BasePage?

Hope that helps,
Dan

On Sun, Oct 14, 2012 at 12:12 AM, delta458 <[email protected]> wrote:

> Tried so much... still not working..
> I get the following warning message:
> /WARNING: A ResourceReference wont be created for a resource with key
> [scope: template.BasePage; name: wicket-logo.png; locale: null; style:
> null;
> variation: null] because it cannot be located./
>
> Here is the Java File:
>
>
> And the HTML file:
>
>
>
>
> What am I missing?
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/CompoundPropertyModel-not-working-Warning-message-tp4652942.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]
>
>

Reply via email to