Re: How to call locale properties file based on urls

2013-02-12 Thread karthi
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

Re: How to call locale properties file based on urls

2013-02-11 Thread karthi
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.

Re: How to call locale properties file based on urls

2013-02-11 Thread karthi
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

Issue in keeping multiple tml files for multiple languages

2013-02-11 Thread karthi
? 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

Re: How to call locale properties file based on urls

2013-02-10 Thread karthi
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

How to call locale properties file based on urls

2013-02-08 Thread karthi
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

Re: How to call locale properties file based on urls

2013-02-08 Thread karthi
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:

Re: How to call locale properties file based on urls

2013-02-08 Thread karthi
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:

Re: How to log page on-load time page size

2013-01-25 Thread karthi
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:

Re: How to log page on-load time page size

2013-01-25 Thread karthi
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.

Re: How to log page on-load time page size

2013-01-25 Thread karthi
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.

Re: How to log page on-load time page size

2013-01-25 Thread karthi
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.

Way to display numeric pad for phone number field in tapestry

2013-01-06 Thread karthi
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

How to build both .tml, .java page using ant build

2012-12-13 Thread karthi
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:

Re: How to build both .tml, .java page using ant build

2012-12-13 Thread karthi
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.

How to split up components in a tapestry page

2012-09-06 Thread karthi
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

RE: How to split up components in a tapestry page

2012-09-06 Thread karthi
@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

Re: How to split up components in a tapestry page

2012-09-06 Thread karthi
@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

Re: How to split up components in a tapestry page

2012-09-06 Thread karthi
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:

Re: How to split up components in a tapestry page

2012-09-06 Thread karthi
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

if/else if component

2012-08-31 Thread karthi
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

Re: if/else if component

2012-08-31 Thread karthi
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.

How to make datefield input box readonly

2012-08-23 Thread karthi
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

Re: How to make datefield input box readonly

2012-08-23 Thread karthi
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.

RE: How to resolve: getWriter() has already been called for this response

2012-06-28 Thread karthi
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.

How to resolve: getWriter() has already been called for this response

2012-06-27 Thread karthi
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

Re: How to resolve: getWriter() has already been called for this response

2012-06-27 Thread karthi
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:

Re: How to resolve: getWriter() has already been called for this response

2012-06-27 Thread karthi
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

How to create a tapestry - OSGI bundle project

2012-06-26 Thread karthi
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

Re: How to create a tapestry - OSGI bundle project

2012-06-26 Thread karthi
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

Re: img tag src value not get render on run time in lazy loading

2012-05-29 Thread karthi
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

Re: img tag src value not get render on run time in lazy loading

2012-05-29 Thread karthi
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

img tag src value not get render on run time in lazy loading

2012-05-28 Thread karthi
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

Re: img tag src value not get render on run time in lazy loading

2012-05-28 Thread karthi
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*

Re: img tag src value not get render on run time in lazy loading

2012-05-28 Thread karthi
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

Re: img tag src value not get render on run time in lazy loading

2012-05-28 Thread karthi
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

Re: How to send the selected button value from tml page to corr. java page

2012-05-15 Thread karthi
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.

Re: How to send the selected button value from tml page to corr. java page

2012-05-15 Thread karthi
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);

Re: How to send the selected button value from tml page to corr. java page

2012-05-15 Thread karthi
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

Re: How to send the selected button value from tml page to corr. java page

2012-05-15 Thread karthi
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

Re: How to send the selected button value from tml page to corr. java page

2012-05-15 Thread karthi
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 -

Re: How to send the selected button value from tml page to corr. java page

2012-05-15 Thread karthi
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

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread karthi
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

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread karthi
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:

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread karthi
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

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread karthi
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:

Re: Cookies: Invalid cookie. Value not a token or quoted value

2012-05-14 Thread karthi
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.

Cookies: Invalid cookie. Value not a token or quoted value

2012-05-03 Thread karthi
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

Domain name changed to ip address for a particular page submission?

2012-04-23 Thread karthi
*/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

Re: Domain name changed to ip address for a particular page submission?

2012-04-23 Thread karthi
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

Re: Issue in re-rendering the zone block

2012-04-12 Thread karthi
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.

Which method is called in a page when click back button from browser

2012-03-30 Thread karthi
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

Re: Which method is called in a page when click back button from browser

2012-03-30 Thread karthi
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:

Re: Tapestry5 services cookies not get writes in samsung galaxy nexus s

2012-03-26 Thread karthi
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:

Re: Tapestry5 services cookies not get writes in samsung galaxy nexus s

2012-03-24 Thread karthi
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.

Tapestry class variables behavior

2012-03-23 Thread karthi
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:

Tapestry5 services cookies not get writes in samsung galaxy nexus s

2012-03-23 Thread karthi
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);

Re: Tapestry class variables behavior

2012-03-23 Thread karthi
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.

Re: Is there any way to get the selected item's index in loop after layout has been done?

2012-03-14 Thread karthi
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

Re: Is there any way to get the selected item's index in loop after layout has been done?

2012-03-13 Thread karthi
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.

Re: How do I pass values from one page to another using onSelected

2012-03-12 Thread karthi
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.

Is there any way to get the selected item's index in loop after layout has been done?

2012-03-12 Thread karthi
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)

Re: Is there any way to get the selected item's index in loop after layout has been done?

2012-03-12 Thread karthi
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) {

How do I pass values from one page to another using onSelected

2012-03-11 Thread karthi
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

Issues in saving values in cookies

2012-03-05 Thread karthi
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() {

Re: How to display special characters in tml page

2012-03-05 Thread karthi
...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

Re: How to display special characters in tml page

2012-03-05 Thread karthi
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.

Re: Issues in saving values in cookies

2012-03-05 Thread karthi
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? --

Re: How to display special characters in tml page

2012-03-01 Thread karthi
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}

Encoding problem character 'ü' is not valid

2012-02-24 Thread karthi
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

How to pass page name with parameters in pagelink

2012-02-22 Thread karthi
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

Re: How to pass page name with parameters in pagelink

2012-02-22 Thread karthi
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

Re: How to pass page name with parameters in pagelink

2012-02-22 Thread karthi
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 -

Is there any way to use rows per page in loop?

2012-02-22 Thread karthi
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

Html tag not get layout properly?

2012-02-22 Thread karthi
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 =

Re: Html tag not get layout properly?

2012-02-22 Thread karthi
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

Re: Html tag not get layout properly?

2012-02-22 Thread karthi
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.

Re: How to pass page name with parameters in pagelink

2012-02-22 Thread karthi
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.

Re: How to call a method in java page for button submit action?

2012-02-21 Thread karthi
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.

how to get the index in tapestry loop and change background color of a table

2012-02-21 Thread karthi
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

Re: how to get the index in tapestry loop and change background color of a table

2012-02-21 Thread karthi
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:

Re: How to call a method in java page for button submit action?

2012-02-17 Thread karthi
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

Re: How to call a method in java page for button submit action?

2012-02-17 Thread karthi
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

How to call a method in java page for button submit action?

2012-02-16 Thread karthi
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

Re: How to restrict users only to enter numeric values in text field

2012-02-15 Thread karthi
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.

Re: How to add a java variable value in href

2012-02-11 Thread karthi
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

Re: How to restrict users only to enter numeric values in text field

2012-02-11 Thread karthi
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

Re: How to get the selected value from radio group

2012-02-11 Thread karthi
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.

How to get the selected value from radio group

2012-02-10 Thread karthi
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

How to restrict users only to enter numeric values in text field

2012-02-10 Thread karthi
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

Re: How to get the selected value from radio group

2012-02-10 Thread karthi
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

How to upload a file using tapestry

2012-02-10 Thread karthi
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:

Re: How to get the selected value from radio group

2012-02-10 Thread karthi
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:

How to add a java variable value in href

2012-02-10 Thread karthi
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);

Re: How to upload a file using tapestry

2012-02-10 Thread karthi
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

Re: How to upload a file using tapestry

2012-02-10 Thread karthi
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:

Re: How to upload a file using tapestry

2012-02-10 Thread karthi
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