hi,
is there some standalone application/ some way by which i can validate the
ognl i write? instead of writing them in validation file, compiling
deploying and then discovering there some problem (we only see some non
descriptive error)
cheers,
ravi
--
View this message in context:
http://ww
hi,
i solved this problem the following way:
1. created a custom reset interceptor to set the action class field of
checkbox.
2. placed the interceptor just after the scope interceptor (in ur
struts.xml)
when u deselect all the checkboxes then the HTML doesnt submit any values to
the action cl
I am facing an issue with the s:autocompleter. When I use the theme="ajax",
the autocompleter doesnt work. The reason for me to use this theme is to
make the showDownArrow="false".
This is what i am using - .
One more thing, is there any chance I could disable ONLY the textfield of
the . When I
For any email that sent and is approximately 10 lines, my email is rejected as
spam. I can see people posing messages much much longer that the ones I send. I
get a line in the failure notice Remote host said: 552 spam score (5.0)
exceeded threshold [BODY]
__
I have deployed struts 2.0.11.1 on Websphere V6.1.0.13 using RAD 7.5 (show-case
apps, blank.war) everything works fine. So I assume you should not have any
problem deploying 2.0.11 on RAD 7 or RSA 7 as long as your server runtime
environment has fixpack 7 or more. You also need to set the follo
You'll have to provide more information; we're running S2.0 on RAD7/WS6
with no issues.
Dave
--- achandra <[EMAIL PROTECTED]> wrote:
> I have been trying to working on RAD and Struts 2.0. I have tried
> every
> possible thing I could. The very first page works fine, but there
> after when
> I cli
Do you mean adding the getter fixed the problem? The reason I believe
you need it is that for Struts to set, for example, dadosPessoais.nome
it needs to call getDadosPessoais().setNome(value). If you omit the
getter for dadosPessoais, Struts is not able to determine a value for
that property an
Phan, Hienthuc T wrote:
Hi,
I have a CustomerAction class. In CustomerAction, I have two methods:
add and update. I have a CustomerAction-validation.xml to check for
required fields, etc. My struts.xml looks something like this:
/customer_cre
When you say it "throws an error that message couldn't be found" it sounds
like you are talking about a problem with a tag or the like.
Please share the code of the 'result' JSP -- does it use any message-type
tags? If so, do you have a messages.properties file in the right location?
jk
On Tue,
The problem is not related to struts, but eclipse. Eclipse won't
"know" about the new file unless your refresh the project. What I do
in these cases, to avoid refreshing the project, is save the resources
on some folder, then create a soft link from inside the eclipse tomcat
deployment folder, to t
Hi,
This is wha I done in my code .
I have messageproperty also.
Code is as follow
my code is as follows
struts-config.xml
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
Hello sorry in advance if this is not a struts issue but I guessing
that it is.
Anyways I have some code in an action method that queries a site for
base64 image, takes that image decodes and save it in a file, and then
sends a relative link to that image as part of the results of that
action. The
When you say you are using RAD 7.0, do you mean you are running a Struts2 app
on a Websphere Application Server? If so, what version of Websphere are you
running?
Can you also post the stack trace for your error messages, along with your
struts.xml
Brian Relph
-Original Message-
F
I have been trying to working on RAD and Struts 2.0. I have tried every
possible thing I could. The very first page works fine, but there after when
I click the submit button it brings the URL back with the .action extension
and throws an error that message couldn't be found. I am keeping it very
I did not have any errors. I am not sure exactly what I was doing that
caused this not to work, but I reorganized my code in the action class
and was able to make things work.
-Original Message-
From: Greg Lindholm [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008 2:37 PM
To: user
Are you getting any errors?
There is a bug in the CheckboxInterceptor where it does not properly
handling arrays of checkboxes when none are selected. It might be related,
but this issue did causes error messages.
I submitted a patch for this issue WW-2339.
https://issues.apache.org/struts/br
Now working!
1) Created a new folder under resources matching the java package
structure of the action:
package: quickstart.action
folder: src/main/resources/quickstart/action
2) Moved PersonAction-save-validation.xml there.
it solved the problem.
Thanks a lot Dave!
--
View
No.
But with further searching, I found:
https://issues.apache.org/struts/browse/WW-2339
Which suggests this is a documented struts bug and is not currently fixed.
As a result, I've changed my setApproved method to the following:
// If no checkboxes are checked, we get Boolean[]{fals
Michael Gagnon wrote:
My JSP resembles:
...
...
My action resembles:
public class ApproveItemsAction extends ActionSupport {
private Integer[] approved;
private Int
hu very strange, because i have the fallows jar:
antlr-2.7.2.jar
commons-beanutils-1.6.jar
commons-chain-1.1.jar
commons-logging-1.0.4.jar
commons-logging-api-1.1.jar
commons-validator-1.3.0.jar
freemarker-2.3.8.jar
ognl-2.6.11.jar
oro-2.0.8.jar
struts2-core-2.0.11.1.jar
xworks-2.0.4.jar
and To
Any suggestions
-Original Message-
From: Phan, Hienthuc T
Sent: Friday, May 16, 2008 6:41 PM
To: Struts Users Mailing List
Subject: Struts 2: After validation fail, how to change the returning
result name to other than INPUT?
Hi,
I have a CustomerAction class. In CustomerAction,
You need to have xwork-2.0.*.jar file in your WEB-INF/lib folder.
-Rushikesh
On Tue, May 20, 2008 at 6:40 PM, Felipe Lorenz <[EMAIL PROTECTED]>
wrote:
> Hi folks.
>
> When i start the tomcat 5.5 this exception appear to me:
> 20/05/2008 08:48:03 org.apache.catalina.core.StandardContext filterSta
In 99% of cases, when you see a NoClassDefFoundError, it means you are
missing a jar file. Is xwork-2.x.x.jar in your WEB-INF/lib folder?
On Tue, May 20, 2008 at 12:40 PM, Felipe Lorenz <[EMAIL PROTECTED]>
wrote:
> Hi folks.
>
> When i start the tomcat 5.5 this exception appear to me:
> 20/05/20
Hi folks.
When i start the tomcat 5.5 this exception appear to me:
20/05/2008 08:48:03 org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
java.lang.NoClassDefFoundError:
com/opensymphony/xwork2/config/ConfigurationProvider
at
org.apache.struts2.d
It's interesting is that the "default=true" attribute in the
element in struts.xml doesn't seem to influence
annotation-based results specification like it does for the XML
configuration.
In XML, if I set default=true on , I don't need to specify
a Tiles result at the action level.
But with anno
Hi Dave,
The code is from tutorial:
http://struts.apache.org/2.x/docs/struts-2-spring-2-jpa-ajax.html
pom.xml fragments:
4.0.0
quickstart
quickstart
0.1-SNAPSHOT
war
quickstart
org.apache.struts
struts2-spring-plugin
2.0.
I'm having this same type of error for datetimepicker but for Struts
2.0.11.1. Maybe this is a problem with datetimepicker ?
--
Milan
WayneFH wrote:
>
> This repost includes the struts config file as requested by mgainty.
> Thanks.
> NOTE: There is NO stack trace. These are errors we see in t
--- "Gamble, Wesley (WG10)" <[EMAIL PROTECTED]> wrote:
> So, are you saying that this:
>
>
> class="org.apache.struts2.views.tiles.TilesResult"
default="true"/>
>
>
> in my struts.xml doesn't influence how the annotation-specified
> result is processed?
No, I'm saying you did
Hi all, i'm Dome, from Italy, and i'm having my troubles with Date
Validation on Struts 2 :|
Using xml validation, and need to validate a
date.
Let's say i have 2 dates taken from html form. I need the second
one (if it does exist: it is not mandatory, actually) to be after the
first one.
Us
Thanks
jose
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: 20 May 2008 16:31
To: Struts Users Mailing List
Subject: Re: What's the procedure to be taken off the strut email list ?
email "[EMAIL PROTECTED]" and add "unsubscribe" to the subject, that should d
email "[EMAIL PROTECTED]" and add "unsubscribe" to
the subject, that should do.
musachy
On Tue, May 20, 2008 at 11:28 AM, Jose Cardoso
<[EMAIL PROTECTED]> wrote:
>
> Hi All !
>
> What's the procedure to have my email removed from the struts mailing list ?
> I have already requested my email to b
So, are you saying that this:
in my struts.xml doesn't influence how the annotation-specified result
is processed?
If so, where should I put whatever annotation directive to specify that
results are tiles in general? Obviously, I'd like to put it in one
place.
Thanks,
Wes
-Ori
Hi All !
What's the procedure to have my email removed from the struts mailing list ? I
have already requested my email to be taken off the list but the administrators
don't seem to be willing to do it .
Jose
-Original Message-
From: Milan Milanovic [mailto:[EMAIL PROTECTED]
Sent:
I'm not sure if this is a problem. I switched my browser only to US
locale language and also in regional options and it is the same! I think
that is some conversion problem from jsp page to Date in version
2.0.11.1.
Regards, Milan
Ian Meikle <[EMAIL PROTECTED]> wrote: I have had the same
You're not specifying the result type, so it's trying to use
"dispatcher" results, which aren't Tiles-aware (obviously :)
Dave
--- "Gamble, Wesley (WG10)" <[EMAIL PROTECTED]> wrote:
> Can I use the Struts 2 annotation - style of specifying action
> results
> to set a tile name as the target for a
You'll need to provide more information, like where your validation
files are, their names, the configs of the actions that aren't
validating, etc.
I've never had any issues with XML validation, so I'd first check out
the basics. (I'm also not running on Tomcat 6, which I suppose could
cause a pro
--- Ian Meikle <[EMAIL PROTECTED]> wrote:
> Yes I have tried, but as I previously said, this is the STRUTS2
> Spring plugin that is causing this behaviour NOT Spring.
>
> More details:
>
> I have a ModelDrive action.
> In my JSP, I have the tag:
>
>
> In some situations when we call the
All,
Can I use the Struts 2 annotation - style of specifying action results
to set a tile name as the target for a Struts action? In my testing,
I've been unable to, although I have successfully done it with the XML
action specification in struts.xml. My suspicion is that perhaps the
annotati
My JSP resembles:
...
...
...
...
...
...
My action resembles:
...
public class ApproveItemsAction extends ActionSupport {
private Integer[] approved;
private Integer[] itemsPresent;
Hi guys,
I been following some spring 2 tutorials and cannot make struts 2 to
validate forms using xml syntax. Annotations seem to work fine though. I'm
running my apps using:
Tomcat Version JVM Version JVM Vendor OS Name OS
Version OS
Architecture
Apache Tomcat
Yes I have tried, but as I previously said, this is the STRUTS2 Spring
plugin that is causing this behaviour NOT Spring.
More details:
I have a ModelDrive action.
In my JSP, I have the tag:
In some situations when we call the action we create a new model, which
does not have a person.
I have been unable to continue with this until now.
Funny thing is that it is now working.
Perhaps a typo on my part?
I did install m2eclipse and then I ran into the problem.
Not sure that stopping my machine and starting it again would have an
impact?
Anyways thanks for your time and patience!
I think you should start with making your markup valid. There is a free
service to do so: http://validator.w3.org/
Looking at your html, I can see several problems that can cause missing
fragments (especially in ie6):
1) Unclosed tags-
-
2) Duplicate HEAD t
This has sth to do with ur project facets. You need either to go to ur project
properites and change ur project facets accordingly, or create a new project
from scratch and then copy over the contents of src file and webcontent (for
web.xml try to copy and past contents one by one). I had a simi
I have a list of search filters that I am displaying on the page where
each is a checkboxlist. I am implementing this as such:
Everything works great except for one small problem. I do not seem to
be able to deselect all of the values for a filter. For example, if one
of my filters
2008/5/19 Sapan <[EMAIL PROTECTED]>:
> ???en_US.errors.required??en_US.errors.required???
Sorry, I think I got it.
It seems that you have not defined the "errors.required" property in
your "messageresources.properties", so the tag gets
confused and prints that stuff.
Antonio
--
hi,
i am not sure how to fix ur problem.. but i use the following steps in
remote debugging.. may b it helps u.
1. in catalina.sh :JAVA_OPTS="$JAVA_OPTS -Xmx512m -Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
2. in eclipse under windows> preferences> in dialogue box on le
Hi,
Thank a lot for prompt reply,
But I donot have any idea about tag.Because I am totally new
to struts .
Could you please help me out how to get out of this problem
Regards
Swapna.
Antonio Petrelli-3 wrote:
>
> 2008/5/19 Sapan <[EMAIL PROTECTED]>:
>> ???en_US.errors.required??en_US.
--- achandra <[EMAIL PROTECTED]> wrote:
> I am trying to make Struts 2 work with RAD 7.0.
We're running under RAD7 with no issues.
You'll have to be more specific. If you're running under RAD6/Java 1.4
you must use the 1.4 build (and make sure any supporting libraries are
also converted). You als
hummm this is not necessary.. i just want do send, not retrieve... but i fix
the problem... i dont know whats happen, i did create a new project in
NetBeans... maybe it lost something... i dont know...
But thanks folks...
On Tue, May 20, 2008 at 2:59 AM, Laurie Harper <[EMAIL PROTECTED]> wrote:
Have you *tried* setting autowiring to "no" in the spring config file?
I'm still not convinced this is the issue you're trying to solve, but
as more details aren't forthcoming, this is all I have for you.
Dave
--- Ian Meikle <[EMAIL PROTECTED]> wrote:
> Hi Dave,
>
> Thanks for that, I have now
Hello Antonio,
I will do it this evening as I cannot publish all the code here at work.
I will construct a sample application and attach it to a JIRA-Ticket.
Tankx so far...
Volker
2008/5/20 <[EMAIL PROTECTED]>:
>
>
>
> https://issues.apache.or
2008/5/20 <[EMAIL PROTECTED]>:
>
>
>
> https://issues.apache.org/struts/
In the meantime, try to simply add some newlines at the end of the
Tiles layout page, probably the last part of the page will show up...
Antonio
-
Hi,
Ok, here it is:
1) I am using struts2 2.0.11
2) tiles 2.0.5
and 3) the resulting html (important notice: will only have to run in
Internet-Explorer 6):
Title
//
2008/5/20 <[EMAIL PROTECTED]>:
> Hope you do not need much more.
In fact we need:
- the version number of Struts and Tiles that you use,
- the interesting part of your Tiles definition file,
- The resulting HTML file.
Antonio
-
Hi Antonio,
here is the code for one page (to chose a report) that is not that large:
my jsp:
<%@ page language='java' errorPage='layout/error.jsp' isErrorPage='true' %>
<%@ taglib prefix="fragment" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
2008/5/20 <[EMAIL PROTECTED]>:
> this is quite difficult as I'd have to publish a lot of code because of using
> tiles to make it clear.
You can just post the code for one page not rendering correctly.
Antonio
-
To unsubscribe
Hello,
this is quite difficult as I'd have to publish a lot of code because of using
tiles to make it clear.
Maybe someone has solved a similar problem before and just can give a hint what
was the reason for this effect.
Volker
2008/5/20 <[EMAIL PROTECTED]>:
> Can anybody give me a hin
2008/5/20 <[EMAIL PROTECTED]>:
> Can anybody give me a hint, where this code is lost or why the page does not
> render completely ?
Without a single line of your code we cannot help.
Antonio
-
To unsubscribe, e-mail: [EMAIL PR
Hello struts freaks,
I have a problem with my rendered html. I am using struts2 and tiles.
Some pages seem to be incomplete, as on the bottom I get some readable html
fragments like
is missing. S
Sometimes my renedered page misses up to 6 signs.
Can anybody give me a hint, where this code is l
Hi Dave,
Thanks for that, I have now read the Spring documentation.
It seems that the default in Spring is no autowiring so no further config
required here.
It seems that it is the STRUTS2 Spring plugin that needs to be configured
to not perform autowiring, specifically
com.opensymphony.xwork2
2008/5/19 Sapan <[EMAIL PROTECTED]>:
> ???en_US.errors.required??en_US.errors.required???
Usually this happens when you are using the tag: it does
not find a property with that name, in this case
"en_US.errors.required", or possibly "errors.required" with "en_US"
locale.
Check your message b
62 matches
Mail list logo