Re: Class and template auto-reloading in IntelliJ

2008-03-11 Thread Filip S. Adamsen
Okay, shame on me - of course IntelliJ can do it. :) It's right there in the Web Facet options, just select "JAR module output and copy file to" for your module and IntelliJ will do the right thing. -Filip On 2008-03-12 00:17, Filip S. Adamsen wrote: Oh, that reminds me: the way IntelliJ pac

Re: T5: TransformationException

2008-03-11 Thread osamuo
you are right. no error occur when using jdk1.5 instead of jdk1.6 thanks Yunhua Sang wrote: > > Are you using JDK 1.6? > > Try JDK 1.5 if you are. > > On 3/11/08, osamuo <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I show you additional information. >> >> When a page class was defined like th

Re: Class and template auto-reloading in IntelliJ

2008-03-11 Thread Howard Lewis Ship
I'm using the Jetty Integration plugin and it works great. It recompiles my code as I switch out of the IDEA frame and back to the Firefox window. And there's an easy "redeploy" button for non-component class changes. I'm discussing with the author why Groovy classes are not being compiled and in

Re: T4 "cancel" momentarily shows val errrors

2008-03-11 Thread Heath Nielson
Awesome job!!! Works great! Heath On Tue, Mar 11, 2008 at 11:45:23AM +0200, Andreas Andreou wrote: > fixed in https://issues.apache.org/jira/browse/TAPESTRY-2225 > and thx for pointing out - you can grab 4.1.6-SNAPSHOT to verify > > On Tue, Mar 11, 2008 at 4:44 AM, Heath Nielson <[EMAIL PROTECT

Re: T5 ajax zones example

2008-03-11 Thread Mark W. Shead
On Mar 11, 2008, at 8:00 PM, Weisu wrote: Hi Ted, I had tried your example, but I can not make the form part to work, it only displays "Content before update". I am using T5.0.10. I am using 5.0.11, but I had to change: @OnEvent(component="theForm", value="success") to @OnEvent(comp

Re: T5: Tomcat 6

2008-03-11 Thread yuan gogo
I give you my msn : [EMAIL PROTECTED] I'm in Guangzhou China. 2008/3/12, yuan gogo <[EMAIL PROTECTED]>: > > tomcat 6 has NO problem with tapestry 5! > I'm working on it! > > > 2008/3/12, Angelo Chen <[EMAIL PROTECTED]>: > > > > > > Hi, > > > > T5's doc says that it is tested with tomcat 5, is ther

Re: T5: Tomcat 6

2008-03-11 Thread yuan gogo
tomcat 6 has NO problem with tapestry 5! I'm working on it! 2008/3/12, Angelo Chen <[EMAIL PROTECTED]>: > > > Hi, > > T5's doc says that it is tested with tomcat 5, is there anybody using it > with tomcat 6? any problems? thanks. > > A.C. > > -- > View this message in context: > http://www.nabble

Re: t5: refreshing page inside a javascript

2008-03-11 Thread Angelo Chen
Hi Josh, This works and make code simpler, the only difference is, when u scroll to the bottom of page and do a drag & drop, the browser will display the page from the beg, so you have to scroll down again, not like the ajax call first, then window.location.reload(), page remains in the same plac

Re: T5 ajax zones example

2008-03-11 Thread Weisu
Hi Ted, I had tried your example, but I can not make the form part to work, it only displays "Content before update". I am using T5.0.10. Thanks! ws -- View this message in context: http://www.nabble.com/T5-ajax-zones-example-tp15991696p15995860.html Sent from the Tapestry - User mailing list

T5: Tomcat 6

2008-03-11 Thread Angelo Chen
Hi, T5's doc says that it is tested with tomcat 5, is there anybody using it with tomcat 6? any problems? thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3A-Tomcat-6-tp15995800p15995800.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Article on the Tapestry Wiki

2008-03-11 Thread Angelo Chen
Hi Stephane, I have used Chris Lewis approach and it works very well, I put a list of page names in the access control. looking at your annotation based approach, i found it better, one thing I'd like to suggest is, there are two kind of pages namely: A) pages that requires user to log in, B) pag

Re: [vote] remove renderTags default of true for @If/@Else? (tapestry 4.1.2 )

2008-03-11 Thread Matt Brock
A year late and a dollar short, but for the record... +1 for false *No* component should render itself unless an "element" binding parameter has been declared. I never understood why this was even an option. Howard Lewis Ship wrote: > > +1 for false > > The problem with a hivemind contributi

Re: Class and template auto-reloading in IntelliJ

2008-03-11 Thread Filip S. Adamsen
Oh, that reminds me: the way IntelliJ packs up the war isn't similar to how I do when I use Maven. It actually bit me earlier today. You *need* to pack your classes in a jar and stick it into WEB-INF/lib for reloading to work in Tomcat. It's really all I can think of that would cause the behav

Re: T5 ajax zones example

2008-03-11 Thread Ted Steen
I'm not sure that I understand what you mean? The zone is replaced by a div (I think) and then the content of that div is updated with the return values from the event handlers. 2008/3/11, Janko Muzykant <[EMAIL PROTECTED]>: > > > thanks Ted! > that helped me a lot. one additional question. is it

Re: T5 ajax zones example

2008-03-11 Thread Janko Muzykant
thanks Ted! that helped me a lot. one additional question. is it possible to mark as 'zone-to-update' something different than a form element? a simple div for example? Ted Steen wrote: > > This is a simple example showing ajax with and without forms. > Hope it helps! > > > -- > /ted > >

Re: T5 ajax zones example

2008-03-11 Thread Ted Steen
This is a simple example showing ajax with and without forms. Hope it helps! --Test.tml-- http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Ajax test Boring block fun dynamic block! date on server ${date} message: ${m

Re: AW: T4: binding stylesheets to components

2008-03-11 Thread Ulrich Stärk
My web apps have a layout of context |-- Home.html |-- WEB-INF | |-- app.application | `-- Echo.html `-- css `-- style.css Echo.html is the template for a component which gets included in Home.html. If I include jwcid="@Style" href="css/style.css" rel="stylesheet" type="text/css" media="

T5 disable ajax features

2008-03-11 Thread Janko Muzykant
before 5.0.10 has been released i had implemented my own ajax support based on dwr. now, it obviously doesn't work at all :) is it possible to disable somehow built-in tapestry's ajax support and force it not to intercept my XHRs? thanks, m. -- View this message in context: http://www.nabble.co

T5 ajax zones example

2008-03-11 Thread Janko Muzykant
Tapestry's page mentions about zones and update-divs but i'm not able to find even one example how to use them. is there anyone who successfully tried to use these features? cheers, m. -- View this message in context: http://www.nabble.com/T5-ajax-zones-example-tp15991696p15991696.html Sent fr

Re: Class and template auto-reloading in IntelliJ

2008-03-11 Thread Bill Holloway
Thanks for the info, but I'm still stuck. Even if I delete IntelliJ's Tomcat server run configuration in favor of just seting my project's output directory to .../tomcat/webapps/projectname, I still have to reload the webapp, invalidating my session. Bill On Tue, Mar 11, 2008 at 1:47 PM, Filip S

Re: T5 : How to access to a Component Body ?

2008-03-11 Thread Davor Hrg
A tab component mixin would fit here nicely :) so a wrapper does not have to be arround every tab. Davor Hrg On Tue, Mar 11, 2008 at 3:34 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > You should think not of the Tabs conponent "controlling" the Tab > components, but of all of them working t

Re: Class and template auto-reloading in IntelliJ

2008-03-11 Thread Filip S. Adamsen
Hi Bill, There are some things you need to be aware of when using Tomcat, they're listed here: http://tapestry.apache.org/tapestry5/tomcat.html You're running your application as an exploded directory, so perhaps that's why. I think you can instruct IntelliJ to build a war-file on Make, so t

Class and template auto-reloading in IntelliJ

2008-03-11 Thread Bill Holloway
Anyone have auto reloading going in IntelliJ for component classes and templates? I loved this about Eclipse+JettyLauncher. No restart! In IntelliJ, I have tomcat going under the builtin server run configuration for an exploded directory (../out). I've tried Make, and that does seem to update t

Re: T5: TransformationException

2008-03-11 Thread Josh Canfield
I don't have personal experience with your problem, but when I searched the list on nabble I found that there is an issue with Java 6 and running on Java 5 will solve the problem. http://www.nabble.com/forum/Search.jtp?forum=340&local=y&query=+java.lang.ArrayIndexOutOfBoundsException specifically

AW: T4: binding stylesheets to components

2008-03-11 Thread Stroeber, Andreas
OK... I found a way to do this. I would call it a "workaround" as it is not very pretty to configure things at multiple different code locations. :-( If anyone knows a "better" way... I am interested in that. Dialog.html Dialog.java @Asset("context:/css/messagedialog.css") public a

Re: T5: TransformationException

2008-03-11 Thread Yunhua Sang
Are you using JDK 1.6? Try JDK 1.5 if you are. On 3/11/08, osamuo <[EMAIL PROTECTED]> wrote: > > Hi, > > I show you additional information. > > When a page class was defined like the following, I got the > 'TransformationException'. > If I comment out the code which uses 'ApplicationState' variab

Re: t5: refreshing page inside a javascript

2008-03-11 Thread Josh Canfield
Hey Angelo, I'm not a jQuery user, so I'm guessing that if updateProc is the actionLink, then are you passing source and dest as query parameters? You just need to append them to the actionLink url, right? // this is off the top of my head, not tested, assumes no query params already on the actio

AW: T4: binding stylesheets to components

2008-03-11 Thread Stroeber, Andreas
Yes... So far so good. Now I get some css-Link in my body. But it links to http://localhost/css/style.css. How to point it to http://localhost/mytapapp/app/css/style.css? href="context:css/style.css" doesn't work. :-( -Ursprüngliche Nachricht- Von: Andreas Andreou [mailto:[EMAIL

Re: Problem while using @PropertySelection Component.

2008-03-11 Thread Andy Pahne
I am not sure if I understood your question, but maybe you discovered this well known IE feature (bug?): http://www.thescripts.com/forum/thread289171.html Andy sasidhar schrieb: Hi, In a web page,when a menu is displayed over a dropdown, the menu should overlap the dropdown. But it is not

Re: T5: Implementing a Grid index strategy?

2008-03-11 Thread Alec Leamas
Sounds OK, but in details I would prefer just to define the rows for the "current" page and the label(s). Otherwise we are still slipping into the idea of a fixed nr of pages which makes it complicated for some reasonable strategies like my index. I've actually implemented code with such a slid

T5 : How to access to a Component Body in a generic way ?

2008-03-11 Thread Cordenier Christophe
Actually i'm wondering if it would be possible to monitor every elements contained in a part of a Template. Extracting persistent fields, parameters... Every information that defines the state of the portion of template for a user request. -Message d'origine- De : Howard Lewis Ship [mail

Problem while using @PropertySelection Component.

2008-03-11 Thread sasidhar
Hi, In a web page,when a menu is displayed over a dropdown, the menu should overlap the dropdown. But it is not happening so.For Dropdown i am using @propertySelection component. The dropdown is displayed and it suppresses the menu. This problem occurs only in IE 6. It works fine in IE7 and Fi

Re: T5: Implementing a Grid index strategy?

2008-03-11 Thread Robert Zeigler
I had the same thought a few days ago; there's a GridDataModel, and a GridSortModel; why not have a GridPagerModel? The default implementation would have the same behavior as now: take the number of rows and the rows per page, and build fixed-length pages. That's good for a large number of case

Re: T5 : How to access to a Component Body ?

2008-03-11 Thread Howard Lewis Ship
You should think not of the Tabs conponent "controlling" the Tab components, but of all of them working together. The Tabs component can place an object into the Environment. The Tab components can retrieve that object, to "register" themselves so that the Tabs can render the correct markup. Thi

Re: T5: Implementing a Grid index strategy?

2008-03-11 Thread Alec Leamas
Just to make it clear: I don't really want anything "more" than current functionality from the Grid, just a better point to override it. Changing the internal idea of "current page/current row" would give exactly the same functionality as today, but with better options to modify it using anothe

Re: T5: Implementing a Grid index strategy?

2008-03-11 Thread Howard Lewis Ship
The built-in components can not be all things to all people. You can often reuse some of the sub-components of Grid to build a customized Grid. I think I would use a filter on the Grid; so you have a set of controls for selecting the search letter, that applies a filter to the Grid contents, then

Re: T5: Implementing a Grid index strategy?

2008-03-11 Thread Davor Hrg
sounds reasonable, you feel strong about this, so add a jira to make it a serious req. Davor Hrg On Tue, Mar 11, 2008 at 2:58 PM, Alec Leamas <[EMAIL PROTECTED]> wrote: > True. And a little better. But it still like pushing a square into a > round hole: Tapestry does not support the "natural" w

Re: Tapestry 5 and Spring Web Flow 2.0

2008-03-11 Thread Howard Lewis Ship
I'm personally overbooked until May 1st. I have a T5 client project to do on a very short schedule, so the SWF stuff won't start until after then. On Fri, Mar 7, 2008 at 5:18 AM, Francois Armand <[EMAIL PROTECTED]> wrote: > Howard Lewis Ship a écrit : > > > I've been itching to do a good SWF inte

Re: T5: Implementing a Grid index strategy?

2008-03-11 Thread Alec Leamas
True. And a little better. But it still like pushing a square into a round hole: Tapestry does not support the "natural" way to do it. I presume we agree that from a user point of view, start presenting the entries we are looking for is the "expected" thing. Also, there is actually more in thi

Re: T5: Implementing a Grid index strategy?

2008-03-11 Thread Davor Hrg
or even highliht all that begin with selected letter so user is aware where the list ends Davor Hrg On Tue, Mar 11, 2008 at 2:48 PM, Davor Hrg <[EMAIL PROTECTED]> wrote: > hm, > you can relatively easily mark the first one, > so it is noticed instantly > and that way pager and indexer are not

Re: T5: Implementing a Grid index strategy?

2008-03-11 Thread Davor Hrg
hm, you can relatively easily mark the first one, so it is noticed instantly and that way pager and indexer are not in conflict.. definitely an user friendly feature you're creating there :) Davor Hrg On Tue, Mar 11, 2008 at 2:43 PM, Alec Leamas <[EMAIL PROTECTED]> wrote: > It's an option, but n

Re: T5: Implementing a Grid index strategy?

2008-03-11 Thread Alec Leamas
It's an option, but not a good one. Looking for 'l' might present 24 users beginning with 'k', and a last line of 'Larsson'. This is just not intuitive. The expected behaveour of an index link is to start presenting entries according to the link. (like javadoc :-) ) --alec Davor Hrg wrote:

Re: T5: Implementing a Grid index strategy?

2008-03-11 Thread Davor Hrg
why is calculating page not an option ? does selected row have to be first or you just wan to navigate to the fist page that contains the row ? Davor Hrg On Tue, Mar 11, 2008 at 2:15 PM, Alec Leamas <[EMAIL PROTECTED]> wrote: > I'm about to convert some T4 code to T5. In this code, I have a lar

Re: Article on the Tapestry Wiki

2008-03-11 Thread Stephane
Sorry for the link ... I've just made the correction. Stephane Chris Lewis a écrit : Hi Stephane, I'd love to have a look, especially since I've found a seemingly better method of doing this (thanks to information from HLS). Unfortunately I can't access the page - perhaps the page name is wron

Re: T5 : How to access to a Component Body ?

2008-03-11 Thread Davor Hrg
actualy, you need not even do anything on the server side for such tabs, this can be easily achieved with a small javascript function. go through all children and generate tab controls taking title attribute as ctrl text: child.getAttribute("title"); for example I have a small hacked up js just

RE: T5 : How to access to a Component Body ?

2008-03-11 Thread Kristian Marinkovic
hi Christophe, you're right... there is a risk in decorating/using internal services... but this is why i write extensive tests to catch these changes :) as you probably know, tapestry features static components/pages and dynamic behaviour. so components are stateless until they are retrieved f

Re: Article on the Tapestry Wiki

2008-03-11 Thread Marcelo Lotif
It's here: http://wiki.apache.org/tapestry/StephaneDecleire the name of the page should be the name of the article... 2008/3/11, Chris Lewis <[EMAIL PROTECTED]>: > > Hi Stephane, > > I'd love to have a look, especially since I've found a seemingly better > method of doing this (thanks to informat

T5: Implementing a Grid index strategy?

2008-03-11 Thread Alec Leamas
I'm about to convert some T4 code to T5. In this code, I have a large , paged table of persons with index links with the letters 'a' ..'z' at the bottom of each page . Clicking the 'c' link starts presenting the first persons with a name beginning with 'c', There are also links to go on page

Re: Article on the Tapestry Wiki

2008-03-11 Thread Chris Lewis
Hi Stephane, I'd love to have a look, especially since I've found a seemingly better method of doing this (thanks to information from HLS). Unfortunately I can't access the page - perhaps the page name is wrong? The link points to: http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess, but t

Article on the Tapestry Wiki

2008-03-11 Thread Stephane
Hi, I've just published an article on the Tapestry Wiki on how to implement an access controller based on the dispatcher solution written by Chris Lewis. Feel free to comment and correct my poor english ;-) Stephane

RE: Page class annotations (was Re: Checking for a logged in user globally)

2008-03-11 Thread Cordenier Christophe
Hi Filip, You're right. I will not forget the advice. I was thinking of the Page object when I answer the thread, sorry. Not the "ComponentSource" service. Christophe. -Message d'origine- De : Filip S. Adamsen [mailto:[EMAIL PROTECTED] Envoyé : mardi 11 mars 2008 13:12 À : Tapestry users

RE: T5 : How to access to a Component Body ?

2008-03-11 Thread Cordenier Christophe
Hi Kristian, Thank you for you're answer. You're right, it's a part of the job the job if I want to get for example a state modification set during component rendering. But what is missing with this approach is that "@Persist" annotation is associated to a component class. Not to a component in

Re: Page class annotations (was Re: Checking for a logged in user globally)

2008-03-11 Thread Andreas Pardeike
Filip, After refactoring my code about a dozen times your suggestion (and my original code) did the trick. Thanks! Andreas Pardeike On 11 mar 2008, at 13.11, Filip S. Adamsen wrote: Cordenier, that's a VERY complicated way to get the class, when, in fact, getClass() on the Component returned

RE: T5 : How to access to a Component Body ?

2008-03-11 Thread Kristian Marinkovic
hi, if you just want the state (persistent fields ) you could decorate the PersistentFieldManager. This service is used to persist all fields with a @Persist annotation into the respective store. i used this to implement a kind of conversation control maybe you could elaborate more on what

RE: T5 : How to access to a Component Body ?

2008-03-11 Thread Cordenier Christophe
Actually i'm wondering if it would be possible to monitor every elements contained in a part of a Template. Extracting persistent fields, parameters... Every information that defines the state of the portion of template for a user request. -Message d'origine- De : Davor Hrg [mailto:[EMAI

Re: [T5] Add a tag to pom.xml makes tapestry crash

2008-03-11 Thread Marcelo Lotif
Thank you for the responses Looks like maven was overriding the default path and using only the defined by me... Anyway, this is about maven, not tapestry. Sorry :) 2008/3/10, Joachim Van der Auwera <[EMAIL PROTECTED]>: > > Standard maven behaviour, when you change the resources, then you have >

Re: T5 : How to access to a Component Body ?

2008-03-11 Thread Joachim Van der Auwera
Something like this can be handled using parameter blocks. See the source of equanda-tapestry5 which includes a Tab component. Kind regards, Joachim David Marquis wrote: Hi, He's having the same problem I had some time ago. Suppose I want to create a Tab Component and I want to be able to def

RE: T5 : How to access to a Component Body ?

2008-03-11 Thread Cordenier Christophe
Maybe this can help you http://wiki.apache.org/tapestry/Tapestry5HowToCreateATabPanel Using t:parameter block as the "beanEditForm" does may be another solution. -Message d'origine- De : David Marquis [mailto:[EMAIL PROTECTED] Envoyé : mardi 11 mars 2008 13:15 À : Tapestry users Objet :

Re: T4: binding stylesheets to components

2008-03-11 Thread Andreas Andreou
you mean like the @Style and @Relation components? http://tapestry.apache.org/tapestry4.1/components/general/style.html http://tapestry.apache.org/tapestry4.1/components/general/relation.html On Tue, Mar 11, 2008 at 1:34 PM, Stroeber, Andreas <[EMAIL PROTECTED]> wrote: > Hi there, > > My T4-Appli

Re: T5 : How to access to a Component Body ?

2008-03-11 Thread David Marquis
Hi, He's having the same problem I had some time ago. Suppose I want to create a Tab Component and I want to be able to define it like this in the templates: Body of tab1 Continuing body... Body of tab2 Continuing body... If would then like to 'render' t

Re: Page class annotations (was Re: Checking for a logged in user globally)

2008-03-11 Thread Filip S. Adamsen
Hi, Cordenier, that's a VERY complicated way to get the class, when, in fact, getClass() on the Component returned by ComponentSource works just fine. So that's not the problem. No, I think Andreas forgot to add @Retention(RetentionPolicy.RUNTIME) to his annotation, simple as that. Hope th

T4: binding stylesheets to components

2008-03-11 Thread Stroeber, Andreas
Hi there, My T4-Application uses several components. So I added a component MessageDialog. This component is inserted in the pages via Annotation @Component public abstract MessageDialog getMessageDialog(); My problem now is: I can add a messagedialog.css via Annotation @Asset or via in

I apologise for the multiple earlier posts. It was a mistake

2008-03-11 Thread petros
a -- View this message in context: http://www.nabble.com/I-apologise-for-the-multiple-earlier-posts.-It-was-a-mistake-tp15975867p15975867.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe,

Re: T5 : How to access to a Component Body ?

2008-03-11 Thread Davor Hrg
explain what are zou trzing to achieve, maybe we can offer a different approach.. Davor Hrg On Tue, Mar 11, 2008 at 10:33 AM, Cordenier Christophe <[EMAIL PROTECTED]> wrote: > Thank you for your answer, > > But actually my component must access its child in a dynamic way. > It will be used in d

Re: t5: Repository for 5.0.11-SNAPSHOT

2008-03-11 Thread yuan gogo
http://people.apache.org/~hlship/tapestry-releases/ download 5.0.11 release here! 2008/3/11, Davor Hrg <[EMAIL PROTECTED]>: > > there is no 5.0.11-SNAPSHOT > > 5.0.11 is being voted into a release > > use 5.0.11 > or > 5.0.12-SNAPSHOT > > > Davor Hrg > > > On Tue, Mar 11, 2008 at 9:01 AM, Angel

Custom Validator - how to create validator that depends on the state of other fields

2008-03-11 Thread ronwaldo cruz
Hi, Just would like to know how to create a custom validator that takes into account of other elements in a page. e.g. check that two textfields have different values -- View this message in context: http://www.nabble.com/Custom-Validator---how-to-create-validator-that-depends-on-the-state-of-

RE: Page class annotations (was Re: Checking for a logged in user globally)

2008-03-11 Thread Cordenier Christophe
To resolve the class of a component, you have to use the "ComponentResources" class. It contains the componentModel that allows you to the class of the "coreComponent" by using the method "getComponentClassName". With this method you can resolve the "Real" class of your component or page. There

Page class annotations (was Re: Checking for a logged in user globally)

2008-03-11 Thread Andreas Pardeike
Great. One question though. I tried to create my own annotation Access @PageAccess(Access.PUBLIC) public class Start { ... } but Class pageClass = page.getClass(); PageAccess access = pageClass.getAnnotation(PageAccess.class); fails because there are no annotations in 'page'. What am I doi

AW: tapestry 4.1 Submit problem

2008-03-11 Thread Stroeber, Andreas
Providing your code would be the best for being able to help u. ;-) -Ursprüngliche Nachricht- Von: laraVarikin [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 11. März 2008 10:01 An: users@tapestry.apache.org Betreff: tapestry 4.1 Submit problem Hi everyone! I need some help with submi

Re: T4 "cancel" momentarily shows val errrors

2008-03-11 Thread Andreas Andreou
fixed in https://issues.apache.org/jira/browse/TAPESTRY-2225 and thx for pointing out - you can grab 4.1.6-SNAPSHOT to verify On Tue, Mar 11, 2008 at 4:44 AM, Heath Nielson <[EMAIL PROTECTED]> wrote: > I create a simple page with a form i.e.: > > TestPage.html: > > success="listener:save" c

RE: T5 : How to access to a Component Body ?

2008-03-11 Thread Cordenier Christophe
Thank you for your answer, But actually my component must access its child in a dynamic way. It will be used in different context for analysis purpose. I've been searching for different ways to access a component body. For exemple, by using "nestedId" at creation time by decorating the PageElem

Re: tapestry-acegi example app question (solved)

2008-03-11 Thread Robin Helgelin
On Tue, Mar 11, 2008 at 3:37 AM, Julian Wood <[EMAIL PROTECTED]> wrote: > Hate to answer my own question, but I think the proper relation for: > > is: > > @ManyToMany( cascade={CascadeType.PERSIST, CascadeType.MERGE} ) > > You then need to persist your GrantedAuthorityBean independently from >

Re: tapestry-acegi example app question

2008-03-11 Thread Robin Helgelin
On Tue, Mar 11, 2008 at 12:18 AM, Julian Wood <[EMAIL PROTECTED]> wrote: > In the provided example for tapestry-acegi, I have a question about > the GrantedAuthorityBean table. That is, if I add more users which > share roles, each role will create a new row in the GAB table. How can > this be a

Re: t5: Repository for 5.0.11-SNAPSHOT

2008-03-11 Thread Davor Hrg
there is no 5.0.11-SNAPSHOT 5.0.11 is being voted into a release use 5.0.11 or 5.0.12-SNAPSHOT Davor Hrg On Tue, Mar 11, 2008 at 9:01 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > I got 5.0.11 from the following repository, and when i tried : > > > > this does not work, where cou

Re: T5 : How to access to a Component Body ?

2008-03-11 Thread Davor Hrg
you can not access child components geenricaly, but you can access blocks by id. you can embed components @Component TextField name; //component's class is decided here and in template simply put: but to access a textfield as Field you can: @InjectComponent private Field name; and then componen

tapestry 4.1 Submit problem

2008-03-11 Thread laraVarikin
Hi everyone! I need some help with submit process. When I click on submit button not all the values from text fields on the page are correct(the previous values are submitted, not the one i see on html page), I have to click once more on submit to get them right. All the text fields are within th

T5 : How to access to a Component Body ?

2008-03-11 Thread Cordenier Christophe
Hello, I'm currently working on a component that needs to access the content of its body to extract informations like parameters, or persistent variable used by the components declared in its body. Actually, the ComponentResources class allows me to access the container of a component, but it

Re: Newbie Tapestry

2008-03-11 Thread Patrick Moore
Why don't we just move T5 up to T7 just so that we can say that T6 is the "old" version :-) -Pat

t5: Repository for 5.0.11-SNAPSHOT

2008-03-11 Thread Angelo Chen
Hi, I got 5.0.11 from the following repository, and when i tried : this does not work, where could i download the latest 5.0.11-SNAPSHOT? thanks, A.C. tapestry-snapshots http://tapestry.formos.com/maven-snapshot-repository/ -- View this message in context: http://www.nabble.

Re: T5: TransformationException

2008-03-11 Thread osamuo
Hi, I show you additional information. When a page class was defined like the following, I got the 'TransformationException'. If I comment out the code which uses 'ApplicationState' variables, no error occurs. public class Index{ ... @ApplicationState private UserState userState; pr

Re: t5: refreshing page inside a javascript

2008-03-11 Thread Chris Lewis
You mean updateProc() calls the actionlink via AJAX? Apart from usability, the problem of not using a form or any other 'natural' way for the user to submit the data is that you leave no chance for T5 to build the link for you. This means you'd have to construct it manually. If it were a request th