Re: Problem with s:set and s:if

2008-07-16 Thread Othon Reyes Sanchez
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

Re: Problem with s:set and s:if

2008-07-12 Thread Othon Reyes Sanchez
, 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

Problem with s:set and s:if

2008-07-11 Thread Othon Reyes Sanchez
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

Re: Clearing Action properties from ValueStack

2008-03-10 Thread Othon Reyes Sanchez
* - 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

Re: Not Able to call Action

2008-03-06 Thread Othon Reyes Sanchez
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

Re: How to implement an help

2008-03-06 Thread Othon Reyes Sanchez
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

Re: How can I combine a result (tiles + xslt)?

2008-03-06 Thread Othon Reyes Sanchez
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

Re: Struts 2 issue with Spring, Hibernate, and Tiles

2008-03-06 Thread Othon Reyes Sanchez
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

Re: Struts 2 issue with Spring, Hibernate, and Tiles

2008-03-06 Thread Othon Reyes Sanchez
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

Re: Not Able to call Action

2008-03-06 Thread Othon Reyes Sanchez
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

Re: Struts 2 issue with Spring, Hibernate, and Tiles

2008-03-06 Thread Othon Reyes Sanchez
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

Re: Struts 2 issue with Spring, Hibernate, and Tiles

2008-03-06 Thread Othon Reyes Sanchez
] 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

Re: STRUTS 2: Possible to have two actions called from one JSP?

2008-03-06 Thread Othon Reyes Sanchez
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

Re: Conversation Scope?

2008-03-05 Thread Othon Reyes Sanchez
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

dynamic Field Table

2008-03-05 Thread Othon Reyes Sanchez
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,

Re: any tag library to set an object in request in jsp

2008-03-05 Thread Othon Reyes Sanchez
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

Re: [ANN] Struts 2.0.11.1 General Availability Release with Important Security Fix

2008-03-05 Thread Othon Reyes Sanchez
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,

Re: how to aliened checkbox list in a matrix style (10x5) [pic included]

2008-03-05 Thread Othon Reyes Sanchez
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,

Re: Simple helloworld test fails with Could not find action or result

2008-03-05 Thread Othon Reyes Sanchez
* 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

Re: how to access a session variable in an action class?

2008-03-03 Thread Othon Reyes Sanchez
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

Where is the tiles plugin for S2?

2008-03-02 Thread Othon Reyes Sanchez
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

java.util.ConcurrentModificationException at IteratorComponent

2008-02-26 Thread Othon Reyes Sanchez
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

Re: java.util.ConcurrentModificationException at IteratorComponent

2008-02-26 Thread Othon Reyes Sanchez
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