> >> What is that allowCreation() ?
> >>  when whould that be called?
> 
> >In the constructor of component.
> Too late, it needs to be checked on class level before 
> calling any constructors. PageFactory would be a good start.

wicket.Component constructors are the first to be called whether you are
creating a page or component. Why is this too late?

Forcing users to use the page factory will limit the usefulness of the
framework, since anyone can do setResponsePage(new MyPage()); and get around
security checks in the factory.

-Igor




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to