You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mu Mike <mi...@hotmail.com> on 2004/03/12 04:15:39 UTC

asking for help about indexed properties

I have the follow in a jsp file

  <html:form action="indexedtest5.do">
   <logic:iterate name="stringbean" property="stringArray" id="foo"
                  indexId="ctr">
     (QUESTION: WHAT DO name,property,id,indexId MEAN HERE? WHAT VALUES CAN 
I SET TO THEM?)

    <html:text name="stringbean"
               property='<%= "labelValue[" + ctr + "].label" %>' />
     (QUESTION: WHAT DO name,property  MEAN HERE? WHAT VALUES CAN I SET TO 
THEM?)

   </logic:iterate>
   <html:submit property="submitValue">Submit Changes</html:submit>
  </html:form>

I searched online about the meaning of these properties only fail to find 
any clear descritpions, the api of struts says little about them, can 
anyone tell me the meanings of them? 

by the way, for this jsp file ,can any one give me the related bean files 
that can be used in it?

Thanks&Regards

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: asking for help about indexed properties

Posted by Lenny Sorey <lr...@fatdot.com>.
On Thu, 11 Mar 2004 21:08:23 -0800, Michael McGrady wrote:

>http://jakarta.apache.org/struts/faqs/indexedprops.html
>
>At 07:15 PM 3/11/2004, you wrote:
>>I have the follow in a jsp file
>>
>>  <html:form action="indexedtest5.do">
>>   <logic:iterate name="stringbean" property="stringArray" id="foo"
>>                  indexId="ctr">
>>     (QUESTION: WHAT DO name,property,id,indexId MEAN HERE? WHAT VALUES 
>> CAN I SET TO THEM?)
>>
>>    <html:text name="stringbean"
>>               property='<%= "labelValue[" + ctr + "].label" %>' />
>>     (QUESTION: WHAT DO name,property  MEAN HERE? WHAT VALUES CAN I SET TO 
>> THEM?)
>>
>>   </logic:iterate>
>>   <html:submit property="submitValue">Submit Changes</html:submit>
>>  </html:form>
>>
>>I searched online about the meaning of these properties only fail to find 
>>any clear descritpions, the api of struts says little about them, can 
>>anyone tell me the meanings of them?
>>by the way, for this jsp file ,can any one give me the related bean files 
>>that can be used in it?
>>
>>Thanks&Regards
>>
>>_________________________________________________________________
>>ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  http://messenger.msn.com/cn
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP SDK 3.0

mQGiBEAClqERBADeE/tHvN70Bkf9PhQ/WiouqfbXKLeQKQ0baG/FWrbmvOzhcHg7
huljwUY0KuxkdZH0Hdgfn0YPh44A0C/lKTPAzoXhy6ANHx4A0szhu74M2tbRunFS
74wNHQhEPFq9B6gRCYzKyk1GYBQGjTBPtWztgNdC5VxcLDNS36RLZmLEIQCg/4Tb
vDfmEkH4P4QrzCqcKNCmTG8EAJZzv4z+wukdzJV8Vkx+c3dxWLx+S1tfTn/BH0U4
VVPn7S73p77PY7ziuIR4t8mBfUmm1TvW2LDEb0zcJo6BOVr0iADOAhNkHtahIBFv
uoyF9OQksH8o5pTbR6hTqXjIQZAZDKk3MI4jnGF7kc0cplgN6MNh1yplc+4lwkP5
HSTUBAC/UGkVxa1HTG1FSnCP0Ln8M85Pp7Z2liZRpuJmxQLbLq0Qb87+OlDP6ciV
2+X1GTrHVfT4JzAbDHBKN0DPUmiZ1kRtiT0SxkCQ+DiyjNKNrC+rLyODZouKUnWk
8Nk07fTf62nBl/9PQCL5hWJbVHSjXQdzeJgK3GcTC1YILfhwJ7QgTGVubnkgU29y
ZXkgPGxyc29yZXlAZmF0ZG90LmNvbT6JAF0EEBECAB0FAkAClqENCwMCATA0OEOJ
AAAA4AIZAQUbAwAAAAAKCRDmL6PAFcSh0XUGAKCsOdUe81UztypXUwLLBqC1FP/n
rACgtY34ocZm19ODpmuCdQrllJOOgOi5Ag0EQAKWoRAIAPZCV7cIfwgXcqK61qlC
8wXo+VMROU+28W65Szgg2gGnVqMU6Y9AVfPQB8bLQ6mUrfdMZIZJ+AyDvWXpF9Sh
01D49Vlf3HZSTz09jdvOmeFXklnN/biudE/F/Ha8g8VHMGHOfMlm/xX5u/2RXscB
qtNbno2gpXI61Brwv0YAWCvl9Ij9WE5J280gtJ3kkQc2azNsOA1FHQ98iLMcfFst
jvbzySPAQ/ClWxiNjrtVjLhdONM0/XwXV0OjHRhs3jMhLLUq/zzhsSlAGBGNfISn
CnLWhsQDGcgHKXrKlQzZlp+r0ApQmwJG0wg9ZqRdQZ+cfL2JSyIZJrqrol7DVeky
CzsAAgIH/R+ctSJOUSBUfJ4e2q+VAESrSy4iu1QMLY0KeU5jR3BlayXPw/N5i9z2
7biYjoPAMqZq2Cq9hrPgpNixP9tOnJxSRYQ1W26nXTGYLRZnJRQOjfxD2ZiHIFzO
A03fGk6YjmTq71cc9LQSR4RxO0Lb02/whqndyugli59bAeL/g4WDNKh1SdfIB8z7
KdAbS0NIFV2Ncluoj1pUywqzHKrJ9Ckxj2esBAhV7FN4D6o6upY7NfCde0NxhsCP
NzhyFgUcVstDnCyvPaDi4CtODMAohLHM2uDWvUpkm/Di/M+uvWMf0U+3b8BlBz/i
ro+Ya29HpXFlSaYdjDaN59ssZuFlo7uJAEwEGBECAAwFAkAClqEFGwwAAAAACgkQ
5i+jwBXEodEsRgCfbDiOdvtHdFmjeQBt+9qHv1i0oW0An2Wx3POznsfG9o7++FuR
E9FPi8V6
=Wjdw
-----END PGP PUBLIC KEY BLOCK-----




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: asking for help about indexed properties

Posted by Michael McGrady <mi...@michaelmcgrady.com>.
http://jakarta.apache.org/struts/faqs/indexedprops.html

At 07:15 PM 3/11/2004, you wrote:
>I have the follow in a jsp file
>
>  <html:form action="indexedtest5.do">
>   <logic:iterate name="stringbean" property="stringArray" id="foo"
>                  indexId="ctr">
>     (QUESTION: WHAT DO name,property,id,indexId MEAN HERE? WHAT VALUES 
> CAN I SET TO THEM?)
>
>    <html:text name="stringbean"
>               property='<%= "labelValue[" + ctr + "].label" %>' />
>     (QUESTION: WHAT DO name,property  MEAN HERE? WHAT VALUES CAN I SET TO 
> THEM?)
>
>   </logic:iterate>
>   <html:submit property="submitValue">Submit Changes</html:submit>
>  </html:form>
>
>I searched online about the meaning of these properties only fail to find 
>any clear descritpions, the api of struts says little about them, can 
>anyone tell me the meanings of them?
>by the way, for this jsp file ,can any one give me the related bean files 
>that can be used in it?
>
>Thanks&Regards
>
>_________________________________________________________________
>ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  http://messenger.msn.com/cn
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org