0

EL in ZK JSP

asked 2010-04-29 01:55:29 +0800

mako gravatar image mako
60 1 2

Hi,

I've got an issue when I'm trying to use EL in a JSP page with ZK. It simply doesn't work. For instance, with that code :

<%@ taglib uri="..." prefix="zk" %>
<zk:page>
     <zk:zscript>
          String s = "Hello";
     <zk:zscript>
     <zk:button label="${s}"/>
</zk:page>

The label of my button will be "${s}", and not "Hello". Is it a bug ? Have I miss something ? Or do I misunderstand the use of EL ?

Thanks.

Mako

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-04-30 05:27:00 +0800

samchuang gravatar image samchuang
4084 4

Hi

in the zk jsp demo has databinding.jsp, you could refer from there

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-04-29 01:55:29 +0800

Seen: 237 times

Last updated: Apr 30 '10

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