a page scoped object, you need to use the #attr
notation.
2008/7/12 Othon Reyes Sanchez [EMAIL PROTECTED]:
#page is not an instance of a user class.
page is an implicit object of jsp like request, session, application,
etc.
i don't know what is happening if i use s:set name=aver scope
, Othon Reyes Sanchez [EMAIL PROTECTED] wrote:
I have a problem with the following code:
s:set name=aver scope=page
value=one/s:set
...
s:if test=#page.aver=='one'
%-- Some code goes here --%
/s:if
I don't know what is happening but the code
conditionated by the if is not
executed
Hi to everyone
I have a problem with the following code:
s:set name=aver scope=page value=one/s:set
...
s:if test=#page.aver=='one'
%-- Some code goes here --%
/s:if
I don't know what is happening but the code conditionated by the if is not
executed.
If i use request instead of page in the
* - In 2.0+ isn't the default scope singleton?*
Yes, the deafault scope is singleton (Only one instance for the class ).
You can change the scope fo your beans to request or session but also you
nedd to add some configuration to your web.xml.
Are you using ModelDriven interface?.
On Mon, Mar
I guess somebody else have a very similar problem
Change:
package name=aum.struts.tester extends=struts-default
For:
package name=aum.struts.tester extends=struts-default namespace=/
Also are you extending form ActionSupport in your TestExample class?.
On Thu, Mar 6, 2008 at 10:42 AM, aum
as a workaround use javascript.
Define a function that you call on the click event of your anchor.
have you tried to change to frames insted of iframes?.
in wich browser are you testing your page?.
On Thu, Mar 6, 2008 at 10:38 AM, Paranoid_Fabio [EMAIL PROTECTED]
wrote:
Hello. I'm trying to
Wow the ability of S2 to do this is awesome and looks simple!!.
On Thu, Mar 6, 2008 at 9:50 AM, Martin Gainty [EMAIL PROTECTED] wrote:
Michael-
remembering our academic coursework teaches Not(Not condition) evaluates
positive
be sure to set ignoreContextParams=false as in s:action tag
As a suggestion try to add log4j to your application and change the level of
messages to debug.
In your xml add the following:
context-param
param-namewebAppRootKey/param-name
param-valuesap.root/param-value
/context-param
context-param
BTW the text in orange needs to be equal but it can be any text.
On Thu, Mar 6, 2008 at 11:21 AM, Othon Reyes Sanchez [EMAIL PROTECTED]
wrote:
As a suggestion try to add log4j to your application and change the level
of messages to debug.
In your xml add the following:
context-param
Reyes Sanchez [EMAIL PROTECTED] wrote:
I guess somebody else have a very similar problem
Change:
package name=aum.struts.tester extends=struts-default
For:
package name=aum.struts.tester extends=struts-default
namespace=/
The other problem was occurring specifically because
are you using any plugin for eclipse like lomboz or myeclipse?
On Thu, Mar 6, 2008 at 11:46 AM, Kelly.Graus [EMAIL PROTECTED]
wrote:
Well, it turns out that for some reason, Eclipse isn't publishing my
struts.xml file when it's in the classes directory. Moving it to the
WEB-INF directory
]
wrote:
Othon Reyes Sanchez wrote:
are you using any plugin for eclipse like lomboz or myeclipse?
No, I don't have any additional plugins installed (unless they come with
the
default Eclipse install).
--
View this message in context:
http://www.nabble.com/Struts-2-issue-with-Spring%2C
If the forms are exactly in the same JSP and i mean you don't have one form
in a iframe and other form in another iframe, as far as i am concern is not
possible.
But, if you use ajax, then you can send the values of any amount of forms to
the server.
On Thu, Mar 6, 2008 at 2:53 PM, mojoRising
Jeromy Evans wrote:
*You're correct. ModelDriven does not give you much benefit other than
to put a single Model object, rather than the Action, at the top of the
ValueStack (the Action falls to second). In many respects, that's a
limitation rather than a benefit.*
It depends how the
Hi to everyone:
I'm trying to make a tag that has an add button and a remove button.
The add button adds and viceversa with the remove button.
Every cell can contain only one of the following type of fields, but you can
repeat type of fields in different cells: Text, Datepicker, select, radio,
You can use JSTL too.
On Wed, Mar 5, 2008 at 5:45 PM, Alberto A. Flores [EMAIL PROTECTED]
wrote:
In case this was not a Struts question, check out:
http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html
Hope this helps!
Alberto
On Wed, Mar 5, 2008 at 5:08 PM, temp temp [EMAIL
Can somebody tell us what was the security problem fixed with this version?
On Wed, Mar 5, 2008 at 11:41 AM, Rene Gielen [EMAIL PROTECTED] wrote:
Apache Struts 2.0.11.1 is now available from
http://struts.apache.org/download.cgi#struts20111.
This release is a fast track security fix release,
I think you have to do it like a huy called mark that has his blog called
vita rara.
There he explain and post a code of how you can change the layout that is
generated by the xhtml theme.
Of course there is not a complete solution for your case but i think it can
help you alot.
On Wed, Mar 5,
* I do have the Spring plugin in there. Could that be an issue? I'm
going to want to use that soon, but I'm not really using it yet.
*
Not, it is not a problem.
Maybe it sounds dumb but where is lyour struts.xml located?
In your struts.xml your action named main2 has no class.
can you post
I wonder what mojoRising is thrying to achieve.
As Dave Newton said setting something to session from the JSP is a little
suspicious because tipically you want things the other way around( from
action to jsp) and if you need to send some data to the action, you have to
use parameters (in the url
I follow the links up to this point:
http://cwiki.apache.org/S2PLUGINS/tiles-plugin.html.
and there they mentioned this link( http://struts.apache.org/downloads.html)
in order to download the tiles plugin.
But in downloads.html there is no link to download the tiles plugin.
If some body find the
I get the following exception when i do some stress test with jmeter.
java.util.ConcurrentModificationException
at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
at java.util.AbstractList$Itr.next(Unknown Source)
at
Applications Developer
Nuvox Communications
From: Othon Reyes Sanchez [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List user@struts.apache.org
Date: Tue, 26 Feb 2008 12:39:40 -0600
To: user@struts.apache.org
Subject: java.util.ConcurrentModificationException at IteratorComponent
I get
23 matches
Mail list logo