0

ToolbarButton used as a link <a href don't work in zk5.0.1

asked 2010-05-05 17:20:46 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2010-05-05 17:46:03 +0800

Hi all,

Is their a workaround for it?

At time i'm used instead the org.zkoss.html.A from a Tip from Maik see here .
But the font seems an other and the font-size are bigger as the normal used in the Label component.


old code (3.6.3) pic

	<toolbarbutton  label="${c:l('btnBackToStart')}" href="/" />

.

new code (5.0.1) pic

   xmlns:h="http://www.w3.org/1999/xhtml"
          .  .  .
          <h:a href="/">${c:l('btnBackToStart')}</h:a>


I would prefer the 3.6.3 style. Means without changing style and size !!

thx
Stephan

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-05-05 20:27:45 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

Hi terrytornado,
Please try <A> XHTML component in ZK 5.0.1 instead of org.zkoss.html.A

Thanks
- Ashish

link publish delete flag offensive edit

answered 2010-05-06 04:29:31 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2010-05-06 04:35:12 +0800

Works. Many thanks

		<a href="/">${c:l('btnBackToStart')}</a>


Now the href:"/" is interpreted correctly to the projects root path

best
Stephan

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-05-05 17:20:46 +0800

Seen: 1,639 times

Last updated: May 06 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More