features

PHP add show-hide functionality for text dynamically

Hello! I have html text that's fetched from a database. The structure of the text is always like this: <div>Short text</div>Long text And repetitive: (unpredictible number of times) <div>Short text</div>Long text <div>Short text</div>Long text <div>Short text</div>Long text <div>Short text</div>Long text What I want to do is check...

cucumber should see button

I have a form that has this <%= submit_tag 'Search Event' %> and a cucumber step that says And I should see "Search Event" but this step fails.. why is that? Here is the error i get expected #has_content?("Search Event") to return true, got false (RSpec::Expectations::ExpectationNotMetError) ...

Install Shield - How to Disable specific feature in feature tree?

I am new to install shield , I have an Install Script msi project and have some features, I want feature3 to be greyed out in sdfeaturestree dialog. Kindly help me in to this I am very stucked. kindly tell me the fucntion which disable the check box of specified feature.? thanks very much ...

If someone said their web app was RESTful, what types of features would you assume it contained?

I was reading about a blog application that was described as RESTful. If someone told you their web application was RESTful, what types of features would you assume it contained, to differentiate it from a non-RESTful web application? ...

Using OnInstalling feature event in Installshield installscript

I am new to Installshield and having some problems. My Questions are : How Can I use OnIstalling Event of a specific feature to reset the progress bar for the installation of this feature (In this feature SQL scripts will be install)? and How reset the progress bar for the installation of a feature ( I need to run SQL Scripts and i w...

image Texture Feature using Gabor filter

I have the following gabor filter to extract image texture feature.. a=imread('image0001.jpg'); a=double(a); a=a-mean(a(:)); [r,c,l]=size(a); K=5; S=6; Uh=0.4; Ul=0.05; alpha=(Uh/Ul)^(1/(S-1)); sigmau=(alpha-1)*Uh/((alpha+1)*sqrt(2*log(2))); sigmav=tan(pi/(2*K))*(Uh-2*log(2)*((sigmau^2)/Uh))/sqrt((2*log(2))-(((2*log(2))^2)...

How to show CustomAction on a certain Custom List

Hi, How can I show a CustomAction for a List of "Custom List" type and it's Title is "Demo List"? Is this possible? if not is there any workaround to achieve what I want? ...

How to detect if "Web Services Feature Pack for WebSphere" is installed in Websphere server?

How do I detect if "Web Services Feature Pack for WebSphere "is installed in Websphere Application Server v6.1? I need this information to solve some classloading issues while deploying cxf webservices in Websphere. ...

A way to implement `String#split!`

Sometimes I need such method, which could change class of its own object. There are String#delete!, #downcase!, #encode!, #gsub!, #strip!, #slice!, etc. They are all trying to change string, but resulting class is anyway still String. And I want a method, which can convert String to Array. Some way to make this: irb(main):082:0> str = "...

Correct Git workflow for shared feature branch?

Hi, I am trying to figure out the right workflow for this situation: On the shared repo, we have these branches: -master -feature The feature branch is a shared branch, since many developers are working on a new feature together. They are actively pushing their changes to the feature branch. I'm trying to avoid 'conflict hell' for ...

Enabling a Feature via Drush

When I enable a Feature through the site UI, everything goes as expected. However, when I enable a feature from drush with drush pm-enable, the following don't happen: Strongarm configurations not applied module_disable (in a new custom module) not performed Why is this? ...

how to get coordinates of a polygon in OpenLayers

I have been looking for how to determine coordinates of the points which consist a polygon(feature) in OpenLayers. Let's say I have created a polygon like the one in this example. I need to know the points which consist the polygon, so I can save them somewhere. I bet it is an easy one. I just couldn't find anything, probably I don't k...

Is there an open source program that would give you the "Pages" feature of Backpack (37Signals)?

I'm creating a financial web app (Rails 3) and I would love to put a feature in such as the one from Backpack's "Pages" feature (from 37Signals). I could probably just use some JS WYSIWYG plugin but I really like that feature of Backpack. Thanks for any recommendations. ...

java Api catalog? komodoedit java auto complete feature

Hi by default komodo edit supports the following languages for its auto completion feature by default: Ruby: require, class modules (on . and ::), class variables and methods, method calltips. Python Perl PHP XSLT XML Tcl I am programming in java at the moment, and I need to have the auto completion feature with that language. Can so...

Used Background for some Scenario

Feature: list video in stored Background: Given I have the following videos | title | format | | Running Central Park in the Fall | BluRay | | Running Glacier Park in the Spring | Download | | Running Balboa Park in the Winter | DVD | ...

Custom control no being bundled in the WSP file

I have a Sharepoint 2010 feature that contains several custom actions in it. I added a Custom Control to the elements xml and a new ascx file in the controltemplates folder. Pretty simple. However, I can see that the ascx file is not inside the bundle file after I package the solution and get the WSP distribution file. The modifications ...

Adding a SharePoint feature with multiple class files

I am in the process of making a feature that consists of multiple items. Currently it contains a Feature.xml file with 4 ElementManifest entries; two for a specific contenttype (Field definitions and FieldRefs), one for some webparts and the last is for a custom pagelayout. All of that is working fine. I have altered the file with the ...