create EventLink without onPassivate
Jens Breitenstein <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all! I use ComponentResources to create my EventLinks. As the page context (in this example "id") is added to the link onPassivate gets called. This results in a link like /mypage:mycomponent?t:ac=id Each component context "cc1", "cc2" passed to the createEventLink method results in a link like /mypage:mycomponent/cc1/cc2?t:ac=id My goal is to replace the exisiting ac, means the activation context of the page which is used in onPassivate to create "arbitrary" eventlinks like this /webui/mypage:mycomponent?t:ac=ec1/ec2 without accessing the page members prior link creation. Of course it's possible to convert the Link to URI / String and perform some string manipulations, but I wonder if there is a "real Tapestry" solution? Thanks in advance Jens