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
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
?
Regards,
Karthi.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Issue-in-keeping-multiple-tml-files-for-multiple-languages-tp5719931.html
Sent from the Tapestry - User mailing list archive at Nabble.com
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
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-locale-properties-file-based-on-urls
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:
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:
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:
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.
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-field-in-tapestry-tp5719166.html
Sent from the Tapestry - User
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.
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.
--
View this message in context
@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
@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
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:
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
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
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.
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.
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.
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://tapestry.1045711.n5
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:
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://tapestry.1045711.n5.nabble.com/How-to-resolve-getWriter-has
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
Nabble swallowed my HTML...
I have used the correct comment in my coding, but for the above problem
only i just specified !-
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/img-tag-src-value-not-get-render-on-run-time-in-lazy-loading-tp5713439p5713487.html
Sent from
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
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
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
t:loop source=videoDatas encoder=encoder value=videoItem
index=currIndex *//Tapestry loop*
public ListVideoItem getVideoDatas() { *//Tapestry loop source*
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
div class=i-am-lazy!-lt;img
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
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:
input t:type=submit t:id=topLevel context=videoItem.position
defer=false t:value=${videoItem.name} /
public void onSelectedFromTopLevel(int position) {
System.out.println(Selected button item is -- + position);
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
I just interchanged this
input t:type=submit t:id=topLevel context=videoItem.position
defer=false t:value=${videoItem.name} /
to
input t:type=submit t:id=topLevel context=videoItem.name
defer=false t:value=${videoItem.position} /
now it correctly displays the position in the ui like below
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
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
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:
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
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:
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.
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 message in context:
http://tapestry
*/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-address-for-a-particular
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
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.
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:
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:
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.
Hi,
I have a class called Test in my project
public class Test {
private ListNewsItem newsItems;
}
Will tapestry creates this object every time when called or initialize once
reuse every time like servlet?
--
View this message in context:
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);
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.
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
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.
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 ListVideoItem 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) {
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
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() {
...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
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?
--
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 p ${message:stock}
Hi,
I have encoding problem in sending param values to page
p class=link
${paginationUrl}stocklist?pageName=${stockMetalsItem.title}
${stockMetalsItem.title}
br /
/p
From Tapestry java page this stockMetalsItem.title value is - Münzen
When i run this the link in the browser i got
Hi,
I have a page link like this:
t:pagelink page=TopNewsMore News/t:pagelink
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:
t:pagelink page=TopNews?startIndex=3;endIndex=11More
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 this
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?
t:loop source=topnewsdatas value=newsItem index=currIndex
rowsPerPage=8
--
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
Hi,
I have a table like below
table width=100% cellpadding=2 cellspacing=0
tr class=linkboxbold style=background-color: ${alternateColour}
${imageExistence}
/tr
/table
java file:
public String getImageExistence() {
String imageTag = null;
String image =
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.
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:
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
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
I have a form in my tml page and in that form I have the following
tr
tdlabel t:type=Label for=username class=signup_label/sup
style=color:#FC0213; */sup/td
tdinput t:type=TextField t:id=username t:value=username
t:label=Username t:validate=required,maxlength=50
t:mixins=lombok/watermark
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.
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
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.
Hi,
I have a radio group in the view which contains male and female option to
select
tr
tdGender:sup style=color:#FC0213; */sup/td
tdt:radiogroup t:value=gender
input t:type=radio t:id=male t:value=male t:label=Male
class=signup_input / Male
input t:type=radio t:id=female t:value=female
Hi,
Here is what I coded to have a text field which is used to enter phone
number
tdinput t:type=TextField t:id=phnumber t:value=phnumber
t:label=Phone Number t:validate=required,maxlength=10
t:mixins=lombok/watermark message=Enter your phone number
class=signup_input //td
Can anyone tell me
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
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:
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:
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);
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:
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
97 matches
Mail list logo