On Fri, Mar 21, 2008 at 10:46 PM, Jeremy Thomerson
<[EMAIL PROTECTED]> wrote:
> That was so terribly easy we might want to add it here:
>  http://cwiki.apache.org/WICKET/migrate-13.html

the old RequiredValidator key was supposed to be there for backwards
compat, but i guess it got taken out somehow. yes, please add this to
the wiki.

>  I also figured out the other problem by doing new
>  ResourceModel("head.title").wrapOnAssignment(this)
>  where as before I just had new ResourceModel("head.title").  Is that
>  correct?  Should I need to do that?

no you shouldnt have to, not if you give that model to a component. if
you keep imodel as a property of the component you should first run it
through component.wrap(imodel) which will do what you are doing
manually...

-igor

>
>  Thanks Igor!
>  Jeremy Thomerson
>
>  On Fri, Mar 21, 2008 at 7:56 PM, Igor Vaynberg <[EMAIL PROTECTED]>
>  wrote:
>
>
>
>  > On Fri, Mar 21, 2008 at 5:49 PM, Jeremy Thomerson
>  > <[EMAIL PROTECTED]> wrote:
>  > >
>  > >  In WebApp.properties, I have this:
>  > >  subject.RequiredValidator=Please fill in the "Title" field of this
>  > article.
>  >
>  > can you try subject.Required=Please...
>  >
>  > -igor
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to