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
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
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
:
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
.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/*//
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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.
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
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]
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
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:
28 matches
Mail list logo