You could add the logic from WOHyperlink to ERXPatcher.DynamicElementsPatches.SubmitButton and make a pull request ;-)
jw Am 07.12.2012 um 15:11 schrieb Daniele Corti <[email protected]>: > Hi Johann, > for WOHyperlink, it's ok, but I have also some WOSubmitButtons that i would > like to give an anchor. > > I've seen submit buttons do not have the fragmentIdentifier binding. Is there > a way to do this? > > > > > 2012/12/7 Johann Werner <[email protected]> > 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 > > > > > -- > 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]
