Re: Is it a bug in IUploadFile component?

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

Re: Is it a bug in IUploadFile component?

2007-05-06 Thread Jesse Kuhnert
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

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:

Re: Tap4 IEngineService & IAsset issues

2007-05-06 Thread Josh Long
Hi, The trick is to just pass in the parts that the service needs to get whatever is you need, like you mentioned, the id. http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-archetype/src/main/resources/archetype-resources/src/main/java/services/RoundedCornerService.java?view=markup

Re: starting point for ajax with dojo and tapestry 4.1?

2007-05-06 Thread Josh Long
Umm... I may be a little late to the party, but if you're interested in getting a working ajax example up and running as well as a working tapestry setup, and all the dependencies, you might try the Tapestry 4 archetype.. http://tapestry.apache.org/tapestry4.1/tapestry-archetype/index.html Actua

Re: Where is the Path annotation

2007-05-06 Thread Joshua Jackson
Thanks everyone. I will update my tapestry now to 5.0.4 :) Regards, josh On 5/6/07, Robert Zeigler <[EMAIL PROTECTED]> wrote: Hi Josh, the Path annotation was introduced post 5.0.3; the online docs reflect the bleeding edge. For 5.0.3 and prior, passing a string parameter (the path to your as

Re: T5: Shell Component

2007-05-06 Thread Juan Maya
sorry..I was trying to find this under the component docs. Just in case somebody else is wondering how to do it i found the solution in http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html Thanks On 5/6/07, Juan Maya <[EMAIL PROTECTED]> wrote: Hello everyone, I have been s

T5: Shell Component

2007-05-06 Thread Juan Maya
Hello everyone, I have been searching on the mailing list and the online documentation but i haven't been able to simulate the Shell component in Tapestry 5. Any help will be appreciated.

Re: EventListener fails to update PropertySelection in IE

2007-05-06 Thread Jesse Kuhnert
Try updating your tapestry version to 4.1.2. This works fine for me there. On 5/6/07, RobertSchreiber <[EMAIL PROTECTED]> wrote: Dear Tapestry specialists, I have 2 corresponding PropertySelections in my page. In Firefox everything works like expected. As soon as I select a species in Prope

EventListener fails to update PropertySelection in IE

2007-05-06 Thread RobertSchreiber
Dear Tapestry specialists, I have 2 corresponding PropertySelections in my page. In Firefox everything works like expected. As soon as I select a species in PropertySelection 'speciesSelect' the corresponding 'breedSelect' gets updated. In Internet Explorer 6/7 I have to update the whole form

EventListener

2007-05-06 Thread RobertSchreiber
-- View this message in context: http://www.nabble.com/EventListener-tf3700806.html#a10348918 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: using a JSONResponseBuilder (JSON requests/response in tapestry components)

2007-05-06 Thread Martino Piccinato
thnx Jesse, I'll look better at the AutoCompleter. But what if I want to use a json request in a client validator? Think about a javascript validator making a request to see if an item with the same code was already inserted making a simple json request to the server, I guess in that case I should

Re: T5: Same event from multiple components

2007-05-06 Thread Howard Lewis Ship
Yes, the extra method is not bad, though I'm not too happy with the URL itself (T5 URLs are approaching what a handle-tooled RESTful URL would look like). But as an action request URL, it's somewhat transitory. On 5/6/07, Tim Sawyer <[EMAIL PROTECTED]> wrote: Thanks for that - that's where I en

Re: using a JSONResponseBuilder (JSON requests/response in tapestry components)

2007-05-06 Thread Jesse Kuhnert
Implement IJSONRender on a component. http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/form/Autocompleter.java?view=markup On 5/6/07, Martino Piccinato <[EMAIL PROTECTED]> wrote: Hi all, can anyone give me an example of how to use JSON

Re: What are dependencies needed to run tapestry-4.1.2-SNAPSHOT?

2007-05-06 Thread Jesse Kuhnert
http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html On 5/6/07, Denis Burlaka <[EMAIL PROTECTED]> wrote: Hello. What are dependencies needed to run tapestry-4.1.2-SNAPSHOT? I have already downloaded ognl-2.7-SNAPSHOT, but my code still does't work. I have the next error:

Re: {SPAM?} What are dependencies needed to run tapestry-4.1.2-SNAPSHOT?

2007-05-06 Thread Andreas Andreou
http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html On 5/6/07, Denis Burlaka <[EMAIL PROTECTED]> wrote: Hello. What are dependencies needed to run tapestry-4.1.2-SNAPSHOT? I have already downloaded ognl-2.7-SNAPSHOT, but my code still does't work. I have the next error:

Re: How to get parameter by parameter name?

2007-05-06 Thread Andreas Andreou
You can just have public void getThreadDetail(Long id) and the parameter will be filled in automatically when your listener is invoked. On 5/6/07, li li <[EMAIL PROTECTED]> wrote: hi everyone: I have a list in home page. I want to forward to detail page when I click title . So I write the

using a JSONResponseBuilder (JSON requests/response in tapestry components)

2007-05-06 Thread Martino Piccinato
Hi all, can anyone give me an example of how to use JSON with tapestry? I can see there is a JSONResponseBuidler and I can see there is a tapestry.bindjavascript function that support JSON I can't understand what's the correct way to handle this server side as there seems to be no equivalent "Eve

Tomcat class reloading and the development cycle

2007-05-06 Thread Inge Solvoll
Hi I would like to shorten the time spent from changing a class file to actually seeing the change in the browser. My problem now is that if I set my Tomcat application to reloadable, it reloads all servlets (including struts, tapestry and more) when I change a class file. This takes at least 5-

What are dependencies needed to run tapestry-4.1.2-SNAPSHOT?

2007-05-06 Thread Denis Burlaka
Hello. What are dependencies needed to run tapestry-4.1.2-SNAPSHOT? I have already downloaded ognl-2.7-SNAPSHOT, but my code still does't work. I have the next error: Error reading property items from base component class : class tapestryproba.HomePage and stack trace: java.lang.NoClassDefF

Re: T5: Same event from multiple components

2007-05-06 Thread Tim Sawyer
Thanks for that - that's where I ended up myself. I wondered if it was possible to get away without having to do the onActionFromLogin2() method, but it's not exactly difficult to write! ta, Tim. On Sunday 06 May 2007 02:08, Howard Lewis Ship wrote: > You can capture the action even from mult

Re: How to call @EventListener every 60 seconds

2007-05-06 Thread Josh Long
have your event listener registered on an object that in turn has a method that, through a setTimeout, is called every 60 seconds and... actually heres the answer to that verys ame question i posted about 7 months ago: http://mail-archives.apache.org/mod_mbox/tapestry-users/200609.mbox/[EMAIL P

Re: Tapestry 5.0.4 now available via Maven

2007-05-06 Thread Zsombor
On 5/6/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Once it is released, it can't be changed. Any fixes have to wait for release 5.0.5. Thems the Apache rules. Then create a new release ASAP. If it's a critical bug, don't be shy to fix it :-) I think it's common sense. BR, Zs

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

Re: Tapestry 5.0.4 now available via Maven

2007-05-06 Thread Howard Lewis Ship
Once it is released, it can't be changed. Any fixes have to wait for release 5.0.5. Thems the Apache rules. On 5/5/07, Jun Tsai <[EMAIL PROTECTED]> wrote: 2007/5/6, Howard Lewis Ship <[EMAIL PROTECTED]>: > Yep, I managed to screw up the quickstart archetype AGAIN. I forgot to > update one ve