in s:property tag, but I don’t
know if there is something like that ‘implemented’ for the input (some
interceptor, validator type, …).
Have somebody implemented a validator type (using regular expressions) that
rejects problematic html characters to avoid XSS attacks??
--
--
Maurizio
)
throws JSONException {
if (value == null) {
if (Short.TYPE.equals(clazz) || Short.class.equals(clazz))
return (short) 0;
...
} else if (value instanceof Number) {
Number number = (Number) value;
--
Maurizio Cucchiara
messages to be on the bottom of the fields rather than top of the
field.
Thanks
Prabhu
--
Maurizio Cucchiara
{color:red;}
It would be enough otherwise you should consider to overwrite template.
2010/11/25 Maurizio Cucchiara maurizio.cucchi...@gmail.com
You can define *labelposition*=top on css_xhtml theme.
take a look at http://struts.apache.org/2.1.8/docs/cssxhtml-theme.html
2010/11/24 Prabhubalaji
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
text input value
to null.
Just a suggeset.
Thanks all.
Regards,
On Tue, Nov 23, 2010 at 9:46 AM, Maurizio Cucchiara
maurizio.cucchi...@gmail.com wrote:
I'm not sure understand what you mean, it could be ognl conversion
related.
For further details, could you provide the NPE stack
,
Mead
On Thu, Nov 18, 2010 at 8:04 PM, Dave Newton davelnew...@gmail.com
wrote:
Dave
--
Maurizio Cucchiara
/solved this
issue before ?
It will be great if you can give me some pointers to proceed this issue ..
Regards,
Sathish Kumar T
--
Maurizio Cucchiara
Sorry, I forget request dispatcher:
dispatcherREQUEST/dispatcher
2010/11/19 Maurizio Cucchiara maurizio.cucchi...@gmail.com
I guess that tomcat auth manager doesn't chain your request through struts
filter.
I'm not sure it works, but you could try to add this line inside your
://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
in struts.properties as theme=simple.
I don't know where to define list-style-type. Please provide me some
examples.
Thanks and Regards,
Satheesh Kannan A B
-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Wednesday, November 17
()
--
Maurizio Cucchiara
mail and
attachments please check them for viruses and defect.
---
--
Maurizio Cucchiara
,
Satheesh Kannan A B
-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Wednesday, November 17, 2010 10:45 PM
To: Struts Users Mailing List
Subject: Re: Filed Error message withput bullets.
Did you try to redefine css property like list-style
more specifically
http://struts.apache.org/2.2.1/docs/struts-2-themes.html#Struts2Themes-SpecifyingTheCSSUsedByTheStruts2Tag
You should also consider to switch to css or xhtml theme template in order
to see display message below fields
2010/11/17 Maurizio Cucchiara maurizio.cucchi...@gmail.com
.
Is there some way to put the value of 'customImageFileUrl' from my action
class into a variable that I can use in the page?
Thanks!
--
Maurizio Cucchiara
or do I need to do something differently for 2.2?
Raj.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
for struts2 or methods other struts programers use
to address security after signing out?
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
Struts tags are not mandatory in order to deploy an application, but
as Li suggested make your life easier :)
2010/11/5 maven apache apachemav...@gmail.com:
Thanks for all your guys reply.
That's to say I have no choice but using the struts tag if I decide to use
the struts??
--
Maurizio
fit and I
just don't know what struts is expecting when it needs to display multiple
items selected. Thanks for any ideas.
Nick
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
Maurizio Cucchiara maurizio.cucchi...@gmail.com
Struts tags are not mandatory in order to deploy an application, but
as Li suggested make your life easier :)
2010/11/5 maven apache apachemav...@gmail.com:
Thanks for all your guys reply.
That's to say I have no choice but using the struts
In this case you could interface to ActionMapping through url tag
(http://struts.apache.org/2.2.1/docs/url.html).
2010/11/5 maven apache apachemav...@gmail.com:
2010/11/5 Maurizio Cucchiara maurizio.cucchi...@gmail.com
Note that without S2 tag you will not appreciate S2 potential.
So I
.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr
.
---
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Try to put dependencies in the same folder.
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:193)
at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
Thanks and Regards,
Satheesh Kannan A B
-Original Message-
From: Maurizio Cucchiara
action name=viewDoc class=viewDocAction/action
/package
/struts
Thanks and Regards,
Satheesh Kannan A B
-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Tuesday, November 02, 2010 4:03 PM
To: Struts Users Mailing List
Subject: Re
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
of this email or the information
contained in it or attached to it is strictly prohibited. If you received
this message in error, please immediately notify the sender at Infotech or
mail.ad...@infotech-enterprises.com and delete the original message.
--
Maurizio Cucchiara
page 1 to page 2, and from page 1 and 2 to page
3?
* If one Action class, how to validate only page 1, or page 2 or page 3
input?
/Best regards, Per Johansson
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr
-tp30084356p30084356.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
Did you try to without chain result?
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
be
implemented by struts framework IMHO.
May I ask you why you need to map action inside your action class?
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
and copyMessages flags)
Anyway, you should be able to copy actionError through actions simply
by implementing an Interceptor.
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands
...@afirme.com:
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
I don't know what struts version you are running, in 2.2.1 version,
chain interceptor should copy actionError through actions.
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
alfredo.oso...@afirme.com:
https://issues.apache.org/jira/browse/WW-2869
And talks about invoking an action with the action tag an
ChainingInterceptor but I don't know if the actionErrors from the source
action will be copied.
-Mensaje original-
De: Maurizio Cucchiara
could change your collection in
Private *HashMapString,HumanBeing* userAsMap ;
2010/10/27 Sathish Kumar sathishkumar.thiyagara...@gmail.com:
Thanks ... Unfortunately, In my case, Map represents various java model
classes at run time ( User, Employee etc ).
--
Maurizio Cucchiara
?
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
-tp30019022p30044983.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
...@struts.apache.org
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
.
Eric
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
...@struts.apache.org
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
is
to heavy weight
but if we use XML and JSON, still dunno how to validate it
F
On Tue, Oct 19, 2010 at 9:57 PM, Maurizio Cucchiara
maurizio.cucchi...@gmail.com wrote:
Do you mean something like expose a kind of soap webservice through
rest plugin?
2010/10/19 Dave Newton davelnew...@gmail.com
Why cannot you relay on dtd/schema validation?
2010/10/19 Frans Thamura fr...@meruvian.org:
yah..
to make sure that the data produced is valid
F
On Tue, Oct 19, 2010 at 10:09 PM, Maurizio Cucchiara
maurizio.cucchi...@gmail.com wrote:
What kind of validation you're talking about? xml
reside inside the
WEB-INF/classes/template/simple folder
Hope this help
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Is your production environment based on OC4J?
It's look like there is something wrong in your classpath.
It's just a guess, but I'd look at JXTransformerHandler class
(starting from here the
http://www.findjar.com/class/oracle/xml/jaxp/JXTransformerHandler.html)
--
Maurizio Cucchiara
/order=DESCsorter/field=priorityresolution=-1component=12313331
This is a fairly major road block to upgrade.
-Original Message-
From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
Sent: Monday, October 04, 2010 2:54 PM
To: Struts Users Mailing List
Subject: Re: Freemarker
You're welcome
2010/10/15 singh123 vij...@rediffmail.com:
thanks.
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
2010/10/15 Antonio Sánchez inganto...@gmail.com:
Escaping HTML.
It doesn't work; same results.
Have you tried escaping html and still doesn't work? You should
obviously set escapeHtml to false like this:
s:property value=msg escapeHtml=false/
--
Maurizio Cucchiara
Escape property is deprecated since 2.2.1 version:
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.struts/struts2-core/2.2.1/org/apache/struts2/components/Property.java/
(line 113)
--
Maurizio Cucchiara
What happens if you go at http://yourservername//js/util.js (and
/js/domainsecurityadmin.js)
Can you see those files?
If yes, check their syntax.
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr
.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr
try this
s:iterator value=fieldErrors.foo
s:property/ br/
/s:iterator
2010/10/10 Dave Newton davelnew...@gmail.com:
There can be more than one error; it's a collection.
Dave
On Sunday, October 10, 2010, Altenhof, David Aron dalte...@iupui.edu wrote:
Working on first Struts2 project,
framework that interacts with large datasets,
are probably the best solution.
Maurizio Cucchiara
2010/10/10 abhishek jain abhishek.netj...@gmail.com:
Hi friends,
I have a few different applications running on a small VPS, tomcat 5.5.x,
struts 1.2 , mysql.
I need to know , what can i do to optimize
(and so on).
Both go directly inside client cache, the remaining part is only
client elaboration (until you don't invoke ajax request).
Maurizio Cucchiara
2010/10/10 tito tit...@gmail.com:
If I include some jquery codjes in my jsp . will it make the jsp page heavy
to load ?
regards,
Tito
Terry,
you can use datepicker without necessarily involving the struts
framework. Please, see attached file.
Maurizio Cucchiara
2010/10/10 cellterry cellte...@gmail.com:
Dear all,
So unlucky I encountered another problem to use struts-jquery-plugin
(2.4.1).
I found that the datepicker
a time measurement feedback. From client point of
view you can use firebug (http://getfirebug.com/).
Maurizio Cucchiara
2010/10/10 tito tit...@gmail.com:
@MaurizioI have included jquery min , but my custom scripts i have put them
in jsp page head section inside script tag. Does it improve
Integer.MAX_VALUE is less then 1286579871769. See
(http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Integer.html#MAX_VALUE).
Maybe Long will suit you.
Maurizio Cucchiara
2010/10/9 Matthias Rakowski matth...@rakowski.biz:
The link is Ok, stackoverflow seems to have some problems
It's a know bug.
If your application doesn't run in a production environment you could
download latest struts release from
https://hudson.apache.org/hudson/view/Struts/job/struts2/
Maurizio Cucchiara
2010/10/9 Chris Miles ch...@chrismiles.org:
Whenever the validation procedure returns
={1,2,3,4,5}
s:if test=(#stat.index % 3)==0
insert breaking string
/s:if
.
/s:iterator
Maurizio Cucchiara
2010/10/9 Burton Rhodes burtonrho...@gmail.com:
I am trying to override a struts tag template (specifically
s:checkboxlist), and I can't figure out how to add a parameter
Dave you're right,
I was not clear
I'll try to explain better:
s:iterator status=stat value=list
s:checkbox label=checkbox label name=checkboxName value=checkboxValue/
s:if test=(#stat.index % 3)==0
insert breaking string
/s:if
Maurizio Cucchiara
2010/10/9 Dave Newton davelnew
This would work:
s:property value=#request[key] /
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Required dependencies missing (You'll notice that WEB-INF/lib
directory is empty).
This is not the right example for starting. Try to download
struts-blank application at
http://apache.panu.it//struts/examples/struts2-blank-2.0.14.war
Maurizio Cucchiara
2010/10/6 ir2pi ir2...@gmail.com:
hello
Greg is right. JQuery is very easy to use and provides a new approach
to write non-intrusive javascript.
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
;
}
public String getFileName() {
return fileName;
}
public int getBuffSize() {
return buffSize;
}
}
--
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
Why don't you simply move your translation process in this manner:
gender.add(getText(user.gender.female));
gender.add(getText(user.gender.male));
Maurizio Cucchiara
2010/10/6 Daniel Rindt dri...@visetics.com:
Hello,
i would like to display in a multi language page a select field where
you
Try to launch in project root directory (on level up of src directory)
Maurizio Cucchiara
2010/10/6 Antonio Sánchez inganto...@gmail.com:
Hi.
I need the javadoc api working locally.
Does it exist a bundle to download?
Or
How can I generate the javadoc from source code using maven
Alternatively you could use:
s:select key=user.gender listValue=getText(value)
name=user.gender list=gender /
s:select key=user.gender list=#{'0':getText('user.gender.male'),
'1':getText('user.gender.female')} name=user.gender2 /
Maurizio Cucchiara
2010/10/7 Daniel Rindt dri...@visetics.com
http://struts.apache.org/2.0.14/docs/ognl-basics.html
Maurizio Cucchiara
2010/10/6 Altenhof, David Aron dalte...@iupui.edu:
No matter how hard I look, I can't find the answer to this (admittedly
newbie) question. How do you get access to the values of init parameters or
context parameters
Hi,
what application server are you using? Did you watch application server logs?
I think the problem is related with your AS.
For instance, Tomcat have a disableUploadTimeout variable.
Maurizio Cucchiara
2010/10/4 Oscar oscar.kalde...@gmail.com:
Hi to all, i have a question about a situation
Have you tried setting disableUploadTimeout variable on tomcat?
2010/10/4 Oscar oscar.kalde...@gmail.com:
Well, i'm using Tomcat 6 for development but also i'm going to test in OAS
because that will be the production environment.
Regards.
2010/10/4 Maurizio Cucchiara maurizio.cucchi
/
Did it work in that way before?
Maurizio Cucchiara
2010/10/3 Derrick Koes derrick_k...@skillsoft.com
I am upgrading to struts 2.2.1, but realized there is an issue with
freemarker sitemesh decorators which use the struts 2 action tag. This is a
regression from 2.1.8.1.
To demonstrate
You're right I didn't see the executeResult attribute in your action directive.
It's look like you find a new bug out.
You should add a new issue: https://issues.apache.org/jira/browse/WW
Maurizio Cucchiara
2010/10/4 Derrick Koes derrick_k...@skillsoft.com:
Why does the JSP version behave
Hareendra,
You should take a look at
http://struts.apache.org/1.x/struts-taglib/tlddoc/logic/iterate.html
Maurizio Cucchiara
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
Hi Oscar,
2010/9/27 Oscar oscar.kalde...@gmail.com
Exist a way to tell struts 2 how to encode those characters?
There is a simple way:
put this line on top of you jsp file:
%@ page contentType=text/html; charset=UTF-8 %
Hope this help
Maurizio Cucchiara
using your header and i get the same result.
Regards.
2010/9/27 Maurizio Cucchiara maurizio.cucchi...@gmail.com
Hi Oscar,
2010/9/27 Oscar oscar.kalde...@gmail.com
Exist a way to tell struts 2 how to encode those characters?
There is a simple way:
put this line on top of you
Which struts version are you using? Which application server? is it running
on linux or windows?
Did you try to insert meta tag inside head section?
meta http-equiv=Content-Type content=text/html; charset=UTF-8 /
Maurizio Cucchiara
You can also try to add pageEncoding inside page directive:
%@ page pageEncoding=UTF-8 contentType=text/html; *charset*=UTF-8 %
2010/9/27 Maurizio Cucchiara maurizio.cucchi...@gmail.com
Which struts version are you using? Which application server? is it running
on linux or windows?
Did you
method is always invoked (so you can put here
common validation rule).
Furthermore, you can encapsulate validation logic inside an xml file, alway
following the conventions:
actionClass-actionAlias-validation.xml
Maurizio Cucchiara
301 - 384 of 384 matches
Mail list logo