hi,

> 
> What I mean is that if your use a resource string such as:
> 
> final StringResourceModel pageTabAlertsModel
>              = new StringResourceModel("PageTabBar.alerts", this, null);
> 
> and you forget to create the resource PageTabBar.alerts in a property 
> file, or you renamed the class and forgot to rename the property file, 
> Wicket will only complai at runtime with a Missing Resource exception. I 
> would be helpfull to detect this at edit time.
> 
> In fact this is not Wicket related, so it might better go is the IDEA 
> features wish list since IDEA allows to go to the resource string 
> declaration (ctrl+click) but do not complain about a missing resource :-(

I agree that is it somehow should be a part of the idea properties plugin. BUT 
the plugin have no idea wether to parse a string as a property or not. So 
therefore it maybe could be a part of the wicket plugin. It also knows in which 
properties files is should look for the property and which classes that takes a 
property as an argument ( i hope ).

> 
> But perhaps it would be a good thing for your plug-in, in the contest 
> perspective, to solve this issue ;-)

Sure - but its more of a time issue.

BTW I'm almost done with the goto wicket id feature. Maybe a new version will 
come out tonight.

> 
> Pierre-Yves
> 
> [EMAIL PROTECTED] a écrit :
> > hi,
> > 
> >> Other features that would be usefull:
> >>
> >> refactor/rename a file should rename the two files (html + java) and 
> >> even better, it should also look for resources bundles and rename them 
> >> accordingly (including localized ones).
> > 
> > This is one the todolist.
> > 
> >> Use of resources could be verified so that a missing resource would be 
> >> caught at edit time.
> > 
> > I'm not 100% sure what you mean. Could you give an example ?
> > 
> > regards
> > 
> > Anders
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> -------------------------------------------------------------------------
> 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&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 
> 





-------------------------------------------------------------------------
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&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to