Re: Scheduler

2003-12-02 Thread vellosa
We are using an open source project called Quartz, available on source forge, for this kind of thing. It has been working really well here. We register classes with a cron style timer and at the given times the registered class is called back. There is also mention in the documentation about

RE: Scheduler

2003-12-02 Thread vellosa
Yeah that is what we ended up doing, wrapping Quartz in a JMX bean. We had a consultant come in and convert half our system into JMX beans. Wasn't too impressed at first, but as time has gone by I'm becoming more and more impressed with it. from:Nicholson, Robb [EMAIL PROTECTED] date:

Re: [OT] Re: far reaching db question

2003-10-28 Thread vellosa
Try something along these lines: String sql = UPDATE my_table SET some_column = ? WHERE key = ? ; con = ds.getConnection(); ps = conn.prepareStatement(sql); ps.setString(1, newColumValue); ps.setInt(2, recordId); ps.executeQuery(sql); from:Manuel Lenz [EMAIL PROTECTED] date:

Re: internationalized date

2003-10-02 Thread vellosa
Simple: bean:write name=myBean property=date format=dd-MMM- / Or taking the format from the application resources file: bean:write name=myBean property=date formatkey=myFormat / from:[EMAIL PROTECTED] date:Thu, 02 Oct 2003 15:36:33 to: [EMAIL PROTECTED] subject: Re:

RE: CTRL-N should not work in different machine...

2003-10-01 Thread vellosa
If I'm not mistaken yahoo uses cookies as well to store your user information. Therfore copying just the URL will not work. Also using the CTRL-N thing is dependant upon the browser you use. I think that IE will keep all the session infomation in the new window, but Netscape starts up a

Re: Why would I want to use the ActionForm validate() method

2003-08-19 Thread vellosa
What happens of the user disables javascript in their browser? from:Madhu Nair [EMAIL PROTECTED] date:Tue, 19 Aug 2003 07:05:01 to: [EMAIL PROTECTED] subject: Re: Why would I want to use the ActionForm validate() method Hi, Why would I want to use the Struts

Re: Suggestions for Calendar Popup taglib?

2003-08-18 Thread vellosa
Can't you set the colours using a style sheet? When we implemented out calendar one of the things we needed to do was make holiday dates unchoosable. So I'm not allowd to make a booking on 25th Dec etc. It might be worth thinking of some way in which you can pass in a collection of dates that

Re: Weblogic 6 SP 2

2003-08-14 Thread vellosa
I would guess because there were bugs in SP1 try reading the release notes this will tell you! http://edocs.bea.com/wls/docs61/notes/new.html#1078404 from:message message [EMAIL PROTECTED] date:Fri, 08 Aug 2003 14:27:38 to: [EMAIL PROTECTED] subject: Re: Weblogic 6 SP

Re: ResponseUtils.write and null properties

2003-08-07 Thread vellosa
Yeah, we found this too. When using WebLogic 6.1 our reset functions set all values to null, which then left them blank on the JSP. When upgrading to WebLogic 7.0 then suddenly were all output as null and not a blank field. Upon investigation this is the way it should be done and was a bug

using checkboxes inside iterate tags

2003-07-31 Thread vellosa
Good afternoon people! I have been hunting through the struts documentation with out luck and was hoping that someone could point me in the right direction? In the back end of my system I have built a list of hash maps which I'm displaying on the JSP using the iterate tag something like:

Re: using checkboxes inside iterate tags

2003-07-31 Thread vellosa
OK, sorry to have troubled you all, but I have got it running now. All I needed to do was to look at the bean:write tag and learn from there! When I included: tdhtml:checkbox name=item property=secondValue valueY//td it all worked great! Thanks for your time IV from:[EMAIL PROTECTED]

Re: Uploading a file to server using struts

2003-07-30 Thread vellosa
As part of the struts distribution there is a war file called struts-upload.war which explains just this! from:=?iso-8859-1?q?bhanu=20sistla?= [EMAIL PROTECTED] date:Wed, 30 Jul 2003 13:10:56 to: [EMAIL PROTECTED] subject: Re: Uploading a file to server using struts Hi

RE: drop-down list help

2003-07-23 Thread vellosa
Good afternoon, I have just changed one of my forms to use the DynaValidatorForm and I'm not convinced of the benifits of it! I remove the Form with the getX() and setX() methods and also validate() and reset(), so I have less classes floating about. But now I don't have the reset method

Where to build dropdown lists?

2003-07-15 Thread vellosa
Sorry if this is a stupid question, but any help is much appreciated! I have some drop down lists that I populate in my action class, which means I call myPage.do each time. This was working nicely, until I tried adding some validation. If this fails the action class is not called and then when

Re: Where to build dropdown lists?

2003-07-15 Thread vellosa
OK, another stupid question then! How do I ensure I use the same request? (Sorry my servlet programming isn't as good as it should be! Infact all my programming isn't!) Thanks IV from:Nagendra Kumar O V S [EMAIL PROTECTED] date:Tue, 15 Jul 2003 11:19:10 to: [EMAIL

Re: Where to build dropdown lists?

2003-07-15 Thread vellosa
When using the client side validation, there is always a javascript pop up box that says something along the lines of 'Your a thick b*stard, fill in xxx!' Our client requirement is that we produce a list of errors at the top of the page, (the red UL kinda thing), which rules out the use of

Re: Virtual [FRIDAY]

2003-07-04 Thread vellosa
No the answer is far simpler than that! Who knows an honest salesman? from:Simon Kelly [EMAIL PROTECTED] date:Fri, 04 Jul 2003 09:55:35 to: [EMAIL PROTECTED] subject: Re: Virtual [FRIDAY] I beleive with salemen, it's all down to the strength of their grip! Usually

Re: html:errors/ problems

2003-07-02 Thread vellosa
Hi Brian, I had a problem like that when I ommited the following values from my ApplicationResources file: errors.header = ul errors.footer = /ul errors.prefix = li errors.suffix = Once I added them it worked fine. Regards IV from:Brian McSweeney [EMAIL PROTECTED] date:

RE: html:errors/ problems

2003-07-02 Thread vellosa
Brian, You want to have the message key in your ActionError and struts will resolve it from the ApplicationResources file for you. It is not something you manually need to do. However last time I tried to return a value which was not in the ApplicationResources file I got an exception thrown

Re: Lists, actions and links

2002-12-09 Thread vellosa
The way I would do this would be to have a Data Access Object (DAO) class that does your database access. The method would return a collection of Value Object. This collection can be passed back to your page, then you can use the iterator tag to work through the list. from:Mark

Re: Java Server Faces stage?

2002-12-05 Thread vellosa
Check this out: http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg08457.html from:Adolfo Miguelez [EMAIL PROTECTED] date:Thu, 05 Dec 2002 12:13:00 to: [EMAIL PROTECTED] subject: Re: Java Server Faces stage? Hi All, last days I have seen, the availability of

Re: Code Generator

2002-12-03 Thread vellosa
Not sure what you mean by generate, but you could look into teh xDoclet project on SourceForge.net from:Juan [EMAIL PROTECTED] date:Tue, 03 Dec 2002 09:31:09 to: [EMAIL PROTECTED] subject: Re: Code Generator Hello, Is there any good code generator that generates

Re: Struts: a Graphic Artist blessing or curse?

2002-11-25 Thread vellosa
Haha! This whole idea of J2EE where we have seperation of roles hasn't quite happened has it. The idea that there are business process programmers, database programmers, front end guys etc. In the end it's always the same person fulfilling all the roles. On the projects that I have been on

Re: Struts: a Graphic Artist blessing or curse?

2002-11-25 Thread vellosa
I don't think management of a development staff was a goal of J2EE :o) It is separation of process and/or skill sets that Struts/MVC provides for. Whether this happens or not is up to people, not software... yes? Indeed the seperation of the tasks in your project is up to the people

no handler for tagname='messages' on WebLogic 7.0

2002-11-23 Thread Ian Vellosa
Hello Struts friends, I'm sorry that I'm going to sound stupid here, so please forgive me. I have looked though the example and searched the archives but not found the help I needed. I have a form that I'm posting back to. I want to display an error message when something goes wrong. The errors

RE: Struts Installation

2002-11-12 Thread Ian Vellosa
Hmmm lets see, would this be of any use? http://jakarta.apache.org/struts/resources/tutorials.html theserverside.com have just put up an artice too entitled Fast Track to Struts at: http://www2.theserverside.com/resources/article.jsp?l=StrutsFastTrack Have fun boys and girls! IV

RE: [OT] Container Wars

2002-10-08 Thread vellosa
Should JRun be used at all? IMHO, NO, NO, NO! from:Shreyas, Kumar [EMAIL PROTECTED] date:Tue, 08 Oct 2002 12:57:28 to: [EMAIL PROTECTED] subject: RE: [OT] Container Wars Should JRun be used for large projects? -Original Message- From: [EMAIL

RE: [OT] Container Wars

2002-10-08 Thread vellosa
At one of the companies I worked for in the past we used JRun 3 for development, then tried to run our applications on WebLogic for deployment. One of them things to prove that the application truely is J2EE and portable. It worked ok on JRun, but then the number of things that needed to be

RE: [OT] Container Wars

2002-10-08 Thread Ian Vellosa
how much does it cost to hire a consultant for a day? That is where the big money goes when projects are happening, people. -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: 09 October 2002 02:20 To: Struts Users Mailing List Subject: RE: [OT] Container Wars I am

Re: Personalised web pages.

2002-08-30 Thread vellosa
Hi, What do you mean my personalised? Does it say welcome user when they log in on the home page? Or do you display messages in the users own language? Or does each user just get a different colour scheme? Or do they see different functionality depending upon their role? Or do they see

RE : RE : [FRIDAY] Official DTD Special Offer

2002-08-30 Thread vellosa
Isn't the answer to reconfigure you mail program to pick up the responsible headers like [tiles] and throw the rest into the trash? from:Michael [EMAIL PROTECTED] date:Fri, 30 Aug 2002 15:11:04 to: [EMAIL PROTECTED] subject: RE : RE : [FRIDAY] Official DTD Special Offer

Re: [Proposal] Thread Topic Identification (was [BS] Are we getting o ff the topic)

2002-08-29 Thread vellosa
Afternoon chaps! My problem with starting these [topic] subject headers for our emails is that every time a new person posts to the list you'll be going through the same hell telling them how to format their headers correctly, (as well as how to search the archive, how to phrase questions . .

RE: [New Functionality] ApplicationResources.properties to DB?

2002-08-29 Thread Ian Vellosa
But what do you do each time you add a new language, say German? you need to update the database structure adding a new column? Surely any solution should be generic enough not to need that. Unfortunately you would need the table to look something more like: key language value

Re: JBUILDER keeps deleting the directory: WEB-INF/classes

2002-08-28 Thread vellosa
JBuilder is just s#!* I have been using it to build my EJB projects and it keeps on loosing information, deleting stuff and all sorts of fun and games! I've just given up. My company makes us develop with JBuilder as they have spent a fortune on the licenses, but all the building is done

RE: user accounts question

2002-08-27 Thread Ian Vellosa
However, databases are generally a lot more efficient at joining tables on integer columns than they are with VarChars. So once the user has been looked up in the database once using the VarChar all the joins can be done with the integer IDs easing the load on the database. -Original

Re: Struts event cycle

2002-08-21 Thread vellosa
Hello again! Another quick question on this subject, does the reset I mentioned in step 4 get called whatever the scope of the page? I was assuming that if the page is session scoped it will only be called the first time, but it looks to be called every time the form is submitted? Thanks for

Struts event cycle

2002-08-20 Thread vellosa
Hello everybody, I have a problem with the way in which one of my JSP pages is behaving and think that it is down to the way we have coded the Struts Form and Action classes. So I'm trying to sort out in my mind the sequence in which events happen when I submit a form. I think that it follows

RE: when to use Struts

2002-08-18 Thread Ian Vellosa
Why reinvent the wheel? If it has been done for you, why not use it and let someone else have all the problems of maintaining it? I've reecently started to use struts. I was a bit sceptical about it to begin with, but it has proved tot be really useful. Definatley recomend usinig it.

RE: when to use Struts

2002-08-18 Thread Ian Vellosa
there is a good tutorial at; http://rzserv2.fhnon.de/~lg002556/struts/Doku.html if you can put aside a day or maybe two, you can get the basics all susseed off this -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: 19 August 2002 00:08 To: Struts Users Mailing List

Re: EJB

2002-08-16 Thread vellosa
You could try to look at the xDoclet project from sourceforge.net(http://xdoclet.sourceforge.net/). Others will be in a better position to evaluate it, as I've only been playing with it for a few days now and found it really cool. When developing EJB's you only need to create the Bean file.