RE : How to eliminate an entry from an array with s2 tags

2008-03-26 Thread Ezequiel Puig
a little bit more clear. Thanks, Ezequiel. -Message d'origine- De : Dave Newton [mailto:[EMAIL PROTECTED] Envoyé : mardi 25 mars 2008 13:08 À : Struts Users Mailing List Objet : Re: How to eliminate an entry from an array with s2 tags --- Ezequiel Puig [EMAIL PROTECTED] wrote: in my

RE : RE : How to eliminate an entry from an array with s2 tags

2008-03-26 Thread Ezequiel Puig
any reason to remove anything from an array; whether you're using JavaScript to build the URL or not. Why do you need to remove the ID from the array? Dave --- Ezequiel Puig [EMAIL PROTECTED] wrote: Hi Dave, Thanks for your reponse. Anyway, I will try to convince you ;) Some background: i

How to eliminate an entry from an array with s2 tags

2008-03-25 Thread Ezequiel Puig
Hi, in my jsp, i have an array of ids and i will like to remove one of that ids using s2 tags: I have tried the following, but it doesn't work :( s:set name=allIDs value=#parameters.productCode/ s:set name=newID value=/ s:iterator value=#allIDs status=stat s:set name=myID value=top/

RE : Struts Application is not working

2007-10-03 Thread Ezequiel Puig
Hi, Take a look at: http://struts.apache.org/2.x/docs/simple-setup.html. There you will find the minimum configuration. Regards, Ezequiel. -Message d'origine- De : Rick Reumann [mailto:[EMAIL PROTECTED] Envoyé : mercredi 3 octobre 2007 16:42 À : Struts Users Mailing List Objet : Re:

RE : RE : Struts Application is not working

2007-10-03 Thread Ezequiel Puig
Uppps, That's for Struts 2. -Message d'origine- De : Ezequiel Puig Envoyé : mercredi 3 octobre 2007 16:53 À : Struts Users Mailing List Objet : RE : Struts Application is not working Hi, Take a look at: http://struts.apache.org/2.x/docs/simple-setup.html. There you will find

RE : Orthognal OGNL!

2007-07-09 Thread Ezequiel Puig
Yes, Just try: value=#parameters.yourproperty and if you want to know why that works, check: http://struts.apache.org/2.x/docs/ognl.html Ezequiel -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 9 juillet 2007 13:44 À : Struts Users Mailing List

RE : RE : Orthognal OGNL!

2007-07-09 Thread Ezequiel Puig
Have you tryed #yourproperty ? If that doesn't work, can you send your code ? Ezequiel. -Message d'origine- De : Big Stick [mailto:[EMAIL PROTECTED] Envoyé : lundi 9 juillet 2007 15:05 À : Struts Users Mailing List Objet : RE: RE : Orthognal OGNL! But it's a property on the Action!

RE : Embedded s:iterator/ problem

2007-06-12 Thread Ezequiel Puig
Hi, You can try: s:iterator value=destObjects tr s:iterator value=visibleColumns td s:property value=fieldDefName / /td /s:iterator /tr /s:iterator Ezequiel. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mardi 12 juin

Re: OGNL question

2007-06-11 Thread Ezequiel Puig
A bit late, but just for info, i think you can do that by using the status: s:iterator value=type status=stat tr td s:url id=url%{#stat.index} action=Variables s:param name=typeId value=id/s:param /s:url s:a id=tipo${module}%{id}

[s2] include an external file

2007-06-11 Thread Ezequiel Puig
Hi, There is a way to use the s :include tag to include a file that is another application ?? What i want to do is something like that: s:include value=http://.mycompany.org/myJsp.jsp; The problem is that the tag tries to find the value inside the webapp. Ezequiel

RE : S2 - parameter passing (newbie) question

2007-06-11 Thread Ezequiel Puig
Take a look at: http://struts.apache.org/2.x/docs/tag-syntax.html There you can read value is an Object !. So, you have to use the param tag like that: s:param name=param value=%{'666'}/ if you do s:param name=param value='666'/ the tag tries to find a property named get666, that probably

[s2] Collection, array and s:url tag.

2007-06-06 Thread Ezequiel Puig
Hi, I have been using struts 2 since a while and there is some things about the s:url tag i don't understant. Let's say we have an array in our action (with the getters and setters): private String[] myArray; public String[] getMyArray() { return myArray; }

RE : [s2] Collection, array and s:url tag.

2007-06-06 Thread Ezequiel Puig
and the value (toString() of the value) as the value of course. //I used to think that you could use an iterator tag inside a url tag, but that doesn't work musachy On 6/6/07, Ezequiel Puig [EMAIL PROTECTED] wrote: Hi, I have been using struts 2 since a while and there is some things

[s2] How to use s:hidden

2007-04-12 Thread Ezequiel Puig
Hi, I am trying to use the s:hidden tag but i am having some problems. What i want to do is to fill the hidden tag with an array that I create using Javascript. My code: * In the jsp part i have this: a href=s:url action=Compare.do includeParams=get/s:url onclick=return