I just found it. Thank you every one.
I just modified this:
<s:a onclick="submit();" href="javascript://">
to
<s:a onclick="parentNode.submit();" href="javascript://">
I added the "parentNode".
__
Mansour wrote:
> I am using table tag and I want some of the records to appear as a
> link and to submit onClick. I am sure I am missing something. Here's a
> piece of the code:
>
> <tt:table value="accountsList" >
> <tt:column title="Account Name" >
> <s:form action="getAccountById">
> <s:hidden name="id"/>
> <s:a onclick="submit();" href="javascript://">
> <s:property value="firstName" />
> <s:property value="lastName" />
> </s:a>
> </s:form>
> </tt:column>
> <tt:column title="email">
> <s:property value="id" />
> </tt:column>
>
>
>
> can any one help ? Any idea?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)