active

Managing active state (jQuery)

<ul> <li><a href="#">item 1</a></li> <li><a href="#">item 2</a></li> <li><a href="#">item 3</a></li> </ul> On click, I'd like to addclass active to the parent li element while also removing the active class from any other element which may be active already. Thanks! ...

IADS IDirectorySearch

where could i find list of attribute of an object to use in IDirectorySearch::GetColumn() i need all of attributes ...

how to update a record without worrying about primary key

In ActiveRecord how can we update a record without worrying/knowing primary key. If I do Address.update(15, :user_name => 'Samuel') it corresponds to UPDATE addresses set user_name = 'Samuel' where id = 15 but what if i want to do: UPDATE addresses set user_name = 'Samuel' where cid = 15 what will be the ActiveRecord equival...

VBScript Condition Value from Column

Hi! I am using VBScript in a Manifold GIS Database to verify the distance between two longitude and latitude points using Trig function. The script for finding the distance run without any problems but the script for verifying whether the O-D is valid had syntax error. I really hope any of you could help me with this problem. There were...

How to Look Up Email by Full Name in Active Directory?

I want to search for a user's email by using Active Directory. Available is the user's full name (ex. "John Doe" for the email with an email "[email protected]"). From what I've searched, this comes close to what I'm looking to do -- except that the Filter is set to "SAMAccountName", which is not what I have. Unless I'm misunderstandin...

Help-Configuring Microsoft Active Directory for Cognos 7 Series

I need to configure MS AD for using with Cognos 7 series. According to documentation, Base Distinguished Name (Base Suffix) is required for Access Manager configuration (it was entered when creating Data Directory Server) Please let me know, how can i configure Data Directory Server and where i can put Base Distinguished Name. Thanks i...

Which command line tools can I use to get the currently active application / window on each platform?

I'm trying to create an AIR application to log application usage and the only easy way to get information from the system with AIR is using command line tools and scraping stdout. I know about tools like top and ps for OS X, but neither of them seems to tell me which application / window is active, maybe I shouldn't even be looking for ...

How to avoid OCIError in rails application?

OCIError (ORA-12541: TNS:no listener): oci8.c:270:in oci8lib.so /usr/local/ruby-1.8.7-p248/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.2.4/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb:223:in `new' /usr/local/ruby-1.8.7-p248/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapte...

conditions without repeats

Hi i'm using this for getting data: Topic.find(:all, :include => ..., :conditions => @core ? ["cores_topics.id = ? AND visible = 1 AND (distance < ? OR cores.id IN (?))",@core.id, @user_location[3].to_i, @user_friends] : ["visible = 1 AND (distance < ? OR cores.id IN (?))", @user_location[3].to_i, @user_friends], ... how can i rewri...

css :active pseudo-class only works on IE7

Could anybody tell me with the pseudo class :active from css only works in IE7? You can check my code on the following web page. www.ercesar.com UPDATED What I mean is what it does on IE7, which once you click on the menu item, the image and the background image change even when you go away from the menu item. I hope it helps to under...

Active Reports 3 new dll version binding redirects not working.

I recently made some upgrades to one of the Active Reports 3 (AR3) report DLLs that I use and I needed to use the 5.3.1436.2 (previously using 5.2.835.2). Now, this is one report dll out of 30, and I didn't want to change the references for every report dll and test them. I just did not have the time to do so. So here is what I though...

Different types of Id when exposing DTO over WCF

Lets say we have a simple DTO with properties Id, Name. If this DTO comes from database through some data layer, Id should be of type int. If this DTO comes from Active Directory, through some data layer, Id should be of type Guid. What would be the best way to implement this? Thanks in advance! ...

Triggering CSS :active selector for non-anchor elements

QUESTION: How do I trigger the :active state for non-anchor elements via JavaScript (jQuery)? While reviewing Section 5.11.3 of the W3C CSS2 specification in reference to :hover pseudo selector to see about triggering the activation of a , I came across the following which led me to believe it should be possible: "The :active pseu...

Using C# with Active Directory Tutorials

Can anyone suggest some tutorials for beginners that utilize the C# language to access Active Directory? Thanks. ...

Android:Email: E/AbstractSyncService( 529): java.lang.NullPointerException occurs every time

Hi, I am working on Active sync in Android. I get "java.lang.NullPointerException" every time. Logs shows: Uncaught exception in EasSyncService java.lang.NullPointerException org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:453) at org.apache.http.impl.client.AbstractHttpClient.execute(Abstract...

SessionScope in BL or DL ?

Imagine that I have 3 projects: DL, BL and WS. DL contains Active Record implementation with all the mappings, BL has some logic (calling various DL methods) and finally WebService project exposes some BL methods (using some DTO mappings). The questions are: Should I put all data related methods in DL or is it allowed to use Session...

Sharepoint AD user athenticate to another domain

I have a situation where I have to autheticate SharePoint user to another website that is not part of the sharepoint domain without asking user to login again. I have sharepoint part of domain1. I have users in domain1 that log into sharepoint using NTLM by authenticating to domain1. I don't have any control over this domain and share...

Drupal: set active class on primary links menu depending on path or content type

Hi there, I have some styling based on the primary links active class. I would like to set the class of a link in the primary links to active (<a class="active"...>) based on either the content type or the path. I have already done some research on this but haven't yet seen anything that seems to match my query. Would be grateful for ...

Oracle/Toad Active Pane Setting

On TOAD for oracle, there is a bar at the bottom where your active windows (be it an sql editor, schema browser or SQL modeller window) are displayed. I have just moved office and it now only displays the active window and none of the other windows... any of you toad guru's know how to get it to display all the windows? Toad version 7....

How to display nested XML-elements in report with XML datasource in Active Reports 6

I have following xml structure and I would like them to display in the report. {...} <order id="121"> <item> <fees> <fee id="23"> {...} </fee> </fees> <discounts> <discount id="1"> {...} </discount> </discounts> </item> <item> .... </item> </o...