How to inject hibernate session into my Servlet

2013-02-19 Thread dinesh707
I have a HttpServlet inside tapestry project. But I think it is not recognized as a part of IoC. So when I do an inject it does not work. It ends up throwing a null pointer exception. Any suggestion about how to inject the same hibernate session. Thank you -- View this message in context: ht

How to Re-map a URL in Tapestry in Case of a redirect?

2013-01-03 Thread dinesh707
Hi, Currently my project is deployed at another server and can be accessed from following. http://test.a.com/myproject/myproject/ But if I click any action link it will go to http://test.a.com/myproject/ I need it to goto http://test.a.com/myproject/myproject/ How to make this happen? Thank

Error references component id 'ABC' which does not exist

2012-11-28 Thread dinesh707
When I run the same project in -- Jetty 7 -- Java 7 IT WORKS ! But when I build the war file and move it to -- Tomcat 7 -- Java 7 It gives the error ---Error references component id Any idea why this is happening? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Erro

Re: What am i doing in this postgreSQL configuration

2012-11-07 Thread dinesh707
error was at hibernate jars. I used different once to omit error with maven. Finally i cleaned (mvn eclipse:clean) )the project and its working. Thankx -- View this message in context: http://tapestry.1045711.n5.nabble.com/What-am-i-doing-in-this-postgreSQL-configuration-tp5717755p5717767.html

What am i doing in this postgreSQL configuration

2012-11-07 Thread dinesh707
===hibernate.cfg.xml=== org.postgresql.Driver jdbc:postgresql://localhost:5432/thetable org.hibernate.dialect.PostgreSQLDialect postgres postgres123 true true === pom.xml ===

Re: how to make a File upload server code for a Android Client

2012-10-30 Thread dinesh707
Thankx -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-make-a-File-upload-server-code-for-a-Android-Client-tp5717405p5717411.html Sent from the Tapestry - User mailing list archive at Nabble.com.

how to make a File upload server code for a Android Client

2012-10-30 Thread dinesh707
Hi, My android client program wants to upload a file though server code. Can i write this through tapestry? I found a way to do it through a tapestry form. But if im sending it by another java app (android) how to do it? -- View this message in context: http://tapestry.1045711.n5.nabble.com/ho

Why variable do not update in a text field

2012-10-24 Thread dinesh707
following are my code parts. So when some one and a mp3URL to some text area, system will send a ajax request to " onMp3UrlChanged()". Then it will get the title and set that value into "songName" and refresh the zone. IT WORKS!. But my problem is later when i change the text in the TextField and c

Re: Problem in Validation using regexp

2012-10-24 Thread dinesh707
index.properties --> Index.properties This fixed the problem. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-in-Validation-using-regexp-tp5717198p5717199.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Problem in Validation using regexp

2012-10-24 Thread dinesh707
following are my code pars. What am i doing wrong ??---index.tml--index.java---@Persist @Propertyprivate String lyricsUrl;@InjectComponent(value="lyricsUrl")private TextField lyricsUrlField;---index.properties---lyricsurl-regexp=\\d{4}(\\-?\\d{4}){3}---Error---ender queue error in BeginRender[I

How to clear all data in a page when you move to a new one ? (Logout)

2012-10-19 Thread dinesh707
Hi i have two pages. "Login" page and "Main" page. so if i do the following steps 1.) Login (Login page --> Main page) 2.) Do stuff in main page. This will re-arrange some lists 3.) Logout (Main page --> Login page) 4.) REPEAT 1.) when i do the step 4, it will show me the "Main page" from the plac

Re: How to make a zone refresh with a JavaScript polling?

2012-10-18 Thread dinesh707
Hi, it is working fine. I had some JS bugs created becouse of using jQuery in the same code. When i fix all those problems it started to work. Thank you all -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-make-a-zone-refresh-with-a-JavaScript-polling-tp5717032p5717

Re: How to make a zone refresh with a JavaScript polling?

2012-10-18 Thread dinesh707
I tried the jump start demo. it compiles and run without any errors. But it do not refresh the time as its shown in demo. It will call only the "getServerTime()" once. and it never calls the "onRefreshTimeZone()". Any idea whats going on there? I have some other codes in the system too. So its no

Why ActionLink Click is not working?

2012-10-18 Thread dinesh707
Follofwing are some of my code parts. The system.out even do not create any output on ActionLink click. what am i doing wrong? Object onActionFromPlay(int videoId){ System.out.println("onActionFromPlay(int videoId) CLICKED ==="); Video _v;

Re: Where to put my Image files and Video files ?

2012-10-17 Thread dinesh707
Thank you -- View this message in context: http://tapestry.1045711.n5.nabble.com/Where-to-put-my-Image-files-and-Video-files-tp5716995p5717029.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubsc

How to create custom using t:loop functionality

2012-10-17 Thread dinesh707
Hi, I'm very new to tapestry. I have a video call where it contains "video name","uploader's name" and URL. So i need to make a list appear in web page with video name appearing in and and uploaders name in normal text (one below the other. And if some one click the whole container (div contain