cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yuryx <yu...@mobicomk.donpac.ru>
Subject Re: ComponentManager from Cocoon's framework
Date Mon, 11 Feb 2002 13:44:02 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Vadim Gritsenko wrote:<br>
<blockquote type="cite" cite="mid:000401c1b2fe$b2fc6fd0$0a00a8c0@vgritsenkopc">
  <blockquote type="cite">
    <pre wrap="">From: yuryx [<a class="moz-txt-link-freetext" href="mailto:yuryx@mobicomk.donpac.ru">mailto:yuryx@mobicomk.donpac.ru</a>]<br><br>Thanx
for you help, Vadim!<br> I  undestand how I can working from the pooling connections
now.<br>With cocoon's action it's really easy.<br>But I have one more question...<br>Can
I get  ComponentManager pointer from Cocoon's framework within my<br>JSP page?<br>Like:<br>&lt;%<br>
   ComponentManager manager=??????????????????????;<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>Try this.manager,</pre>
    </blockquote>
This doesn't work :(<br>
But I solve this problem. I write cocoon action, and define with him request
attribute as (pointer to) cocoon's ComponentManager<br>
Now I try in my JSP:<br>
ComponentManager manager=request.getAttribute("manager");<br>
And this schema is work! :)<br>
Thanx to Piroumian Konstantin for consultation.<br>
    <br>
Regards<br>
Yury<br>
    <br>
    </body>
    </html>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message