yes, it is intentionally not documented as we don't want people to
experiment with it much, but xwork will sort the plugins according to
the "order" attribute, the default is Integer.MAX_VALUE.
musachy
On Wed, Aug 5, 2009 at 8:28 AM, Wes Wannemacher wrote:
> Yeah, I can't remember when it was add
Yeah, I can't remember when it was added, but the 'struts' element in
struts-plugin.xml can take an attribute called 'order'
Take a look at the osgi and convention plugin, they are the only two
using it... But, I think they were the problem before, OSGi needed to
be loaded before convention for th
Musachy Barroso wrote:
You might want to take a look at this:
http://cwiki.apache.org/confluence/display/S2PLUGINS/Embedded+JSP+Plugin
fresh from the oven, early adopters wanted ;)
Did we ever come up with a way to order the loading of plugins so that
interdependencies can be properly resolv
You might want to take a look at this:
http://cwiki.apache.org/confluence/display/S2PLUGINS/Embedded+JSP+Plugin
fresh from the oven, early adopters wanted ;)
musachy
On Thu, Jul 9, 2009 at 1:11 PM, stanlick wrote:
>
> Thanks brother! Do you know of a decent JSP ---> Freemarker converter? I
> s
JSP tags wont't funtion inside jars -- the "JSP"s you might have spotted in
jars are probably using Freemarker tags which will work in jars.
Chris
-Original Message-
From: Dale Newfield
To: Struts Users Mailing List
Sent: Fri, Jul 10, 2009 5:06 am
Subject: Re
Please tell me it isn't the little woman that has you talking all crazy bro!
P.S. You failed to mention the option about just writing the response with
print statements from the action!
Peace,
Scott
Musachy Barroso wrote:
>
> Or if you are very brave, and using java 6, you can use jasper to
Thanks brother! Do you know of a decent JSP ---> Freemarker converter? I
sort of wondered why the config-browser plug in was using Freemarker. It
really sucks when something like this rears it ugly head and brings
productivity to a screeching halt!
P.S. And I really thought I was going to have
Or if you are very brave, and using java 6, you can use jasper to
compile the jsp to java, then use the java api compile to compile to a
class file, load it and then execute it, but yeah FreeMarker would be
easier :)
musachy
On Thu, Jul 9, 2009 at 1:06 PM, Dale Newfield wrote:
> stanlick wrote:
>
It is a limitation on the JSP API, you can't embed them. You will have
to use FreeMarker or Velocity or any other decent template lib.
musachy
On Thu, Jul 9, 2009 at 12:47 PM, stanlick wrote:
>
> Thanks Dale --
>
> I hear what you are saying, and this seemed a little foreign to me too!
> However,
stanlick wrote:
However, for a plug-in to be a drop-n-go deal, I sort of think the goods
should all be in the plug-in jar itself? Make sense?
Agreed, but I believe I've been told that can't be done with jsp
templates. This is why plugins that I've seen have been implemented in
freemarker.
Thanks Dale --
I hear what you are saying, and this seemed a little foreign to me too!
However, for a plug-in to be a drop-n-go deal, I sort of think the goods
should all be in the plug-in jar itself? Make sense? I was looking at this
article, and it appears this cat has a JSP working in his
stanlick wrote:
I am working on a plug-in that needs to display a JSP.
The folder "pages" is in the root of my config-plugin.jar
I believe jsp files must be in the file system, not in jars.
-Dale
-
To unsubscribe, e-mail:
12 matches
Mail list logo