Hi,
I cannot get auto-reload of .properties files to work with struts 2.2.1.1.
(with the mail sample app)
Steps to reproduce:
- Download Struts 2.2.1.1 : http://struts.apache.org/download.cgi#struts2211
- Extract
- cd src/apps/mailreader
- change pom.xml: 0
- change src/main/java/struts.xm
want jetty to redeploy. I directly edit the files in
target/classes, otherwise jetty tries to completely restart the webapp.
Sami
On 11-04-01 01:28 AM, Lukasz Lenart wrote:
2011/3/31 Sami Dalouche:
- change pom.xml:0
"scanIntervalSeconds Optional. The pause in seconds between swe
Hi,
http://struts.apache.org/2.x/webxml.html explains how to set struts2 params
from web.xml. I have several questions regarding this :
1/ If the same setting is declared both in web.xml and in struts.xml, which one
wins ?
2/ the example sets the setting on StrutsPrepareAndExecuteFilter. What
nly way to get it working it by
rebooting the web application).
I have absolutely no idea about the reasons that could cause that...
Have you heard of anything similar before ?
Regards,
Sami Dalouche
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
emesh
<#assign authz=JspTaglibs["/WEB-INF/tld/authz.tld"] />
<@authz.authorize ifNotGranted="ROLE_USER">
...
And that should be enough to get acegi working with struts2..
Regards,
Sami Dalouche
Le dimanche 07 octobre 2007 à 15:12 +0700, Tuyen Dinh Van a écrit :
> I
Hi,
you should take a look at Spring Web Flow
(http://www.springframework.org/webflow) and its Struts2 plugin
(http://cwiki.apache.org/S2PLUGINS/spring-webflow-plugin.html).
Regards,
Sami Dalouche
Le lundi 08 octobre 2007 à 15:03 +1000, Zoran Avtarovski a écrit :
> Action chaining isn't
Hi,
have you tried spring's IntrospectionCleanupListener ?
http://www.springframework.org/docs/api/org/springframework/web/util/IntrospectorCleanupListener.html
It looks like the problem you are experiencing is the one the listener
claims to solve.
Regards,
Sami Dalouche
On Mon, 2007-10-
Hi,
you should be able to access your start and stop variables using :
${parameters.start} and ${parameters.stop} expressions in your FTL
template.
Regards,
Sami Dalouche
Le lundi 08 octobre 2007 à 12:59 -0400, Jason Deffenbaugh a écrit :
> I'm trying to make a custom template
can see : final public static String TEMPLATE = "text";
=> So, the template name is "text" ;)
Regards,
Sami Dalouche
Le mardi 09 octobre 2007 à 13:07 -0400, Jiang, Jane (NIH/NCI) [C] a
écrit :
> Sorry, my fault. I did not notice the code I used to test checkbox
&
pure HTML widgets if JS is not
enabled).
So, do not hesitate to drop me an email if you want to look at the code,
or plan to cleanly repackage it for Struts, it's available under
whatever open source license you prefer.
Regards,
Sami Dalouche
On Fri, 2007-11-09 at 21:25 +1100, Jeromy Evans wro
version
I currently use.
Alvaro- Which version are you targetting ?
Regards,
Sami Dalouche
Le vendredi 09 novembre 2007 à 12:25 +0100, Alvaro Sanchez-Mariscal a
écrit :
> Hi Sami,
>
> My company (Salenda) is willing to contribute to get a
> production-quality version.
>
&g
ethods on which
determineActionUrl() depends, but it needs an ActionmMapper instance
that is normally @Inject'ed. How am I supposed to fetch this instance ?
Thanks for your help,
Sami Dalouche
-
To unsubscribe, e-mail: [
call using OGNL, using
the simple syntax :
myMethod(param1, param2)
so, in your case, it could be
getVehicles('car')
Hope that helps,
Regards,
Sami Dalouche
Le dimanche 27 mai 2007 à 20:15 +0200, Torsten Römer a écrit :
> I guess this has been asked before but I have trouble find
.
Struts2 has arbitrarily chosen to choose the Value Stack as the ROOT.
So, that means that all the properties you call and your action's
properties.
Another popular web framework, Tapestry, also uses OGNL. The Component /
Page in Tapestry is the OGNL ROOT.
Hope that helps,
Sami Dalouche
Le
?
Thanks for your help,
Sami Dalouche
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ruts to process it before I do.
So, is it possible to disable this & encoding ?
Thanks,
Sami Dalouche
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
nid pseudo-parameter to
the URLs..
Regards,
Sami
Le mardi 29 mai 2007 à 15:35 -0400, Laurie Harper a écrit :
> Sami Dalouche wrote:
> > Hi,
> >
> >>> Is it possible to disable this behaviour somehow ?
> >> Depends how you're using the URL. Are you
with useless stuff I only
use 10% of the time. Just KISS :)
Regards,
Sami Dalouche
On Mon, 2007-06-11 at 05:52 -0700, meeboo wrote:
> Hey all
>
> How do you build up your Struts 2 applications architecture wise? Say for
> instance that you have a User model object. Do you create an ac
'
(and I do have my get/set sexTrait() on the action.
{
..
}
Does anyone know what could cause the problem ?
Thanks for your help,
Sami Dalouche
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ss, to use some
NullSafeTypeConverter, associated to the java.lang.Object type.
Several questions :
1] Is this the best approach ?
2] Why doesn't Struts ship NullSafeTypeConverter by default ?
Regards,
Sami Dalouche
-
To unsubscribe, e-ma
Hi,
If you want to escape HTML, you can use Jakarta Commons-Lang
StringEscapeUtils class :
http://jakarta.apache.org/commons/lang/apidocs/org/apache/commons/lang/StringEscapeUtils.html#escapeHtml(java.lang.String)
Personally, I am using the Radeox Wiki engine
(http://www.radeox.org/space/start) t
21 matches
Mail list logo