You are right.There is nothing
tapestry could do,it's IE's issue.I have to process this problem in my
bussiness code
Thanks!
Hi Jesse:
Do you use the TableView
component? I use it for paging result.It could display first page
normally.But when I click next page,it throws exception:
Stack Trace: | |
|
My code is:
<table jwcid="@contrib:TableView" align="center" source="ognl:modaltest" pageSize="4" columns="id,threadTitle,threadType,threadViewed,threadCtime,threadLastPost,!developer.id:Author:developer.devName" >
<tr>
<span
jwcid="@contrib:TableColumns" />
</tr>
<tr jwcid="[EMAIL PROTECTED]:TableRows"
class="ognl:beans.rowClass.next">
<td
align="left">
<span jwcid="@Insert"
value="ognl:components.tableRows.tableRow.id"
/>
</td>
<td align="right">
<a href=""
jwcid="@DirectLink" listener="listener:getThreadDetail"
parameters="ognl:components.tableRows.tableRow.id">
<span jwcid="@Insert"
value="ognl:components.tableRows.tableRow.threadTitle"
/>
</a>
</td>
<td
align="right">
<span
jwcid="@Insert" value="ognl:components.tableRows.tableRow.threadType"
/>
</td>
<td align="right">
<span
jwcid="@Insert" value="ognl:components.tableRows.tableRow.threadViewed"
/>
</td>
<td
align="right">
<span
jwcid="@Insert" value="ognl:components.tableRows.tableRow.threadCtime"
/>
</td>
<td
align="right">
<span
jwcid="@Insert" value="ognl:components.tableRows.tableRow.threadLastPost"
/>
</td>
<td align="center" >
<img
jwcid="@Image" width="110" border="0"
image="ognl:components.tableRows.tableRow.developer.imageAvatorAsset"/><br/>
<span jwcid="@Insert"
value="ognl:components.tableRows.tableRow.developer.devName"
/>
</td>
</tr>
<tr>
<td colspan="4"
class="tablePages">
<span jwcid="[EMAIL PROTECTED]:TablePages"/>
</td>
</tr>
</table>
Is there any wrong with my code ?
From: "Jesse Kuhnert" <[EMAIL PROTECTED]>
Reply-To: "Tapestry users" <users@tapestry.apache.org>
To: "Tapestry users" <users@tapestry.apache.org>
Subject: Re: Is it a bug in IUploadFile component?
Date: Mon, 7 May 2007 01:16:23 -0400
>They return different values - it's completely up to the browser
>what to
>send.
>
>http://opencomponentry.com:8080/workbench/Upload,$Border.pageLink.sdirect?sp=SUpload
>
>Firefox/ other browsers have this crazy idea that sending the local
>filesystem path is a security vulnerability while ie is happy to
>send
>everything. So - it's expected behavior and there's nothing anyone
>can do
>about it.
>
>On 5/7/07, li li <[EMAIL PROTECTED]> wrote:
>>
>>Hi everyone:
>>
>> It seem that there is a bug in IUploadFile component in
>>Tapestry. The
>>"IUploadFile.getFileName()" and "IUploadFile.getFilePath()" return
>>the
>>same value! My code is:
>>
>>private String processUploadFile(IUploadFile file){
>>
>> log.debug("############ Get upload File: "+getUploadFile());
>> String returnPath=null;
>> if (getUploadFile() != null) {
>> log.debug("############ Get upload getFileName:
>>"+getUploadFile().getFileName());
>> log.debug("############ Get upload getFilePath:
>>"+getUploadFile().getFilePath());
>>
>>The "getFileName" and "getFilePath" all return
>>"D:/images/test/test.jpg"!
>>
>>But if I deploy the tapestry app in windows,there is no problem.If
>>the
>>tapestry run in Linux(Suse),the getFileName return wrong value. How
>>to fix
>>it?
>>
>>
>>
>>------------------------------
>> 使用 MSN Messenger <http://g.msn.com/8HMBCNCN/2737??PS=47575>
>>与联机的朋友进行交流
>>---------------------------------------------------------------------
>>To
>>unsubscribe, e-mail: [EMAIL PROTECTED] For
>>additional
>>commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>--
>Jesse Kuhnert
>Tapestry/Dojo team member/developer
>
>Open source based consulting work centered around
>dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
使用世界上最大的电子邮件系统― MSN Hotmail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]