Re: help for changing the language, locale

2005-11-20 Thread Simons Kevin
I don't know how you could do this. But perhaps you can create a struts action that loads the correct locale properties file. Just an opinion. regards, - Original Message - From: "Miren Urkijo" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, November 20, 2005 11:36 A

Re: How to prevent URL cached

2005-12-01 Thread Simons Kevin
just an opinion...perhaps you can check whether the user has hit the back button. When he hits the button you might run the code that check's whether a user was logged in or not. If not...load the login page. I do know that you can use javascript to replace the history goback(). I don't know w

Re: [OT] Create/Edit Form

2005-07-27 Thread Simons Kevin
Just a suggestion, If you do the rows by javascript you can add a hidden field which can have a value (eg 0 for update 1 for creation) Regards, Kevin - Original Message - From: "Andrew Tomaka" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, July 27, 2005 9:47 PM

Resin and struts

2005-08-08 Thread Simons Kevin
Hi all, I am using resin 3.0.14 with struts1.2.7. I get a parser problem when I want to use struts (somewhere in struts-config.Xml) Here is the xml file. Can someone explain me what I am doing wrong? http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"; >

Re: Resin and struts

2005-08-08 Thread Simons Kevin
"Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, August 08, 2005 7:05 PM Subject: Re: Resin and struts Not really enough info to go on, but: Simons Kevin wrote: Where's the testForm class in real life? Does it live in a

Re: Struts Basic problem.

2005-08-08 Thread Simons Kevin
Can you post the struts config xml file? I had this problem in the beginning too. Now I am stuck on that other problem I posted here. I am also a newbie. - Original Message - From: "Ayusman dikshit" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, August 08, 2005 7:27 P

Re: Resin and struts

2005-08-08 Thread Simons Kevin
t; To: "Struts Users Mailing List" Sent: Monday, August 08, 2005 7:44 PM Subject: Re: Resin and struts Simons Kevin wrote: [...] My classes are stored in webapps/tests/web-inf/classes/test If they're in WEB-INF/classes/test then (a) do you have a "package test;" at

Re: {Spam?} Re: Resin and struts

2005-08-08 Thread Simons Kevin
type - it should have the fully qualified path name..) Regards, Geeta "Simons Kevin" <[EMAIL PROTECTED]> 08/08/2005 01:53 PM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject {Spam?} Re: Resin and struts packa

class file mapping

2005-09-07 Thread Simons Kevin
All, I am a newbie still testing things out to understand struts better. I have the following structure : java files in folder /classes. class files in folder /classes/test. This is al normal. I have create a simple index.jsp <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib u

class file mapping

2005-09-08 Thread Simons Kevin
All, Here is the struts file. http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";> Regards, If I followed right. The class files need to be under web-inf/classes. But since I need to use the package statement since sdk1.4 (I use jdk1.5) I mention those.

Re: validator. i need help

2005-10-13 Thread Simons Kevin
Miren, I just start with the validators too. I don't have a working example yet... However you have the class ActionForm, ValidatorFor and ValidatorActionForm. If you don't use validation with the commons validator u extend ActionForm. If you do you a validator and you want to associate the val

Re: Re: not working when sending a file to client with struts.

2005-10-13 Thread Simons Kevin
horshaq can you provide some details. I just spent four hours! on just getting a simple validation going!... But perhaps I can help you. - Original Message - From: "horshaq" <[EMAIL PROTECTED]> To: Sent: Thursday, October 13, 2005 9:39 PM Subject: Re: not working when sending a file to

Re: validator. i need help

2005-10-13 Thread Simons Kevin
http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";> just change form name with your class name linked with your form to validate. and replace property with the property you want to validate. ----- Original Message - From: "Simons

Re: struts 1.2.7 culprit.....?????

2005-10-14 Thread Simons Kevin
Bib, I am using that struts version without problems. I first had troubles in the beginning to but someone got me started. However I have not yet used tiles... - Original Message - From: "bib_lucene bib" <[EMAIL PROTECTED]> To: Sent: Friday, October 14, 2005 2:05 AM Subject: Re: stru

struts1.2.7 and tiles definitions

2005-10-19 Thread Simons Kevin
All, I have used tiles and struts1.2.7 without definitions. The test worked. Now I wanted to test struts and tiles with definitions. This is the tiles-defs.xml file (stored in my web-app web-inf folder) I also tried this is my test jsp (index.jsp) <%@ taglib uri="/WEB-INF/struts-bean.t

Re: struts1.2.7 and tiles definitions

2005-10-20 Thread Simons Kevin
Senji, Thx. I have tried with definition instead of beanName and it worked. (I needed to do some small changes but it just took me a minute and it worked.) Thx. Now the strange thing is that in my book (O'Reilly) they never spoke about using definition inside the jsp. So I was wondering did t

Re: Newbie question - JSP text box formatting

2006-07-07 Thread Simons Kevin
Sorry if I'm wrong, but can't you format numbers using CSS3? - Original Message - From: "Pillay, Kiren KN" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Struts Users Mailing List" Sent: Friday, July 07, 2006 11:17 AM Subject: RE: Newbie question - JSP text box formatting Hi Albi,

struts2 with beehive and jsf?

2007-01-28 Thread Simons Kevin
All, I want to make a switch to struts 2 but I was wondering if struts 2 can be integrated with beehive? And if so, do I gain productivity or performance or is it better to kick off with Struts2 and JSF only? Regards, - T

Re: struts2 with beehive and jsf?

2007-01-31 Thread Simons Kevin
would be no, as Beehive is pretty solidly built on Struts 1. I'd ask on their mailing what their plans are. Beehive was one of the initial contributors to Struts 2 (when it was Struts Ti), but they've been pretty quiet since. Don On 1/28/07, Simons Kevin <[EMAIL PROTECTED]> wrote:

Re: Service unavailable error

2007-01-31 Thread Simons Kevin
On top of Don's reply I once had done the same mistake. I thought they told me that your version http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> so I think that struts-config_1_1.dtd "http://jakarta.apache.org/struts/dtds/struts-config-1.3.5.dtd";> Regards, - Original Message

Re: Struts-Faces: validator

2007-02-04 Thread Simons Kevin
Rodrigo, AFAIK that was possible. Regards, - Original Message - From: "Rodrigo Pereira" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, February 03, 2007 10:39 PM Subject: Struts-Faces: validator hi All, does anybody know if validator work with struts-faces? I h

Re: S2 Seeking Suggestion for XML/Dom

2007-02-15 Thread Simons Kevin
You could create the XML document by using SAX. And read it with JDOM. In the EE architecture you also have more abstract classes where SAX and JDOM are derived from. Content type would be as normal since your Java class generates the output... I suppose that would be the most convenient way b