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)
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
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
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
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
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
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
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
/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
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
/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
!= 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
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
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
://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
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
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,
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
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
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
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
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
());
}
}
}
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
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
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[]
.
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
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
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
/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
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
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
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
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
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
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:
.
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
, 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
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
, 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
: 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
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
41 matches
Mail list logo