[Tapestry 5]Upload component

2009-07-31 Thread b...@umd
I got this trouble while developing my tapestry-based web application. I do not understand why the component property "uploaded" is always null after submitting my form. Can you help ? .tml : input t:type="upload" t:id="uploaded" value="uploadedValue" /> .java : @Property private

Re: [Tapestry 5]FileUplaod component

2009-07-31 Thread b...@umd
Problem solved by using the tapestry-upload library. b...@umd wrote: > > I am trying to add a FileUpload component, on my tapestry-based web > application. So I retrieve this library : > http://commons.apache.org/fileupload/ > http://commons.apache.org/fileupload/ > > I

[Tapestry 5]FileUplaod component

2009-07-31 Thread b...@umd
I am trying to add a FileUpload component, on my tapestry-based web application. So I retrieve this library : http://commons.apache.org/fileupload/ http://commons.apache.org/fileupload/ I found this component in the "commons-fileupload-1.2.1.jar" library. So I had it my maven dependencies. Here

Re: Tapestry 5 and Event component.

2009-06-25 Thread b...@umd
Ok, it seems to come from the parameter "String value" in my onButtonClicked statement. I removed it and the event is now handled. However it appears that I am not allowed to return a JSONObject from the OnButtonClicked method. May be is it not possible with this kind of component. But perhaps yo

Re: Tapestry 5 and Event component.

2009-06-25 Thread b...@umd
What about removing the parameter 'value' of the method? > > BTW what does the parameter mean? > > DH > > - Original Message - > From: "b...@umd" > To: > Sent: Thursday, June 25, 2009 11:11 PM > Subject: Re: Tapestry 5 and Event compon

Re: Tapestry 5 and Event component.

2009-06-25 Thread b...@umd
ried again with Try , and I got the same exception. Thiago H. de Paula Figueiredo wrote: > > On Wed, Jun 24, 2009 at 5:26 PM, b...@umd wrote: >> gentoo.tml : >> > > You haven't used the ck/OnEvent mixin in the button, so the event is not > fired. > T

Re: Tapestry 5 and Event component.

2009-06-25 Thread b...@umd
ing > convention ("onButtonClicked") and has @OnEvent ... and they are in > conflict. Rename the method to not start with "on". > > On Wed, Jun 24, 2009 at 1:26 PM, b...@umd wrote: > >> >> I am getting this error when clicking on my "searchbutton&

Tapestry 5 and Event component.

2009-06-24 Thread b...@umd
I am getting this error when clicking on my "searchbutton". What is my problem exactly ? "Request event 'clicked' (on component Gentoo:button) was not handled; you must provide a matching event handler method in the component or in one of its containers." gentoo.tml : gentoo.java : @Componen

Tapestry 5 with OnEvent mixin

2009-06-22 Thread b...@umd
I am trying to link dynamically three dropdownboxes with the OnEvent Mixins and javascript code. I am using the OnEvent.class from chenillekit. Here is my page.tml : The, here is my page.java : @OnEvent(component = "grandparent", value = "change")

Dynamic DropdownBox (Select)

2009-06-19 Thread b...@umd
Good afternoon. I would like to implement a Tapestry 5-based dynamic DropDownBox "Category", which has one child called "Application" which has a child too called "Version". These boxes are populated with three functions which browse a mysql database and return lists. Here is the signature of t

Dynamic Select with Textarea.

2009-06-15 Thread b...@umd
Here is my problem : I created a DynamicSelect like this http://lombok.demon.co.uk/tapestry5Demo/test/components/dynamicselectdemo1source one which allow me to select a "Category" and then an "Application" from my database. Here is an extract of my tml :

Re: [Tapestry 5.1]Loop with checkboxes

2009-05-19 Thread b...@umd
I finally created my own ControlledCheckbox mixin class. It solved this issue. Thanks b...@umd wrote: > > Hi, > > I am new in Tapestry and I am currently developing a webapp which aims at > launching virtual machine. I created a form in my .tml file with basic > inputs (TextA

[Tapestry 5.1]Loop with checkboxes

2009-05-13 Thread b...@umd
Hi, I am new in Tapestry and I am currently developing a webapp which aims at launching virtual machine. I created a form in my .tml file with basic inputs (TextArea, Checkbox, etc). Now I would like to create some Checkboxes with a list of words from my .java file, and then to be able to retriev