Calling a specific page + Event

Lennart Benoot <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hey all,

I have two questions to ask

1) Does anyone have any experience with events from the application server 
(e.g. a JMS Message that arrives) that should be delegated to the client 
(in this case a webclient). I see no other opportunity but an applet that 
connects to the server through tcpip. If anyone has experience with this, 
i'd like to here.

2) What is the best way to do the following: I have a certain error page 
that i want to show when an error occurs at a certain part in the code. I 
use the the cycle.setPage( ...) to go to the error page. The error page 
contains a dynamic field with an error code. This code should be filled in 
somewhere before the cycle.setPage(...) so that the error page can retrieve 
the code and show it to the user. A possible solution could be adding an 
errorCode field in the visit object and then make the error page query for 
the value in the visit object. This solution is probably not the best one. 
What is the best way to do this?

Kind regards,
Lennart



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.