I do simply with a ThreadLocal :

Page.getPage() and you can output HTML
even though have ServletRequest and Response.

I do like that because the request thread goes
through modules, blocks, and themes
and it's a mess that each one pass some parameter
when calling another one.

julien


JH> Julien,

JH> <snip>

JH> Makes sense so far

>>  3.PostNuke is all about invoking module functions.
>>    Url like index.php?module=User&op=register means
>>    that the PN must call the method register on module User.
>>    For me that means that the servlet retrieves the mbean
>>    under the name jnuke:publicmodules:name=User
>>    and invokes the operation register().

JH> So, how would you pass arguments from the request to the method in the
JH> module mbean? Do you plan to just have each method take a hashmap that
JH> you have constructed from the request? Knowing that modules may need
JH> arguments for performing work, like a URL to an RSS feed or something. 

JH> Thanks,
JH> James


JH> -------------------------------------------------------
JH> This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
JH> are you planning your Web Server Security? Click here to get a FREE
JH> Thawte SSL guide and find the answers to all your  SSL security issues.
JH> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
JH> _______________________________________________
JH> Jboss-development mailing list
JH> [EMAIL PROTECTED]
JH> https://lists.sourceforge.net/lists/listinfo/jboss-development



-- 
Best regards,
 julien                            mailto:[EMAIL PROTECTED]

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to