AW: Cross Validation in dynamic Forms

2010-02-16 Thread Dominik Gätjens
Hey, this doesn't work i only get the last textfield. But i guess you are mean @InjectComponent instead of @Inject? My code looks like: @InjectComponent private TextField tippHeim; @InjectComponent private TextField tippGast;

Re: What websites are using Tapestry 5?

2010-02-16 Thread martijn.list
Michael Martineau wrote: I'm trying to find a list of websites that use Tapestry 5. I would like to take a look at them and see what sort of things they are able to do using Tapestry. If any of you have a public website that is built on Tapestry 5, please send me a link. I known Lithium u

Re: What websites are using Tapestry 5?

2010-02-16 Thread Robin Komiwes
Hi! There is Wooki, an open source collaborative book authoring tool. You can see the demo @wookicentral.com and checkout the source code @ github.com/robink/wooki Regards, Robin K. On Wed, Feb 17, 2010 at 8:24 AM, Michael Martineau wrote: > Hi, > > I'm trying to find a list of websites that

What websites are using Tapestry 5?

2010-02-16 Thread Michael Martineau
Hi, I'm trying to find a list of websites that use Tapestry 5. I would like to take a look at them and see what sort of things they are able to do using Tapestry. If any of you have a public website that is built on Tapestry 5, please send me a link. Also, I'm interested to know if you bui

Re: [T5.1] Remembering Search Parameter during Changing Page in Grid

2010-02-16 Thread Yohan Yudanara
Thanks a lot for the solution... It works.. On Wed, Feb 17, 2010 at 2:10 AM, Thiago H. de Paula Figueiredo wrote: > On Tue, 16 Feb 2010 03:42:30 -0200, Yohan Yudanara > wrote: > >> Hi.. > > Hi! > >> My question is: >> can I execute above scenario without persisting searchParam in Session ? > > U

Re: Activation context for a component?

2010-02-16 Thread Nathan Kopp
Probably the tip I needed was this: "When using an EventLink inside a loop, be sure that your event handling method does not refer to any loop variable either directly or indirectly. Especially be cautions of referring to parameters that may have been bound to any loop variable or a field of a lo

Re: Activation context for a component?

2010-02-16 Thread Kalle Korhonen
Nathan, since you invested considerable amount of time debugging a case that seems to be just a standard event bubbling behavior, do you think that there is anything you'd think the framework or somebody could do to make the logical error in your code more visible? I know Tapestry documentation has

Re: Activation context for a component?

2010-02-16 Thread Nathan Kopp
For future reference... this in fact turned out to be a bug in my code. Under normal circumstances Tapestry will NOT attempt to perform parameter bindings when processing the EventLink. However, I accidentally left a line of code in my event handling method which referenced one of the parameters

Re: ActivationContext for a component

2010-02-16 Thread Nathan Kopp
Wow... You were absolutely correct that I was making this more complicated than it needed to be. It turns out that when I tested the version with the eventlink context, I accidentally left a line of code in the event method that caused Tapestry to do a parameter binding to the loop variable. It t

Re: integrating a web services stack

2010-02-16 Thread Piero Sartini
> That would be for RESTful web services only. Did you ever have to expose a > service via SOAP? You are right, this is useful for RESTful services only. Never had to expose a SOAP service within a pure tapestry application, but a few where I am doing this from an EJB backend. But that's overkill

Re: integrating a web services stack

2010-02-16 Thread Ulrich Stärk
That would be for RESTful web services only. Did you ever have to expose a service via SOAP? Uli On 16.02.2010 20:40 schrieb Piero Sartini: Which solution are you using and why? Are there others I haven't thought of? I am using tapestry-resteasy if I need to make a service available.

Re: integrating a web services stack

2010-02-16 Thread Piero Sartini
> Which solution are you using and why? Are there others I haven't thought of? I am using tapestry-resteasy if I need to make a service available. Piero - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org Fo

integrating a web services stack

2010-02-16 Thread Ulrich Stärk
Hi folks, I'd like to know how you are integrating a web services stack to expose services used by your pages as a web service. For me there are several options: 1. Most stacks come with a servlet that handles requests to the web services. One could write a wrapper around that servlet and con

Re: [T5.1] Remembering Search Parameter during Changing Page in Grid

2010-02-16 Thread Thiago H. de Paula Figueiredo
On Tue, 16 Feb 2010 03:42:30 -0200, Yohan Yudanara wrote: Hi.. Hi! My question is: can I execute above scenario without persisting searchParam in Session ? Use the search text as the page activation context. Something like: public void onActivate(String search) { searchParam =

Re: Page render & event URLs with large optional context parameter

2010-02-16 Thread Kalle Korhonen
If you have a limited number of pagelinks referring to the same page, maybe you could just contruct them by hand and just return null in onPassivate. I.e. store the initial context to @Property initialContext and then render the page links with - would that work? Kalle On Tue, Feb 16, 2010 at 9

Page render & event URLs with large optional context parameter

2010-02-16 Thread Blower, Andy
I may have enquired about this a while back, but I put it on the back burner and am only just returning to it now. Basically I have a page with an activation context which is not bookmarkable (relies on session info) without an extra parameter in the activation context which contains all the in

[T5.1] Request to Application Root path ignores t5 filters

2010-02-16 Thread Everton Agner
Hi, I've noticed a weird behavior in two different T5.1 applications. I've made a ComponentRequestFilter to handle Locale issues... And if I request [ /t5app/Start ] page, my Filter code is executed. But, if I request the Application Root path [ /t5app or /t5app/ ] it ignores the Filter and av

Re: ActivationContext for a component

2010-02-16 Thread Nathan Kopp
Thanks for the suggestion. This looks like a great idea, but it didn't work for me exactly as-is. I still get an NPE when Tapestry is trying to bind component parameters in the level just above ViewDonkeyInlineEdit. The point of code with the problem is where I'm passing in Test.tml. When T

Res: Grid get objects from current page

2010-02-16 Thread Everton Agner
I had to do this and I tried to get the objects from the model using the getAvailableRows() and getRow() method... but it turned out that the model refers to all of them... So, it freaked out with Indexes. My GridDataSource implementation had a List result object that refers to the objects load

Re: Cross Validation in dynamic Forms

2010-02-16 Thread Ulrich Stärk
Depends on how you are doing the "dynamic" part. If you are looping over your textfields, then injecting them into the page class should work, e.g. /> and "@Inject private TextField foo" should give you the field of the current iteration. Uli On 16.02.2010 14:34 schrieb Dominik Gätjens: Hello

Re: Activation context for a component?

2010-02-16 Thread Nathan Kopp
On Mon, Feb 15, 2010 at 3:21 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 15 Feb 2010 03:51:08 -0200, Nathan Kopp > wrote: > > This looks like a bug in your code, most probably by working in a T4-ish >>> way in T5. >>> >> >> Well, it's certainly a "bug" in that I'm tr

Launched Yardsellr with T5.1

2010-02-16 Thread Daniel Leffel
We wanted to share with the mail list that we've launched Yardsellr using T5.1 (also using Spring/Hibernate). http://yardsellr.com Also, we're interested in hiring one or two engineers who know how to make rocking tapestry apps. Full-time or on contract would be considered- contact j...@yellowdog

Cross Validation in dynamic Forms

2010-02-16 Thread Dominik Gätjens
Hello List, I'm building a dynamic form with textfields on the fly and need to do some cross validation. This all works pretty and i find two fields that are invalid together. But how can I report this error AND mark both fields as invalid? I don't have a component to call Form.recordErro

Re: [T5.1] Remembering Search Parameter during Changing Page in Grid

2010-02-16 Thread Joost Schouten (ml)
Use the code below. It will not use a session and encode the value in your urls. Cheers, Joost private String searchTerm; @OnEvent(value = EventConstants.ACTIVATE) private void activate(String searchTerm) { this.searchTerm = searchTerm; } @OnEvent(value = EventConstants.PASSIVATE) private

Re: [T5.1] Remembering Search Parameter during Changing Page in Grid

2010-02-16 Thread Muhammad Mohsen
I'm no expert in tapestry and I'm not sure if I got your question right, but either ways I'll try to help. 1.try using use "@Persist" without specifying that it's a session scoped persistence. (assuming you are using tapestry 5) 2.refer to the "hilo" tutorial here on tapestry