0

How do H1 in .zul page ?

asked 2014-06-30 13:31:35 +0800

kolodz gravatar image kolodz
1

updated 2014-06-30 13:32:59 +0800

Hi, when i did try to do a h1 div in a .zul page i get :

Component definition not found: h1 in [LanguageDefinition: xul/html] Witch is very bad, cause it's one of the basic element in HTML.

How do we get a <h1> in a HTML generated by a .zul ?

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-06-30 13:34:52 +0800

IngoB gravatar image IngoB flag of Germany
256 6

Hi,

have you tried

<window border="normal" title="Html Demo">
    <html><![CDATA[
        <h4>Hi, ${parent.title}</h4>
        <p>It is the content of the html component.</p>
    ]]></html>
</window>

Source

link publish delete flag offensive edit
0

answered 2014-07-02 14:50:01 +0800

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

You can use 'native' zk language which means pure html.

<zk xmlns="http://www.zkoss.org/2005/zul" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:w="http://www.zkoss.org/2005/zk/client"
  xmlns:n="http://www.zkoss.org/2005/zk/native" xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">

       <n:h1 style="color:blue;">Hallo H1</n:h1>
      <n:h2 style="color:red;">Hallo H2</n:h2>
      <n:h3 style="color:green;">Hallo H3</n:h3>
      <n:h4 style="color:black;">Hallo H4</n:h4>

</zk>

best Stephan

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2014-06-30 13:31:35 +0800

Seen: 83 times

Last updated: Jul 02 '14

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