-
1. Re: Template System
julien1 Jun 10, 2003 10:23 AM (in response to techn9ne)we plan to integrate JSPs very soon.
julien -
2. Re: Template System
techn9ne Jun 10, 2003 1:40 PM (in response to techn9ne)Sounds Good. You guys have done an incredible job considering how old JBOSS Nukes is. I have a semi-large web site that I plan on moving to Jboss Nukes when gallery and news modules are complete.
-
3. Re: Template System
dexter Jun 11, 2003 6:24 AM (in response to techn9ne)Hi,
have you considered using a real template engine like Velocity? I think it would be great to let people who don't know jsps or java to create new themes.
The danger of mixing code with layout would be lower and changes yould be visible without waiting for the compilation of the jsp.
And, in my opinion, the templates would be a lot more readable..
Just my 2 cent
Dexter -
4. Re: Template System
julien1 Jun 11, 2003 11:36 AM (in response to techn9ne)thing is that we don't obligate anyone to do something well defined. if you want to use velocity in nukes you can do it easily.
julien -
5. Re: Template System
ericmacau Jul 17, 2003 9:01 PM (in response to techn9ne)Hi,
If it use JSPs, will it still enable to deploy Block/Module/Theme dynamically in run-time ???
Eric -
6. Re: Template System
julien1 Jul 18, 2003 2:52 AM (in response to techn9ne)actually, to use jsp, you have to declare a block/module/theme deploy a class for it that you create and instead of coding operations on them like :
public void op(Page page) { // .... }
you create a JSP in the directory where the component reside and you name it like the operation :
op.jsp
then it will be called by the module instead of forwarding the operation to the mbean.
subsequently you can still redeploy components
julien -
7. Re: Template System
ericmacau Jul 18, 2003 3:39 AM (in response to techn9ne)Hi,
One of the inerested feature of JBossNukes is hot deployment.
If useing JSP causes to redeploy, I prefer using Template Engine such as Velocity.
Anyway, will Nukes support contents customization or personalize preferences in the future version??
Eric -
8. Re: Template System
julien1 Jul 18, 2003 9:58 AM (in response to techn9ne)> Hi,
>
> One of the inerested feature of JBossNukes is hot
> deployment.
>
> If useing JSP causes to redeploy, I prefer using
> Template Engine such as Velocity.
jsp enables you to have code within it, a template engine won't for the sake of MVC.
>
> Anyway, will Nukes support contents customization or
> personalize preferences in the future version??
>
again could you be more precise ?
> Eric -
9. Re: Template System
paarsar Feb 4, 2005 9:59 PM (in response to techn9ne)Has any successfully deployed velocity with NUKES
if so i would love to see an example