Actually, I think IResourceSettings.useDefaultOnMissingResource(true);
is meant for something else: message bundle resources. So that is used
when you try to load a localized string that can't be found.

Regarding components being referenced in your markup, but not added in
the component tree: don't do that please :) Use the visible property
of components to not render them, or use a place holder and use
Component.replace to switch sections of pages/ panels on and off.

Eelco


On 5/16/06, Bruno Borges <[EMAIL PROTECTED]> wrote:
How Wicket will handle if I have a html with

<div wicket:id="newsPanel">Here comes the News Panel</div>

But there's no Panel("newsPanel") object?

I know that with default's configuration, it will throw an exception, but if
I set

IResourceSettings.useDefaultOnMissingResource(true);
What will happen? Will the <div> still be printed out or will Wicket leave
it in there?
If it will leave it (probably yes, because Wicket's not going to modify the
html structure) how can I prevent to not scramble with my layout? (let's
say, a "userProfile" panel in the front page, and the user is not logged in
yet)

Thanks
--
Bruno Borges
Summa Technologies


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to