Re: anchor links

2009-04-23 Thread Liam Clarke-Hutchinson
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: foo 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  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
>
>                
>                     View 
>                
>
> 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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



anchor links

2009-04-23 Thread tubin gen
I created a simple linkfor java script to open a client side popup
window  and not forserver processing.


here is the code


 View 


when   i see generated html source   the codeit 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

2008-04-28 Thread Johan Compagner
Analyse then what is exactly wrong in the html output

On 4/29/08, tbt <[EMAIL PROTECTED]> wrote:
>
> yes it does. At the end of the url a string is appended starting with '#'. I
> can see this when I move the cursor over a hyperlink and the url is
> displayed at the bottom of the browser.
>
>
> Cristi Manole wrote:
> >
> > does your descriptionLabel start with "#"?
> >
> > On Mon, Apr 28, 2008 at 11:17 AM, tbt <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> Hi
> >>
> >> I'm new to wicket and I have a listview which dynamically creates links.
> >> I'm
> >> using the following code to anchor links so that when the user clicks a
> >> link, it will be directed to the correct area in the page.
> >>
> >> protected void populateItem(ListItem item)
> >> {
> >>Link boardLink = new Link("boardLink")
> >>{
> >>public void onClick()
> >>{
> >>
> >>}
> >>};
> >>
> >>Label descriptionLabel = new Label("description");
> >>descriptionLabel.setOutputMarkupId(true);
> >>
> >>boardLink.setAnchor(descriptionLabel);
> >>
> >>    item.add(descriptionLabel);
> >>item.add(boardLink );
> >> }
> >>
> >> ..
> >>
> >>
> >>
> >>
> >> However this code is not working. How should i modify the code.
> >>
> >> Thanks
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Anchor-Links-tp16930767p16930767.html
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Anchor-Links-tp16930767p16952902.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anchor Links

2008-04-28 Thread tbt

yes it does. At the end of the url a string is appended starting with '#'. I
can see this when I move the cursor over a hyperlink and the url is
displayed at the bottom of the browser.


Cristi Manole wrote:
> 
> does your descriptionLabel start with "#"?
> 
> On Mon, Apr 28, 2008 at 11:17 AM, tbt <[EMAIL PROTECTED]> wrote:
> 
>>
>> Hi
>>
>> I'm new to wicket and I have a listview which dynamically creates links.
>> I'm
>> using the following code to anchor links so that when the user clicks a
>> link, it will be directed to the correct area in the page.
>>
>> protected void populateItem(ListItem item)
>> {
>>Link boardLink = new Link("boardLink")
>>{
>>public void onClick()
>>{
>>
>>}
>>};
>>
>>Label descriptionLabel = new Label("description");
>>descriptionLabel.setOutputMarkupId(true);
>>
>>boardLink.setAnchor(descriptionLabel);
>>
>>item.add(descriptionLabel);
>>item.add(boardLink );
>> }
>>
>> ..
>>
>>
>>
>>
>> However this code is not working. How should i modify the code.
>>
>> Thanks
>> --
>> View this message in context:
>> http://www.nabble.com/Anchor-Links-tp16930767p16930767.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Anchor-Links-tp16930767p16952902.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Anchor Links

2008-04-28 Thread Cristi Manole
does your descriptionLabel start with "#"?

On Mon, Apr 28, 2008 at 11:17 AM, tbt <[EMAIL PROTECTED]> wrote:

>
> Hi
>
> I'm new to wicket and I have a listview which dynamically creates links.
> I'm
> using the following code to anchor links so that when the user clicks a
> link, it will be directed to the correct area in the page.
>
> protected void populateItem(ListItem item)
> {
>Link boardLink = new Link("boardLink")
>{
>public void onClick()
>{
>
>}
>};
>
>Label descriptionLabel = new Label("description");
>descriptionLabel.setOutputMarkupId(true);
>
>boardLink.setAnchor(descriptionLabel);
>
>item.add(descriptionLabel);
>item.add(boardLink );
> }
>
> ..
>
>
>
>
> However this code is not working. How should i modify the code.
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/Anchor-Links-tp16930767p16930767.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Anchor Links

2008-04-28 Thread tbt

Hi

I'm new to wicket and I have a listview which dynamically creates links. I'm
using the following code to anchor links so that when the user clicks a
link, it will be directed to the correct area in the page. 

protected void populateItem(ListItem item) 
{
Link boardLink = new Link("boardLink")
{
public void onClick()
{

}
};

Label descriptionLabel = new Label("description");
descriptionLabel.setOutputMarkupId(true);

boardLink.setAnchor(descriptionLabel);

item.add(descriptionLabel);
item.add(boardLink );
}

..




However this code is not working. How should i modify the code.

Thanks
-- 
View this message in context: 
http://www.nabble.com/Anchor-Links-tp16930767p16930767.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]