David Rosenstrauch wrote:
> David Rosenstrauch wrote:
>> http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html
>>
>> "I needed a way to load up HTML files that are all inside the same 
>> directory. That directory happened to be /WEB-INF/html. Essentially, I 
>> needed to chop off the fully qualified class name and turn 
>> com/example/wicket/app/HomePage.html into simply 
>> /WEB-INF/html/HomePage.html"
>>
>> There's perfect instructions on how to do this in 1.2 (see the bottom of 
>> that page).  But that code broker upon upgrading to 1.3.
> 
>> Anyone have any idea how this code should be updated for 1.3?
> 
> NM ... I think I fixed it myself.
> 
> I updated the wiki page accordingly.  Maybe someone can proofread it for 
> me pls?
> 
> Tnx,
> 
> DR

Actually, it looks like my fix won't work.  Suddenly the resource stream 
locator can no longer find ExceptionErrorPage.html.

Could someone please help me figure out what I did wrong here?  Again, I 
posted my (now erroneous) approach at 
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html

Why was CompoundResourceStreamLocator removed?  That's really making 
this sort of thing immensely difficult now.

TIA,

DR

-------------------------------------------------------------------------
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