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 strongm 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. LuckyKoen

    JMX and Websphere

    I have a java application with an MBean. This mbean has a getProperty and setProperty method to change properties in this application at runtime. When I deploy my application on Websphere, where can I see my MBean and call my 2 methods ?
  2. LuckyKoen

    Frozen Postioning

    Add position:fixed to your menu element. This won't work in Internet Explorer though, they are not a big fan of CSS :) I found a page that made this work in IE 6 but the scrolling is pretty slow on my PC compared to firefox : http://www.cssplay.co.uk/layouts/fixed.html
  3. LuckyKoen

    Regex question

    Thanks for the help Stefan. The double backslashes weren't necessary. The following line worked nicely : myString = myString.replaceAll("cloud([^a-z0-9A-Z])", "sun$1");
  4. LuckyKoen

    Regex question

    Jemm, the result I would like to get when using your String is: myString: The clouds are cloudy. Cloud#, sun#, sun$, sun! and clouded. Instead of : myString: The clouds are cloudy. Cloud#, sun, sun, sun and clouded.
  5. LuckyKoen

    Regex question

    I am trying to replace one string with another one. The string that needs to be replaced can't end on a letter or number. I have the following regex at the moment : myString.replaceAll("cloud[^a-z0-9A-Z]", "sun"); As expected, this regex will skip the word "clouds" but will replace the word...
  6. LuckyKoen

    Refactoring

    That will only rename the file names, right ? Dian : yes, you can refactor a package. This will only change the name of the package, not the names of the files in that package.
  7. LuckyKoen

    Refactoring

    I currently use Eclipse to make my java projects. Eclipse allows refactoring of class names, and it will even update references in other classes and xml files to this class. However, you can only refactor one class at a time as far as I know. Are there any tools available that can refactor a...
  8. LuckyKoen

    Apache crashes with PHP

    I installed PHP 5 with a mysql extension enabled on Apache 2 which runs fine on my laptop with Windows XP. When I want to use the same configuration on a Windows 2003 server, apache crashes when I try to start it. It just hangs and nothing happens. This happens only when I enable the MySql...
  9. LuckyKoen

    Keep focus on a windows with help of addEventListener

    You could put the content in a <div> element and position this div over the current page instead of working with a pop-up window. Pop-up windows aren't even crossbrowser too, Firefox blocks them :-)
  10. LuckyKoen

    Firefox Javascript Form population Problem

    What kind of erros are listed in Firefox -> Tools -> JavaScript Console ?
  11. LuckyKoen

    Empty table cell taking up space

    Doh.. I tried display:none in the td but not the table row. This works fine, thanks. I have a list of users and I want to use a table to display each of them. I also have a searchbox where you can start typing the name of the user. Javascript will hide all the users that don't match the value...
  12. LuckyKoen

    Empty table cell taking up space

    I have a table that looks like this : <table cellspacing="0" cellpadding="0" border="0"> <tr> <td bgcolor="#9999FF"> One </td> </tr> <tr> <td></td> </tr> <tr> <td bgcolor="#9999FF"> Two </td> </tr> </table> In my browser the...
  13. LuckyKoen

    Quick question on performance

    I usually use 2 dates to test the processing time of a certain block of code. Define one Date before and one after the code and substract the 2nd from the first. An easy way to see how long it took to process the code.
  14. LuckyKoen

    Javascript editors

    What editor do you use do write your Javascript code ?
  15. LuckyKoen

    Javascript not working within XSLT

    You could put your Javascript code in an external file, then you won't have to worry about < and > conflicts anymore.
  16. LuckyKoen

    File classpath

    Many thanks, that's exactly what I was looking for.
  17. LuckyKoen

    File classpath

    In my webapplication, there is a directory JavaSource for my java classes and a directory WebContent for my .jsp and .xml files. I want to open one of the xml files in my Action class . Until now I used the full path (C:/ .../project/WebContent/myXMLFile.xml to open this file. Having this url...
  18. LuckyKoen

    load XML Document

    The Year with a small y was only a typing mistake when I posted my code on this forum. xmlDoc.getElementsByTagName('Year') still won't work with Firefox
  19. LuckyKoen

    load XML Document

    The problem is not only the alert(xmlDoc.xml). I tried alert(years.length) which gave 1 in IE but 0 in Firefox. So somehow I think the document doesn't load in Firefox.
  20. LuckyKoen

    load XML Document

    I have a small issue with reading XML documents. My code works fine in IE - where it shows an alert box with my XML file in it - but not in Firefox. What could be the problem ? function loadXML(file) { var moz = (typeof document.implementation != 'undefined') && (typeof...

Part and Inventory Search

Back
Top