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)

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

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

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

2007-10-22 Thread Nazmul Bhuiyan
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('Failed') Cheers, Nick. Nazmul Bhuiyan wrote

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: enable/disable one column according to the other columns result

2007-10-16 Thread Nazmul Bhuiyan
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 Bhuiyan wrote: I'm using T3. I'm trying to enable/disable last table cell

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 deprecated method from my

Re: T3: Upload

2007-10-01 Thread Nazmul Bhuiyan
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: page-specification class=com.fujitsu.efi.web.pages.test.UploadPage /page-specification The .page

Re: T3: Upload

2007-09-30 Thread Nazmul Bhuiyan
/classes/ -- Parent Classloader: [EMAIL PROTECTED] : UploadPage 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

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: Upload

2007-09-27 Thread Nazmul Bhuiyan
/tr tr td colspan=2input type=submit value=Upload/input/td /tr Thanks Naz Nick Westgate wrote: Please post the (relevant parts of) the code. Cheers, Nick. Nazmul Bhuiyan wrote: I'm getting an error when trying the Upload component example in http

Re: T3: Upload

2007-09-27 Thread Nazmul Bhuiyan
!= 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. Nazmul Bhuiyan wrote: I've copied the code from http

Re: T3: DateTimePicker

2007-09-13 Thread Nazmul Bhuiyan
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 following error: org.apache.tapestry.ApplicationRuntimeException Unable to convert 'myws:DateTimePicker

Re: T3: DateTimePicker

2007-09-12 Thread Nazmul Bhuiyan
a T3 project handy, and even fewer will have used this component (I haven't). 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

Re: T3: CheckBox

2007-09-05 Thread Nazmul Bhuiyan
://www.tapestrycomponents.org/Tassel/app?service=external/ViewComponentsp=SListPropertySelectionModel Cheers, Nick. Nazmul Bhuiyan wrote: Hi Nick, Is there any method that I can use to create a ObjectPropertySelectionModel model instead of StringPropertySelectionModel as below

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,

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: 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 Bhuiyan wrote: Hi, I’m trying to disable one field according to the condition

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]: Hi, I'm trying to disable one field according

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

Re: T3: PropertySelecton

2007-08-13 Thread Nazmul Bhuiyan
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] wrote: Hello, I want the user to choose Code

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

2007-07-25 Thread Nazmul Bhuiyan
()); } } } Thanks Naz Nick Westgate wrote: 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

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

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[]

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

2007-07-23 Thread Bhuiyan, Nazmul
. To: Tapestry users Subject: Re: T3: loosing the User object as soon as the edit action is 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

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:\tmpmvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5

RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
C:\tmpmvn --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] wrote

RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
/9/07, Nazmul Bhuiyan [EMAIL PROTECTED] wrote: 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:\tmpmvn archetype:create -DarchetypeGroupId=org.apache.tapestry

RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
problem. http://maven.apache.org/guides/mini/guide-proxies.html Cheers, Nick. Bhuiyan, Nazmul wrote: Shall I use Maven 2.0.7? In the tutorial you have mentioned to use Maven 2.0.5 - To unsubscribe, e-mail: [EMAIL PROTECTED

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

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

T3: DatePicker

2007-06-18 Thread Nazmul
Hi, I'm using T3 and new to Tapestry. I'm validating text fields as below. tr td width=1% nowrap span jwcid=@FieldLabel field=ognl:components.inputUserLogin User Login: /span /td td width=99% input type=text jwcid=inputUserLogin size=20/ /td /tr component id=inputUserLogin

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 tr 83 thspan jwcid=@FieldLabel field=ognl:components.inputUserActiveDate Active Date/span/th 84 th Active Date/th 85tdinput jwcid=inputUserActiveDate size=10 //td 86 /tr Page specification:

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 tr 83 thspan jwcid=@FieldLabel field=ognl:components.inputUserActiveDate Active Date/span/th 84

RE: T3 binding issue for DatePicker

2007-06-17 Thread Bhuiyan, Nazmul
, 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 Westgate [mailto:[EMAIL PROTECTED] Sent: Monday, 18

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

RE: T4 question:

2007-06-06 Thread Bhuiyan, Nazmul
, 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 wrote: I'm trying to work through

RE: T4 question:

2007-06-06 Thread Bhuiyan, Nazmul
: 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 PROTECTED] wrote: Hi, Thanks

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 to use