plugins

What are some good resources for learning to develop VIM plugins?

I am learning VIM and would like to try to hack on some VIM plugins, but can't seem to find any resources for learning the scripting language. It seems like its called VIMscript, but I'm finding almost nothing useful on Google. Does anyone have any recommendations for learning how to develop VIM plugins from scratch? Thanks ...

grails: dynamically adding associations

Mormally setting up one-to-many associations is easy. Take for example: class Author { String firstName String lastName static hasMany = [books: Book] static constraints = { books(nullable: true) } } class Book { String title Author author Publisher publisher static constrai...

Sharing Zend Helpers (view or action) Between Modules

Assuming you're trying to keep yourself as close as possible to the Zend Framework view of the universe, how should view and action helpers from one module be shared with another module? Let's say I have an with two modules. Module "A" has a view helper named Output. class Modulea_Zend_View_Helper_Ouput extends Zend_View_Helper_Abstra...

Plugin Development

I am gonna develop a plugin for winamp specially for lyrics. So i have downloaded the winamp SDK and jd3lib for id3 extraction for songs. But i am little bit confused of how to get the lyrics for that particular song which would i select for as i don't want to use any database for the lyrics storage rather than i prefer to use some free ...

CakePHP 1.3 Plugin Shortcut Route

Hi, I searched a lot around the web but I couldn't find any specific sollution to this. In CakePHP 1.3, different from 1.2, if you had a controller inside a plugin, and both had the same name, you could access through "<plugin>/<action>", and it would call the 'default' controller. But in 1.3, according to this: http://cakeqs.org/eng/q...

DLL Get Symbols From Its Parent (Loader)

I am porting a program to MS Windows. This program uses dynamically loaded plugins. The plugins reference symbols in the main program. I cannot even get the DLLs past the linker without all symbols being resolved. Is there a way to solve this? ...

How to isolate an API's dependencies from the main program where it is used ?

I have a system for which I am creating a plugin through a well defined access point. However the plugin in question uses some jar that the framework also uses but of a different version. The code is structured in a way where the code integrating in the framework (extending the plugin extension points) and the code doing the actual wor...

Have to install Silverlight in browsers in the future too?

I know that you have to install plugins before you could use them in the web browser. Will it always be like this for plugins like Silverlight? Or do you think major browsers (Firefox, Safari, Chrome etc) be shipped with it in the future? ...

Jump to MSDN docs from VS

Say I have this line: Foo = reader.ReadElementContentAsInt(); I want to rightclick "ReadElementContentAsInt" and select some kind of "Jump to MSDN" option that opens the documentation in my browser. If it's easily extensible to work with other lib docs (e.g. Qt), even better. Do I need a VS plugin? ...

Getting Duplicate Error Messages with JQuery Validation Plugin

I'm a newbie to JQuery and the Validation plugin. Short Description: I wanted all of my error messages to appear in one div at the top of the form, instead of next to each label. After a little head scratching and net searching, I came up with the following, which works, but the sourceurl: message comes up twice on the validation. I ...

Websphere 7: Getting 'Internal Server Error' when accessing JSPs. Servlets ok

I have just installed WS 7 on our stage server. The test server was done some months ago. I have deployed the same applications to stage as on test. One application is causing me problems. I call the login servlet but the result is an 'Internal Server Error' message. From my logs I can see that the servlet processed the log in successf...

Why have the "jquery." prefix on plugin filenames?

I'm curious as to the reasoning behind the standard procedure of prefixing jQuery plugin filenames with "jquery.". Several tutorials state something like: The use of the "jquery." prefix eliminates any possible name collisions with files intended for use with other libraries. I believe I have even seen a couple of plugins that actu...

Is there a Wordpress plugin which let the user register/login and see some new elements if he/she logs in?

Is there a Wordpress plugin which provides a full registration form for the user (name, phone, email, etc...)? (Once the user is logged in he/she will see new links in the navigation bar (or anywhere else) ...

Error installing Blackberry Component pack 4.6.0

Hi Guys, I'm trying to install the BB Component pack 4.6.1 (Eclipse 3.4.1 +Windows Vista) but I got an error message: An error occurred while collecting items to be installed No repository found containing: net.rim.eide.feature.componentpack4.6.1/org.eclipse.update.feature/4.6.1.27 if I check the repository page: http://www...

Rhythmbox plugin to access podcast files doesn't see them

I am writing a Rhythmbox plugin to iterate over all podcast files currently known to Rhythmbox (whether downloaded or not) and to do something with them. After some research and testing in the Rhythmbox's Python Shell, I succeeded to get a list of all objects. However, when I coded it into a plugin, I get an error: (rhythmbox:7500): GL...

Using Jquery Validation Plugin's required( dependency-expression )

Hi I'm using the jQuery Validation plugin, and I'm trying figure out how i can make a name field required if a prefix (Mr, Ms, etc) or a suffix (Jr, Sr, PhD) is selected. This is what I have: $('#geninfo').validate({ rules:{ firstname: {required: function(element){ return $("#prefix").val() != " "; } } }, mess...

jQuery Validation Plugin: Element with Error has same CSS attributes as my Wrapper Target

Let's say I have a page using the Validation Plugin more or less as follows: <script type="text/javascript"> $(document).ready(function(){ $("#addGigForm").validate( { messages: { url: { graphicURL: "Please enter a valid web address and file name in Gig Grap...

Interface Builder Plugin Custom NSView Dragging

I have created a simple custom NSView (plugin item) When i do resize my NSView in interface builder - everything displays normally (black rect) But when i drag NSView to reposition it, nothing is displayed. What method should be implemented to fix this issue? -(void)drawRect:(NSRect)dirtyRect { [super drawRect:dirtyRect]; [NS...

SYmfony plugin upload error: You must specify the min version for symfony

I have been trying to upload my SYmfony plugin for some time but I keep getting this error. Initially the dependency on the SYmfony Package was missing, but I added that. My package.xml looks like this: <?xml version="1.0" encoding="UTF-8"?> <package packagerversion="1.9.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns...

Link open left div

Hi guys i have this link http://www.tgi.com.pt/link/tabSlideOut.html and my idea is the link content open the left div. But I can't doing the desired effect any suggestion? ...