You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Dawn <pe...@gmail.com> on 2006/08/24 00:41:48 UTC
Redirect to page on F1 keypress
guys,
i am trying to implement this, when the user presses F1 on any of my
web app pages, i want to take them to the help section. now for
starters how can i capture the F1 key, and even if i do using
javascript, how can i pass on this info to tapestry and then perform a
page redirect.
any ideas.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Redirect to page on F1 keypress
Posted by "hv @ Fashion Content" <in...@fashioncontent.com>.
@EventListener?
"Olivier Lemarchand" <ol...@azureus-inc.com> skrev i en meddelelse
news:D273E786-7618-4254-AC58-35B7966B8E1E@azureus-inc.com...
> out of curiosity, what would be the easy way using tap4 (or 4.1 ? )
>
> Olivier
>
> On Aug 23, 2006, at 3:47 PM, Jesse Kuhnert wrote:
>
>> I'd have an extremely easy answer for this...but I know you are using
>> tap3
>> so....start with handling getting javascript to listen to your key
>> events
>> and then use one of the IEngineServices to create a url to do the action
>> you
>> want.
>>
>> On 8/23/06, Peter Dawn <pe...@gmail.com> wrote:
>>>
>>> guys,
>>>
>>> i am trying to implement this, when the user presses F1 on any of my
>>> web app pages, i want to take them to the help section. now for
>>> starters how can i capture the F1 key, and even if i do using
>>> javascript, how can i pass on this info to tapestry and then perform a
>>> page redirect.
>>>
>>> any ideas.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>
>>
>> --
>> Jesse Kuhnert
>> Tapestry/Dojo/(and a dash of TestNG), team member/developer
>>
>> Open source based consulting work centered around
>> dojo/tapestry/tacos/hivemind.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Redirect to page on F1 keypress
Posted by Olivier Lemarchand <ol...@azureus-inc.com>.
out of curiosity, what would be the easy way using tap4 (or 4.1 ? )
Olivier
On Aug 23, 2006, at 3:47 PM, Jesse Kuhnert wrote:
> I'd have an extremely easy answer for this...but I know you are
> using tap3
> so....start with handling getting javascript to listen to your key
> events
> and then use one of the IEngineServices to create a url to do the
> action you
> want.
>
> On 8/23/06, Peter Dawn <pe...@gmail.com> wrote:
>>
>> guys,
>>
>> i am trying to implement this, when the user presses F1 on any of my
>> web app pages, i want to take them to the help section. now for
>> starters how can i capture the F1 key, and even if i do using
>> javascript, how can i pass on this info to tapestry and then
>> perform a
>> page redirect.
>>
>> any ideas.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo/(and a dash of TestNG), team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Redirect to page on F1 keypress
Posted by Ron Piterman <rp...@gmx.net>.
If each page has only one F1 page, or, say a limitted number of F1 - you
implement a javascript listener and uses JS to redirect (I don't know
the exact call) -
The URL is passed to your .script file - you get it by using the
relevant engine service's getLink method. I think they did exist in 3.0.
Cheers,
Ron
Peter Dawn wrote:
> ok. so i am just working on getting JS to listen to F1 keyevent. once
> i have that working than the question is how do i trigger a page
> redirect. i mean how do i pass on the info from my JS to tapestry.
> maybe i should treat F1 keypress as a formsubmit and then process it
> (but what about pages that already have a formsubmit). i think its
> simpler than i think.
>
> and thanks jesse for your response :-)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Redirect to page on F1 keypress
Posted by Peter Dawn <pe...@gmail.com>.
ok. so i am just working on getting JS to listen to F1 keyevent. once
i have that working than the question is how do i trigger a page
redirect. i mean how do i pass on the info from my JS to tapestry.
maybe i should treat F1 keypress as a formsubmit and then process it
(but what about pages that already have a formsubmit). i think its
simpler than i think.
and thanks jesse for your response :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Redirect to page on F1 keypress
Posted by Jesse Kuhnert <jk...@gmail.com>.
I'd have an extremely easy answer for this...but I know you are using tap3
so....start with handling getting javascript to listen to your key events
and then use one of the IEngineServices to create a url to do the action you
want.
On 8/23/06, Peter Dawn <pe...@gmail.com> wrote:
>
> guys,
>
> i am trying to implement this, when the user presses F1 on any of my
> web app pages, i want to take them to the help section. now for
> starters how can i capture the F1 key, and even if i do using
> javascript, how can i pass on this info to tapestry and then perform a
> page redirect.
>
> any ideas.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.