How to set value of @Option component

2007-05-08 Thread li li
Hi everyone: I use the @Select component to build a select list.I want to render the option's value myself.  Tapestry4 render the option to test0 test1 test2 But what I want is the following: test0 test1 test2I mean that I want to define  the value of option . Someone know how to do it?

RE: tapestry throws exception when paging?

2007-05-07 Thread li li
hi Marcus.Schulte , You are right! Now it works property. however I  don't know why to set the datamodal to persist in page. I mean that if I want to display a list in page,need I have to set the resultSet persist to "session" ?   From: <[EMAIL PROTECTED]>Reply-To: "Tapestry users" To: Subje

Re: Is it a bug in IUploadFile component?

2007-05-06 Thread li li
ea 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:>&g

Is it a bug in IUploadFile component?

2007-05-06 Thread li li
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(

tapestry throws exception when paging?

2007-05-06 Thread li li
Hi everyone:    I want to use tapestry's Table . But when I click the next page's link,tapestry throws exception: org.apache.hivemind.ApplicationRuntimeException Either the tableModel parameter or both source and columns parameters must be specified by component Home/$TableView Stack Trace:

How to use another page's listener method?

2007-05-06 Thread li li
hello everyone:     I want to know if tapestry4 could reuse one listener method in many pages. I have a page A and page B.Page "B" have a listener method "getDetail(String id)". I want to invoke this listener method in page "A". Is it possible to invoke page B's listener method in page A.  I me

How to get parameter by parameter name?

2007-05-05 Thread li li
hi everyone: I have a list in home page. I want to forward to detail page when I click title . So I write the code: parameters="ognl:components.tableRows.tableRow.id"> value="ognl:components.tableRows.tableRow.threadTitle" /> In ThreadDetail page,what is the parameter name?

Re: How to display html in Table component?

2007-05-05 Thread li li
rg/viewvc/tapestry/tapestry4/trunk/tapestry-contrib/src/java/org/apache/tapestry/contrib/services/impl/RoundedCornerService.java?view=markup>>On 5/6/07, li li <[EMAIL PROTECTED]> wrote:>>>>The column image is fetch from database,not only in locale. :(>>>&g

Re: How to display html in Table component?

2007-05-05 Thread li li
thing like this in your>page/component:>>public IAsset getDeveloperAsset(Developer dev)>{> return new ExternalAsset(dev.getDevImage(), this.getLocation());>}>>Not exactly the prettiest feeling way to do it but >>Of courseif it's really just a local context

Re: How to display html in Table component?

2007-05-05 Thread li li
MAIL PROTECTED]>* Reply-To: *"Tapestry users" * To: *"Tapestry users" * Subject: *Re: How to display html in Table component?* Date: *Sat, 5 May 2007 23:17:48 -0400* >http://tapestry.apache.org/tapestry4.1/components/general/insert.html > >Set the "raw" paramete

Re: How to display html in Table component?

2007-05-05 Thread li li
component?Date: Sat, 5 May 2007 23:17:48 -0400>http://tapestry.apache.org/tapestry4.1/components/general/insert.html>>Set the "raw" parameter to true , as in:>>>raw="true" />>>On 5/5/07, li li <[EMAIL PROTECTED]> wrote:>>>>

How to display html in Table component?

2007-05-05 Thread li li
hi everyone:   Could Contrib:Table component display HTML code? I want to display some HTML code in Tapestry4's Table component.How to do it?  For example,I want to display a red font in table,but when table rendered,it will escape these HTML code to plain text. So I couldn't display some html

Re: I want to use httpSession,but don't use hivemind?

2007-05-05 Thread li li
I want to use HttpSession,not SessionBean(EJB).  I don't want to use httpRequest in my page class.It will make my class difficult to unit Test. 离人网 From: "王文楠" <[EMAIL PROTECTED]>Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: I want to use httpSession,but don't use hivemind?Da

Re: I want to use httpSession,but don't use hivemind?

2007-05-05 Thread li li
t; Subject: Re: I want to use httpSession,but don't use hivemind?Date: Fri, 4 May 2007 17:31:13 -0700>Howdy!>>Is there a reason that you're leaving out Hivemind? If not, I can >show a>fairly simple way of injecting an Application State Object (ASO) >that can>contain

I want to use httpSession,but don't use hivemind?

2007-05-04 Thread li li
Hi friends:   I use Tapestry4.0.2. I find that the "getVisit" is deprecated. So I don't want to use it. I develope a web application.After user logon,I will store "userinfo" in httpsession.The "userInfo" could be used in many pages. So I need have to use httpsession. I mean that I couldn't use

Re: Specify where to find the HTML templates

2007-04-21 Thread li li
I think it is nessesary to put all *.page file in one folder,for example: WEB-INF/pages/. It will very convinent to do this. 离人网 From: "Howard Lewis Ship" <[EMAIL PROTECTED]>Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: Specify where to find the HTML templatesDate: Sat, 21 Ap

Re: Does tapestry5 don't support jdk1.4

2007-04-18 Thread li li
09:37:51 -0400>Nope, one of the results being that configuration can be done in >Java code,>as opposed to XML.>>Two big thumbs up from me ;-)>>>On 4/17/07, li li <[EMAIL PROTECTED]> wrote:>>&

Re: Does tapestry5 don't support jdk1.4

2007-04-18 Thread li li
esults being that configuration can be done in >>Java code,>>as opposed to XML.>>>>Two big thumbs up from me ;-)>>>>>>On 4/17/07, li li <[EMAIL PROTECTED]> wrote:>> >>> > Does

Re: Tapestry 5 Redirects

2007-04-17 Thread li li
Hi friends: Could you tell me how to unsubscribe the tapestry user maillist? 离人网 From: "Alexandru Dragomir" <[EMAIL PROTECTED]>Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: Tapestry 5 RedirectsDate: Tue, 17 Apr 2007 12:34:28 +0200>I might be wrong (i haven't worked with pho

Does tapestry5 don't support jdk1.4

2007-04-17 Thread li li
Does tapestry5 don't support jdk1.4?! 离人网 From: "xu yiwei" <[EMAIL PROTECTED]>Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: Does T5.0.3 support chinese??Date: Sun, 15 Apr 2007 21:05:54 +0800>I wrote a *.properties using the UTF-8 encoding;>then i use the ${message:*} to dis

Re: T5 + Jetty + Hibernate

2007-02-26 Thread li li
don't send email to me again and again! I unsubscribe from tapestry.org ,but I remain receive one  hundred emails even more  from tapestry! 离人网 From: "James Carman" <[EMAIL PROTECTED]>Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: T5 + Jetty + HibernateDate: Mon, 26 Feb 2007

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-25 Thread li li
Why send me so much  email day by day? How to unsubscribe the tapestry mail list? 离人网 From: Rowland Smith <[EMAIL PROTECTED]>Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: How to setup 4.1 MAVEN2 snapshotDate: Fri, 25 Aug 2006 16:10:39 -0400>It would really be sweet if you co