Re: Problem with s:set and s:if

2008-07-16 Thread Othon Reyes Sanchez
tax. > If you need to access 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, >

Re: Problem with s:set and s:if

2008-07-12 Thread Othon Reyes Sanchez
help Dave. On Fri, Jul 11, 2008 at 10:07 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > Is #page one of the stack context vars? I'd consider using #attr, unless > you can confirm that it is (I always forget). Or just use #request. > > Dave > > --- On Fri, 7/11/08, Oth

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: <%-- Some code goes here --%> 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 s:set tag, and obiosly in the s:if tag, the code works fine. can somebody tell me

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 10

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 <[E

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

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

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 directo

Re: Not Able to call Action

2008-03-06 Thread Othon Reyes Sanchez
008 at 10:58 AM, aum strut <[EMAIL PROTECTED]> wrote: > Hi Dave and Othon, > > even on adding "namespace" and even removing the annotation based > validations from the action > i am still facing the same problem. > > > On 3/6/08, Dave Newton <[EMAIL PROTE

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 ad

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: webAppRootKey sap.root log4jConfigLocation WEB-INF/log4j.properties ... org.springframework.web.util.L

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 ignoreCon

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 t

Re: Not Able to call Action

2008-03-06 Thread Othon Reyes Sanchez
I guess somebody else have a very similar problem Change: For: Also are you extending form ActionSupport in your TestExample class?. On Thu, Mar 6, 2008 at 10:42 AM, aum strut <[EMAIL PROTECTED]> wrote: > Hi All, > > I am a starter in struts2. i am developing a simple programme in struts2 >

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 m

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, 200

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 > . > > This release is a fast track security fix r

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 tem

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, radi

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 architectur

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

Re: java.util.ConcurrentModificationException at IteratorComponent

2008-02-26 Thread Othon Reyes Sanchez
ndy Burgess > Sr. Web Applications Developer > Nuvox Communications > > > > > From: Othon Reyes Sanchez <[EMAIL PROTECTED]> > > Reply-To: Struts Users Mailing List > > Date: Tue, 26 Feb 2008 12:39:40 -0600 > > To: > > Subject: java.util.Concurre

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 org.apache.struts2.components.Iterator