You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by tubin gen <fa...@gmail.com> on 2009/04/23 17:04:37 UTC

anchor links

I created a simple link    for java script to open a client side popup
window  and not for    server processing.


here is the code

                <div class="model_test">
                    <p> <a href="#" class="model_anchor">View</a> </p>
                </div>

when   i see generated html source   the code    it is the same no
difference

but when I put my mouse on the anchor   the browser status bar shows a
different url

http://localhost:8080/audit/app/inbox.1?wicket:bookmarkablePage=:com.xyz.pages.stg.audit.AfmsReviewNewAssignmentPage&PARAM_PROCESS_INSTANCE_ID=1232#

because of this my java script function is not responding , Please tell me
how can I have   anchor tag untouched by wicket ?

Re: anchor links

Posted by Liam Clarke-Hutchinson <li...@steelsky.co.nz>.
That's a normal anchor link...

This bit:
http://localhost:8080/audit/app/inbox.1?wicket:bookmarkablePage=:com.xyz.pages.stg.audit.AfmsReviewNewAssignmentPage&PARAM_PROCESS_INSTANCE_ID=1232

Is the URL for your generated page

This bit:
#

Is your anchor. It's normal behaviour.  Try it on here:
http://www.w3schools.com/HTML/tryit.asp?filename=tryhtml_links Add a
link like so: <a href="#foo">foo</a> and when you hover over it,
you'll get http://www.w3schools.com/HTML/tryit_view.asp#foo as the
displayed link.

On Fri, Apr 24, 2009 at 3:04 AM, tubin gen <fa...@gmail.com> wrote:
> I created a simple link    for java script to open a client side popup
> window  and not for    server processing.
>
>
> here is the code
>
>                <div class="model_test">
>                    <p> <a href="#" class="model_anchor">View</a> </p>
>                </div>
>
> when   i see generated html source   the code    it is the same no
> difference
>
> but when I put my mouse on the anchor   the browser status bar shows a
> different url
>
> http://localhost:8080/audit/app/inbox.1?wicket:bookmarkablePage=:com.xyz.pages.stg.audit.AfmsReviewNewAssignmentPage&PARAM_PROCESS_INSTANCE_ID=1232#
>
> because of this my java script function is not responding , Please tell me
> how can I have   anchor tag untouched by wicket ?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org