AW: download a file

2007-01-10 Thread Holger Stolzenberg
I am very intrested! Please share your code -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von James Carman Gesendet: Mittwoch, 10. Januar 2007 02:32 An: Tapestry users Betreff: Re: download a file Let me know if Shing's example (it looks to be

Re: download a file

2007-01-10 Thread James Carman
Shing's code didn't show you what you needed? On 1/10/07, Holger Stolzenberg [EMAIL PROTECTED] wrote: I am very intrested! Please share your code -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von James Carman Gesendet: Mittwoch, 10. Januar 2007

Re: error with prop-1.0.0

2007-01-10 Thread Henri Dupre
Hivemind 1.1.1 in catalina/shared/lib but tapestry-prop is in the web-inf/lib... Could this be a problem? On 1/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Do you have the correct version of HiveMind in the web-inf/lib? -Original Message- From: Henri Dupre [mailto:[EMAIL

Re: hibernate session-per-request and re-enlistment

2007-01-10 Thread Henri Dupre
On 1/10/07, Steve Shucker [EMAIL PROTECTED] wrote: I'm revisiting a solution to hibernate entity re-enlistment with a session-per-request model. Back in November, I saw a post from James that he was working on a new solution for tapernate. Is there any progress on this that can be shared

Re: Parameter has already been declared

2007-01-10 Thread Ron Piterman
try changing string[] to CollectionString and see if this changes anything, tapestry is probably able to coerce these values, isn't it? Cheers, Ron Dan Adams wrote: Someone here has an application where he's getting the following exception: Caused by:

Re: Newbie help with For and TextField components

2007-01-10 Thread Jesse Kuhnert
I think the problem with this approach is that the For component has no way of uniquely identifying your list values. I would try using the keyExpression or converter parameters of the For component to do this instead. http://tapestry.apache.org/tapestry4.1/components/general/for.html On

Re: AW: download a file

2007-01-10 Thread Dennis Sinelnikov
Holger, This is what I did, perhaps it'll give you some hints on how to fix your problem: SomePage.html ... input type=button value=Download PDF Report onClick=serviceLink()/ ... script type=text/javascript function serviceLink() { window.location='span jwcid=@Insert value=ognl:serviceURL

Re: Parameter has already been declared

2007-01-10 Thread Jesse Kuhnert
This also sounds like an old bug that hit people only when caching was disabled. It's been fixed starting with 4.1.1. On 1/10/07, Ron Piterman [EMAIL PROTECTED] wrote: try changing string[] to CollectionString and see if this changes anything, tapestry is probably able to coerce these values,

RE: Newbie help with For and TextField components

2007-01-10 Thread Firas Adiler
Jim, I'm a bit puzzled myself, but how did you manage to run the app without providing setters for 'idx' and 'name' fields: public abstract void setIdx(int idx) public abstract void setName(String name)? Regards, /Firas -Original Message- From: Jim Downing [mailto:[EMAIL PROTECTED]

Q: Body Scripts in T4.1 DojoAjaxResponseBuilder

2007-01-10 Thread Jeremy F. Kassis
Hi everyone, I'm just getting around to upgrading from T4.0.2 to T4.1.2-SNAPSHOT. I have a widget that returns an html fragment that contains a script block... i.e. Script language=javascript blah foo /script. My problem is that this script isn't gettiing run after the ajax response. Does the

Re: Newbie help with For and TextField components

2007-01-10 Thread Daniel Tabuenca
The Chart example the plotValues property is persisted: page-specification class=org.apache.tapestry.workbench.chart.ChartPage property name=plotValues persist=session/ ... I am assuming you are not persisting since from your logs: 9627410 [btpool0-3] INFO com.example.pages.Home -

.page file

2007-01-10 Thread Simon Raveh
Hi, Is there something like @ComponentClass that I can use with a page or is it mandatory to have .page file Thanks, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ajax example with Tapestry 4.1.1(Dojo)

2007-01-10 Thread Daniel Anguita O.
Hi Mika Mika Tammilehto escribió: Hi Daniel I wrote that to the page head and it's OK. I run the app and i don't get any error message... BUT, it doesnt works... the 'ajax-thing' dont do anything.. What do you mean with : same params apply for Shell-component as well. What Shell-component?

Re: Newbie help with For and TextField components

2007-01-10 Thread Jim Downing
Hi Firas, Firas Adiler wrote: I'm a bit puzzled myself, but how did you manage to run the app without providing setters for 'idx' and 'name' fields: public abstract void setIdx(int idx) public abstract void setName(String name)? Seems to work fine just defining the getter in other

Re: Q: Body Scripts in T4.1 DojoAjaxResponseBuilder

2007-01-10 Thread Alexandru Dragomir
I think you must put your javascript in the initialization part of the YourComponent.script file and then , in the YourComponent.java file , execute the script. There are good examples in the timetracker application. Cheers , Alex On 1/10/07, Jeremy F. Kassis [EMAIL PROTECTED] wrote: Hi

Re: Ajax example with Tapestry 4.1.1(Dojo)

2007-01-10 Thread Alexandru Dragomir
Try removing the part head titleAjax/title link jwcid=@Style href=stylesheets/main.css media=all/ /head from your template html file , because is already generated by the @Shell component in the resulted html file. Cheers, Alex On 1/10/07, Daniel Anguita O. [EMAIL PROTECTED] wrote: Hi Mika

Beanform: Nested Beanforms with Binding Overrides

2007-01-10 Thread Steve Wells
Hi, Bit of extreme BF'ing here. Titles are not printing; be it dynamically or literally when I do something of the form: form beanform1 for (iterate over a list) new beanform from each list item All I see is the [PROPERTY_NAME] coming out. Detailed Code as follows: form

Re: Newbie help with For and TextField components

2007-01-10 Thread Daniel Tabuenca
Well it's because you are using strings directly. Here's what the equivalent of what is going on in JAVA: ListString names = NAMES; for( String name : names ){ name = NEW VALUE FROM INPUT FIELD; // but strings are immutable so name has a new string reference and does not modify // the one

Outputing a file from FTP site

2007-01-10 Thread sunnyyoung
Hi, I writing a engine service to download/export a file (application/octet-stream). Because THE file is from FTP site, I cannot get actual link form getLink() method. I try to use program as following: (Not in Service) FileInputStream fis = new FileInputStream(file); in = new

Re: Library 'contrib' not found in application namespace when use Tree compone

2007-01-10 Thread Zha Minjie
Thanks! That's the problem. The servlet name is not the same as the name for .application. It works now. - 白云偶尔遮住蓝天,但蓝天永远在白云之上。 From: Ron Piterman [EMAIL PROTECTED] Reply-To: Tapestry users users@tapestry.apache.org To: users@tapestry.apache.org Subject: Re: Library

Re: Library 'contrib' not found in application namespace when use Tree compone

2007-01-10 Thread Zha Minjie
Thanks! That's the problem. The servlet name is not the same as the name for .application. It works now. - 白云偶尔遮住蓝天,但蓝天永远在白云之上。 From: Ron Piterman [EMAIL PROTECTED] Reply-To: Tapestry users users@tapestry.apache.org To: users@tapestry.apache.org Subject: Re: Library

Re: Beanform: Nested Beanforms with Binding Overrides

2007-01-10 Thread DJ Gredler
I'm not sure why this would cause a problem. So looking at your code, you're saying that the titles for BeanForm bf print correctly, but the title for BeanForm bf_inner doesn't? Or neither of them work? What do you mean by all I see is the [PROPERTY_NAME] coming out? As an aside, what is the

Re: Beanform: Nested Beanforms with Binding Overrides

2007-01-10 Thread Steve Wells
ok, after rolling back to just a simple one-off Beanform on its own and it still failing ,cleaning the hell out of everything, the problem seems to have (most unbelievably) been an empty left-over .page file; it only had the page-specification... Serve me right for leaving mess around. On

Autocomplete custom look and feel

2007-01-10 Thread Nalin Gupta
Hi, Has anyone been able to customize the look and feel of the Autocomplete component in 4.1.2 ? For instance , giving it a different coloured background or changing the font size ? The javascript seems to override any CSS styling that we provide. It seems like a trivial thing to be able to do.