I am trying to get this to work. I am making a table and one of the cell contents is an image. This image should have an onClick event that fires a function and passes on two pieces of data to that function.
here is where I make the cell contents:
celldata = '<img id="img'+i+'"...
Switch is a good solution, but I almost always have a default option so my script won't break if I don't get an expected value.
Like So:
switch (output)
{
case 1:
strSQL=strSQL + "and SF_DATE_ON_SERVICE__c = LAST_N_DAYS:30";
break;
case 2:
strSQL=strSQL + "and SF_OFF_SERVICE_CODE__c<>'9' and...
May seem like a simple answer but can you just assign an OnClick event to your table rows as they are rendered? Just point to the same function and pass along the rowid.
I have used this with loops to include the loop variable as the row id.
An example:
for...
Ok. I am working on a content mgt system that will allow for direct page edits from authorized computers (using a cookie).
I have the part of identifying page and div ids and the changed text to store to a MySQL table. What I am missing is the ability to identify styles associated with...
Company codes start at D1 (including the column header) and to Z1. Full data range for company columns is D1:Z394.
Thanks!,
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.
Skip,
I need the correct layout to be something like:
CODE DESC DRGNO COMPANY COV
ACEI Aceon 016266 XAE N
ACEI Aceon 016266 XAB N
ACEI Altace 020412 XAE N
ACEI Altace 020412 XAB N
...
Thanks for the fast...
I don't need any help with the ISAM file creation. I have a DBL routine to do that for me. What I need help with is getting the spreadsheet into the correct layout in order to import.
Thanks,
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.
I have looked through the forum and found a solution that is kinda what I need (http://www.tek-tips.com/viewthread.cfm?qid=950733), but it assumes a single column as the key field. I have three columns for key fields.
CODE DESC DRGNO XAE XAB
ACEI Aceon 016266 N N
ACEI...
It was a problem with not specifying the port.
Here is what works:
String url = "jdbc:mysql://MyServerAddress:3306/coffeebreak";
Instead of
String url = "jdbc:mysql:MyServerAddress/coffeebreak ";
Thanks for the help though!
LJ Wilson
My personal saying - Just remember, it can always...
No, "is supposed to" means it is supposed to, but isn't.
Thanks,
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.
Output is supposed to be on the screen (XCode pops up a window with any screen output). Also, there is nothing under the Errors & Warnings log.
Thanks,
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.
As far as a good IDE for Java, I just started using XCode (for Macs). So far, I really like it.
LJ
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.
I am very new to Java and am trying to learn how to connect and modify a MySQL database. Here is the connection script I am using to try to create a table in an existing database.
What am I doing wrong? I don't get any errors (I don't get any output at all).
import java.sql.*;
import...
Well, it works great. Thanks so much for all the help - I learned alot and have a good solution for handling ISP failures. The one thing that was causing the failure of private name lookups (like ac19.i2software.com) was that the forwarders line in /etc/bind/named.conf was commented out. Once...
That parts works great now! Worked just as described. The only thing it is not doing now is looking up an address that is private (like ac19.i2software.com).
It isn't doing that with the cable plugged in.
Thanks!
LJ Wilson
My personal saying - Just remember, it can always get worse, and...
I had tried nslookup 127.0.0.1
Here is /etc/resolv.conf
#Generated by dhpcdd for interface eth0
search i2software.com
nameserver 10.XX.XX.5
Thanks for your patience with this.
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.
I was testing using nslookup ac19.i2software.com (with the ethernet cable unplugged). I also tested using nslookup 127.0.0.1 and both came up with the same result - "connection timed out; no servers could be reached".
Any ideas?
LJ Wilson
My personal saying - Just remember, it can always...
Ok. Both things work when the machine is plugged into the network. But when I unplug the ethernet cable and try, it says "connection timed out; no servers could be reached".
Shouldn't it look to itself for cached names?
Thanks,
LJ Wilson
My personal saying - Just remember, it can always...
Ok. I made the changes you mentioned. The one thing I did different was put the file in /var/named and changed the line in your named.conf from:
directory "/usr/local/bind";
to
directory "/var/named";
Here is the output from /var/log/messages:
When starting named:
Jan 11 09:33:58 xac02...
I think I tried what you indicated. I made changes and it is still not working.
Can you tell me what to put in each file to get this going?
The main DNS server for us is 10.XX.XX.5
Thanks for the help thus far.
LJ Wilson
My personal saying - Just remember, it can always get worse, and...
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.