plugins

jQuery Validation plugin minLength for checkboxes

Hello all, this is my first post here on stackoverflow and am very impressed by the site! My question is about the jQuery Validation plugin...specifically about the minLength method. I have a group of checkboxes and i want to know if at least 2 boxes were checked. http://docs.jquery.com/Plugins/Validation/Methods/minlength#length at t...

Internet Explorer find out when a user navigates away from the page

I'm using VS2008 (C++) to create an IE plugin that creates a child window. It's like a normal explorer window, but customized to fit my needs. I want to destroy the window when the user navigates away from the page, by calling DestroyWindow(). Unfortunately, I don't know how to detect if the user has actually navigated away. Is there an ...

Eclipse plugin Javascript editor

I want to add hover text in eclipse java script editor. Can anybody give any pointers to some resources? Thanks in advance ...

Can an NSAPI plugin be used in an apache web server?

Can an NSAPI plugin be used in an apache web server? I suspect the answer is no, but I would like it confirmed. I wrote the plugin for SunOne (formerly iPlanet) and now the company approved webserver is apache. Is it a trivial move? A tedious port? Or maybe I "just" get a variance. Aaron -I don't read Dilbert, because it doesn't se...

adding a function to jquery countdowntimer plugin jCountdown

hi i would like to use this plugin, but it does not have an option to stop counting, or change the countdown timer value: http://plugins.jquery.com/project/jCountdown how can this featuer be added? thank you! ...

Grails: Error using liferay plugin

I'm having this problem with the grails liferay-plugin: localhost_liferay_portlet_WEB_INF_grails_app_views_test_view_gsp: 17: expecting anything but ''\n''; got it anyway @ line 17, column 170. 1 error Here's the gsp: <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %> <div> <h1>View Page</h1> The map returned by renderV...

jQuery with quicksearch plugin performance problems

I'm using the jQuery quicksearch plugin to search for items in a table of data. Very slick and works fantastically well when there are a reasonable number of rows. (Reasonable number: Less than 200 rows with 10 columns which an average of 20 characters per cell.) When I increase the number of rows performance drops off and it becomes ...

Writing C# Plugin System

Ok, tried google, really no help. Tried searching for previous question here, nothing similar/in C#. I'm trying to write a plugin system to provide some extensibility to an application of mine so someone can write a plugin(s) for the application without touching the main application's code (and risk breaking something). I've got the ba...

Plugin Architecture/Dependency Injection Question

Hello, I'm trying to figure out an architecture for plugins, but I've never worked with that. Essentially, my Program supports multiple database backends, but only one at a time. my idea was now to create a new Assembly (".DataCore") that contains all my Repository Interfaces (IFooRepository, IBarRepository) and a IDataPlugin Interface...

Code annotation tool for Visual Studio?

I'm looking for a tool to annotate code in Visual Studio. By which I mean this: I'm debugging and see a line of code I want to make a note about. So I right-click (or use a keyboard shortcut, or whatever) and am able to type in my note about the code. It stays with that line, but doesn't become part of the code file itself. (Thus I'...

Shortkey to gedit plugin

Hi, I did a simple plugin to gedit. It changes some values in document. I would like to known how can I do a shortkey to call this plugin. Thanks! ...

Maven Plugin to automatically generate setters/getters?

Is there a Maven Plugin that will automatically generate setters and getters with the corresponding JavaDocs? I am aware that Eclipse/Netbeans will do this when you tell it to; however, it would be nice for the source to simply contain the skeleton and have Maven or another tool generate the repetitive stuff. I would want to modify th...

jQuery plugin feedback

I'm new to building jQuery plugins. I have seen and used a lot of tooltip plugins, and today I've decided to build my own. Can I get some feedback on the code? What work, what doesn't. Optimizations. Caching. What can I do to make it faster and better? This would be really helpful for my learning and hopefully for others too. Heres my...

npapi - javascript doesnt load the content of a plugin

Hi ! I wrote a firefox plugin using C++ and used the <EMBED> to load it to html. In javascript I got the embedded plugin by using document.getElementByID, but when I tried to call a plugin function, the function was undefined. Moreover, plugins constructors did not run while loading the page. The same html file and plugin seems to w...

How do you write a Visual Studio plugin to manipulate your own file type?

When you are developing a Windows form, you get the form designer and when you double click a button on that designer, it generates a method stub and you get to edit that method. When you are editing an XSD, you can do so from the designer or the code. If you have the Enterprise Libraries installed, you can right click an app.config an...

How can I collect statistical data and metrics for an entire TeamCity installation?

We offer a TeamCity installation (with a number of build agents) as a shared resource to a number of distributed technology departments, across our mid-size company. Although we have a qualitative sense of how many departments and technologists are using our TeamCity installation, we'd like to start gathering some quantitative metrics ar...

nunit automatic test generator vs2005

Is there a good free plugin for generating a template for Nunit test for visual studio 2005? ...

jQuery Slider

I'm after the best jQuery slider solution to showcase an image and a few lines of text - layed out like the above image.. It would need to slide thru each slide automatically after a certain amount of time and also have the functionally that enabled the user to choose which slide it showed by clicking on the numbers (bottom right). A ...

(Rails) Plugin domain/scope issue.

Hi All, I'm having a bit of a domain/scope issue when it comes to some plugins. Basically I'm using the OFC2 (http://pullmonkey.com/projects/open_flash_chart2/) for rails. However, I already have a class in use called Charts. I tried prepending a lot of my existing calls to Chart with "ActiveRecord::" but I'm not comfortable with thi...

Writing an ActiveRecord plugin for Rails

I'm writing my first rails plugin and could use a little help. In a very simplified way, I'd like to do allow the developer to specify a value which I can count through a rake task. I'm thinking of something like this... class User < ActiveRecord::Base monitor "Users", count monitor "Active Users", count("activated_at != NULL")...