Re: How to replace Strings in JavaScript ?

2009-12-17 Thread nino martinez wael
look at input events on wicketstuff

2009/12/17 Martin Makundi :
> Maybe it's TextTemplateHeaderContributor
>
> ?
>
> 2009/12/16 smallufo :
>> Hi ,
>> Thanks
>> But where is class TextTemplateContributor ? I cannot grep that class ...
>> I could only find wicket/util/template/TextTemplate ...
>>
>> 2009/12/17 Igor Vaynberg 
>>
>>> you can use something like TextTemplateContibutor
>>>
>>> -igor
>>>
>>> On Wed, Dec 16, 2009 at 11:21 AM, smallufo  wrote:
>>> > Hello , I am using wicket 1.4.3
>>> > I wonder how to replace Strings in JavaScript ?
>>> >
>>> > such as :
>>> >
>>> > 
>>> >  >> >    onclick="window.open('http://www.facebook.com/login.php?
>>> >
>>> >
>>>  api_key=278f76da30a86d0b5a2526a25c310166&display=popup&extern=1&fbconnect=1&req_perms=publish_stream&return_session=1&v=1.0&
>>> >        next=http%3A%2F%2Fwww.example.com
>>> > %2Fconnect%2Fsuccess.html&fb_connect=1&
>>> >        cancel_url=http%3A%2F%2Fwww.example.com%2Fconnect%2Fcancel.html',
>>> >    '_blank', 'top=442,width=480,height=460,resizable=yes', true)"  />
>>> > 
>>> >
>>> > Is it possible to replace api_key , next , and cancel_url in this script
>>> ?
>>> >
>>> > Thanks a lot .
>>> >
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: How to replace Strings in JavaScript ?

2009-12-16 Thread Martin Makundi
Maybe it's TextTemplateHeaderContributor

?

2009/12/16 smallufo :
> Hi ,
> Thanks
> But where is class TextTemplateContributor ? I cannot grep that class ...
> I could only find wicket/util/template/TextTemplate ...
>
> 2009/12/17 Igor Vaynberg 
>
>> you can use something like TextTemplateContibutor
>>
>> -igor
>>
>> On Wed, Dec 16, 2009 at 11:21 AM, smallufo  wrote:
>> > Hello , I am using wicket 1.4.3
>> > I wonder how to replace Strings in JavaScript ?
>> >
>> > such as :
>> >
>> > 
>> >  > >    onclick="window.open('http://www.facebook.com/login.php?
>> >
>> >
>>  api_key=278f76da30a86d0b5a2526a25c310166&display=popup&extern=1&fbconnect=1&req_perms=publish_stream&return_session=1&v=1.0&
>> >        next=http%3A%2F%2Fwww.example.com
>> > %2Fconnect%2Fsuccess.html&fb_connect=1&
>> >        cancel_url=http%3A%2F%2Fwww.example.com%2Fconnect%2Fcancel.html',
>> >    '_blank', 'top=442,width=480,height=460,resizable=yes', true)"  />
>> > 
>> >
>> > Is it possible to replace api_key , next , and cancel_url in this script
>> ?
>> >
>> > Thanks a lot .
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

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



Re: How to replace Strings in JavaScript ?

2009-12-16 Thread smallufo
Hi ,
Thanks
But where is class TextTemplateContributor ? I cannot grep that class ...
I could only find wicket/util/template/TextTemplate ...

2009/12/17 Igor Vaynberg 

> you can use something like TextTemplateContibutor
>
> -igor
>
> On Wed, Dec 16, 2009 at 11:21 AM, smallufo  wrote:
> > Hello , I am using wicket 1.4.3
> > I wonder how to replace Strings in JavaScript ?
> >
> > such as :
> >
> > 
> >   >onclick="window.open('http://www.facebook.com/login.php?
> >
> >
>  
> api_key=278f76da30a86d0b5a2526a25c310166&display=popup&extern=1&fbconnect=1&req_perms=publish_stream&return_session=1&v=1.0&
> >next=http%3A%2F%2Fwww.example.com
> > %2Fconnect%2Fsuccess.html&fb_connect=1&
> >cancel_url=http%3A%2F%2Fwww.example.com%2Fconnect%2Fcancel.html',
> >'_blank', 'top=442,width=480,height=460,resizable=yes', true)"  />
> > 
> >
> > Is it possible to replace api_key , next , and cancel_url in this script
> ?
> >
> > Thanks a lot .
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: How to replace Strings in JavaScript ?

2009-12-16 Thread Igor Vaynberg
you can use something like TextTemplateContibutor

-igor

On Wed, Dec 16, 2009 at 11:21 AM, smallufo  wrote:
> Hello , I am using wicket 1.4.3
> I wonder how to replace Strings in JavaScript ?
>
> such as :
>
> 
>      onclick="window.open('http://www.facebook.com/login.php?
>
>  api_key=278f76da30a86d0b5a2526a25c310166&display=popup&extern=1&fbconnect=1&req_perms=publish_stream&return_session=1&v=1.0&
>        next=http%3A%2F%2Fwww.example.com
> %2Fconnect%2Fsuccess.html&fb_connect=1&
>        cancel_url=http%3A%2F%2Fwww.example.com%2Fconnect%2Fcancel.html',
>    '_blank', 'top=442,width=480,height=460,resizable=yes', true)"  />
> 
>
> Is it possible to replace api_key , next , and cancel_url in this script ?
>
> Thanks a lot .
>

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



How to replace Strings in JavaScript ?

2009-12-16 Thread smallufo
Hello , I am using wicket 1.4.3
I wonder how to replace Strings in JavaScript ?

such as :


  http://www.facebook.com/login.php?

 
api_key=278f76da30a86d0b5a2526a25c310166&display=popup&extern=1&fbconnect=1&req_perms=publish_stream&return_session=1&v=1.0&
next=http%3A%2F%2Fwww.example.com
%2Fconnect%2Fsuccess.html&fb_connect=1&
cancel_url=http%3A%2F%2Fwww.example.com%2Fconnect%2Fcancel.html',
'_blank', 'top=442,width=480,height=460,resizable=yes', true)"  />


Is it possible to replace api_key , next , and cancel_url in this script ?

Thanks a lot .