-
FEATURED COMPONENTS
First time here? Check out the FAQ!
this three commands seems to let add a richlet without an xml file to configure 'em:
1) Executions.getCurrent().getDesktop().getWebApp().getConfiguration().addRichlet(name, richletClass, params);
2) Executions.getCurrent().getDesktop().getWebApp().getConfiguration().addRichlet(name, richletClassName, params);
3) Executions.getCurrent().getDesktop().getWebApp().getConfiguration().addRichletMapping(name, PATH_LOGIN);
the first two create 'em (?) the last map it to a context(?)
However: how to use 'em without a DESKTOP(!) ?
Anyone know is this methods could be used inside a Servlet or a filter etc
(when the user is not in a desktop Executions.getCurrent() returns null)
cya, thanks
thank you,
I'll try to use it (it still needs a ServletContext I'm checking if it could be used by a Listener, if not I'll move it into a Filter)
Asked: 2009-04-25 15:38:49 +0800
Seen: 232 times
Last updated: Apr 26 '09