Sorry, but there hasn't been an answer to this question - I can't figure out, 
how to set the forForm-Parameter correctly.

Would be grateful for any hint
Jens

-- 
Jens Reufsteck

-----Original Message-----
From: Jens Reufsteck [mailto:jens.reufst...@staufenbiel.de] 
Sent: Friday, February 17, 2012 12:10 PM
To: 'Tapestry users'
Subject: forForm with ComponentEventLinkTransformer

Hi

 

I’m trying to upgrade from 5.1 to 5.2. This includes moving from the deprecated 
URLRewriting to LinkTransformer.

 

Igor’s blog post has mostly explained everything. But I couldn’t find out about 
the forForm parameter, when creating a Link with 
ComponentEventLinkEncoder.createComponentEventLink. I can’t get it neither from 
ComponentEventRequestParameters nor from Link.

 

This is my code:

 

      public Link transformComponentEventLink(Link link,

                  ComponentEventRequestParameters parameters) {

            

            

            // TODO boolean forForm not set properly

            return componentEventLinkEncoder.createComponentEventLink(

                        new ComponentEventRequestParameters(

                                   activePageName,

                                   containingPageName == null ?
activePageName : containingPageName,

                                   nestedComponentId == null ? "" :
nestedComponentId,

                                   eventType == null ? "" : eventType,

                                   activationContext,

                                   eventContext),

                        ???

                        );

      }

 

Many thanks

Jens

 

--
Jens Reufsteck



 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to