--- On Mon, 7/28/08, holod <[EMAIL PROTECTED]> wrote:
> [...] but I want to set id attribute for them:
> <tr id="MyGeneratedRow0">some content</tr>
> [...]
> 
> I use this code:
> <s:iterator value="lawDraft.docs" id="doc" status="document">
>      <s:param name="rawMainDocIdParam"
> value="attachedMainDocRow<s:property
> value="document.index"/>"/>

That's not valid JSP; you can't nest tags like that.

> Any suggestions, please, can't understand mistake.

That's not what <s:param...> is for; it's for parameterizing other tags.

<tr id="foo<s:property value="#status.index">">bar</tr>

You could use <s:set...> to create the ID if you don't want to create it 
on-the-fly.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to