List Info

Thread: Re: Invoking Admin Level Plugins?




Re: Invoking Admin Level Plugins?
country flaguser name
United States
2007-08-29 19:07:13
You should be able to do that, yes.


On 8/26/07 11:38 AM, "Shalini Israni&quot; <shaliny.igmail.com&gt; wrote:

Thanks David. I agree. So i could wire up the DataBaseFetcher and other classes to that separate component without any problems?




On 8/24/07, David Czarnecki <davidblojsom.com> wrote:
One reason I would go with the separate component to do the blog creation is
that you'd be able to trap any errors in the creation. The plugin bubbles
the errors up in HTML to the web browser so it's not really that useful if
something goes wrong.


On 8/24/07 8:46 AM, "Shalini" < shaliny.igmail.com&gt; wrote:

> Hi,
>
> I have a question about the Admin level plugins -  I can't seem to
> understand how they are being invoked. What do i do if i need to simply
> invoke the edit-blogs plugin by passing it the relevant parameters?
>
> To make it clearer:
> I don't want to visit the admin-edit-blogs page and fill in the info
>; there, yet i want the plugin to run as if i have simply invoked it like
> a method call with all the parameters that it needs in order to create a
> Blog.
&gt;
> In essence i have a "Create Blog" button on some template, and the
> result of clicking this is the creation of the blog.
>
> How is the edit-blogs plugin invoked?
>
>;  &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; OR
>
&gt; Is it advisable to not do it this way, but to replicate the
> functionality of this plugin, in a separate servlet? If so, can i
> autowire the _fetcher and _servletconfig and other classes using the
> spring functionality without disturbing the original blojsom
> functionality in any way? (in the xml files as done for all other beans
> like say... authorization provider...)
>
> Thanks in advance,
>
>; Shalini
>
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the
> property of Persistent Systems Pvt. Ltd. It is intended only for the use of
> the individual or entity to which it is addressed. If you are not the intended
> recipient, you are not authorized to read, retain, copy, print, distribute or
> use this message. If you have received this communication in error, please
&gt; notify the sender and delete all copies of this message. Persistent Systems
> Pvt. Ltd. does not accept any liability for virus infected mails.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
>; Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Blojsom-developers mailing list
>; Blojsom-developerslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-developers  <https://lists.sourceforge.net/lists/listinfo/blojsom-developers>;

--
David Czarnecki

http://www.blojsom.com/blog/ | http://blojsom.sf.net



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Blojsom-developers mailing list
Blojsom-developerslists.sourceforge.net   Blojsom-developerslists.sourceforge.net"><mailto:Blojsom-developerslists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/blojsom-developers




--
David Czarnecki

http://www.blojsom.com/blog/ | http://blojsom.sf.net
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )