Re: To save the state of the session

2008-12-08 Thread kk4Nabble
Thanks for the reply, Problem is I am using Tapestry 4.1.1. So Any ways to do it in this version . Thank you Ulrich Stärk wrote: > > Use the @Persist annotation on your page properties (see > http://tapestry.apache.org/tapestry5/guide/persist.html) > > Uli > > kk4Nabble schrieb: >> Hi all, >

Re: passivate/activate

2008-12-08 Thread James Hillyerd
(I'm still learning to anyone feel free to correct me!) Think of it this way: onPassivate() is used to generate links to your a page. Anytime you to t:pagelink, t:actionlink, or t:form - they all create an instance of your page (even if you don't specify a context), then call onPassivate on it.

Re: To save the state of the session

2008-12-08 Thread Ulrich Stärk
Use the @Persist annotation on your page properties (see http://tapestry.apache.org/tapestry5/guide/persist.html) Uli kk4Nabble schrieb: Hi all, I have a page with some values set..say suppose a checkbox is checked. when i go to someother page and come back to this page, the state of the page

To save the state of the session

2008-12-08 Thread kk4Nabble
Hi all, I have a page with some values set..say suppose a checkbox is checked. when i go to someother page and come back to this page, the state of the page should be same..ie checkbox is still checked. I want to save the state of the objects within the session How to do this in tapestry? Thanks

Re: Changing Default page as another page other than Home page.

2008-12-08 Thread kk4Nabble
Thank you all for the reply.. I did in .application page. T his will work.. Andreas Andreou wrote: > > Well, to answer the original question, just google for > web.xml and welcome-file-list > and set it up so that calendar.html is served... or, > > it's possible you're already using the ta

[T5]The absolute path problem

2008-12-08 Thread Bill_mouse
I try to make my first integrate CRUD case and meet the bothersome path problem. I use modal window to popup the C/U in the main page with path "XXX/XXX"(the main page path is "http://localhost:8080/approot/main";), and get the satisfied result. But after query in the main page, the popup path

passivate/activate

2008-12-08 Thread Luther Baker
Question about the flow. I GET ViewProject.tml with an activation context of "1" which invokes: ViewProject.onActivate(Integer projectId) I echo the projectId to the screen as a context for a CreateIssue pagelink. I visit or GET CreateIssue.tml which invokes: CreateIssue.onActivate(Intege

typo

2008-12-08 Thread Luther Baker
Just a small type on the Component Events page. I don't think the trailing ** is correct below .. http://tapestry.apache.org/tapestry5/guide/event.html Choose a number from 1 to 10: ${index}

Additional parameter for beaneditform

2008-12-08 Thread Luther Baker
Scenario: I am creating Projects and Issues under those projects and have a question about passing the projectid around. Project.tml Create New Issue CreateIssue.tml Q1: notice, I have to add the projectId parameter. Also, 'new

Re: t5 tree component

2008-12-08 Thread Weisu
I have followed the wiki and implemented the tree component. I am happy to help if you give more information about your problem. Weisu Yiqun Shi wrote: > > Is there a better implementation of tree component in T5? The one on wiki > is not finished, and it is not easy to have it down. Tapestry h

small typo

2008-12-08 Thread Luther Baker
Just a small typo at the bottom of the page: there is an opening square brace but no ending brace. http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/ActionLink.html [delete

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Borut Bolčina
2008/12/8 Stephane Decleire <[EMAIL PROTECTED]> > > So, after several days of development environment frustrations, it seems > that i get my configuration back and ready to work ... > > > > A JIRA request as already been filled 2 months ago for this and i think > we should vote for it. > > Stephan

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Stephane Decleire
Thanks Thiago for the tip. Thiago H. de Paula Figueiredo a écrit : > Em Mon, 08 Dec 2008 08:10:39 -0300, Stephane Decleire > <[EMAIL PROTECTED]> escreveu: > >> I have just found the solution : >> -Dtapestry.modules=com.cariboonetworks.mylib1.services.Lib1Module,com.cariboonetworks.mylib2.services.

Re: [T4] File upload without qualified path

2008-12-08 Thread waltk
Not sure if this will work for Tapestry 4.0.X but we had a similar request when we were using Tap 3.X in that the user wanted to be notified if the path is invalid. We submitted the form via onsubmit so we are able to catch (via JavaScript try/catch) the exception thrown when you submit a form wi

T5 app - Tomcat with security manager deployment problem

2008-12-08 Thread shymon
Hello, I'm trying to deploy t5 app to Tomcat 6.0.18 with security manager turned on. In the beginning there were some access exceptions but I have granted following Permissions: grant codeBase "file:${catalina.base}/webapps/myapp/WEB-INF/lib/-" { permission java.lang.reflect.ReflectPermission "

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Thiago H. de Paula Figueiredo
Em Mon, 08 Dec 2008 08:10:39 -0300, Stephane Decleire <[EMAIL PROTECTED]> escreveu: I have just found the solution : -Dtapestry.modules=com.cariboonetworks.mylib1.services.Lib1Module,com.cariboonetworks.mylib2.services.Lib2Module, ... in the VM parameters of the JettyLauncher configuration did

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Stephane Decleire
Sorry, forgot the link : https://issues.apache.org/jira/browse/TAP5-245 Stephane Andreas Andreou a écrit : > which JIRA is that? > > On Mon, Dec 8, 2008 at 1:10 PM, Stephane Decleire > <[EMAIL PROTECTED]> wrote: > >> I have just found the solution : >> -Dtapestry.modules=com.cariboonetworks.my

Re: [T5.0.17] can't write parameter defined in base class [solved]

2008-12-08 Thread Andy Pahne
Forget about it. I was wrong, it works as expected... Andy Pahne schrieb: I have a base class which has a parameter defined. Trying to write the parameter results in an exeption (see below). I don't really understand why this is happening, because I expect a parameter to be writable. I

RE: T5: Clicking on actionLonk with a zone parameter before page loads

2008-12-08 Thread Russell Brown
Hi Peter, Thanks for that. To try it I guess I have to upgrade to 5.0.17 ? Cheers Russell -Original Message- From: Peter Stavrinides [mailto:[EMAIL PROTECTED] Sent: 08 December 2008 15:01 To: Tapestry users Subject: Re: T5: Clicking on actionLonk with a zone parameter before page loads

Re: T5: Clicking on actionLonk with a zone parameter before page loads

2008-12-08 Thread Peter Stavrinides
Ironic that you are pointed to yahoo for a solution when the advice they advocated to the community is to load scripts after markup, all for the false hope of a performance increase, which is ultimately incorrect and is creating these types of problems... your markup (hence actionlinks etc) shou

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Andreas Andreou
which JIRA is that? On Mon, Dec 8, 2008 at 1:10 PM, Stephane Decleire <[EMAIL PROTECTED]> wrote: > I have just found the solution : > -Dtapestry.modules=com.cariboonetworks.mylib1.services.Lib1Module,com.cariboonetworks.mylib2.services.Lib2Module, > ... in the VM parameters of the JettyLauncher co

Re: Changing Default page as another page other than Home page.

2008-12-08 Thread Andreas Andreou
Well, to answer the original question, just google for web.xml and welcome-file-list and set it up so that calendar.html is served... or, it's possible you're already using the tapestry redirect filter (check your web.xml) to redirect to /app. In that case, just configure it to forward to calenda

[T5.0.17] can't write parameter defined in base class

2008-12-08 Thread Andy Pahne
I have a base class which has a parameter defined. Trying to write the parameter results in an exeption (see below). I don't really understand why this is happening, because I expect a parameter to be writable. I mean, that's the sole purpose of a parameter, isn't it? Am I doing it wrong?

Re: Changing Default page as another page other than Home page.

2008-12-08 Thread Thiago H. de Paula Figueiredo
Em Mon, 08 Dec 2008 11:08:47 -0300, kk4Nabble <[EMAIL PROTECTED]> escreveu: I am using tapestry 4.1.1 I strongly suggest you to learn Tapestry 5 intead of Tapestry 4.1. The 5 version is very stable for a long time, is much easier to learn and is very close to the first final version. -

Re: Changing Default page as another page other than Home page.

2008-12-08 Thread kk4Nabble
I am using tapestry 4.1.1 I have a page saying calendar.html I want this to be default page. Thiago H. de Paula Figueiredo wrote: > > Em Mon, 08 Dec 2008 10:17:38 -0300, kk4Nabble <[EMAIL PROTECTED]> > escreveu: > >> I am New to Tapestry. >> I have a question, the default page for a tapestry

Re: Changing Default page as another page other than Home page.

2008-12-08 Thread Thiago H. de Paula Figueiredo
Em Mon, 08 Dec 2008 10:17:38 -0300, kk4Nabble <[EMAIL PROTECTED]> escreveu: I am New to Tapestry. I have a question, the default page for a tapestry application is Home Page if no request is made. Is there any way to change this default page to some other page other than Home page. What

Changing Default page as another page other than Home page.

2008-12-08 Thread kk4Nabble
Hi all, I am New to Tapestry. I have a question, the default page for a tapestry application is Home Page if no request is made. Is there any way to change this default page to some other page other than Home page. -- View this message in context: http://www.nabble.com/Changing-Default-page-as-

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Stephane Decleire
I have just found the solution : -Dtapestry.modules=com.cariboonetworks.mylib1.services.Lib1Module,com.cariboonetworks.mylib2.services.Lib2Module, ... in the VM parameters of the JettyLauncher configuration did the trick. So, after several days of development environment frustrations, it seems tha

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Stephane Decleire
Oups, no, it wasn't ... Strange since i have checked this yesterday ... So, with "build automatically" checked, here is what i get : 1. If i launch my tapestry application in eclipse using "Debug as / Maven Build ..." and start jetty:run", dependencies are correctly added to the project but each

Re: [T5] Tapestry + Maven make me crazy !!!

2008-12-08 Thread Stephane Decleire
Yes i do Jonathan Barker a écrit : > Do you have Build Automatically selected in Eclipse? > > >> -Original Message- >> From: Stephane Decleire [mailto:[EMAIL PROTECTED] >> Sent: Sunday, December 07, 2008 18:59 >> To: Tapestry users >> Subject: Re: [T5] Tapestry + Maven make me crazy !!!

Re: tapestry-spring-security: how to set ASO on successful login?

2008-12-08 Thread Robin Helgelin
On Mon, Dec 8, 2008 at 03:59, Jonathan Barker <[EMAIL PROTECTED]> wrote: > you will see where the AnonymousAuthenticationProcessingFilter is hooked in. I've been following this thread, I've just not come up with any good answers before other people :). I was thinking of the AnonymousAuthenticatio