Hi,
I have developed an application in tapestry & it normally runs in tomcat7.
Also when export manually as war file & deployed it in tomcat7 application
runs without issues.
But when using ant build, compile, package as a war file - Faced error in
running the application.
Compile build:
Thanks for your reply...
In my application .tml pages also in src/main/resources
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-build-both-tml-java-page-using-ant-build-tp5718711p5718713.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
lve 'number' to a component class name
Can anyone please tell me when user comes to & clicks phone number field,
number pad needs to display?
Regards,
Karthi.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Way-to-display-numeric-pad-for-phone-number-fie
Thank you for your reply.
So we can log only the coding log time, & is the way I right to log the
on-load time in coding is right?
& can you tell me how to log page size also?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp57195
Many thanks for your valuable infos :-)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp5719514p5719523.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Could you give some example to log response size using OutputStream?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp5719514p5719529.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Sorry, could not understand? how to set content length in my handler?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp5719514p5719531.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
called
*** For eg., When I called this app as de.club.mobi/Club then my application
should use the properties file Club_de.properties file
How can I achieve this? Anyone give me some ideas?
Regards,
Karthi.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-call-l
Thanks for your reply.
the first folder in the URL will be the language?
Here, Can't understand? could you elaborate?
If my called url is de.club.mobi/club
then will my club_de.properties invoke automatically?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-cal
One more question:
You said: If you set the locale on the PersistentLocale service
How to set PersistentLocale service?
I just tried to inject in my page but it doesn't gives any effect rather it
throws null pointer exception.
--
View this message in context:
http://tapestry.1045711.n5.nabbl
Thanks for your replies.. I've done.
I have kept multiple properties file under the app name for multiple
languages & tml pages also. &
My properties, tml pages loaded as per the language, However the css files
are not loading?
I've kept css in this structure:
My deployment path is src/main/we
PersistantLocale & the url of the form www.club.mobi/de/Club
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-call-locale-properties-file-based-on-urls-tp5719862p5719928.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Thank you
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-call-locale-properties-file-based-on-urls-tp5719862p5719930.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To un
ontains the method onSelectedFromAccessSubmitIT, However
in Index_de.tml I don't want that input component & in Index.tml I want that
component.
Why can't I use seperate java files also? Anyone give me some suggestions?
Regards,
Karthi.
--
View this message in context:
http://tapestr
I am now using ThreadLocale service.
Everythings works perfectly!!
Now no need to worry for css files!
Many thanks Lance Java & others for kind help.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-call-locale-properties-file-based-on-urls-tp5719862p5719968.html
Hi,
I have a radio group in the view which contains male and female option to
select
Gender: *
Male
Female
here my problem is in the corresponding java class how to retrieve the radio
button value which is selected by the user?
Thanks in advance.
--
View this message in context:
http://
Hi,
Here is what I coded to have a text field which is used to enter phone
number
Can anyone tell me how to restrict users to enter only numeric values
(Numeric filter)
Thanks in advance.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-restrict-users-only-to-
Do you mean this?
private String gender;
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
In form submission and for user selection this gender always give me the
value on.
--
View this message in contex
Hi,
I need to upload a file using tapestry, I searched but I din't get any
clear ideas, Can anyone tell me how to upload a file using tapestry?
Thanks in advance.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-upload-a-file-using-tapestry-tp5474348p5474348.ht
Thank you very much it solved my problem now am getting the value what the
user selected in the UI radio component.
And what is the way to mark my thread as resolved?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-get-the-selected-value-from-radio-group-tp5472198p5
Hi,
I am developing a registration form using tapestry, in that I have to
sent email to user for verification and I have done that.
Now I want to add a java variable value to the href component how can I do
that?
MimeMessageHelper helper = new MimeMessageHelper(message, true);
helper.setFrom
Thank you for your reply, I've seen that link but I din't understand the
UploadedFile file - that's why posted here...
Can you tell me what is that refers?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-upload-a-file-using-tapestry-tp5474348p5474515.html
Sent from
Added that tapestry-upload-5.3.1 jar file in my workspace but it throws
java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileItemFactory at run time?
What is the problem here, Do I miss any dependency jar files?
--
View this message in context:
http://tapestry.1045711.n5.nabble.co
My problem solved successfully uploaded the file thank you very much for your
help added the needed jar files commons-fileupload-1.2.2 to my workpath...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-upload-a-file-using-tapestry-tp5474348p5474526.html
Sent from the
My question is how to add java variable value in href it was a silly mistake,
I have found that.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-add-a-java-variable-value-in-href-tp5474413p5474710.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Changed the database structure to integer and it works fine (tapestry
validates if when I entered any letters other than numbers), but my
expectations is even when I typed alpha letters in the keyboard it should
give only numbers in the text box is that possible?
Also after I changed my database
Okay thank you for your update..
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-get-the-selected-value-from-radio-group-tp5472198p5474805.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Anyone help me to resolve this
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-restrict-users-only-to-enter-numeric-values-in-text-field-tp5472151p5485830.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
I have a form in my tml page and in that form I have the following
*
and in the corresponding java class I have a method onSuccess() and written
code to insert the values in the database in that method when I clicked the
submit button in that form this onSuccess() method will invoke.
My prob
Thank you for your reply, it works but not as expected
I have a button to check the username keyed in the form with the database
for existence and I want to show a message if the username already exists in
the same page
I tried that above coding and I filled the firstname, lastname, username and
It works great thanks a lot!!
When I clicked on the validation button it returns the validation message.
At last only one issue when I return null from the onSuccess method I
thought it should keep the values already filled in the form but it clears
all the values in the form.
--
View this me
Thank you!! it works as expected..
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-call-a-method-in-java-page-for-button-submit-action-tp5491713p5501622.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Hi,
I have used loop in my code to layout a table like structure and everything
works fine in that loop in UI (shows three rows with background color and
datas), However I have one doubt in that for all the three rows it shows the
same background color #CDCECC but I want to change the color like
I was just started to work in that way, but you saved my time!!
Thank you so much it works as expected
And your explanation is really very simple for beginners!!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/how-to-get-the-index-in-tapestry-loop-and-change-background-co
Hi,
I have a page link like this:
More News
It works fine here I have a page with a name TopNews - invokes a page
http://localhost:8080/News/topnews
I want to pass parameters with this page name like below:
More News -
here I mean I want to invoke a page like
http://localhost:8080/News/topnews?
Thank you for your reply...
I've used that context="3" & when I called topnews I retrieved that value 3
but in UI all my layout are get collpased. What would be the reason?
After revert back this changes everything works as previous? So this context
param would have caused this issue?
--
View th
I hardcoded that start index & end index in my code and I just get the
context value in a string and print in OnActivate method
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-pass-page-name-with-parameters-in-pagelink-tp5504751p5504883.html
Sent from the Tapestry -
Hi,
How to split up the datas per page in tapestry loop like below?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Is-there-any-way-to-use-rows-per-page-in-loop-tp5504972p5504972.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Hi,
I have a table like below
${imageExistence}
java file:
public String getImageExistence() {
String imageTag = null;
String image = newsItems.get(currIndex).getImgUrl();
if(null != image) {
imageTag = "";
} else {
imageTag = null;
}
return imageTag;
}
Am a bb developer but for the past two days I have been working in tapestry
full-fledged & am new to this, so sorry for my silly questions in this
forum!!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Html-tag-not-get-layout-properly-tp5505092p5505145.html
Sent from the
OutputRaw component solves my problem thank you...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Html-tag-not-get-layout-properly-tp5505092p5505223.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Is there any other way to achieve this?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-pass-page-name-with-parameters-in-pagelink-tp5504751p5505240.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Hi,
I have encoding problem in sending param values to page
${paginationUrl}stocklist?pageName=${stockMetalsItem.title}
${stockMetalsItem.title}
>From Tapestry java page this stockMetalsItem.title value is - Münzen
When i run this the link in the browser i got
http://localhost:8080/Registr
I tried that in properties file
but it says missing key -- [[missing key: stock]]
My project name is Registration, in that under resources - pages package
created one Registration.properties file and in that added that key and
value
In test.tml file when I called like this ${message:stock} i
Hi,
I have a tml page called portfolio.tml and in corresponding java
portfollio page I have written this following to save the values in cookies
public class Portfolio {
@org.apache.tapestry5.ioc.annotations.Inject
private Cookies cookies;
public Portfolio() {
cookies.writeCo
...then something is misspelled.
your project name doesn't matter - it must be the page name that has to be
equal to the properties (and .tml) name.
I created projectname.properties file in the thought that it would support
all the tml pages but it din't?
If I have 40 pages in my project and I w
Thank your reply...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-display-special-characters-in-tml-page-tp5527308p5537546.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Thank you for your reply onActivate() method solves my problem, However
constructor is used to prepare the variables that are required by the class
i.e., for initialization purposes right? then what is wrong with that
constructor, Why the cookies are not get initialized inside constructor?
--
View
Hi All,
I have a page music.tml and in that page there is a button called
play, In the corresponding music.java there is a method
public String onSelectedFromPlay() {
return "Play";
}
When the user clicked on the button this above method will get invoked and I
ret
Thank you it works great!!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-do-I-pass-values-from-one-page-to-another-using-onSelected-tp5556685p5557246.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Hi,
In the java page I have,
@Property
private int currentIndex;
public List getVideoDatas() {
videoItems = null;
VideoItemCollection collection = new
VideoItemCollection(Constants.VIDEOS);
if(collection.videoItems.size() > 0) {
No in that loop examples they are getting the loop source values and passed
to other pages, I've used that
using the currentIndex in that same java page,
public String getAlternateColour() {
String bgColor = null;
if(currentIndex%2 == 0) {
Anyone help me? Can't able to do that
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Is-there-any-way-to-get-the-selected-item-s-index-in-loop-after-layout-has-been-done-tp5557270p5560679.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
I've seen your answer, Thank you very much for continuously helping me... Was
looking for some tapestry code or a trick...
Atlast one of my friends suggest me to add a property called position in
pojo class & set the value of the index to that when setting values for
other items & in tml page insi
Hi,
I have a class called Test in my project
public class Test {
private List newsItems;
}
Will tapestry creates this object every time when called or initialize once
& reuse every time like servlet?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-class-va
Hi,
I am developing an application using tapestry (my first app), in that am
using cookies like below
public class Portfolio {
@org.apache.tapestry5.ioc.annotations.Inject
private Cookies cookies;
cookies.writeCookieValue("isUserLogin", "True", 60*60);
cookie
Thank you so much for sharing your knowledge. Your information is helpful to
understand!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-class-variables-behavior-tp557p5591265.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Anyone help me to resolve this?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry5-services-cookies-not-get-writes-in-samsung-galaxy-nexus-s-tp5591264p5592747.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Thank you for your reply,
In javax.servlet also can't able to set the max age, if I set so then in the
samsung galaxy nexus s mobile the cookies does not get write or saved
In tapestry services cookies also worked now in the same device by removing
the max age parameter like below:
cookies.writ
Hi,
I have login page after user enters their credentials will navigate the
user to home page once after logout will again navigate to login page.
Here my problem is
i) User enters the login credentials
ii) Goes to home page
iii) Now press the logout button
iv) Sees the login page
Hi thank you for your reply...
Then how can I stop that behavior, I want to show the login page once after
the user log out and clicks the browser back button?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Which-method-is-called-in-a-page-when-click-back-button-from-brow
Thank you Lance Java it works...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Issue-in-re-rendering-the-zone-block-tp5634811p5635232.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
_address*/Registration/login and then
it once again prompts me for credentials after that this works good but with
the ip address (I checked the url path)
Anyone help me here?
Thanks,
Karthi.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Domain-name-changed-to-ip-addre
Hi,
Thank you for your reply.
No, I am not using @Secure.
Tapestry version is: 5.3.1
Other tapestry libraries are:
tapestry-func, tapestry-ioc, tapestry-json, tapestry-upload,
tapestry5-annotations
Also this issue is with only for a particular domain name alone (mostly
probably based on serve
ver my UI works good but this line is
getting continuously logged in the log file, what is wrong here?
Environment is:
Server - virgo-tomcat-server-3.0.2
Tapestry version is - 5.3.1
Logger - org.apache.log4j.Logger, Version - log4j-1.2.15
Thanks in advance,
Karthi.
--
View this messa
Anyone?
Is this needs any server side settings changes or any tapestry changes?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Cookies-Invalid-cookie-Value-not-a-token-or-quoted-value-tp5682745p5708759.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Thank you for your reply...
This is what I have in my request headers (Taken using firebug)
Cookie BigIP_Colcms=271399690.0.
Is there any way to avoid this log being written in the log file?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Cookies-Invalid-cookie-Va
> Have you given me the entire cookie value? This does not include the
"isUserLogin" value you were initially talking about
"isUserLogin" is get written in cookies, when user logged in, I have given
you the another module cookie value
and the other cookies are
Cfp 1
JEB2 4FB0E5C76E651
i00 75474f
I just copied and pasted it from firebox browser show cookies section where
it displays name, value etc.,
The following is taken from request headers using firebug
isUserLogin=True; userId=2058; smsAvail=30; position=2;
Ids=10025033/10025032
--
View this message in context:
http://tapestry.10457
Okay... Thank you so much for your patience and worthy replies...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Cookies-Invalid-cookie-Value-not-a-token-or-quoted-value-tp5682745p5708915.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Anyone help me?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-send-the-selected-button-value-from-tml-page-to-corr-java-page-tp5709890p5709916.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Arno Haase,
Thank you for your reply.
I have changed the code to:
public void onSelectedFromTopLevel(int position) {
System.out.println("Selected button item is --> " + position);
}
but it throws the following error:
An unexpected application exception has occurred.
F
I have worked with samples using that tree component, but I need this also to
work..
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-send-the-selected-button-value-from-tml-page-to-corr-java-page-tp5709890p5709941.html
Sent from the Tapestry - User mailing list arch
I just interchanged this
to
now it correctly displays the position in the ui like below
0
1
2
3
4
and when I clicked any one of those it throws the following exception
Failure reading parameter 'context' of component Index:toplevel: Property
'videoItem' (within property expression 'vid
Sorry,
Constants.PAGINATION_URL;
public interface Constants {
String PAGINATION_URL = "./";
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-send-the-selected-button-value-from-tml-page-to-corr-java-page-tp5709890p5710046.html
Sent from the Tapestry
Thank you Arno Haase for your continuous help...
I will check encoder method in my code for correct implementation, however I
have used this in previous app without any issues... Also I just removed
that encoder and directly assigned the string values to the list and display
it in the tml page *it
Hi,
I am now creating an application where am having a page called content, in
that page now am displaying an image in the left side and a title,
description and some other info in the right side. It contains more than 40
items and displays 3 to 4 items in the screen at a time.
The problem is it
Thank you for your reply, I used lazy loading only for images loading since
it contains a lot of images.
I got the images url by
*//Tapestry loop*
public List getVideoDatas() { *//Tapestry loop source*
videoItems = null;
if(isContent) {
f
These urls are not coming from inside the webapp. I have an external url, hit
that & read the json response and parse the json to retrieve the title,
description, preview image url etc.,
My problem is, using that lazy loading to load the images used the code
-->
that lazy load needs the comment
The following is the error I received,
[ERROR] TapestryModule.RequestExceptionHandler Processing of request failed
with uncaught exception: Input string '${videoItem.image}' is not valid; the
'$' character at position 1 should be followed by another '$' or a four
digit hex number (a unicode value)
Nabble swallowed my HTML...
I have used the correct comment in my coding, but for the above problem
only i just specified http://tapestry.1045711.n5.nabble.com/img-tag-src-value-not-get-render-on-run-time-in-lazy-loading-tp5713439p5713487.html
Sent from the Tapestry - User mailing list archive a
I have first tried with this lazy load plugin for jquery
http://www.appelsiini.net/projects/lazyload, but there are some problems (It
works fine without iscroll component but with Iscroll it is not working in
iphone) with that that's why tried with some other lazy loading plugins, I
will try some o
in MANIFEST file but
there is no such option in the imported packages list?
Can anyone please help me
Regards,
Karthi.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-create-a-tapestry-OSGI-bundle-project-tp5714086.html
Sent from the Tapestry - User mailing list
Any one help me?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-create-a-tapestry-OSGI-bundle-project-tp5714086p5714091.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To
sing of request failed
with uncaught exception: getWriter() has already been called for this
response
java.lang.IllegalStateException: getWriter() has already been called for
this response
What is wrong here? how can I resolve this?
Regards,
Karthi.
--
View this message in context:
http://tape
However the page gets re-directed successfully also am using a given API only
org.apache.tapestry5.services.Response response;
response.sendRedirect("");
Can you please tell me how to turn off this log?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-resolve-getW
ed
with uncaught exception: getWriter() has already been called for this
response
java.lang.IllegalStateException: getWriter() has already been called for
this response
For this scenario please give me a suggestion to resolve this?
Thanks,
Karthi.
--
View this message in context:
http://ta
I misunderstood previously, it works now. Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-resolve-getWriter-has-already-been-called-for-this-response-tp5714111p5714132.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
this?
Thanks in advance,
Karthi.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-make-datefield-input-box-readonly-tp5715744.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Thank you both, your solutions works perfectly...
Thanks again!!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-make-datefield-input-box-readonly-tp5715744p5715747.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Hi everyone,
I have used if/else in tapestry, but can anyone tell me how to achieve
if/else if/else if/else
Thanks in advance
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/if-else-if-component-tp5715941.html
Sent from the Tapestry - User mailing list archive at Nab
Thanks for your replies..
@Michael: Case technique is really a helpful one, it suits.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/if-else-if-component-tp5715941p5715947.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
tried with tapestry component layout & created Header.tml and done the
header designs in that & called in Index.tml, it works!!! But when I created
another layout Footer.tml I faced a problem in calling more that one layout
in Index.tml, How do I do that?
Thanks in advance,
Karthi.
--
V
@Mahendra thanks for your reply.
That's not my requirement, I need to create 4 layout components separately
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-split-up-components-in-a-tapestry-page-tp5716079p5716085.html
Sent from the Tapestry - User mailing list ar
@Lance Java thanks for your reply...
Let us forget the terminologies, components & layouts..
All I want is to create a four separate tml pages:
i) Header (Contains styles, codes to display header alone)
ii) Top-items videos list (Contains codes to display top videos list)
iii) Categories vi
Thanks again!!! & Sorry, I could not understand. My mistake!
Here exactly what do you mean by:
Create components for Header, TopItems, (Can you point
me an example & Can you please explain a bit more?)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/H
Many thanks @Lance Java...
I have tried & created two components header, footer & integrated in my
Index.tml page!!
It works cool!!!
This example
http://jumpstart.doublenegative.com.au/jumpstart/examples/component/creatingcomponents
is very helpful...
Thanks again!!!
--
View this message in c
97 matches
Mail list logo