0

How to put placeholder on a textbox?

asked 2019-04-08 19:44:27 +0800

stan1996 gravatar image stan1996
1 1
 <row>
    <label value="ФИО" />
    <textbox id="client_name1" mold="rounded"
    disabled="true" hflex="1"                                                                               

       value="@{dper_infomain$composer.current.client_name1}"
       placeholder="Name" />
       <textbox id="client_name2" mold="rounded"
    disabled="true" hflex="1"                           
    </row>

Method setPlaceholder not found for class org.zkoss.zul.Textbox Zk 6.5.2

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-04-09 12:17:28 +0800

cor3000 gravatar image cor3000
4466 2 7
ZK Team

Textbox which extends InputElement supports the setPlaceholder method since ZK 6.5.0

Also in the source code tagged with version 6.5.2 https://github.com/zkoss/zk/blob/v6.5.2/zul/src/org/zkoss/zul/impl/InputElement.java#L82-L92

Can you please verify your version? This error message sounds like you are not using the version you think you are using.

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: 2019-04-08 19:44:27 +0800

Seen: 14 times

Last updated: Apr 10

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