Burton Rhodes wrote:
fieldValue="%{notificationID}"
onclick="%{'javascript:markNotification('+#stat.index+');'}"/>
-Dale
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h.
Does %{#stat.index} not work?
On 4/12/10, lucas owen wrote:
> Hi Struts users:
>
> I'm wondering if it would be possible to pass status.index attribute of
> s:iterator to a javascript function.
> Something like this:
>
>
>
>
>
>
>
>
> "%{notificationID}"* onclick=*"javascript:markNotification
I have a problem of running the example:
http://www.vaannila.com/struts-2/struts-2-example/struts-2-iterator-tag-example1.html
JSP is:
Title Genre
true">oddeven">
View sources, only see:
Title
Genre
Codes under itera
Prints:
2
3
4
5
6
7
8
9
it seems to work fine.
On Wed, Nov 4, 2009 at 1:35 PM, Volker Karlmeier wrote:
> With 2.1.8, you can use
>
>
> ...
>
>
> But it still has a bug: see http://issues.apache.org/struts/browse/WW-3314
>
> Regards
>
> Volker
>
> Am 04.02.2009 16:04, schrieb Igna
With 2.1.8, you can use
...
But it still has a bug: see http://issues.apache.org/struts/browse/WW-3314
Regards
Volker
Am 04.02.2009 16:04, schrieb Ignacio de Córdoba:
Hi there,
I've checked struts2 docs and this forum and have found no inside syntax for
s:iterator tag to do:
Examples i
Rene Gielen wrote:
http://struts.apache.org/2.1.6/docs/tabular-inputs.html
In addition (it's on my infinite list of things I have no time for)
AFAIK if there are multiple parameters with the same name and a
collection property (like a List) they'll be marshalled into the list
automagically w
http://struts.apache.org/2.1.6/docs/tabular-inputs.html
cm132005 schrieb:
When the Edit is submitted, the aId passed in is actually a String of comma
separated aIds of all aVOs. The requirement is such that I need to use the
same for
Great! Thanks a lot for this, it was needed.
Musachy Barroso wrote:
>
> Ok, here is the Jira ticket:
>
> https://issues.apache.org/struts/browse/WW-2984
>
> I committed the changes to the iterator tag, here is how it works: New
> attributes "begin", "end" and "step" were added. They can be us
Ok, here is the Jira ticket:
https://issues.apache.org/struts/browse/WW-2984
I committed the changes to the iterator tag, here is how it works: New
attributes "begin", "end" and "step" were added. They can be used by
themselves, or with List and Arrays, like:
...
...
...
Things to consider
Martin Gainty wrote:
Where is the upside down question-mark key???
˙ɔɐɯ ǝɥʇ uo ¿-ʇɟıɥs-ʇdo ǝɥʇ s,ʇı
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.o
I agree with you, I don't use JSTL at all except forEach because of
the few limitations of the iterator tag. I will take a look at it.
regards
musachy
On Wed, Feb 4, 2009 at 9:45 PM, Ignacio de Córdoba wrote:
>
> Hi,
> thanks for your reply.
> Well... I have to iterate through a collection acces
We have it standard in spanish keyboards close to the downside up one :-)
Wes Wannemacher wrote:
>
> On Wednesday 04 February 2009 23:05:06 Martin Gainty wrote:
>> Dave and Crew
>>
>> Where is the upside down question-mark key???
>>
>
> It's ALT-F4
>
> :)
>
> -Wes
>
> --
>
> Wes Wannemach
On Wednesday 04 February 2009 23:05:06 Martin Gainty wrote:
> Dave and Crew
>
> Where is the upside down question-mark key???
>
It's ALT-F4
:)
-Wes
--
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/
Sender does not
endorse distribution to any party other than intended recipient. Sender does
not necessarily endorse content contained within this transmission.
> Date: Wed, 4 Feb 2009 21:28:03 -0500
> From: newton.d...@yahoo.com
> To: user@struts.apache.org
> Subject: Re: s:ite
Hi,
thanks for your reply.
Well... I have to iterate through a collection accesible in a struts2
Action. I can make that object visible to the page/request scope and then
access it from JSTL ; in fact I am doing that for dynamic images
as strugs2 has no IMG tag to use OGNL directly. Very painful w
Ignacio de Córdoba wrote:
Hi there,
I've checked struts2 docs and this forum and have found no inside syntax for
s:iterator tag to do:
Examples in docs just show how to count from 1 to 5 ¿? I'd like to avoid
counting and using indexed property to access an iterator. The last example
in docs doe
I managed to make it work by acessing the ArrayList.iterator() method.
That is, I had to create another class member of the type Iterator,
create getters and setters for it, and the use that member in the
.jsp.
On 8/9/07, Marcos Mendonça <[EMAIL PROTECTED]> wrote:
> Yes, I did. ArrayList has somet
Yes, I did. ArrayList has something in it.
I managed to print it's size and log the file name, the one I'd like
to print with the JSP.
On 8/9/07, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Marcos Mendonça wrote:
> > I have an action that generates an ArrayList of the
> > files in a given direct
--- Marcos Mendonça wrote:
> I have an action that generates an ArrayList of the
> files in a given directory.
Do you know that it's generating a list with any files
in it (determine via logging for the most complete
information or put something else in the
loop as a quick sanity check)?
d.
The simplest thing is to expose the vproperty through the Action
class, and the tag will find it there automatically. That way the tag
doesn't need to know anything about scopes.
So, on the Action place a property that obtains the value from
application scope. The MailReader application does this
20 matches
Mail list logo