[Wicket-user] help: markup in different filename and folder
Currently, as suggested by Wicket, my html markup is in the directory where its corresponding java file is located./var/webapps/myapp/WEB-INF/classes/ com/company/Page1.java/var/webapps/myapp/WEB-INF/classes/ com/company /Page1.htmlwhat I want to do now is put Page1.html into different directory and with different filename like the following:/var/webapps/myapp/WEB-INF/ com.company.Page1.htmland still have this renamed and relocated markup used by Page1.java.How can I do this if it's possible? - 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] help: markup in different filename and folder
Or it could also be/home/ludius/myapp/templates/com.company.Page1.htmlOn 8/17/06, Otan [EMAIL PROTECTED] wrote:/var/webapps/myapp/WEB-INF/ com.company.Page1.html - 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] help: markup in different filename and folder
you need to make your own resourceloader thenIf you do keep the package structure then it is possible to relocate it to a different folder (IResourceFinder)But do try to just keep it besides your classes, in the end it most people are used to that and like it. johanOn 8/17/06, Otan [EMAIL PROTECTED] wrote: Or it could also be/home/ludius/myapp/templates/com.company.Page1.htmlOn 8/17/06, Otan [EMAIL PROTECTED] wrote:/var/webapps/myapp/WEB-INF/ com.company.Page1.html -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=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] help: markup in different filename and folder
On 8/17/06, Johan Compagner [EMAIL PROTECTED] wrote: But do try to just keep it besides your classes, in the end it most people are used to that and like it. But this time, my app's requirement is different from the ordinary use case. My app has to load an html markup personalized by users and use it for the wicket page. Dynamically at runtime, I have to get the user's preferred markup saved somewhere in the server and then use it as the wicket page's markup. Also, the filename of the markup is no longer the same as its corresponding wicket page. This is my probelm and I have no idea how to do this. - 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user