T3: IUploadFile

2007-12-16 Thread Nazmul Bhuiyan
Hi, I'm uploading a file and want to rename the file name after loaded. I couldn't find any method to do that. Can some one please let me know how to rename/delete a file in a file system? I can write this loaded file to a new file (dest) but couldn't delete the original file (src) F

T3: PropertySelection

2007-12-06 Thread Nazmul Bhuiyan
Hello, I'm having issue with PropertySelection in a Form. I'm using one page to add and update. Data entry fields of the form gets changed according to the property selection during add. For example if infType=DOG selected then the form displays only dog specific fields and if infType=PAK then t

T3: Spindle Tomcat

2007-11-08 Thread Nazmul Bhuiyan
Hi, I'm using WTP to deploy my web application from eclipse. I've setup the WTP according to the document http://wiki.apache.org/tapestry/HowToSetupEclipseWtp. It works perfect but can't add any other project other then Dynamic Web project. Now I've created a Tapestry Web project by spindle bu

Re: T3: enable/disable one column according to the other columns result

2007-10-22 Thread Nazmul Bhuiyan
; If you want to disable links then Paul has already given you the solution. > DirectLink has a boolean disabled parameter: > http://tapestry.apache.org/tapestry3/doc/ComponentReference/DirectLink.html > > So use something like: > disabled="ognl:currentBatch.bchPassFailInd.equals(&#

Re: T3: enable/disable one column according to the other columns result

2007-10-16 Thread Nazmul Bhuiyan
hen I want to leave enable the field. I don't know how to do this in HTML Thanks Naz Nick Westgate wrote: > > It's not clear what you mean by enable/disable. > You can use @If when you want to include/exclude content. > > Cheers, > Nick. > > > Nazmul Bhuiy

Re: T3: enable/disable one column according to the other columns result

2007-10-16 Thread Nazmul Bhuiyan
" title="Unsigned" /a> Thanks Paul Stanton-2 wrote: > > T5 or T4? > > T4 you can do: > Passed > > Nazmul Bhuiyan wrote: >> Hi, >> >> I'm displaying a list of data in

T3: enable/disable one column according to the other columns result

2007-10-16 Thread Nazmul Bhuiyan
Hi, I'm displaying a list of data in a table. e.g. IdStatus DirectLink 1 Passed Passed - Failed 2 FailedPassed - Failed I want to enable/disable 3rd column 'DirectLink' column according to the 2nd column 'Status'. Is there any one know how to do this? Thanks Naz

Re: T3: Upload

2007-10-02 Thread Nazmul Bhuiyan
The example code working now after removing the following line of code: public static final Format SIZE_FORMAT = NumberFormat.getNumberInstance(); I'm not exactly sure what's wrong with this line of code. Thanks a lot. Naz Nazmul Bhuiyan wrote: > > I've removed that d

Re: T3: Upload

2007-10-01 Thread Nazmul Bhuiyan
gt; It must be a configuration issue. Are you running this example page > in isolation, or is it part of a larger project? Are you running > from inside Eclipse? If not, how is Tomcat started? > > Cheers, > Nick. > > > Nazmul Bhuiyan wrote: >> .page: >> >&g

Re: T3: Upload

2007-09-30 Thread Nazmul Bhuiyan
ge But com.fujitsu.efi.web.pages.test.UploadPage class exists in WEB-INF/classes directory. Thanks Naz Nick Westgate wrote: > > What about your .page file? > > Cheers, > Nick. > > > Nazmul Bhuiyan wrote: >> If you click on the link I've provided you will see the

Re: T3: Upload

2007-09-27 Thread Nazmul Bhuiyan
if (fos != null) { try { fos.close(); } catch (IOException ioe) {} } } } Nick Westgate wrote: > > Ok. Is this in a page or a component? > And your Java code? Do you have a formSubmit listener? > > Cheers, > Nick. > > > Nazmu

Re: T3: Upload

2007-09-27 Thread Nazmul Bhuiyan
t; Cheers, > Nick. > > > Nazmul Bhuiyan wrote: >> I'm getting an error when trying the Upload component example in >> http://tapestry.apache.org/tapestry3/doc/ComponentReference/Upload.html. >> >> Unable to resolve expression 'listeners.formSubmit'

T3: Upload

2007-09-27 Thread Nazmul Bhuiyan
I'm getting an error when trying the Upload component example in http://tapestry.apache.org/tapestry3/doc/ComponentReference/Upload.html. Unable to resolve expression 'listeners.formSubmit' for [EMAIL PROTECTED] binding: ExpressionBinding[UploadPage listeners.formSubmit cachedValue=null] I've

Re: T3: DateTimePicker

2007-09-13 Thread Nazmul Bhuiyan
gt; .java > public abstract Date getOffnHearDate(); > public abstract void setOffnHearDate(Date offnHearDate); > > Cheers, > Nick. > > > Nazmul Bhuiyan wrote: >> Please help me finding what I'm missing here? >> >> I'm getting the followin

Re: T3: DateTimePicker

2007-09-12 Thread Nazmul Bhuiyan
; > Please define "didn't work". > > Cheers, > Nick. > > > Nazmul Bhuiyan wrote: >> I've downloaded the myworkspace-0.2.jar from >> http://myworkspace.sourceforge.net/component-library.html. >> I've tried to use this component as Dat

Re: T3: CheckBox

2007-09-05 Thread Nazmul Bhuiyan
://www.nabble.com/Multiple-Select-tf144431.html#a400648 > > Since you are using a list it's easiest to use Robert's > ListPropertySelectionModel. > http://www.tapestrycomponents.org/Tassel/app?service=external/ViewComponent&sp=SListPropertySelectionModel > > Cheers, >

Re: T3: CheckBox

2007-09-04 Thread Nazmul Bhuiyan
gt; It depends how T3's method matching works, but you might need: >> public void formSubmit(IRequestCycle cycle) >> >> Note the I in IRequestCycle. >> >> Cheers, >> Nick. >> >> >> Nazmul Bhuiyan wrote: >>> Hello, &g

T3: CheckBox

2007-09-02 Thread Nazmul Bhuiyan
Hello, I’ve a list of objects displayed in a page. I want to collect ids of selected object by adding a check box for each of these objects. Then I’ll use another action event to do something with this collection of ids. But I’m getting the following error message: Unable to resolve expression

T3: DateTimePicker

2007-08-28 Thread Nazmul Bhuiyan
I've downloaded the myworkspace-0.2.jar from http://myworkspace.sourceforge.net/component-library.html. I've tried to use this component as DatePicker but didn't work. I must have missed something basic. Can some one please some example how to use this component? For example: in the html templet,

Re: T3: Disable TextField

2007-08-19 Thread Nazmul Bhuiyan
Thanks a lot. Allen Guo wrote: > > there are one more inputUserLogin in .html file. It's not be allowed > For this case, you have to define two components with different name in > .page file. > > 2007/8/20, Nazmul Bhuiyan < [EMAIL PROTECTED]>: >> >>

Re: T3: Disable TextField

2007-08-19 Thread Nazmul Bhuiyan
Disable works but it is failing when I put the condition. span jwcid="@Conditional" condition="ognl:newUser"> disabled="ognl:false" span jwcid="@Conditional" condition="ognl:newUser"> disabled="ognl:true" Nazmul Bhui

T3: Disable TextField

2007-08-19 Thread Nazmul Bhuiyan
Hi, I’m trying to disable one field according to the condition (new or update). But I’m getting the following error. Can any one please check and tell me what I’m doing wrong? I’ve been following the component reference in http://tapestry.apache.org/tapestry3/doc/ComponentReference/TextField.html

Re: T3: PropertySelecton

2007-08-13 Thread Nazmul Bhuiyan
lists where the second list depends on > what is selected in the first? > > I use this ~all~ the time in combination with @EventListener to update > the second list when something changes via "onchange" in the first. > > On 8/13/07, Nazmul Bhuiyan <[EMAIL PROTECTED

T3: PropertySelecton

2007-08-13 Thread Nazmul Bhuiyan
Hello, I want the user to choose Code and Description. But I can only let the user choose Code or the Description by the PropertySelection. Is there any component similar to PropertySelection that I can use for this purpose, so that user can see Code and Description? Some code example would be gr

Re: T3: How to capture time

2007-08-12 Thread Nazmul Bhuiyan
, I believe: > http://myworkspace.sourceforge.net/component-library.html > > Cheers, > Nick. > > > Nazmul Bhuiyan wrote: >> Hello, >> >> I'm using DatePicker to capture dates. Is there any component to capture >> time? >> >> Thanks >> >> naz &g

T3: How to capture time

2007-08-09 Thread Nazmul Bhuiyan
Hello, I'm using DatePicker to capture dates. Is there any component to capture time? Thanks naz -- View this message in context: http://www.nabble.com/T3%3A-How-to-capture-time-tf4246404.html#a12084619 Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: T3: loosing the User object as soon as the edit action is invoked?

2007-07-25 Thread Nazmul Bhuiyan
; How is the User object persisted? > (What relates to it in your UserEdit.page file?) > > Cheers, > Nick. > > > Nazmul Bhuiyan wrote: >> I’m loosing the User object as soon as the edit action is invoked? >> >> I’m setting an object (e.g. User) i

RE: T3: loosing the User object as soon as the edit action is invoked?

2007-07-23 Thread Bhuiyan, Nazmul
s invoked? How is the User object persisted? (What relates to it in your UserEdit.page file?) Cheers, Nick. Nazmul Bhuiyan wrote: > I'm loosing the User object as soon as the edit action is invoked? > > I'm setting an object (e.g. User) in page UserMaint.java to the page &g

T3: loosing the User object as soon as the edit action is invoked?

2007-07-23 Thread Nazmul Bhuiyan
I’m loosing the User object as soon as the edit action is invoked? I’m setting an object (e.g. User) in page UserMaint.java to the page UserEdit.java. UserMaint.java public void userEditAction(IRequestCycle cycle) { UserEdit nextPage = (UserEdit) cycle.getPage("UserEdit"); Object[] para

RE: JumpStart v1.6 - for Tapestry 4.1.2

2007-07-23 Thread Bhuiyan, Nazmul
Hi, Is it possible for you to put some tips to use tomcat with your JumpStart? Thanks Naz -Original Message- From: Geoff Callender [mailto:[EMAIL PROTECTED] Sent: Tuesday, 24 July 2007 2:18 a.m. To: Tapestry users Subject: JumpStart v1.6 - for Tapestry 4.1.2 Hi all, JumpStart v1.6.0 is n

RE: T5 Tutorial

2007-07-11 Thread Bhuiyan, Nazmul
Westgate [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 2:51 p.m. To: Tapestry users Subject: Re: T5 Tutorial Try upgrading to 2.0.7. If that doesn't work, googling the error message suggests it's a network/proxy problem. http://maven.apache.org/guides/mini/guide-proxies.html C

RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
ROTECTED] Sent: Tuesday, 10 July 2007 2:51 p.m. To: Tapestry users Subject: Re: T5 Tutorial Try upgrading to 2.0.7. If that doesn't work, googling the error message suggests it's a network/proxy problem. http://maven.apache.org/guides/mini/guide-proxies.html Cheers, Nick. Bhuiyan, Na

RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
; What version of Maven are you using? > > > > On 7/9/07, Nazmul Bhuiyan <[EMAIL PROTECTED]> wrote: > > > > > > Hello, > > > > > > I'm following the T5 tutorial and getting the following error. I've ran > > > this

RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
C:\tmp>mvn --version Maven version: 2.0.5 -Original Message- From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 12:53 p.m. To: Tapestry users Subject: Re: T5 Tutorial What version of Maven are you using? On 7/9/07, Nazmul Bhuiyan <[EMAIL PROTECTED]&

T5 Tutorial

2007-07-09 Thread Nazmul Bhuiyan
Hello, I'm following the T5 tutorial and getting the following error. I've ran this at my work pc. Is there any proxy issue here or some thing else? C:\tmp>mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5 -DgroupId=org.apache.t

RE: Updated T5 Tutorial

2007-06-28 Thread Bhuiyan, Nazmul
Great!! Is it possible for you to include Date field and validation into the form (e.g. Address created on) that capture date and time? What are the advantages using Jetty over Tomcat? Thanks a lot for giving us Tapestry Naz -Original Message- From: Howard Lewis Ship [mailto:[EMAIL PROT

RE: T3: Question

2007-06-27 Thread Bhuiyan, Nazmul
Hi Nick, Please find attached code. Thanks Naz -Original Message- From: Nick Westgate [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 June 2007 3:42 p.m. To: Tapestry users Subject: Re: T3: Question Please show us the relevant code. Cheers, Nick. Nazmul

T3: Question

2007-06-26 Thread Nazmul
As not too many people interested on T3 but I got a existing application developed by T3 that needs some change. If some one help me on extending the following tutorial would help me a lot. I've been following the tutorial at http://www.sandcastsoftware.com/downloads/brownbag/tapestry/tapestry-cru

T3: DatePicker

2007-06-18 Thread Nazmul
Hi, I'm using T3 and new to Tapestry. I'm validating text fields as below. User Login: How do I do the similar validation for DatePicker as required filed? Thanks Naz - To unsubscr

RE: T3 binding issue for DatePicker

2007-06-17 Thread Bhuiyan, Nazmul
d as "GPL", no GPL license statement appears to be included. Cheers, Nick. Bhuiyan, Nazmul wrote: > I want to use DatePicker to capture date from user. And would like to > make this field mandatory. > How do I do this? > > -Original Message- > From: Nick Westg

RE: T3 binding issue for DatePicker

2007-06-17 Thread Bhuiyan, Nazmul
. You're getting confused between DatePicker and DateField. Cheers, Nick. Nazmul wrote: > If I use the following code in my html and > the page then get the following error: > > Html template: > 82 > 83 field="ognl:components.inputUserActiveDate"> &

T3 binding issue for DatePicker

2007-06-17 Thread Nazmul
If I use the following code in my html and the page then get the following error: Html template: 82 83 Active Date 84 Active Date 85 86 Page specification: Error from Tapestry: Display name not specified and not provided by field UserMaint/inputUserActiveDate. binding: Expres

Converting T3 to T4 issues

2007-06-10 Thread Nazmul
Hello, I'm converting Tapestry 3 application to Tapestry 4. I'm using 4.1.1. I'm getting the following errors: 1. The method getRequestContext() is undefined for the type IRequestCycle a. String remoteUsername = event.getRequestCycle().getRequestContext(). getRequest().getRemoteUser(); b.PathM

RE: T4 question:

2007-06-06 Thread Bhuiyan, Nazmul
omitZero=true disable the required and the javascript's client side validation. -Original Message- From: Bhuiyan, Nazmul Sent: Thursday, 7 June 2007 11:03 a.m. To: Tapestry users Subject: RE: T4 question: I'm new to Tapestry and please suggest me the right version of Tapestry

RE: T4 question:

2007-06-06 Thread Bhuiyan, Nazmul
t: Re: T4 question: It looks like it. I have a similar use case in a project and it works fine but using 4.0.2. Jesse Kuhnert wrote: > HmmmIt does look like it's possibly a bug. If you file a jira > issue I > can look at it. > > On 6/6/07, Bhuiyan, Nazmul <[EMAIL

RE: T4 question:

2007-06-06 Thread Bhuiyan, Nazmul
ROTECTED] Sent: Wednesday, 6 June 2007 10:08 p.m. To: Tapestry users Subject: Re: T4 question: Try setting the translator binding to "translator:number,omitZero=true" See the section on translators here http://tapestry.apache.org/tapestry4.1/usersguide/validation.html Nazmul wro

T4 question:

2007-06-06 Thread Nazmul
I'm trying to work through the chapter 3 of the book "Enjoy web development with Tapestry" This book using tapestry4.1.1 and pointed a bug alert: "BUG ALERT: In Tapestry 4.1.1 there is a bug in NumberTranslator. It will convert an empty string into 0, not null. This will get pass both the required