Nawa
Nawa

Reputation: 2158

Convert url with method name to original page url

Does Tapestry have some utility method that converts url like

http://localhost:8080/page1.component:method?t:ac=contextParameterId

to original page url like

http://localhost:8080/page1/contextParameterId

Upvotes: 0

Views: 227

Answers (1)

lance-java
lance-java

Reputation: 27994

The first url fires a specific event on a page

The second is a normal page url

Both have an activation context.

They are not equivalent, they do different things and hence there is not a conversion from one to the other.

Without more info it's difficult to know what you're asking. I'm just guessing here but perhaps you are seeing tapestry redirect to the normal page url after firing the event.

Upvotes: 1

Related Questions