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. Coderifous

    Help w/ errors.add_to_base between controller and model

    The errors for your model objects will be available via the objects that they were added too. So, in your controller code, if you have a model object called "invitation", and you try to save it but get validation errors, then you can retrieve the errors by doing something like...
  2. Coderifous

    public/dispatch.fcgi No such file or directory

    This might be helpful.
  3. Coderifous

    JTable behavior

    When I'm editing a cell in a JTable, I can hit "Enter" and the focus goes to the next row. Where is this behavior defined? Is it a look and feel thing? I need to change the behavior, because, when you are on the last row of the table, and you hit enter, the TOP row is selected (which is good)...
  4. Coderifous

    $1 not set by regexp in loop

    Whew, I am rusty. You are right. If I have a break today I'll copy your test data and try to debug it, but I'm sure someone will beat me to it. Sorry about the uselessnses of my previous post. --jim
  5. Coderifous

    $1 not set by regexp in loop

    Not sure if this is it - but the first thing I notice is that you probably don't want a greedy quantifier. Change: s|^(<[^>]*>)||g To s|^(<[^>]*?>)||g --jim
  6. Coderifous

    Overriding a tiny part of look and feel.

    Hi Dian, I'd love to subclass it, but I don't know how to 1) subclass an inner class (Handler is inner-class to BasicListUI) or 2) how to tell JOptionPane swing constructor to use my special subclassed look'n'feel class, instead of the default one. Any clues? --jim
  7. Coderifous

    Overriding a tiny part of look and feel.

    In my system I have a JList that displays values LIKE: Foo Bar Baz 1023 10432x 11101 11200 113 114 117 213 232 And my users like to use the type-ahead type functionality provided by the basic look and feel package. So if the user wants to select the "232" value, the user merely begins typing...
  8. Coderifous

    Is samba the &quot;right&quot; way? LOE?

    I'm definitely going to use Samba. I've got it installed on my test unix server. Any idea how long something like this generally takes to setup? I'm on a time-budget, and want to make sure I notify ahead of time if this is a typically time consuming process.
  9. Coderifous

    Is samba the &quot;right&quot; way? LOE?

    At work I am tasked with setting up a "Unix Server that Windows Clients use". The requirements couldn't be more vague, but I've dug a little deeper and learned that they want authentication to be handled by the Unix server, they want shared resources on the unix server, and they also want to...
  10. Coderifous

    Noob

    At work I am tasked with setting up a "Unix Server that Windows Clients use". The requirements couldn't be more vague, but I've dug a little deeper and learned that they want authentication to be handled by the Unix server, they want shared resources on the unix server, and they also want to...
  11. Coderifous

    Migration from MS-SQL Server (on windows) to Sybase (on unix)

    My contract has inherited a legacy MS-SQL Server DB, and our mission will be to port it to Unix - the chosen target DB is Sybase. Not sure exactly who chose Sybase, but whatever. The good news, as I understand it, is that MS-SQL Server and Sybase have a shared heritage - making many features...
  12. Coderifous

    Migration from MS-SQL Server (on windows) to Sybase (on unix)

    My contract has inherited a legacy MS-SQL Server DB, and our mission will be to port it to Unix - the chosen target DB is Sybase. Not sure exactly who chose Sybase, but whatever. The good news, as I understand it, is that MS-SQL Server and Sybase have a shared heritage - making many features...
  13. Coderifous

    &quot;THEY&quot; want a GUI - any suggestions?

    There's also Qt, which has a sweet GUI-building sweet called designer-qt3 (I think). Now, I tried installing it on my mandrake laptop, and it installed ok, but the designer-qt3 app crashes miserably when I try to use it. seg fault. I think that is a symptom of some crappy lib configs on my...
  14. Coderifous

    square brackets?

    Can you provide an example of what you are talking about? --jim
  15. Coderifous

    Using SSI with Perl

    inforeqd, your problem is somewhat vague, but that's not the major problem here I think. Based on how you worded your question and your stated goal, it's probably safe to say you are a beginner. Cool. Tek-Tips is the place to be. In order to help you out, I think a little more info is...
  16. Coderifous

    Javascript vars into Perl Script

    == Belongs in Javascript forum really yea, and if you are computing them on the fly in your javascript, you can use the DOM to define form values dynamically. Something like: <form name="sweet" action="whatever"> <input type="hidden" name="foo" value="" /> <input type="button" value="Click"...
  17. Coderifous

    Help with a subroutine

    The line $newData = []; is just assigning an empty anonymous array reference to the scalar $newData. The push statement is just adding data to that array. The form "@$newData" serves to retrieve the referred to array from the reference stored in $newData. For more info on how push() works...
  18. Coderifous

    Name of constant in variable

    Constants in perl are just subroutines that return the value. So you probably are wanting to do a soft dereference. use constant FOO => 'bar'; my $con = 'FOO'; print &$con; # gives 'bar' --jim
  19. Coderifous

    odd behavior of strings

    Time to switch fonts on your terminal. :) I use Monaco Regular. Zeroes have a slash through them, O's don't. Plus it's fixed width, some people don't like that though. --jim
  20. Coderifous

    Syntax Question

    Are you saying domain as in windows work groups? Or as in domain names for URL's? Judging by your earlier post where you mentioned http:// you are trying to do something like this: if( -e "http://www.something.com/path/to/pic" ){ ... } And you are correct in thinking this will not work...

Part and Inventory Search

Back
Top