-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi guys, Who have any experience on native input passing data to java? I have login page and want to pass username & password from native input to Java. But I can not get its value. Please help. If I use xmlns:h="xhtml" it ok.
<zk xmlns:n="native" >="" <n:input="" type="text" id="username" name="username" class="z-textbox"/> <n:input type="password" id="password" name="password" class="z-textbox"/> </zk>
Using xhtml namespace is the expected way to use "native with ZK events and values" If you are using the "native" namespace, the point of the native elements being that they don't have a server-side footprint, while the xhtml elements do have a Java-side "existence" which allows for updates and events.
See here for a short sample:
Asked: 2022-11-29 11:46:45 +0800
Seen: 4 times
Last updated: Nov 29 '22