Hi Daniele,

WOHyperlink has the binding fragmentIdentifier for this.

jw


Am 07.12.2012 um 12:59 schrieb Daniele Corti <[email protected]>:

> Hi list,
> 
> as I've written in subject, is there a way to append a string to the next 
> open url, in order to scroll to an anchor in the next page?
> 
> I mean:
> 
> I click on a WOHyperLink:
> 
> <wo:link action = "$myAction">Click Me!</wo:link>
> 
> And in $myAction binding:
> 
> public WOActionResult myAction(){
> 
> //Do something
> 
> /**
> Here goes the code to append an hash
> */
> 
> return null;
> }
> 
> My idea is to append the hash and the ID of the element I want to display. I 
> know I can do this through Javascript, generating a JS code for the right 
> ancor, but I want to know if there is a way to do it server side.
> 
> Bye & thanks!
> -- 
> Daniele Corti
> --
> I DON'T DoubleClick


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to