If i use only textlink in actionLink property instead of button, all works
fine also in IE6.

Good luck M$ and ie6!


Argo

2008/10/24 Argo Vilberg <[EMAIL PROTECTED]>

> hi,
>
>
> I use tapestry actionlink with GRID.
> Actionlink works fine with firefox, but do not with ie6.
>
> What a bug?
>
>
>
>     <t:if test="fileList">
>      <t:form t:id="signform">
>           <t:grid
>            source="fileList" rowsPerPage="7" pagerPosition="bottom"
>
>   include="choosen,failinimi,suurus,isikunimi,loodud,valitud,valitud2"
>            t:rowClass="prop:evenodd.next"
>            row="fail">
>
>            <t:parameter name="choosenCell">
>         <t:parameter name="choosenCell">
>          <t:checkbox value="fail.choosen"/>
>         </t:parameter>
>            </t:parameter>
>            <t:parameter name="valitudCell">
>          <a t:type="actionlink" t:id="download" t:context="${fail.id}"
> href="#"><button type="submit"
> class="submitbuttontable">Download</button></a>
>
>            </t:parameter>
>            <t:parameter name="valitud2Cell">
>          <a t:type="actionlink" t:id="sign" t:context="${fail.id}"
> href="#"><button type="submit" class="submitbuttontable">Anna
> allkiri</button></a>
>            </t:parameter>
>           </t:grid>
>           <t:submit class="submitbutton" t:id="signfiles" t:value="Anna
> allkiri valitud failidele" />
>      </t:form>
>      <t:parameter name="else">
>       <br></br>
>       Ei leitud ühtegi faili!
>      </t:parameter>
>     </t:if>
>
>
>
>
>
>  Object onActionFromDownload(String name) {
>   System.out.println("onFormSubmit.donwload=true");
>   Long failId = new Long(name);
>   System.out.println("onSubmit.failId="+failId);
>   if (failId!=null) {
>    System.out.println("failId="+failId);
>           DbFile dbFile =
> ImageDB.INSTANCE.loadImage(failId.longValue(),getUser().getRole().getRoleId(),getUser().getIdcode());
>    InputStream in = new ByteArrayInputStream(dbFile.getFileData());
>           return new
> AttachmentStreamResponse(in,dbFile.getFileName());
>          } else {
>           System.out.println("onFormSubmit return null");
>           return null;
>          }
>  }
>
>
> How to solve this problem?
>
>
> Argo
>
>

Reply via email to