Hi,
I also faced the same problem for a simple AJAX Call.
In case of Ajax request you should return null from your Action execute()
code;
Animesh
On 9/11/07, aarthy <[EMAIL PROTECTED]> wrote:
>
>
> HI,
> I am newbie to AJAX.I tried to run a sample code from the below link
>
> http://struts.j
HI,
I am newbie to AJAX.I tried to run a smaple code from the below link
http://struts.javabeat.net/articles/2007/06/ajax-support-in-struts-2-0/2
http://struts.javabeat.net/articles/2007/06/ajax-support-in-struts-2-0/2
I'm getting this error message.
Stacktrace:
org.apache.jasper.servlet.JspSe
This is a bug and will definitely be fixed for 2.1, although I think
we should do something for 2.0.11. Patches are always welcome... :)
Don
On 9/11/07, Aaron Brown <[EMAIL PROTECTED]> wrote:
> Hi, I think I have stumbled across a bug in the ObjectFactory. Has
> anyone else noticed the following
I've been trying out ajax with s2 and I like how the ajax theme and the s2
tags allow me to do more with less code.
Usually the 2 column table layout works for most of my needs but there are
some forms that I rather not have the additional code (like a form with one
field and I want the submit b
ok,i will try it.
another suggestions:about the dateformat,now it was implemented by add json
annotation to the write
method of the property of date type.If no json annotation defined,it use
JSONUtil.RFC3339_FORMAT.
I thought it's great if the default format could be defined via
configuration file
Hi, I think I have stumbled across a bug in the ObjectFactory. Has
anyone else noticed the following behavior?
ObjectFactory.buildResult() invokes OgnlUtil.setProperties() to populate
a Result instance with a parameter map. In addition, the call to
OgnlUtil.setProperties forces exceptions to be th
Hi,
The present application structure has multiple .war files in a .ear file.
Now my login module is part of 1.war and on a successful validation i want
to forward in struts-config.xml to a page in 2.war file.
How do i achieve this?
Thank you
Красафчег,
нажми на
тормоза!
--- Pavel Sapozhnikov <[EMAIL PROTECTED]>
wrote:
> Do you have like anti virus software installed that
> might be blocking some
> FUNKY behaviour that it sees. Just an idea.
>
> On 9/10/07, Leena Borle <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > I have this strange
There is no "var" attribute on 2.0.9 as it is a new in 2.1. Right now
the online documentation has a mix of 2.1 and 2.0. Try "name" instead.
(The documentation for 2.0.9 can be downloaded with the jars)
musachy
On 9/10/07, Emi Lu <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Musachy Barroso wrote:
> >
Hi, Kevin,
Try adding a timestamp parameter to the URL. It might be a caching
problem in the browser.
- George
George Dinwiddie, iDIA Computing, LLC
http://iDIAcomputing.com/
http://blog.gdinwiddie.com/
-Original Message-
From: Kevin Lawrence [mailto:[EMAIL PROTECTED]
Sent: Thurs
Do you have like anti virus software installed that might be blocking some
FUNKY behaviour that it sees. Just an idea.
On 9/10/07, Leena Borle <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have this strange problem. I have struts2 web application running on
> my
> tomcat/linux very well. Recently I mov
Possibly because there's no "input" attribute, so it's
bombing since it doesn't know what the input forward
for the form is?
d.
--- john lee <[EMAIL PROTECTED]> wrote:
> i have an DynaValidatorForm as following:
>
> inside struts-config.xml
>
>
> type"java.lang.String[] "/>
Hi,
I have this strange problem. I have struts2 web application running on my
tomcat/linux very well. Recently I moved Tomcat server on my Windows Vista
laptop and when I try to execute any S2 action using this tomcat, Firefox
browser throws error saying,
"Firefox has detected that the server i
i have an DynaValidatorForm as following:
inside struts-config.xml
inside validation.xml
inside test.jsp
But, the execution give me the following error message after i leave the
Qty fi
Hello,
Musachy Barroso wrote:
what version did you download?
I downloaded "Example Applications- struts-2.0.9-apps.zip (22mb)". I
extracted the lib, and followed the online tutorial page about beans.
I opened struts2-core-2.09.jar, and in "META-INF/struts-tags.tld" file:
bean
o
what version did you download?
musachy
On 9/10/07, Emi Lu <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I downloaded and installed struts2. However, when I tried the bean tag
> example:
>
> <-- in jsp form -->
> var="counter">
>
>The value of foot is : , when inside the
> bean tag
>
>
> I go
I found an undocumented
com.opensymphony.xwork2.interceptor.ParametersInterceptor parameter
(excludeParams) that appears to do the same as
com.opensymphony.xwork2.interceptor.ParameterFilterInterceptor. The later
actually works on full property names vs. the regular expressions that filter
ou
I am trying to get the exception in action class also. I have previous
defined an error page that displays the error and have user type in more
information and click a button to email to support. That works fine.
But we also need to log exceptions. So I tried to change the handler
from a jsp pag
Hello,
I downloaded and installed struts2. However, when I tried the bean tag
example:
<-- in jsp form -->
var="counter">
The value of foot is : , when inside the
bean tag
I got the following exceptions, could someone enlighten me how to setup
the correct TLD please?
org.apache.
Hey, I'm trying to configure my framework S2 for validation but when I
tried to validate I get this msg:
ReferenceError: validateForm_[formId] is not defined
My form is:
Manuel Correa.
Is there a use case where a duplicate form submission would be allowed? If
not, why is it necessary to "remember" to connect all the dots to prevent a
duplicate form submit? I think I would have been able to get over
connecting the plumbing myself if not for the newfound interceptor trouble.
It
If your just going for exception information you can direct to a JSP page
and use the Struts tags and look directly at the attributes defined o the
Exception implementation.
etc..
Matt Filion
[EMAIL PROTECTED]
--
HI Paul,
But, i put initial="20" inside struts-config.xml, when execute, system still
give me the error message that is the following:
Error creating form bean of class org.apache.struts.action.DynaValidatorForm
java.lang.NullPointerException.
tks ur help
john
Paul Be
struts-config. see the dtd
On 9/10/07, john lee <[EMAIL PROTECTED]> wrote:
>
> Hi Paul,
>
> after i add initial="20" into struts-config.xml, execution still
> complain about NullPointerException.
>
> After i add initial="20" into validation.xml, initial="20" .
> when i bounce the server
Gary,
I think your syntax is right - just pasted from your email into my JSP
and it works.
Let me know if you are able to move the static map to a properties
file and get it working from there ; i'm still trying to get the
syntax right on that!
-Joseph
On 9/10/07, GaryD <[EMAIL PROTECTED]> wr
Is that attribute available in any 2.0.x version?
On 9/10/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
> Use the "preload" attribute.
>
> musachy
>
> On 9/10/07, Alvaro Sanchez-Mariscal <[EMAIL PROTECTED]> wrote:
> > Any help on this?
> >
> > In a page with 6 tabs, 6 requests are made, and brows
Hi Paul,
after i add initial="20" into struts-config.xml, execution still complain
about NullPointerException.
After i add initial="20" into validation.xml,
> Any expert can give me your hands?
>
> i have an DynaValidatorFrom as following:
>
> inside struts-config.xml
>
> > org.apache
How do we retrieve the names of dynamic comboboxes generated using iterate tag
? I need to capture the onchange event, but how will I capture the name of the
combo box ?
Thanks
-
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
Use the "preload" attribute.
musachy
On 9/10/07, Alvaro Sanchez-Mariscal <[EMAIL PROTECTED]> wrote:
> Any help on this?
>
> In a page with 6 tabs, 6 requests are made, and browser get freezed.
>
> autoStart="false" doesn'w work. Is there another way to prevent tab
> preloading?
>
> https://issue
I'm looking at the stack running behind my action and it's not clear what the
code between the interceptors is doing:
at
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Def
Use the "resultsLimit" attribute.
musachy
On 9/10/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I'm using the autocompleter tag and I'm little bit troubleshooted by it's
> behaviour.
>
> I have a list the contains more than 100 items. When the page is loaded,
> the select box dis
I'm first level support, Dave is platinum support :)
musachy
On 9/10/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Musachy Barroso wrote:
> > On 9/10/07, Pavel Sapozhnikov wrote:
> >> When I create a variable in Java Action class right
>
> >> before returning to a result I create a variable:
>
--- Musachy Barroso wrote:
> On 9/10/07, Pavel Sapozhnikov wrote:
>> When I create a variable in Java Action class right
>> before returning to a result I create a variable:
>> String blah = "blah string";
>> Does that variable get put automatically on [the]
>>
> No it doesn't add local variable
I have visited so many pages about Struts 2 I can´t remember where I
found that. Sorry.
Adam Hardy escribió:
By the way, Pablo, where did you find that out?
Pablo Vázquez Blázquez on 10/09/07 11:52, wrote:
Using JSTL:
Adam Hardy escribió:
Man oh man that is going to fry th
tks for your kind help,
but add initial="20" inside struts-config.xml or validation.xml?
what else i need to do ?
tks in advance
john
Paul Benedict <[EMAIL PROTECTED]> wrote:
You need to allocate array space. For example, add an initial="20" attribute
to the property.
Any help on this?
In a page with 6 tabs, 6 requests are made, and browser get freezed.
autoStart="false" doesn'w work. Is there another way to prevent tab preloading?
https://issues.apache.org/struts/browse/WW-2166
Alvaro.
On 8/19/07, Alvaro Sanchez-Mariscal <[EMAIL PROTECTED]> wrote:
> Here i
No it doesn't add local variables to the stack. You can add values to
the stack by hand, but in this case all you need to do is set a field
in your action with the value that you want, and add a getX() method.
musachy
On 9/10/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote:
> Hi so I have a quest
Hi so I have a question about this thing. When I create a variable in Java
Action class right before returning to a result I create a variable: String
blah = "blah string"; Does that variable get put automatically on
ValueStack. I tried assuming it does and I tried displaying the value of it
by usi
Can you see if 1.3.8 makes any difference? Just curious.
On 9/10/07, Jennie Moeller <[EMAIL PROTECTED]> wrote:
>
> 1.2
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Paul Benedict
> Sent: 10 September 2007 13:59
> To: Struts Users Mailing List
>
Dave Newton on 10/09/07 13:34, wrote:
--- Adam Hardy wrote:
The advantages of lean JSPs are manifold
Ha ha, lean JSPs, I get it.
d.
My humour was not in action when I wrote that. What did you think?
A.
-
To unsubscribe, e
I am trying to set up a static map using the select tag. I set my the tag as
explain in the documentation.
But when it tries to render the page I get this error.
Syntax error in expression. Encountered ":". Expected one of : "}", ".",
"[", ">", "gt", "<", "lt", ">=", "ge", "<=", "le", "==",
Hello:
I declared an application error page in my web.xml:
java.lang.Throwable
/error.action
I have this declaration in my struts.xml:
error
In my page.Error class, I am trying to get the exception
that was thrown:
public class Error extends ActionSupport {
pub
Hi all,
I'm using the autocompleter tag and I'm little bit troubleshooted by it's
behaviour.
I have a list the contains more than 100 items. When the page is loaded,
the select box displayed within the autocompleter tag show only 30
elements.
Why does this restriction take place ?
Is it possibl
1.2
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Paul Benedict
Sent: 10 September 2007 13:59
To: Struts Users Mailing List
Subject: Re: Issue with c:import or jsp:include
What version of Struts?
On 9/10/07, Jennie Moeller <[EMAIL PROTECTED]> wrote:
Has any successfully deployed a Struts2 application to JBoss 5.0.0 Beta
2? When I try to do this I get the following stack trace from JBoss:
Exception starting filter struts2
Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory -
bean -
jar:file:/C:/jboss/jboss-5.0.0.Beta2/serve
If you feel these should be supported, you can open a JIRA ticket for the issue.
The ticket will be more likely to get attention if you supply a patch to
implement the desired behavior.
https://issues.apache.org/struts/browse/WW
James
On Mon Sep 10 6:00 , joey <[EMAIL PROTECTED]> sent:
>if My
you probably have to include the whole expression within your
expression element,
for instance:
'>value
should work, but a bit ugly ;-)
maybe it looks nicer using jstl !
var
Hope it helps
Yannick
On 9/10/07, Anna Simbirtsev <[EMAIL PROTECTED]> wrote:
> Hello
>
> I am trying to pass the val
This will be turned on by default on 2.1:
https://issues.apache.org/struts/browse/WW-2077
check this for details:
http://dojo.jot.com/WidgetsFAQ
musachy
On 9/10/07, Marc Eckart <[EMAIL PROTECTED]> wrote:
> How can I initialize dojo with the dojo tags ids? Dojo is integrated in
> Struts2, how c
Hello:
I am trying to declare an application wide error page
in my Struts 2 app.
I tried putting this in my web.xml:
java.lang.Exception
/error.action
And then created the error.action:
http://cbsweb.jammconsulting.com/cbsweb/error.action
But, when my app throws an error, the err
Hello
I am trying to pass the value of i to a javascript but I can't seem to get
it to pass the value.
<% for (int i = 0;i < 5; i++) { %>
value
<%}%>
What am I doing wrong?
Thank you
What version of Struts?
On 9/10/07, Jennie Moeller <[EMAIL PROTECTED]> wrote:
>
> Its definitely set on my action.
>
> If I just try to add any param it doesn't seem to work with jsp:include
> (jsp:param) or c:import (c:param)
>
> Thanks!
>
> -Original Message-
> From: Ehteshamul Haque [ma
By the way, Pablo, where did you find that out?
Pablo Vázquez Blázquez on 10/09/07 11:52, wrote:
Using JSTL:
Adam Hardy escribió:
Man oh man that is going to fry the algorithms in my poor JSP editor,
even if it could cope with the stuff I force-feed it at the moment
(which
--- Adam Hardy wrote:
> The advantages of lean JSPs are manifold
Ha ha, lean JSPs, I get it.
d.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks, Pablo.
Does anyone know if there are any plans to create a new attribute on these
taglibs in the future where one can just feed in the property key?
The advantages of lean JSPs are manifold, the main advantage in this case being
the most important, that it would seperate logic (intern
JSTL fmt tag library.
On 9/10/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote:
>
> I want to display a number (double) into a jsp using a certain format (2
> decimals). What's the best way to do it?
>
> -
> To unsubscribe, e-mail:
Inserting some even on the same line property doesn't work? You
could disregard html code behind the browser and format it when
rendering.
2007/9/10, Mirbek Nosinov <[EMAIL PROTECTED]>:
> Hello
>
> I am trying to make multiline key value in my resource file
> Reource file is like "myRes.propertie
Using JSTL:
Adam Hardy escribió:
Man oh man that is going to fry the algorithms in my poor JSP editor,
even if it could cope with the stuff I force-feed it at the moment
(which it doesn't).
Isn't there a non-OGNL way?
thanks
Adam
Zarar Siddiqi on 08/09/07 18:25, wrote:
v
Its definitely set on my action.
If I just try to add any param it doesn't seem to work with jsp:include
(jsp:param) or c:import (c:param)
Thanks!
-Original Message-
From: Ehteshamul Haque [mailto:[EMAIL PROTECTED]
Sent: 09 September 2007 10:43
To: Struts Users Mailing List
Subject: Re
I want to display a number (double) into a jsp using a certain format (2
decimals). What's the best way to do it?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Adrian,
On 10/09/2007, Adrian Ost <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> i have a property file and by using the s:text tag i am rendering out
> text from a property file.
> Some text .
> Works fine, but sometimes it doesn't render the value of the property,
> but the key name itself (R
if My entity class has a property of type in (Long/Short/Double...),I get a
Exception
JSONExeption Incompatible types for property xxx.
After read the code of JSONInterceptor ,I found it doesn't support these
types which
confused me.
How can I initialize dojo with the dojo tags ids? Dojo is integrated in
Struts2, how can I influence this without altering the package?
Regards,
Marc
2007/9/10, Adam Hardy <[EMAIL PROTECTED]>:
>
> I'm not familiar with that tag you are using, but there are general ways
> of
> enhancing dojo, incl
Hi everybody,
i have a property file and by using the s:text tag i am rendering out
text from a property file.
Some text .
Works fine, but sometimes it doesn't render the value of the property,
but the key name itself (Results in: Some text my.existing.property.)
Cannot reproduce this.
Any id
I'm not familiar with that tag you are using, but there are general ways of
enhancing dojo, including initialising dojo with the dojo tag ids instead of
letting it scan for them, or compiling just the scripts that you need from dojo
instead of taking the default build.
I found last year that a
Hi,
I have a table which contains a column with struts tags with ajax theme:
Kundendetailinfo
If I have 100 entries in my table it needs about 6 secs to render the table,
without these tags I need about 1 sec or less.
Is there a way to tune the performa
I already tried this possible solution but a have exactly with my parameters value in my url link, struts doesn't
translate the property value in a struts url.
I suspect it's a struts url bug. Thanks.
newton.dave wrote:
>
> --- Ehteshamul Haque wrote:
>> In that case we can use ''
>>
>> EXA
I already tried this possible solution but a have exactly with my parameters value in my url link, struts doesn't
translate the property value in a struts url.
I suspect it's a struts url bug. Thanks.
Ehteshamul Haque wrote:
>
>
> In that case we can use ''
>
> EXAMPLE:
>
>
>
> .
Hi
Using i18n is a very simple in struts. Lets make a sample application to say
hello to the Rock.
Steps to do i18n:-
1. Create a test application.
2. index.jsp would be like this:-
<[EMAIL PROTECTED] language="java"%>
<[EMAIL PROTECTED] uri="/WEB-INF/struts-html.tld" prefix="html"%>
<[EMAIL
68 matches
Mail list logo