You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Steve Chan <sc...@powersteeringsoftware.com> on 2005/09/08 22:27:32 UTC

LinkSubmit problem in contrib:Table

About a month ago I had a problem in that I had to remove the column
header sorting html out of the table.  It turned out that it was because
that LinkSubmit could not take an image as that causes the form rewind
to fail.

 

In
contrib/src/java/org/apache/tapestry/contrib/table/components/inserted/S
impleTableColumnFormComponent.html I changed

From: 

<span jwcid="condSorted">

      <table border="0" cellspacing="0" cellpadding="0" align="center">

      <tr>

      <td><a jwcid="linkColumn"><span
jwcid="insertSortedColumn"/></a></td>

      <span jwcid="condSort"><td>&nbsp;<span jwcid="imageSort"
align="center"/></td></span>

      </tr>

      </table>

</span>

 

To: 

<span jwcid="condSorted">

      <a jwcid="linkColumn">

<span jwcid="insertSortedColumn"/>

<span jwcid="condSort">&nbsp;<span jwcid="imageSort"/></span>

      </a>        

</span>

 

which caused a stale link exception when the sort link was clicked.  But
when I did

<span jwcid="condSorted">

      <a jwcid="linkColumn">

<span jwcid="insertSortedColumn"/>

      </a>

      <span jwcid="condSort">&nbsp;<span jwcid="imageSort"/></span>


</span>

 

ie moving the image out of the linksubmit (linkColumn is a LinkSubmit
component), its fine.  So a while back I searched JIRA

and found http://issues.apache.org/jira/browse/TAPESTRY-434 which seemed
like my problem but with an If component instead of an image.

I just want to know if this is the same issue.  If not I can enter this
into JIRA. Also any idea when this issue might be fixed.  I confirmed
with beta 6 that

this problem is still present (JIRA still lists it as unresolved).

 

Thanks,

steve