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...
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)...
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
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
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
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...
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.
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...
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...
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...
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...
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...
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...
== 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"...
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...
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
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
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...
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.