jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Frederickx" <dirk.frederi...@gmail.com>
Subject Re: access keys and i18n, was: Re: some questions on JSPWiki
Date Mon, 31 Mar 2008 19:54:41 GMT
Janne,

There is no JS involved for shortcut keys, this is standard HTML.
The rendering of the underscore is part of the wikitags for TABBED SECTION.




dirk


On Mon, Mar 31, 2008 at 9:41 PM, Janne Jalkanen
<Janne.Jalkanen@ecyrd.com> wrote:
>
>  BTW, how expensive is this operation? I'm a bit worried at all the JS
> hackery that is going on, as slower computers (e.g. my cell phone) seem to
> be somewhat sluggish when accessing jspwiki.
>
>  /Janne
>
>
>
>  On 31 Mar 2008, at 22:38, Dirk Frederickx wrote:
>
> > Shortcut-keys are not i18n, but hard-coded into the JSPs.
> > Eg on OS-X, changing the language, does not change the short-cut keys.
> >
> > As the 'underscore' in the TAB, which indicates the shortcut key, is
> > calculated at runtime, the A of Attachment is also underscored in
> > BijlAgen in Dutch.
> > But when the shortcut key is not found, no chars are underscored:
> > there is no 'V' in   'Anzeigen'
> >
> >
> >
> >
> > dirk
> >
> >
> > On Mon, Mar 31, 2008 at 9:31 PM, Florian Holeczek <florian@holeczek.de>
> wrote:
> >
> > > Thanks Dirk! Now I've found out that it's Alt+Shift+<key> in both
> > >  Firefox 2 and IE7. I guess this was the only combination I had
> > >  forgotten :-)
> > >
> > >  Is there any rule on how to do internationalization regarding access
> > >  keys? The problem is, for example, 'View' has the access key 'v', but
> > >  in german it's 'Anzeigen'.
> > >
> > >  Regards,
> > >  Florian
> > >
> > >  Urspr√ľngliche Nachricht vom 31.03.2008 um 21:02:
> > >
> > > > Florian,
> > > >
> > >
> > >
> > > > Works fine on OS-X. (use Ctrl+<key>)
> > > >
> > >
> > >
> > > > On Windows you should use Alt+<key> which seems to work ok on IE6
,
> > > > but with the restriction that you need to use the keyboard shortcut to
> > > > select the link or button, then press enter to execute.
> > > > But I had issues with FF on Win too. Alt+<something> leads you to
> > > > predefined FF keys.
> > > >
> > >
> > >
> > >
> > >
> > > > dirk
> > > >
> > >
> > >
> > > > On Mon, Mar 31, 2008 at 4:34 PM, Florian Holeczek
> <florian@holeczek.de> wrote:
> > > >
> > > > >
> > > > > >
> > > > > > > * There's a question "Can some scripting be used in wiki
pages?
> Which
> > > > > > >  language is used?", which is at the moment answered with
"TCL
> > > > > > >  plugin, JavaScript". Is this still correct and exhaustive?
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > > You need plugins for scripting.
> > > > > > As far as I know, there is also a Groovy plugin available.
> > > > > >
> > > > >
> > > > >  Right, I've found this one in the meantime.
> > > > >
> > > > >
> > > > > >
> > > > > > > * Are main actions of the wiki available via keyboard shortcuts?
> > > > > > >  I think yes, because it's documented on
> > > > > > >  http://www.jspwiki.org/wiki/JSPWikiKeyboardShortcuts
> > > > > > >  but I've never found out how it works... IS it working?
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > > Yes, this is working. Both on OS-X as WIN platforms.
> > > > > > The help-texts indicate the shortcut key in square brackets,
the
> TABS
> > > > > > have the shortcut key underscored.
> > > > > >
> > > > >
> > > > >  I'm using Firefox 2 and Windows XP SP2 with IE7. In both browsers
> > > > >  I've tried several combinations of Alt, Ctrl and the Windows key,
> but
> > > > >  no success.
> > > > >
> > > > >  Regards,
> > > > >  Florian
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

Mime
View raw message