Re: [OT] Good luck Dream Team

2004-08-27 Thread ksitron
pset winer. The faviorites lost by a point earlier (to Argentina) http://www.rediff.com/sports/2002/sep/09basket.htm .V Lucas Gonzalez Pearson wrote: Hey we won! Lucas ps.- an argentinian guy - Original Message - From: "ksitron" <[EMAIL PROTECTED]> To: "Struts Users Ma

Re: [OT] Good luck Dream Team

2004-08-27 Thread ksitron
That's Ok. You guys can talk smack now. But, I'm sure in four years you'll be eating humble pie. AGAIN. Guillermo Meyer wrote: Hey, Dream Team, Argentina wishes you good luck in bronze medal match! Cheers. Guillermo Argentinian Basketball fan. PD: Go Ginobili Go!!! ___

Re: Jboss database config?

2004-08-27 Thread ksitron
Tim, I believe that is part of the spec. Slattery, Tim - BLS wrote: change this: datasource = (DataSource) ic.lookup("ds.Freqs"); to: datasource = (DataSource) ic.lookup("java:/ds.Freqs"); Thanks! That makes it work in Jboss. Of course, the same source breaks in BEA. Hmm...I guess I could s

Re: Jboss database config?

2004-08-27 Thread ksitron
change this: datasource = (DataSource) ic.lookup("ds.Freqs"); to: datasource = (DataSource) ic.lookup("java:/ds.Freqs"); Slattery, Tim - BLS wrote: Once more for a Jboss newby please? I can't get connected to my database. The sybase-ds.xml is as follows: ds.Freqs jdbc:sy

Re: Somewhat OT: moving Struts app from BEA to Jboss

2004-08-27 Thread ksitron
Make sure to copy your dir structure to JBOSS_HOME/server/all/deploy/"nameOfYouWebApp.war" Slattery, Tim - BLS wrote: I've got a rather small Struts app that runs fine on BEA Weblogic. Now we're looking in to Jboss, so I've got a copy of Jboss 3.2.5. I've added a sybase-ds.xml file defining my dat

Re: Contextual Validation

2004-06-24 Thread ksitron
I had the same problem. At the top of the inheritance hierarchy, I simply changed ActionForm to ValidatorForm. Non of the other code was broken or disturbed in anyway. Since ValidatorForm isA ActionForm. William Ferguson wrote: I would like to be able to specify for an Action the validation that

Re: Detecting browser close

2004-06-19 Thread ksitron
Thanks for the reply. But, I find it hard to accept that it can't be done. And, users may not be computer savy or follow good etiquette and log off. Bill Siggelkow wrote: AFAIK this cannot be done -- your best bet is to provide a Logoff link and a reasonable session timeout. ksitron wrot

Detecting browser close

2004-06-19 Thread ksitron
Is there a way to detect when the user closes the browser. What I want to do is do clean-up and destroy the session. Thanks in advance. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: Form Validation Before Submit

2004-06-15 Thread ksitron
In your struts-config.xml, if you have the validate="true" set. Then, the validate method of your form will be called before your action.execute method is called. Ciaran Hanley wrote: Hello, I have a simple form in my application which I am having trouble with. On entering the action class and

Re: clearing an ActionForm from session

2004-06-05 Thread ksitron
of that you can tell Struts to destroy an object on purpose. If you just want to reset the form, and not null it out, make your last line instead of the setAttribute, make it: form.reset(); this way the form is still cached for use, but values are empty. ksitron wrote: I have an action form whose

clearing an ActionForm from session

2004-06-05 Thread ksitron
I have an action form whose data is needed across several JSP's, for this reason I set the scope to session for this ActionForm in my struts-config.xml. When the transaction is completed I want the form to go away. What is the best practice for this. Thanks in advance. --

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-31 Thread ksitron
I think what you're looking for is a TileConroller. David Friedman wrote: Why not use two different put (or add) statements with a 'role=""' attribute? One for a role logged in, one for all other roles (might need blank quotes "" to make that work). If course, if you're not using container based

Re: I need an html:submit to act as html:link

2004-05-29 Thread ksitron
Thanks everyone. I found the answer, style="cursor:pointer" Riyad, it looks like "cursor:hand" is not yet a standard. [EMAIL PROTECTED] wrote: Is there a JavaScript item that will do that? Or CSS? -Original Message- From: ksitron [mailto:[EMAIL PROTECTED] Sent: Frida

Re: I need an html:submit to act as html:link

2004-05-28 Thread ksitron
Thanks, but did not work. Hubert Rabago wrote: See if adding style="cursor: hand" works. --- ksitron <[EMAIL PROTECTED]> wrote: I need the cursor to change when over an html:submit button, similiar in behavior to an html:link. Possible or Not ?? T

I need an html:submit to act as html:link

2004-05-28 Thread ksitron
I need the cursor to change when over an html:submit button, similiar in behavior to an html:link. Possible or Not ?? Thanks in advance. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: message resource problems

2004-05-26 Thread ksitron
#x27;s the name...) attribute of the struts taglibs. On Wednesday 26 May 2004 01:58 pm, ksitron wrote: I introduced the resource bundle errors_en_US.properties into my struts-config.xml file. Now, all the other declared resource files are ignored, WHY !! I ended up moving all declared me

message resource problems

2004-05-26 Thread ksitron
I introduced the resource bundle errors_en_US.properties into my struts-config.xml file. Now, all the other declared resource files are ignored, WHY !! I ended up moving all declared messages into the errors_en_US.properties, and things work again. Anyone have any idea why. Thanks in advance. --

Re: Validator Framework, WHAT's UP !!!!

2004-05-24 Thread ksitron
message keys that are found in errors_EN_US.properties. Do you have any ideas why ??? Mark Mandel wrote: What does your Application.properties file look at? (or whatever you call your resource file) Mark -Original Message- From: ksitron [mailto:[EMAIL PROTECTED] Sent: Sunday, 23 May

Validator Framework, WHAT's UP !!!!

2004-05-22 Thread ksitron
I'm using the 1.1 validator framework. I have activated the validator pluging correctly, because I can see the validations from the validation.xml file being displayed on the output from the app-server. I know that the validations themselves are working as per the validations that I set up in va

struts ClassCastException

2004-05-19 Thread ksitron
My web-app runs great when first starting JBoss. After making src changes to my web-app, I build, and redeploy using ant. I then attempt to test my changes by going down the exact same html:link navigation as before, only to receive a ClassCastException from org.apache.util.RequestUtils.createAc

Re: [OT] Jobs

2004-05-12 Thread ksitron
Is telecommuting an option. James Mitchell wrote: I am trying to find 10 descent struts developers to fill open positions. I tell ya, its nice to be needed instead of how it was a year ago where we were all under bidding each other. -- James Mitchell Software Engineer / Open Source Evangelist Ed

Re: jsp and message resource file

2004-04-19 Thread ksitron
This is a section of your struts-config.xml parameter="your.package.ApplicationResources"/> Barnett, Brian W. wrote: What do you have to do to make a message resource file available to jsp pages. I've seen examples of but I think I have to do something else in order for that to