Newbie question - Testing

2005-10-18 Thread Radim Burget
Hi, I have jsut managed to add UserService to "hivemodule.xml" which is placed in /WEB-INF/ folder and works perfectly. Now I need to add TestUserDAO.java test-case. Please help 1] how to use /WEB-INF/hivemodule.xml for getting UserService ? 2] How to substitute "classes/hibernate.xml" which p

NoClassDefFound - postgresql

2005-10-02 Thread Radim Burget
Hi, I have problem with creating resource for database connection. I have just managed to connect to database in "User.java" but I think that it is better to create resource which will not create connection on every request. my jar file "postgresql.jar" is now placed in "WEB-INF/lib" and wo

Re: contrib Table sorting

2005-09-18 Thread Radim Burget
users property in page class (.java) in similar way like in .jwc? I'd like to have everything in class and annotations. 2005/9/15, Radim Burget <[EMAIL PROTECTED]>: Hi Tom, your problem is probably in wrong initialization in method pageBeginRender(...) which is called after sorting - so th

Re: contrib Table sorting

2005-09-15 Thread Radim Burget
: Regards. Radim Burget Hi all! I have a problem with contrib table and no idea to solve it :(. I'd like to have Collection type property in my page class which would be initialized in pageBeginRender and not persistent. This works fine for first display, but after I click on so

Re: Need help on Check box Component

2005-09-08 Thread Radim Burget
.page : .java : class { public boolean getUserEnabled; } Ananya Goswami wrote: Hi All, I need help on knowing what's the component to be used in my .page and .html files for the check box field. Thanks in Advance, */Thanks & Regards/*//

tag in validation

2005-09-08 Thread Radim Burget
I am a bit surprised that I found tag in html code if validation failed. Is there any way how to change that for something more CSS friendly? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

performance question

2005-09-06 Thread Radim Burget
It is probably realy stupid question but I can't help. I am quite new to java and java related stafs. As I read Java is in general assumed to be high-performanance against technologies like PHP. Now I am trying to write simple application in Tapestry with "List of items" and "details"page

Re: contrib:Table - sorting problem

2005-09-06 Thread Radim Burget
with pooling. (I presume you do that already). There are of course other alternatives, especially with Tapestry 4, but I need to see your code to help more specifically. -mb Radim Burget wrote: Mind Bridge wrote: The sorting listener is invoked before the page rendering starts. As a result

Re: Starting Tapestry with Parameters

2005-09-06 Thread Radim Burget
Try this: http://tapestry-tutorial.cloudnine.net.nz/simplest-app.html Martin Gemballa wrote: How can I give parameters to the entry-point (Home)? And how can I read them in Home.java? Thanks. - To unsubscribe, e-m

Re: contrib:Table - sorting problem

2005-09-05 Thread Radim Burget
Mind Bridge wrote: The sorting listener is invoked before the page rendering starts. As a result, getUsers() is called before pageBeginRender(). If you initialize your variables there, you are going to get that problem. I would suggest a lazy intialization in getUsers() -- that should resolv

contrib:Table - sorting problem

2005-09-05 Thread Radim Burget
Hi, I am trying to google answer on how to disable caching in contrib:table component to be working with sorting and page listing but without success. Here is my Home.page tab definition: (Tapestry 4.0beta-4) On sorting or page listing is th

Re: Newbie - id to load is required for loading

2005-09-04 Thread Radim Burget
For anyone having the same problem - persist="session" /> will make value persistent. Radim Burget wrote: (newbie question) I have detail page which is referenced by it's "id" from AcountList.html : url: /SelectAccount,detailLink.direct?sp=1 Here I need to ha

Newbie - id to load is required for loading

2005-09-04 Thread Radim Burget
(newbie question) I have detail page which is referenced by it's "id" from AcountList.html : url: /SelectAccount,detailLink.direct?sp=1 Here I need to have form with "Update" button. (result should be displayed on the same page) so it is displayed exception "id to load is required for loading

Tapestry documentation?

2005-09-02 Thread Radim Burget
Hi, I am just reading book Enjoy Web Development With Tapestry where is example of textField component: Could anyone help me where it is documented property "translator"? Thanks. Radim - To unsubscribe, e-m

Re: Newbie workbench issue

2005-08-30 Thread Radim Burget
for SOURCE: in your class you have probably method: public List getPageTabNames() {returns some list } for VALUE: in cycle it is iterated for each item of the list. And the actual value of item in each interation is stored in variable pageName. Radim. Andrew Pym wrote: Have searched the

Re: Friendly urls question

2005-08-25 Thread Radim Burget
Sorry for bothering you - problem was I had overlooked duplication of direct-service-encoder. Hi, according to http://jakarta.apache.org/tapestry/UsersGuide/friendly-urls.html I am trying to enable friendly URLs in tapestry 4.0-beta-4. After adding (to *hivemind.xml* ): state

Friendly urls question

2005-08-25 Thread Radim Burget
Hi, according to http://jakarta.apache.org/tapestry/UsersGuide/friendly-urls.html I am trying to enable friendly URLs in tapestry 4.0-beta-4. After adding (to *hivemind.xml* ): stateless-extension="direct" stateful-extension="sdirect"/> is thrown *exception*: org.apache.h

Re: persistent property problem

2005-08-24 Thread Radim Burget
I am not shure if I understand you right but here is my approach: public abstract class Home extends BasePage implements *PageRenderListener* { public abstract List getLoans(); public abstract void setLoans(List loans); . public void *pageBeginRender*(PageEvent event) List

Re: persistent property problem

2005-08-24 Thread Radim Burget
I am not shure if I undertand you right but Hello All! Something strange is going on... I declare persistent property in page spec: But after page reload, this persistent property obtains NEW value. (Page instance is the same) But it is session-persistent it shouldn't be re-inited. Am

Re: upload size limit ean-

2005-08-24 Thread Radim Burget
Hi, I haven't jsust tryied it by myself but I guess you shuold help the "appfuse project" (use google) There it is implemented. Regards. Radim Hello, I have seen posts in the mailing list regardind the size upload limit in Tapestry 4, it seem's that it is not yet possible to change the max

Tapestry 4.0 & SpringFramework

2005-08-24 Thread Radim Burget
Hi, I am trying to integrate Tapestry 4.0 with Spring Framework. Is it possible to use "friendly urls" with Spring 1.2? (I am not wery experienced so example would be great :) Here is my *web.xml* tapestry config: tapestry org.apache.tapestry.ApplicationServlet 2

Tapestry headers & caching

2005-08-21 Thread Radim Burget
Hi, I am using tapestry 3.0.3 (with Spring 1.2) could anyone help me how do I set headers of page like caching? Many thanks for any help. Radim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: How to get manager bean, (Tapestry 3.0.3, Spring 1.2)

2005-08-12 Thread Radim Burget
In "web.xml" I have : tapestry org.apache.tapestry.ApplicationServlet 2 tapestry /app How are you injecting it into into Tapestry's Global object since you are requesting it from there? On 8/11/05, Radim

Session expired exception

2005-08-11 Thread Radim Burget
Hi, (just newbie) could anyone clarify in more detail how to get rid of Session Expired Exception please? I find it has something to do with "HttpSessionListener" but as I am quite new to java programming I do not understand. Could anyone please give me some example? Thanks in advance.

How to get manager bean, (Tapestry 3.0.3, Spring 1.2)

2005-08-11 Thread Radim Burget
Hi, could anyone help me how do I get Spring bean from Spring? I am using Spring 1.2-rc2, Tapestry 3.0.3 Here is my code: Home.java: public abstract class Home extends BasePage implements PageRenderListener { . public abstract TitleManager getTitleManager(); public abstract void setTit

requiredValidator & datePicker collectively

2005-08-04 Thread Radim Burget
Hi, is it possible to use component with "requiredValidator" and use "datePicker" collectivelly? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HelloWorld app deploying on Tomcat problem

2005-08-01 Thread Radim Burget
Hi, according to tutorial ( http://www.agileskills2.org/EWDT/ ) I am trying HelloWorld example get working. Steps: 1] downloaded 'Tapestry-3.0.3-bin.tar.gz' 2] downloaded javassist-3.0.zip, extracted and copied c:\javassist\javassist.jar into C:\Tapestry\lib\ext 3] installed spindle plugin in

Validation - newbie question

2005-07-31 Thread Radim Burget
Hi, (just newbie) I need a "datePicker" and validate input as required field with "dateValidator". Is it possible? Many thanks for any help. Radim -- Separatelly I have manneged both: 1] date picker: 2] dateValidator: