On Tue, Feb 22, 2011 at 12:26 PM, Jainitya wrote:
> [JSP]
Would it be possible for you to only include the actual stuff that
matters? Editing stuff down is really helpful for people trying to
focus on what's actually wrong.
1) http://struts.apache.org/2.x/docs/selecting-themes.html
You may be ab
hi Dave
I have updated my JSP as per your suggestion but still the issue is same.
updated JSP
First and foremost, I'd try to make cleaner the iterator definition:
On 22 February 2011 17:21, Jainitya wrote:
>
> Hi
> I am also a newbie in struts 2 ,I dont know how to use this forum so
> replying on this thread.
> I also have lookalike problem with Iterator tag
> My JSP is
>
>
On Tue, Feb 22, 2011 at 11:21 AM, Jainitya wrote:
> I am also a newbie in struts 2 ,I dont know how to use this forum
http://struts.apache.org/mail.html
>
>
> theme="simple"
> name="selllog[%{#selllog.index}].idSellLog"/>
FWIW, I'm not sure this is valid
Hi
I am also a newbie in struts 2 ,I dont know how to use this forum so
replying on this thread.
I also have lookalike problem with Iterator tag
My JSP is
Something like this:
2008/9/10 amolbehl <[EMAIL PROTECTED]>:
>
> Hi I am trying to display a ArrayList of lists using struts2 iterator tag.
>
>
> private void dataReady(){
> for (int itr = 0; itr < this.HOURS; itr++) {
> tempList = new Array
Try the following:
Hope it helps!
BGE Ger wrote:
>
> Hello,
> I'm struts(2) newbie and I need some help for the iterator tag.
> How can I access to an updated list in the action class?
> My JSP looks like:
>
>
>
>
>value="%{destination}"/>
>
The only syntax difference I see is you should put #stat.index rather than
stat.index so it looks like
descList) in your action.
BGE Ger wrote:
>
> Hi Laurie, thank you for help!
>
> you are right that's what I want: to push back the updated fields into the
> list.
> And then I want access th
Hi Laurie, thank you for help!
you are right that's what I want: to push back the updated fields into the
list.
And then I want access the updated fields in the update action class .
I think maybe there is somesthing wrong in my tag syntax? I found out that I
must use "{}" instead of "[]" which i
BGE Ger wrote:
Hello,
I'm struts(2) newbie and I need some help for the iterator tag.
How can I access to an updated list in the action class?
My JSP looks like:
value="%{category}" />
value="%{source}" />
value="%{text}"/>
I'm not sure what you mean by a 'submit in each row' but if you want to
push data back into the list then yes, you need the index in the input's
name as you have.
L.
BGE Ger wrote:
thank you for the answer!
But I've read, if I want to change the complete list with the submit
action. I
...thank you for the answer!
But I've read, if I want to change the complete list with the submit
action. I must use the list index.
If I make a submit in each row I can use "destination" syntax.
Isn't it right?
Jim Kiley wrote:
>
> For starters, you can simplify things a lot by changing y
For starters, you can simplify things a lot by changing your syntax from:
name="descList[%{stat.index}].destination"
to just:
name="destination"
The iterator tag pushes descList[index] onto the OGNL stack in every
iteration, so you can refer to its attributes directly.
jk
On Thu, Jul 3, 2008
13 matches
Mail list logo