is there any syntactical construct that will allow me to do the
following (in v2.0.14):

    <s:iterator value="somelist" status="rowstatus">
       <s:push value="#rowstatus" />      <!-- just for convenience -->
          <div>
             <s:url id="link-%{count}" action="doSomething">
                <s:param name="count" value="%{count}" />      <!-- just
for example -->
             </s:url>
             <s:a href="what the hell goes here???">
                    click for count #<s:property value="count" />
             </s:a>
          </div>
       </s:push>
    </s:iterator>

    i want unique URL references for each iteration over the list.  the
above is a dumbed-down version of what i typically want to do, which
would be to have a form that applies to the data of that row, and have a
set of action buttons to apply to that row, e.g., edit the item, add it
to inventory, publish it, etc.

    i've tried a wide array of syntactical structures, but none of them
seem to handle the double-dereference.  the closest i've gotten was
something that looked like "[current URL]/link-3" as the URL.  i've
tried using <s:push>, <s:set>... nada.

    anyone know the secret arcane formula to use?  (musachy, david,
martin, i'm looking in your direction!)   i've got the bucket of goat's
blood standing by...

    TIA.

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

Reply via email to