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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. raindogs

    Library problems in converting date string to epoch time

    I'm a little new to Python and am stuck in a deeply awkward situation. I'm working at a client site where I have no control over what is installed on their server and no ability to do any sort of upgrade. They're running what appears to be a very stripped down version of Python 2.1, which is...
  2. raindogs

    how to dynamically set a database name

    I have an application with multiple databases using the same schema on the same instance of SQL Server that are storing different information for different groups of users. The users can have access to more than one database. There is a central database that keeps track of which databases the...
  3. raindogs

    trouble deploying JSF On-Load component

    'm really pulling my hair out over this one. All I want to do is implement the JSF On-Load component for one page, but the application build keeps failing after finding an error in my faces-config file. I'm following the instructions at...
  4. raindogs

    trouble linking datatable to resultset using JSF

    Hello all, This is one of those really painful ones where I had it working, didn't save a backup, made a few changes, and now I can't figure out how to get it working again. I'm working on a JSF/PostgreSQL application and I've lifted the bulk of this portion straight from Chapter 5 of the “Core...
  5. raindogs

    need help filtering a datasource (newbie)

    Thanks for the tip, that clears up a lot. Unfortunately, I’m still having a bit of trouble. I set up the following stored procedure to query my “occupants” table: [dbo].[occ_select] (@p1 char(20), @p2 char(20)) as execute('SELECT * from occupants where ' + @p1 + ' = ''' + @p2 + '''') I loaded...
  6. raindogs

    need help filtering a datasource (newbie)

    I’m taking my first crack at ASP.NET and I’ve run into a problem with my datasource that seems like it should be very simple. Using the <controlparameter> tag to filter a datasource is working great, but I’d like to use it to define the field to be filtered as well as the value. To clarify...
  7. raindogs

    Problem connecting Tomcat to Postgres in JSF application

    Another interesting development... I took the postgres connection jar out of both the local/lib and conf/lib directories and got exactly the same message. Clearly, this JAR file is either not being read or is not being accessed properly. Help!
  8. raindogs

    Problem connecting Tomcat to Postgres in JSF application

    Thanks for the response. I think you're probably right that I'm missing a JAR file, but I'm not sure which one. Pasted below are the lists of jars from both the common/lib and the application library. Can anyone out there spot the missing piece? ---------------------------...
  9. raindogs

    Problem connecting Tomcat to Postgres in JSF application

    Hello all, I'm a bit new at JSF and Tomcat, and I'm havign some trouble connecting to a Postgres DB. I'm using the steps outlined in chapter 10 of the book "Core JavaServer Faces", but clearly I have something wrong. I've seen similar problems in various forums, but thus far none of the...
  10. raindogs

    problems authenticating on Domino 6

    I'm a little new at Domino, so I'm sorry if this is a stupid question. I have a fresh install of Domino 6 on a fresh install of Windows Server 2003 Small Business. After much struggle I do seem to have things set up more or less correctly, as I have a couple of user accounts and can send mail...
  11. raindogs

    trouble with null values in a drop down list data bind

    I have a drop down list where the "SelectedValue" attribute is bound to a field that may contain nulls. In the cases where it is null, I get an error when the page loads. To fix this, I'd like to set something up where, if the value is null, a new item is added to the drop down list that reads...
  12. raindogs

    SQL Server Database Roles through ASP?

    Hi all, I'm a bit new to ASP so I have what may be a foolish question. The ASP role management options that come through "roleManager" are great but, as far as I can tell, they do everything through the "aspnet_*" tables in the DB. What I would really like to do is access the Database roles...
  13. raindogs

    union query only returns records from first source

    Hello all, I have another puzzler here. I'm trying to do a union between two identical "occupants" tables in two databases (DB1 and DB2 in the example pasted below). Both have a primary key called "rowID", and I want all the records from the first source along with all of the records from the...
  14. raindogs

    create trigger or stored procedure in external DB?

    I know you're not really supposed to do this, but I have a stored procedure that creates another database (using the tips in this thread: http://www.thescripts.com/forum/thread81377.html). It all works great, except that I need to also add some triggers and/or stored procedures in the new DB I'm...
  15. raindogs

    filer out update records in query

    Thanks, I'll give that a look. Unfortunately, I'm a contractor and the company I'm working for will not allow me to make any changes to the DB structure. I just have to work with what I've got.
  16. raindogs

    filer out update records in query

    Here's a tricky one. I have to select from a DB that has not been especially well maintained and I need to filter the IDs. Every record in the table has a unique ID, but in some cases the record has been updated and a letter has been appended to the ID. I only want to return the most recent...
  17. raindogs

    change classname in &lt;li&gt; tag?

    Thanks a lot, that did turn out to be the problem.
  18. raindogs

    change classname in &lt;li&gt; tag?

    This should be simple, but it's driving me nuts. All I want to do is assign a class to a list item based on the current URL. Here's my list in the HTML page: <ul> <li id="home"><a href="index.html">Home</a></li> <li id="maintenance"><a href="maintenance.html">Maintenance</a></li> <li...
  19. raindogs

    using the value of a variable in a regex?

    I'm trying to modify a string with a piece of javascript, but I'd like to include a the value of a variable in a search string. I have it set up something like this: var checkFor = /\d/; var replaceString = 'replacewiththis'; var postRegex = myString.replace(checkFor, replaceString); The code...
  20. raindogs

    how to include html with minimal write() calls

    I'm setting up a library of html content to be included across various pages, and I'd like to use JavaScript to do it. I know I can do a standard src() call in the HTML page and then have the include written out as JavaScript with a bunch of write() calls. What I'm looking for is something akin...

Part and Inventory Search

Back
Top