Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by flanakin

  1. flanakin

    GetDate() in Stored Procedure

    This isn't the only thing I do in that SP, so that would just be more work; but I know that's possible. ________________________________________ Michael Flanakin http://weblogs.getindigo.net/flanakin
  2. flanakin

    GetDate() in Stored Procedure

    I have a stored procedure that updates a UpdatedByUserID and UpdateDate columns in a table. For some reason, the user ID is updated, but not the update date. The following SQL is run as DBO: UPDATE UserDefinedRows SET UpdatedByUserId = @UserID, UpdateDate = GETDATE() WHERE...
  3. flanakin

    JSF & Servlets

    I'm just looking at JSF and was wondering how I can pass a managed bean between a page and a servlet. I know how to read properties within a JSF control, but I don't know how to make changes to the object within the JSP file and/or servlet. Is it even possible...
  4. flanakin

    Class.newInstance()

    I found my problem. I was migrating code from one system to a reusable JAR and it turns out the object I was casting was of the old type and not the new type that was copied to the reusable JAR. Hope that makes sense. Thanks for the help, tho! ________________________________________ Michael...
  5. flanakin

    Class.newInstance()

    Is it possible to use Class.newInstance() on a class located in another JAR? I'm having problems with it. I can do it with my own classes, just not those in another JAR. I imagine this is possible, but am not sure the best way to go about it. Any help is appreciated! Thanks in advance...
  6. flanakin

    Ant build.xml file

    Open your build.xml file in a web browser. It should show you where the error is. It sounds like you just have a tag that's not closed correctly. ________________________________________ Michael Flanakin http://weblogs.getindigo.net/flanakin
  7. flanakin

    Help with building executable jar with ant.

    Do you get an error? My first guess would be that .JAR isn't associated with javaw.exe. Check that first. ________________________________________ Michael Flanakin http://weblogs.getindigo.net/flanakin
  8. flanakin

    Copy files from sub-folders

    Change "*.jsp" to "**/*.jsp". By adding "**/", you're telling Ant to recurse thru all subdirectories, including the [respective] root directory. ________________________________________ Michael Flanakin http://weblogs.getindigo.net/flanakin
  9. flanakin

    I need a jar file to be added to path

    I'm kind of lost on where the problem is. I would suggest something like this, from what I understand... <property name="build.dir" value="build" /> <property name="dist.dir" value="dist" /> <property name="build.jar" value="myproject.jar" /> Reference "${build.dir}/${build.jar}" when building...
  10. flanakin

    build: how to handle changes in package structure?

    I would personally consider it a good practice to clean on every build. Or, at least provide a task that will clean, so when a developer knows a change has been made, they'll just call the clean build instead of the regular build. ________________________________________ Michael Flanakin...
  11. flanakin

    JUnit Task

    You just need to put a copy of the junit.jar into the ant/lib directory. This one's an easy fix. The harder problems are yet to come... :-P Hopefully, you won't stumble on those. ________________________________________ Michael Flanakin http://weblogs.getindigo.net/flanakin
  12. flanakin

    Code to Capture Screenshot

    vvlad, Dude, if this works, I'm gonna kiss you! Well, maybe not, but you'll be my freakin' hero!!! Kevin, If vvlad's link doesn't work, I'll def try to get a hold of the Mozilla people. I'd def prefer to stay out of C++, but ya gotta do whatcha gotta do, I guess. Thanks all...
  13. flanakin

    Code to Capture Screenshot

    Nah, I'm wanting to write a Firefox plugin that lets me do it quicker. That's all. Not a big deal, but when I am going thru a bunch of pages and getting screenshots, it'd be nice to have something to make it quicker. I'm not saying it's difficult; just repetitive. I don't like repetitive tasks...
  14. flanakin

    clear text area from radio button click

    Good point. I'd recommend using document.getElementById() or document.getElementByName(). For instance... <script> function clearTxtRadioBtn(txtBoxRbtn) { document.getElementByName(txtBoxRbtn).value = ''; } </script> ... <textarea name="txt_box">...</textarea>...
  15. flanakin

    Code to Capture Screenshot

    I'm trying to make a simpler way for me to do screenshots, that's all. This isn't for users. Didn't think there'd be a way. Oh well. Thanks, anyway. ________________________________________ Michael Flanakin weblogs.getindigo.net/flanakin

Part and Inventory Search

Back
Top