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
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...
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...
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...
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...
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
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
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
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...
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...
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
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...
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...
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>...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.