0

zk tags in jsp

asked 2009-02-25 07:42:27 +0800

saurabh gravatar image saurabh
30

HI...
I have been trying to use zk tags in my jsp pages...
But I am not able to use any of my scripting elements within those zk tags..
If want to populate some data within zk tags by using jsp then how do I do that...?
Or is it not allowed to use any jsp component within zk tags...?

Thanks in advace...

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2009-02-25 07:55:17 +0800

iantsai gravatar image iantsai
2755 1

can you provide some example code abput what you want to do?

There might have some limitations in ZK JSP, but there are also some solutions to bypass it.

link publish delete flag offensive edit

answered 2009-02-25 10:12:34 +0800

saurabh gravatar image saurabh
30

Well lets say I have a jsp page which has my original GUI.
And I am trying to put some zk components using zk tags...
<z:page>
<z:label value="<%= media.getName(); %>"></z:label>
</z:page>

it gives me as exception as jsp scriptlets are not disallowed here...

link publish delete flag offensive edit

answered 2009-02-26 02:47:00 +0800

iantsai gravatar image iantsai
2755 1

ZK JSP Tages is following JSP 2.0, and because of compiling life-cycle issue, JSP 2.0 doesn't allow using scriplet anymore.

You should use EL instead.

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: 2009-02-25 07:42:27 +0800

Seen: 207 times

Last updated: Feb 26 '09

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