HI,
I need to know how to set class path for the client tag
under web service of build.xml in java.
I have to add the log4j.properties file to the client jar.
Thanks
Abhi
uninitialized class variable @@configuration in Rails
/usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:19:in `configuration'
/usr/lib/ruby/gems/1.8/gems/thoughtbot-factory_girl-1.2.2/lib/factory_girl.rb:24
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
This is the initial part of the enviroment.rb:
RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
require File.join(File.dirname(__FILE__), 'boot')
Rails::Initializer.run do |config|
config.gem "oauth", :version => "0.2.7", :lib => "oauth"
How can i remove this <p> tag with all its content in javascript?
say i have this html code
<p class="classname">
<input name="commit" value="Get Value" type="submit"> <span>or Cancel</span>
</p>
Now i need to replace/remove it in javascript, does anyone know how i can remove it?
Hi ,
I want to interrupt some specific grails domain class events(read,write,delete,update).Is there any hibernate eventlistner available for grails domain classes.So that all the calls will go through that eventslistner.I tried following def beforeLoad={}, def beforeInsert={} ,etc ..Other than that is there any other way something can be done in service level?
Thanks
Retrieving the COM class factory for component with CLSID {86A3FE22-515C-45BF-B489-07DEEB03E2D6} failed due to the following error: 80040154.
this is error message in my page in asp.net?
pls help me how can i remove it
C# Winforms 3.5
I have a list of user controls all derived from one base class. These controls can be added to various panels and I'm trying to implement the drag-drop functionality, the problem I'm running in to is on the DragDrop event.
The DragEventArgs: e.Data.GetData(typeof(baseClass)) doesn't work. It wants:
e.Data.GetData(typeof(derivedClass1))
e.Data.GetData(typeof(derivedClass2)) etc...
Is there a way I can get around this, or a better way to architect it?
I seem to have somehow messed up when wordpress calls the post class. I looked in "Main Index Template" but that just says "<div <?php post_class() ?> id="post-<?php the_ID(); ?>">" So I don't know what to do.
I'm trying to add a IsImage property that I wrote myself to the HttpPostedFile class, so that if a user is uploading a file, I can do something like this:
FileUpload1.PostedFile.IsImage
How can I do that in C#?
When I build with XCode (I am porting a large project with tons of errors at this point), is there a way to have it start with the CPP file that contains my main class (I obviously know this file) so I can correct errors there first?
I mean we have about 400,000 errors moving from CW to XCode.
Hi,
I created a small WPF desktop application. I am thinking about how to make my application internationalized. Is there any Language Class to research (.NET 3.5 based)?
I want to load the my application language from windows region/language configuration automatically.
OR. some method to switch language from my application menu list.( no additional language package installation, assume the windowns system language packages support Chinese/English/Japanese/Korea already).
I am trying httpUnit for the first time and just trying to get a response back from google.com.
However, I keep getting the following error:
com.meterware.httpunit.dom.HTMLDocumentImpl not found
Though, I have placed httpUnit.jar in the libraries folder of my NetBeans project and can actually see that class file is there.
Any experiences with this?
After initiating a new SimpleXml object:
$xml = new SimpleXML($xmlStr);
PHP errors out:
Fatal error: Class 'SimpleXML' not found
PHP info reads:
Simplexml support enabled
Revision $Revision:
1.151.2.22.2.35.2.32 $
Schema support enabled
What could possibly be going wrong?
Hi every one!
Does Page class adds ViewState for Controls created in CreateChildControls, I mean I have a page which I add some controls to the page and all of them are Literal and EnableViewState is false, my question is are there any ViewState entry gor them in Page's ViewState?
Thank you.
Given: An application that accesses a directory of files: some plain text, some binary files that adhere to a particular NSCoding implementation, and perhaps other binary files it simply doesn't understand how to process.
I want to be able to figure out which of the files in that directory adhere to my NSCoding class, and I'd prefer not to have to fall back on the naïve approach of loading the entirety of each file into memory, attempting to unarchive each.
Anyone have an elegant approach or pattern to this problem?
Hello
i i have different class and controller.
and i need that one instance of model will be available in controller/
now i'm doing something like this:
def method1
inst = @MyClass.new(params)
inst.action
....
def method2
inst = @MyClass.new(params)
inst.action
....
but i want something like this
def method1
@inst.action
....
def method2
@inst.action
or self.inst i't doesn't matter
how i can do it?
def self.inst
MyClass.new(params)
end
doesn't work...
I have two view controllers (viewControllerA and viewControllerB) with their own views. When the user touches a button in the view of viewControllerA, I am able to load the view of the viewControllerB.
However, I don't know how to invoke a method in viewControllerB's class!
I need to use method like:
DoSomething<(T)();
But i don't know which Type i have, only object of class Type. How can i call this method if I have only:
Type typeOfGeneric;
I've got a control that derives from Forms.Control, it handles mouse events and paint events just fine, but I'm having a problem with key events. I need to handle Left arrow and Right arrow, but so far the Tab control that contains my class eats these.
How do I make this control selectable, focusable?
Can anyone suggest a FileSet package/class in Java. By FileSet I mean a collection of files and directories together with regex-powered inclusion and exclusion rules (similar to Apache Ant). Thanks.
hi!
I'm working on a project which includes generating pie and bar graph charts on the fly with user inputs.
Can anyone suggest me some good libraries to do that?
It can be any like jquery, css, php class or anything..
Thanks :)
Hello,
I have questions about System.Threading.ThreadStart Class :
where can I find its specifications ( there is praticly nothing in the msdn : http://msdn.microsoft.com/en-us/library/system.threading.threadstart.aspx or in ROTOR : www.dotnet247.com/247reference/system/threading/threadstart/__rotor.aspx)
what is its field : protected System.IntPtr _methodPtrAux
thanks
Hello,
I started learning DBIx::class and I reach the point where you have to create the Objects that represents tables. Should this classes be created manually ( hard coding all the fields and relationships.....) or there is a way to generate them automatically using the database schema. I read something about loaders, but i did not know where they are really used.
Please advice.
Thanks
Hi All,
I want to use min-width and width for a class. Is that possible?
Can I use the following code :
.container
{
min-width:1000px;
width:100%;
height:100%;
overflow:hidden;
}
Thanks