Re: dojo dialog render issue

2007-06-14 Thread Paul Stanton
?? Paul Stanton wrote: https://issues.apache.org/jira/browse/TAPESTRY-1560 how's 4.1.2 coming? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: Ajaxify Page with built in Scriptaculous

2007-06-14 Thread Joshua Jackson
Thanks Bill, It's working now :) Regards On 6/15/07, Bill Holloway <[EMAIL PROTECTED]> wrote: onMyAction() returns a textstream to the handleResponse javascript method on the client. That's a handwritten method. Not sure how you're getting the whole HTML of your page. -- Let's create a high

Re: T5: Ajaxify Page with built in Scriptaculous

2007-06-14 Thread Bill Holloway
onMyAction() returns a textstream to the handleResponse javascript method on the client. That's a handwritten method. Not sure how you're getting the whole HTML of your page. On 6/14/07, Jun Tsai <[EMAIL PROTECTED]> wrote: 2007/6/14, Joshua Jackson <[EMAIL PROTECTED]>: > > Hi Bill > > Thanks a

T5: exception in T5 internal classes in the latest snapshot

2007-06-14 Thread Thiago H de Paula Figueiredo
Hi! Hava you met this exception? It happens in Tapestry's internal classes and it is an ordinary method parameter check, so I haven't attached the sources of my application, but I can do it if needed. It happens in form submissions and normal page requests, but not all. My applicatin was

Re: Split mailing list for T5/T4,4.1

2007-06-14 Thread #Cyrille37#
Daniel Jue a écrit : I say we can split it. Make the original list for T3 and T4x users, and make a new one for T5. Interested parties can subscribe to both. We can't guarantee that new subscribers to the current setup will prepend the correct version in the subject line. (Although it has work

T5.04: Get Field value for Component during validation

2007-06-14 Thread Martin Reurings
I've been writing my own Validator to match one Field to another. And I've managed to figure out how to get my hands on the Component representing the Field I'm trying to match with. However, I've not been able to figure out how to get the actual value of that other Field. Here's the relevant code

Re: Tapestry 4.1.2 Expected release Date

2007-06-14 Thread Igor Drobiazko
Great news, especially for those people who couldn't use snapshots. I hope there will be more releases in the future. On 6/14/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Well now ~cough~ umm ...I wouldn't say it's lacking features - he's just being careful / methodical like always. I'm sure H

Re: T5: (Noob:) How To Contribute A Custom Validator

2007-06-14 Thread Siddhartha Argollo
How I did it: public static void contributeFieldValidatorSource(MappedConfiguration configuration) { configuration.add("myvalidator", new MyValidator()); } Steven Coco wrote: I'm REALLY swimming lost here, however I want to use a custom Validator for a form Select widget. I have the

Re: Tapestry 4.1.2 Expected release Date

2007-06-14 Thread Jesse Kuhnert
Well now ~cough~ umm ...I wouldn't say it's lacking features - he's just being careful / methodical like always. I'm sure Howard is quite capable of doing a better job than what happened in T4 (and we'll expect nothing less ;) ) but it's a really tricky thing to get right. I'm still not totally

Re: Tapestry 4.1.2 Expected release Date

2007-06-14 Thread Renat Zubairov
Great news! Looking forward to see a new release! I really hope that after 4.1.2 Jesse would be able to contibute all his experience and _excellent_ ideas in to Tapestry 5 which is really lucking AJAX features right now. What are the plans about AJAX in Tap5? Renat On 14/06/07, Jesse Kuhnert <

Re: AW: Split mailing list for T5/T4,4.1

2007-06-14 Thread Renat Zubairov
Hi, I would agree with Jesse, it makes no sence to divide mail list. We are using 4.1.2 but I still very interesting in what's going on in 5 and some questions about 4 I could answer as well. I think it makes no sence. Renat On 14/06/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: To save everyon

Re: T5 Related Components

2007-06-14 Thread Martin Reurings
Thanx for this snippet. In the end, in a validator the trick to obtaining the ComponentResources turned out as simple as casting the Field object to a Component and using getComponentResources(). Allas it didn't seem to work from there on. Even though I manage to plow my way through the Components

[T5] Component primitive parameter defaults

2007-06-14 Thread Dan Adams
I know that you can do: @Parameter(value="some binding") private Object parameter; to set a default value. But is doing this the correct way for primitives: @Parameter private boolean parameter = true; -- Dan Adams Senior Software Engineer Interactive Factory 617.235.5857 ---

Re: AW: Split mailing list for T5/T4,4.1

2007-06-14 Thread Jesse Kuhnert
To save everyone the anticipation of wondering I should say that I don't think this will ever realistically happen. That's not final of course - if Howard chooses to he can (I think). There are a couple tiny reasons why: -) No one else is doing it. Maven2 / Struts2 / Apache2 / etc etc all hav

Re: Help in using PropertySelection component of Tapestry

2007-06-14 Thread Jesse Kuhnert
That depends on which version of tapestry you are using. There is a new "optionRenderer" parameter to PropertySelection in Tapestry 4.1.2 (which I seem to have forgotten to document, fixing that tonight now that I've noticed) which allows you to pass in a custom version of http://tapestry.apache.

Checking out t5 sources

2007-06-14 Thread Dan Adams
I'm trying to check out the sources in eclipse and when I try to do an update against the core library i get this: update -r HEAD /home/dadams/eclipse/workspaces/t5/tapestry-core svn: Target path does not exist svn: REPORT of '/repos/asf/!svn/vcc/default': 500 Internal Server Error (http://svn

Help in using PropertySelection component of Tapestry

2007-06-14 Thread Deepa Iyer
Hi, I am using PropertySelection component to create a drop down list in tapestry. The 'model' attribute equals a List of values which is getting pulled form the database. Now I want to add separate title attributes(displaying tooltip text) to my each and every option of the drop down. Is there a

Help in using PropertySelection component of Tapestry

2007-06-14 Thread Deepa Iyer
Hi, I am using PropertySelection component to create a drop down list in tapestry. The 'model' attribute equals a List of values which is getting pulled form the database. Now I want to add separate title attributes(displaying tooltip text) to my each and every option of the drop down. Is there a

T5: (Noob:) How To Contribute A Custom Validator

2007-06-14 Thread Steven Coco
I'm REALLY swimming lost here, however I want to use a custom Validator for a form Select widget. I have the server side down OK. I figured I would try to attach the validator in the template as well -- t:validator="NotEnumElementValidator=UNSELECTED" -- but I don't know how to contribute the

Re: T5 and Expension documentation

2007-06-14 Thread David Avenante
Sorry, I've found your repository in your pom,xml ;) http://people.apache.org/~hlship/tapestry-snapshot-repository ;) On 6/14/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: You're caught between releases; using expansions inside ATTRIBUTES is a new feature available in 5.0.5-SNAPSHOT. On 6/

Re: T5 and Expension documentation

2007-06-14 Thread David Avenante
Thank's Howard for the info. There is a repository where I can found this version ? I'll try to build from source with maven 2.0.5 but I've some errors in ioc module compilation : ChainBuilderImpl.java:[125,65] incompatible types found : java.lang.reflect.Constructor required: java.lang.refle

Re: T5 and Expension documentation

2007-06-14 Thread Howard Lewis Ship
You're caught between releases; using expansions inside ATTRIBUTES is a new feature available in 5.0.5-SNAPSHOT. On 6/14/07, David Avenante <[EMAIL PROTECTED]> wrote: Hi, I've read the documentation of expension. I try to render something like : http://tapestry.apache.org/schema/tapestry_5_0_

Re: AW: Split mailing list for T5/T4,4.1

2007-06-14 Thread Steven Coco
Hi. Since I'm new and only using T5, for feedback purposes on this concept, it would suit me fine if there were a T5-only list. I'll try to remember to put T5 in the subject for now too. Thanks. -Steev Coco. On Thu June 14 2007 9:08:31 am Holger Stolzenberg wrote: > That was my intend ;-) > >

Re: Setting a message for Identity Validator

2007-06-14 Thread Andreas Andreou
fixed On 6/14/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: That looks mostly reasonable, though I've never really seen this identity validator before. Is there someone else who'd be able to patch things up? On 6/13/07, Lionel Touati <[EMAIL PROTECTED]> wrote: > > Hi List, > > There is no way

Re: ASO Frustrations

2007-06-14 Thread Chris Chiappone
Well i found my issue. Just in case anyone else happens to have this problem. The issue really was having to go from jdk 1.5 back to 1.4, which I expect most people don't end up doing. I was thinking that i could extend my getAso from a parent page. You can do that but you have to include the

Re: coding style/standard

2007-06-14 Thread Andreas Andreou
There must be a checkstyle file as well somewhere - at least in T4 O/H Robin Ericsson έγραψε: On 6/14/07, Daniel Jue <[EMAIL PROTECTED]> wrote: Here I am assuming you mean the way to write code, not the project layout. That's right :-) I would take a look at the source or given examples for

Re: coding style/standard

2007-06-14 Thread Robin Ericsson
On 6/14/07, Daniel Jue <[EMAIL PROTECTED]> wrote: Here I am assuming you mean the way to write code, not the project layout. That's right :-) I would take a look at the source or given examples for the Tapestry version you are using. T5 is pretty nice with all that boilerplate code removed f

T5 and Expension documentation

2007-06-14 Thread David Avenante
Hi, I've read the documentation of expension. I try to render something like : http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> ${title} it's work fine for title but don't work for my id I've miss something ? Thank's --

Re: ASO Frustrations

2007-06-14 Thread Chris Chiappone
I put the empty default constructors in and my is in my .page file I cannot understand why this isn't working. I've had it working before in Java 1.5 but since having to use 1.4 for this project I can't seem to get something right. On 6/14/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: ju

[T5] Got the ioc working in a test with tapestry-hibernate

2007-06-14 Thread Dan Adams
So I have some test cases in which I actually need a working hibernate session so I'm having my tests start up an ioc registry. This took a bit of digging to figure out but I got it working. Here's a minimal test case that I used to prove that it worked: public void testTest() throws Exception {

Re: coding style/standard

2007-06-14 Thread Daniel Jue
Here I am assuming you mean the way to write code, not the project layout. I would take a look at the source or given examples for the Tapestry version you are using. T5 is pretty nice with all that boilerplate code removed from our code, and less need to extend from Tapestry classes. If you tak

Re: T4.1.2 LinkSubmit stops working

2007-06-14 Thread Maksym Gryevtsov
I helped with error message, but LinkSubmit is still not working. But it works on some other pages. So I will investigate. I puzzle with this Shift+Reload, what does it mean?? Jessek wrote: > > Hold down the shift button and click on your browsers "reload page" button > with mouse. > > On 6/13

Re: Split mailing list for T5/T4,4.1

2007-06-14 Thread Daniel Jue
I say we can split it. Make the original list for T3 and T4x users, and make a new one for T5. Interested parties can subscribe to both. We can't guarantee that new subscribers to the current setup will prepend the correct version in the subject line. (Although it has worked pretty well so far!

RE: Split mailing list for T5/T4,4.1

2007-06-14 Thread Bruce Petro
This sounds great - although you could also do multiple targets which could just prepend a key to all subjects so people could then pick what they want via that key word designation. Sent from my GoodLink synchronized handheld (www.good.com) -Original Message- From: Holger Stolzenbe

RE: Order in which ognl expressions are evaluated

2007-06-14 Thread Ben Dotte
Does SomeComponent implement PageBeginRenderListener by any chance? I know we've run across that exact situation where the component couldn't possibly render within the conditional but since pageBeginRender() gets called before the page renders, it gets called on all components on the page regardle

Re: Tapestry 4.1.2 Expected release Date

2007-06-14 Thread Jun Tsai
2007/6/14, Jesse Kuhnert <[EMAIL PROTECTED]>: I am waiting a few days for word back from the opensymphony.com people about some items I need to get OGNL released. If I haven't heard anything by this weekend I may just release it quietly on ibiblio myself for now. After that is done then we ca

Re: T5: Ajaxify Page with built in Scriptaculous

2007-06-14 Thread Jun Tsai
2007/6/14, Joshua Jackson <[EMAIL PROTECTED]>: Hi Bill Thanks alot for the example. It works great. But this returns the whole page of HTML to the alert message. How do I get just the TextStreamResponse and place it on my page? Thanks in advance. You may be see prototpye and scriptaculus.u

AW: Split mailing list for T5/T4,4.1

2007-06-14 Thread Holger Stolzenberg
That was my intend ;-) -Ursprüngliche Nachricht- Von: Joshua Jackson [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 14. Juni 2007 14:23 An: Tapestry users Betreff: Re: Split mailing list for T5/T4,4.1 I think we should make a polling and let the community choose. And also let us wait

Re: T5: Ajaxify Page with built in Scriptaculous

2007-06-14 Thread Joshua Jackson
Hi Bill Thanks alot for the example. It works great. But this returns the whole page of HTML to the alert message. How do I get just the TextStreamResponse and place it on my page? Thanks in advance. On 6/13/07, Bill Holloway <[EMAIL PROTECTED]> wrote: Joshua, here's a very simple example: T

coding style/standard

2007-06-14 Thread Robin Ericsson
Hi, is there a public tapestry coding style around? Or maybe ASF have a general java project one? -- regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Split mailing list for T5/T4,4.1

2007-06-14 Thread Joshua Jackson
I think we should make a polling and let the community choose. And also let us wait what Howard has got to say about this. On 6/14/07, Martin Strand <[EMAIL PROTECTED]> wrote: Then subscribe to both lists. I think it's a good idea to split, T4 and T5 discussions seem to be unrelated to each oth

RE: T5: Can't use any page name but "Start"

2007-06-14 Thread Joel Wiegman
Figured this one out. I've been developing with my pages in src/main/webapp/WEB-INF/ and my components in src/main/resources. After switching my pages over to src/main/resources (as the Tapestry site instructs) I was able to effectively rename my pages to something other than Start. I don't have

Re: Split mailing list for T5/T4,4.1

2007-06-14 Thread Martin Strand
Then subscribe to both lists. I think it's a good idea to split, T4 and T5 discussions seem to be unrelated to each other. On Thu, 14 Jun 2007 12:45:25 +0200, Alexandru Dragomir <[EMAIL PROTECTED]> wrote: I must say that i wouldn't like to be splitted. Is very easy to choose between t5

Re: Split mailing list for T5/T4,4.1

2007-06-14 Thread Alexandru Dragomir
I must say that i wouldn't like to be splitted. Is very easy to choose between t5 , t4, t3 since they have this identifier at the begining of the message. And more, i'm interested in other versions questions/solutions even if i'm not using them. (till some point they are somehow related) New com

Re: T5 How to force an (embedded) component refresh

2007-06-14 Thread Alexandru Dragomir
One easy way of doing it is to return the whished component in setupRender() and false in the beginRender() methods of your page. Returning the component in the setupRender makes tapestry to render this component first and then the others. Returning false in the beingRender stops all rendering.

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Martin Grotzke
On Thu, 2007-06-14 at 11:18 +0200, Jiri Mares wrote: > you have to encapsulate to code into one method to be able to change it > easilly, nothing more ... > >>> Sorry, but I don't understand what you want to say with this... > >> The code adding the field error have to be on one place, n

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Jiri Mares
you have to encapsulate to code into one method to be able to change it easilly, nothing more ... >>> Sorry, but I don't understand what you want to say with this... >> The code adding the field error have to be on one place, not spread through >> whole application to be easilly change

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Martin Grotzke
On Thu, 2007-06-14 at 10:54 +0200, Jiri Mares wrote: > >> you have to encapsulate to code into one method to be able to change it > >> easilly, nothing more ... > > Sorry, but I don't understand what you want to say with this... > > The code adding the field error have to be on one place, not spr

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Jiri Mares
>> you have to encapsulate to code into one method to be able to change it >> easilly, nothing more ... > Sorry, but I don't understand what you want to say with this... The code adding the field error have to be on one place, not spread through whole application to be easilly changed when the

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Martin Grotzke
On Thu, 2007-06-14 at 09:44 +0200, Jiri Mares wrote: > Hi, > > > Yeah, but what to do when the test fails then? Rewrite creation > > of dummy fields to whatever, or pull all fields for the whole > > application in page classes. > > > > Unit tests help to detect the problem then, but do not solve

Re: Split mailing list for T5/T4,4.1

2007-06-14 Thread Joshua Jackson
Good idea. I agree with you. Currently I only need T5 related. On 6/14/07, Holger Stolzenberg <[EMAIL PROTECTED]> wrote: Hey guys, I just aksed myself if it would make sense to split up the mailing list into 2 lists. For me, only T4,T4.1 topics are relevat at the moment. Everyday I have to fi

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Jiri Mares
Hi, > Yeah, but what to do when the test fails then? Rewrite creation > of dummy fields to whatever, or pull all fields for the whole > application in page classes. > > Unit tests help to detect the problem then, but do not solve it > basically ;) > > And I'm still interested, why the interface

Split mailing list for T5/T4,4.1

2007-06-14 Thread Holger Stolzenberg
Hey guys, I just aksed myself if it would make sense to split up the mailing list into 2 lists. For me, only T4,T4.1 topics are relevat at the moment. Everyday I have to filter out about let me say 80% of the mails because they are T5 related. Thats a lot of overhead. How do you all think abou

T5 How to force an (embedded) component refresh

2007-06-14 Thread Erik Vullings
Hi All, I use a layout/border component to define the general look and feel of my page. This layout consists of other embedded components. Depending on certain events in the main body (i.e.the bit), some of the embedded components in the layout component need to be refreshed/rerendered. What wo

Auto Page cleanup

2007-06-14 Thread Lionel Touati
Hi List, I was wondering if some of you had worked on a issue we're facing. Say you've got a navigation path on which you want the user to have the ability to go back and forth. In order to do that we need to have some of our properties to be persistent. This work great, however it puts a loa

Re: T5 Invoke ValidationTracker recordError with elementName instead of Field

2007-06-14 Thread Martin Grotzke
On Thu, 2007-06-14 at 07:51 +0200, Jiri Mares wrote: > Okay, > > I understand, write test for checking this particular thing and you can be > calm. Yeah, but what to do when the test fails then? Rewrite creation of dummy fields to whatever, or pull all fields for the whole application in page cla

Re: T5: Ajaxify Page with built in Scriptaculous

2007-06-14 Thread Mike_R
> Hi, i copy & paste this example but it don't work , do i missing something > ? Could you post the error? I saw some inline expansions ( ${theLink} ) so maybe you get the error because you're not running the tapestry 5.0.5-SNAPSHOT release. -- View this message in context: http://www.nabble