Hi Artur, --- Artur Bialecki <[EMAIL PROTECTED]> schrieb: > > All I'm saying is that logicsheets which are used > during > generation of server pages are not the best palce to > call J2EE business logic. EJBs can throw many > exceptions > and by the time you get to generation all you can > do is transform on your errors so in the simplest > form > your stylesheet must be able to handle all possible > errors > generated on the given page. I consider an internal > redirection > much better approach to handling errors, e.g. On > error I can > redirect back to the original form. Gets even worse > if you > EJBs have input on which stylesheet to use, e.g. If > inventory item > foo (business object) has stylehseet hint then use > it, otherwise > use default_inventory_item.xsl. > Way I can get around this is to process my XSP which > uses logicsheets > with calls to J2EE beans before generation starts. I have to try to understand twice your advanced description, but in summary it looks like you invested much time to find the solution and yet there is something what disturbs you, right? Could you post some source code snipets to hungry wolves here? Could you elaborate more on your current and ideal solution, pros and cons? I know your time is valuable, but maybe there will be some benefits for you too. Thank you in advance, Peter.
__________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>