Jean-Baptiste Quenot-3 wrote:
> 
> * Watter:
> 
>> Is  it   necessary  to  explicitly  specify   the  inclusion  of
>> sub-packages when the parent package is already included? I only
>> aske because our package hierarchy  is pretty deep when it comes
>> to pages, and  I'd loke to avoid having to  explicitly call each
>> one of  them out  of just naming  the root of  that part  of the
>> packager hierarchy is enough.
> 
> No  it's not  necessary,  the wildcard  applies  to any  character
> except slash (not used for packages anyway).
> -- 
>      Jean-Baptiste Quenot
> 
That's great to hear! 

I now have a new issue. Jean-Baptiste mentions in the JIRA issue that one
*must* include the XxxApplication and XxxSession classes. Well, when I tried
to do so I was unable to access my application. When I included the my
versions of those classes, I received the following:

java.lang.IllegalAccessError: tried to access class
com.ptc.fusion.web.FusionWebApplication$1 from class
com.ptc.fusion.web.FusionWebApplication
at
com.ptc.fusion.web.FusionWebApplication.getSessionFactory(FusionWebApplication.java:137)

The code at that location is:

protected final ISessionFactory getSessionFactory() {
        return new ISessionFactory() {
        private static final long serialVersionUID = 1L;
                        public Session newSession(Request request, Response 
response) {
                        return new 
FusionAuthenticatedWebSession(FusionWebApplication.this,
request);
                }
        };
}

It seems that there may be a problem with my using
"FusionWebApplication.this" in the inner class. Is there way around this?
Perhaps another way to refer to the parent class?

Matt



-- 
View this message in context: 
http://www.nabble.com/Has-something-changed-in-markup-inheritance--tf3963374.html#a11333128
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to