[JOB] Looking for T5 software engineer in Boston

2010-02-03 Thread dan
Hey all. I'm looking for a full-time, on-site hire for a T5 software engineer in boston immediately. Position will be posted in all the usual places but figured I'd give you guys a head start. Here's the job posting: Web Application / Software Engineer Interactive Factory is a client-orient

Re: T4: forward browser to an external web site

2010-02-03 Thread Ivano Luberti
I will try that: for whatever reason I was convinced that I had to submit a form and not simply a link. But checking twice the docs of the web site I have to forward to, I see I can use a link. Thanks for now Martin Strand ha scritto: > If you just want to redirect the client to another URL, retu

Re: T4: forward browser to an external web site

2010-02-03 Thread Martin Strand
If you just want to redirect the client to another URL, return an ILink from your form listener: public ILink formSubmitListener() { // Do work // ... return new StaticLink("http://www.example.com/";); } Martin On Wed, 03 Feb 2010 10:39:23 +0100, Ivano Luberti wrote: Hello, I'm tryi

onSelectedFrom is called too late

2010-02-03 Thread Stephan Windmüller
Hello! I have the following problem: On a page a Grid is displayed inside a form which contains a checkbox for each row (similar to [0]). When I submit the form using one of the submit buttons below, I want to check for each row if the action of the submit button is possible. To achieve thi

Re: Is it possible to have tapestry and other servlets on the same servletContainer?

2010-02-03 Thread Christophe DUFOUR
Yes, that's exactly what I was looking for. Thank's a lot. Christophe DUFOUR http://www.dooapp.com On Wed, Feb 3, 2010 at 4:16 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 03 Feb 2010 13:09:03 -0200, Christophe DUFOUR < > christo...@dooapp.com> wrote: > > Hi, >> > >

Re: Is it possible to have tapestry and other servlets on the same servletContainer?

2010-02-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Feb 2010 13:09:03 -0200, Christophe DUFOUR wrote: Hi, Hi! I'm using Tapestry for my application and I need to run a simple servlet (Not Tapestry) on the same servletContainer Yes, you can! See the "Ignored paths" section of http://tapestry.apache.org/tapestry5.1/guide/conf

Res: Is it possible to have tapestry and other servlets on the same servletContainer?

2010-02-03 Thread Everton Agner
I believe you have to tell tapestry which Paths it need to ignore it. You can find it here, at the end of the page. http://tapestry.apache.org/tapestry5.1/guide/conf.html De: Christophe DUFOUR Para: Tapestry users Enviadas: Quarta-feira, 3 de Fevereiro de 2

Is it possible to have tapestry and other servlets on the same servletContainer?

2010-02-03 Thread Christophe DUFOUR
Hi, I'm using Tapestry for my application and I need to run a simple servlet (Not Tapestry) on the same servletContainer So I try something like that : app /* upload MyServletClassName upload /upload But it's not wo

Re: Link to a Page from another context

2010-02-03 Thread cordenier christophe
Then i guess you do not need the PageRenderLinkSource. Use simple java.net.URL, also you may generate your URLs via a Service that will allow you to configure different part of URL (host, port...) via Symbol. 2010/2/3 Everton Agner > Oh... sorry, I forgot the most important thing. > > The other

Res: Link to a Page from another context

2010-02-03 Thread Everton Agner
Oh... sorry, I forgot the most important thing. The other app isn't a Tapestry application... De: cordenier christophe Para: Tapestry users Enviadas: Quarta-feira, 3 de Fevereiro de 2010 11:32:14 Assunto: Re: Link to a Page from another context Hi (If appli

Re: Link to a Page from another context

2010-02-03 Thread cordenier christophe
Hi (If application are deployed in the same container) I guess using crossContext feature will allow you to have access to Tapestry Registries of other application contexts. Then you can call PageRenderLinkSource service instance of other context. It depends on the security level you want for you

Re: How to decorate a service that has already been decorated ?

2010-02-03 Thread cordenier christophe
The solution i used is to create the inderiction key at the very end of activation encoding in ContextValueEncoder. I mean just after toClient() call, i get the resulting string and transform it. Then before calling delegated toValue i retrieve the direct reference from the indirection key provided

Link to a Page from another context

2010-02-03 Thread Everton Agner
Hi, I have a PopupPageLink Component that receives a Page path and redirect to the page via : PageRenderLinkSource.createPageRenderLink(). The problem is when i have to redirect to a page from another context, because it tries to find the page within the app context. How can I avoid doing that

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread kamiseq
so here is the code in attachments. I updated the ex so it returns zone's body on onValidateForm and I get full object onPrepareForSubmit. this is simple page with a link, bean display for part of the VO class and with a form. now the link refreshes all the page and zone is updated only through th

Re: How to decorate a service that has already been decorated ?

2010-02-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Feb 2010 07:09:54 -0200, Peter Stavrinides wrote: Interesting solution! ActivationContextEncoder aand friends are part of the Tapestry CRUD package. If you provide the object access logic, the package invokes it automatically for you. -- Thiago H. de Paula Figueiredo Indepe

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread Thiago H. de Paula Figueiredo
On Wed, 03 Feb 2010 06:37:39 -0200, kamiseq wrote: if (form.getHasErrors() && request.isXHR()) { return zonaFormulario.getBody(); } else { return null; } this doesn't matter as I dont care about errors right now. and I dont need to persist my object as all information are in

T4: forward browser to an external web site

2010-02-03 Thread Ivano Luberti
Hello, I'm trying to solve the following problem using T4.1.6. I want to have the user submit a form , perform some operation in the page class and then forward the user to an external web site. Of course I can return to the new user a new page with a form that has an action that points to the web

Re: How to decorate a service that has already been decorated ?

2010-02-03 Thread Peter Stavrinides
> Not 100% related, but I created an ActivationContextEncoder interface > and corresponding ActivationContextEncoderSource service. This way, I can > have the logic for generating the activation context value for a given > type separate from its ValudeEncoder logic. The above pseudo-id lookup

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread kamiseq
and the form itself is working ok as I return the body of the zone in onSuccess or onFail callbacks pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 3 February 2010 09:37, kamiseq wrote: > void onValidateForm() { >>>try { >>>Lo

Re: How to decorate a service that has already been decorated ?

2010-02-03 Thread cordenier christophe
Hi Because not all our team are using Tapestry-hibernate, i have implemented the solution with contributions to tapestry-core. I have decorated the ContextValueEncoder and ComponentEventLinkEncoder for link generation and request decoding. The developper specify if he wants to indirect activation

Re: How to decorate a service that has already been decorated ?

2010-02-03 Thread cordenier christophe
Actually, this OWASP rule does not exclude access checking. But using temporary indirection keys has also effects on CSRF attacks. 2010/2/3 Thiago H. de Paula Figueiredo > On Tue, 02 Feb 2010 19:21:22 -0200, Howard Lewis Ship > wrote: > > Intresting. So perhaps instead of encoding the primary

Re: form submits empty values if it was dynamically refreshed with AJAX

2010-02-03 Thread kamiseq
> > void onValidateForm() { >>try { >>Logger.getLogger(this.getClass()).debug("**onValidateForm"); >>this.version = versionService.updateObjectCfg(objectDetail); >>} catch (Exception e) { >>// Display the cause. In a real system we would try hard