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
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
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
; 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(
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
"
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
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 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
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
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
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
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'
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
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
;
> 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
://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,
>
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
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,
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]>:
>>
>>
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
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
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
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
, 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
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.
-
; 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
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
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
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
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
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
; 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
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]&
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
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
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
http://www.sandcastsoftware.com/downloads/brownbag/tapestry/tapestry-cru
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
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
.
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">
&
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
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
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
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
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
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
47 matches
Mail list logo