0

desktop.sendRedirect() problem

asked 2006-03-24 19:05:53 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3649565

By: nobody

I tried to use the desktop.sendRedirect("somePage"), but the server said that the class com.potix.zk.ui.sys.DesktopImpl nao implementa o mActodo sendRedirect().
I am using the zk.jar vesion zk-1.1.1-2006-03-24

Here is the tomcat log:

24/03/2006 11:28:30 com.potix.zk.ui.sys.PageImpl interpret:412
SEVERE: >>Sourced file: inline evaluation of:
``desktop.sendRedirect("/opcoes.htm");'' : Error in method invocation: Method sendRedirect( java.lang.String ) not found in class'com.potix.zk.ui.sys.DesktopImpl'
: at Line: 1 : in file: inline evaluation of:
``desktop.sendRedirect("/opcoes.htm");'' : desktop .sendRedirect ( "/opcoes.htm"
)
>>
>> at bsh.BSHMethodInvocation.eval(Unknown Source)
>> at bsh.BSHPrimaryExpression.eval(Unknown Source)
>> at bsh.BSHPrimaryExpression.eval(Unknown Source)
>> at bsh.Interpreter.eval(Unknown Source)
>> at bsh.Interpreter.eval(Unknown Source)
>> at com.potix.zk.ui.sys.PageImpl.interpret(PageImpl.java:405)
>> at
>>com.potix.zk.ui.sys.EventProcessingThread.process0(EventProcessingThre
>>ad.j
ava:370)

Thank you...

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2006-03-24 22:00:26 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3649837

By: nobody

By: Nobody/Anonymous - nobody
desktop.sendRedirect() problem
2006-03-24 11:05
I tried to use the desktop.sendRedirect("somePage"), but the server said that the class com.potix.zk.ui.sys.DesktopImpl does not implement the sendRedirect() method.
I am using the zk.jar vesion zk-1.1.1-2006-03-24

Here is the tomcat log:

24/03/2006 11:28:30 com.potix.zk.ui.sys.PageImpl interpret:412
SEVERE: >>Sourced file: inline evaluation of:
``desktop.sendRedirect("/opcoes.htm");'' : Error in method invocation: Method sendRedirect( java.lang.String ) not found in class'com.potix.zk.ui.sys.DesktopImpl'
: at Line: 1 : in file: inline evaluation of:
``desktop.sendRedirect("/opcoes.htm");'' : desktop .sendRedirect ( "/opcoes.htm"
)
>>
>> at bsh.BSHMethodInvocation.eval(Unknown Source) at
>> bsh.BSHPrimaryExpression.eval(Unknown Source) at
>> bsh.BSHPrimaryExpression.eval(Unknown Source) at
>> bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown
>> Source) at com.potix.zk.ui.sys.PageImpl.interpret(PageImpl.java:405)
>> at
>> com.potix.zk.ui.sys.EventProcessingThread.process0(EventProcessingThr
>> ead.j
ava:370)

Thank you...



link publish delete flag offensive edit

answered 2006-03-25 04:25:20 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3650090

By: tomyeh

Sorry, sendRedirect is moved to com.potix.zk.ui.Execution since it is better to be a part of execution instead of desktop.

Thus, use

Executions.sendRedirect().

link publish delete flag offensive edit

answered 2006-03-25 04:53:08 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3650102

By: nobody

ok... thank you...

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: 2006-03-24 19:05:53 +0800

Seen: 678 times

Last updated: Mar 25 '06

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