Re: Appending hash for page anchor to next url
Re: Appending hash for page anchor to next url
- Subject: Re: Appending hash for page anchor to next url
- From: Johann Werner <email@hidden>
- Date: Fri, 07 Dec 2012 13:08:55 +0100
Hi Daniele,
WOHyperlink has the binding fragmentIdentifier for this.
jw
Am 07.12.2012 um 12:59 schrieb Daniele Corti <email@hidden>:
> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden