Re: newbie question from expierenced user

2002-11-27 Thread Gemes Tibor
2002. november 27. 08:56 dátummal Marcus Biel ezt írtad: What if I am using one form for different actions, using different scopes ? Could it be that that creates different ActionForms in different scopes of the same type ??? Yes. If you don't want to hide one form from the other you might

RE: Commons-logging and JDK 1.4 Logger

2002-11-27 Thread Wendy Cameron
Fantastic, got it figured it all out Thank you very much -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 4:29 PM To: Struts Users Mailing List Subject: RE: Commons-logging and JDK 1.4 Logger On Wed, 27 Nov 2002,

Re: perform() or execute()?

2002-11-27 Thread Patrice
Perhaps I miss something, but I don't see any problem in your code. Check that form implement ActionForm (and not ValidatorForm) to execute correctly the validate() method. Check also that you don't forget the html:errors/ tag on your JSP. Hope it helps Patrice - Original Message - From:

RE: Tomcat Freezes when an Action or ActionForm is updated

2002-11-27 Thread ROSSEL Olivier
Hello, I hope some of you guys has seen something like this and knows how to prevent it, I'm running struts 1.02 with tomcat 4.0.1 on Win2K Server. I'm using Eclipse for IDE and everytime I save one of my Action or ActionForm classes on Eclipse, I see in the tomcat console the message:

RE: Re: newbie question from expierenced user

2002-11-27 Thread shirishchandra . sakhare
Can you please explain how to use this attribute of action mapping?Do u mean that if same form is defined with two diferent scopes and same name, still u can reuse same instance,using attribute? I checked the javadoc for attribuite of ActionMapping class.It does not give much idea about how to

Re: Re: newbie question from expierenced user

2002-11-27 Thread Gemes Tibor
2002. november 27. 10:15 dátummal [EMAIL PROTECTED] ezt írtad: Can you please explain how to use this attribute of action mapping?Do u mean that if same form is defined with two diferent scopes and same name, still u can reuse same instance,using attribute? If you define it to different scope

dynamically display buttons-footer

2002-11-27 Thread Mouratidis, Georg
Hi, I have a form that can bu used either if a provider or a buyer or a supplier is logged on. I have two buttons named delete and save. I want know display the buttons dynamically under different conditions. is there something like if (provider loggedin AND user has clickt the buyer tab)

Re: Re: newbie question from expierenced user

2002-11-27 Thread Abhishek . Jain
Hi All, We have decided to go ahead with deploying struts framework on Websphere 4.0 so any body u has any idea /resource on it , pls share it with me Thanks in advance abhishek ---Disclaimer The views of the author may not necessarily reflect those

RE: Commons-logging and JDK 1.4 Logger

2002-11-27 Thread Wendy Cameron
One more little thing, when i use the fine method for logging i get my error messages but it doesnt seem to matter what I set level to, I the isDebugEnabled message dont seem to get logged, any suggestions as to why? And how I can get message is isDebugEnabled areas to display? Regards Wendy

html:link not working

2002-11-27 Thread Sarath Chandra M
Dear group, I have jsp code like this : logic:iterate name=myobject id=myid scope=request form tr td html:hidden name=myid property=CNo/ html:link styleClass=cellLink paramProperty=CNo page=nextpage.jsp bean:write name=myid

RE: html:link not working

2002-11-27 Thread Mouratidis, Georg
and what is what you get instead? -Original Message- From: Sarath Chandra M [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 27. November 2002 11:11 To: [EMAIL PROTECTED] Subject: html:link not working Dear group, I have jsp code like this : logic:iterate name=myobject id=myid scope=request

Running Struts on Wepshere 4.0

2002-11-27 Thread Abhishek . Jain
Hi All, We have decided to go ahead with deploying struts framework on Websphere 4.0 so any body u has any idea /resource on it , pls share it with me I am trying to run struts but nt able to invoke logon.do servlet Pls help Thanks in advance abhishek

RE: Workflow Extention

2002-11-27 Thread Jordan Thomas
Matthias, Ok, I tried that and it now seems to be disregarding the workflow. Can you seen anything wrong with my struts-config.xml tags? (Sorry for the big code chunk :O) Essentially what (am trying to do is allow a user to go to the next step or stay on the same step. I am using struts 1.1b

Re: perform() or execute()? (Mistery)

2002-11-27 Thread Jim Bruno Goldberg
I check that an all is ok. On the truth, the method is executed and the variables checked, the errors listed on the original form , but they is empty strings (?!?!?!?!) I just dont understand Patrice wrote: Perhaps I miss something, but I don't see any problem in your

DataSource

2002-11-27 Thread Jim Bruno Goldberg
Hi, people! Someone can send me a example class with DataSource access defined on struts-config? How can I do this? I don find any examples on struts files.. Thanks again. -- CUL8R,[]s Jim Bruno Goldberg http://www.prosites.com.br -- To unsubscribe, e-mail:

great error in struts! Include a JSP result of an Action in other JSP

2002-11-27 Thread Carlos Grima
Hello everybody! :-) I am trying the follow: index.jsp: %@ taglib uri=/WEB-INF/struts-template.tld prefix=template % template:insert template=templates/templateIndex.jsp template:put name=parteUltimaHora content=/ultimaHoraAction.do/ /template:insert templateIndex.jsp: ...

Re: DataSource

2002-11-27 Thread Gemes Tibor
2002. november 27. 12:49 dátummal Jim Bruno Goldberg ezt írtad: Hi, people! Someone can send me a example class with DataSource access defined on struts-config? How can I do this? I don find any examples on struts files.. Thanks again. Reading the docs?

RE: html:link not working

2002-11-27 Thread Kristian Duske
Hi, html:link styleClass=cellLink paramProperty=CNo page=nextpage.jsp You have to tell the tag handler the parameter name that should be added to the url and where to obtain the parameter data: html:link styleClass=cellLink paramId=CNo paramName=myid paramProperty=CNo

Re: great error in struts! Include a JSP result of an Action in other JSP

2002-11-27 Thread Gemes Tibor
2002. november 27. 12:56 dátummal Carlos Grima ezt írtad: %@ taglib uri=/WEB-INF/struts-template.tld prefix=template % Afaik the template tag is deprecated. I solved this kind of problem with the help of an intermediate file which calls the file with struts tags: bean:include id=text

RE: great error in struts! Include a JSP result of an Action in other JSP

2002-11-27 Thread shirishchandra . sakhare
Hi, Refer to yesterdays similar problem..Include an Action in a page. I think if u want to include the result of a action in another jsp, using jsp:inlude to call the action should work.But I have not tried this.But as using jsp include U can call a servlet as well(Thats what the documentation

RE: Re: Re: newbie question from expierenced user

2002-11-27 Thread shirishchandra . sakhare
But how do i access Those different forms in The jsps ?because as far as i know,I use the name attribuite from action mapping of action to get the Formbean in jsps.And because of this, my understanding was that the forms are stored using the name as key in thier required scopes. So in this

Re: Workflow Extention

2002-11-27 Thread Matthias Bauer
Jordan, according to the configuration the user should not be able to execute /registration/1 before having executed /registration. Also /registration/2 can not be executed before /registration/1, and so on. What the configuration does NOT prohibit, is to execute /registration or any other

Re: Re: Re: newbie question from expierenced user

2002-11-27 Thread Gemes Tibor
2002. november 27. 13:14 dátummal [EMAIL PROTECTED] ezt írtad: But how do i access Those different forms in The jsps ?because as far as i know,I use the name attribuite from action mapping of action to get the Formbean in jsps.And because of this, my understanding was that the forms are stored

RE: Running Struts on Wepshere 4.0

2002-11-27 Thread jzakarian
abhishek, I just say your message. I am working with WebSphere 40 Application Server and had to replace xalan and xerces in the WEB-INB\lib directory for Struts-Menu1.1 to get Struts-Menu1.1 to work. All the other jar files were fine. Jack -Original Message- From: [EMAIL PROTECTED]

RE : setting debug level for digester, sax, beanUtils...

2002-11-27 Thread Roy . Stephan
I am using log4j for logging. It works fine. I do not want to see the logging information coming from Struts and any other libraries it uses. Thanks -Message d'origine- De : CraigFournier [mailto:[EMAIL PROTECTED]] Envoyé : mardi 26 novembre 2002 16:32 À : [EMAIL PROTECTED] Objet : Re:

AW: Workflow Extention

2002-11-27 Thread Jordan Thomas
Yes, I see what you are saying and if I define the next state, then if I try to jump out of the workflow I get a an exception saying that it is not allowed by the workflow. What makes me think that it is disregarding the wrokflow is that I can enter the workflow at an point (i.e /registration/2)

AW: Running Struts on Wepshere 4.0

2002-11-27 Thread Hirschmann, Bernhard
Hey abhishek, we're running it on the same platform which works great. Just make sure, not to use the conventional Xalan an Xerces, but the one comming with WebSphere. So in the Library path of your project, don't add the JARs, but the variable WAS_XALAN and WAS_XERCES. Then the special

Re: setting debug level for digester, sax, beanUtils...

2002-11-27 Thread Kris Schneider
In your log4j XML config file: logger name=org.apache additivity=false level value=ERROR/ appender-ref ref=sameAppenderRefUsedByRoot/ /logger Quoting [EMAIL PROTECTED]: I am using log4j for logging. It works fine. I do not want to see the logging information coming from Struts and any

RE : setting debug level for digester, sax, beanUtils...

2002-11-27 Thread Roy . Stephan
I got it. There was an error in my log4j property file. N.B. I still does not understand the struts debug and detail init parameter, what it does and how. Thanks you. -Message d'origine- De : Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Envoyé : mardi 26 novembre 2002 19:49 À :

Re: AW: Workflow Extention

2002-11-27 Thread Matthias Bauer
Jordan, I think I understand pretty well, what you are trying to do. However according to your configuration you should not be able to execute /registration/2 before having executed /registration/1. Here are some examples: /registration - /registration/1 - /registration/1-/registration/2 -

RE: [Nested Tags] Frustration..Should this work?

2002-11-27 Thread Sri Sankaran
I wonder if this would work nested:root name=pageList nested:iterate property=this/ %-- etc --% /nested:iterate /nested:root Sri -Original Message- From: Sri Sankaran Sent: Wednesday, November 27, 2002 9:13 AM To: Struts Users Mailing List Subject: RE: [Nested Tags]

1.1b2 install problem

2002-11-27 Thread Lloyd Meinholz
I am getting a strange error when installing my self built 1.1b2 struts web applications. I followed the directions to install everything and when I start tomcat with the wars in the webapps directory, I get some exceptions with commons-collections.jar. The details of my installation are: gentoo

RE: bean:struts problem

2002-11-27 Thread Brian DeLuca
One thing I have found to be a problem is that you cannot have multiple setters for these properties. We have implemented a standard that states. Getters and Setters must be of the type of the property. ie private Date foo; public Date getFoo(){ return foo; } public void

my validator-rules.xml - is it possible ?

2002-11-27 Thread Arik Levin ( Tikal )
Hi all. Can I use couple of rules xml files, or must I enter my own rules into validator-rules.xml ? In this example I'm trying to use validator-my-rules.xml which includes my own validation. plug-in className=org.apache.struts.validator.ValidatorPlugIn set-property property=pathnames

RE: [Nested Tags] Frustration..Should this work?

2002-11-27 Thread Jeff_Mychasiw
Thanks for the reply: It is inside a nested form but I am getting these values by setting to page scope. The nested iterate has no problem reading the collection. The problem is the equal and write tag *inside* the iterate. They only work if I change them to their non nested versions and

session constants in ActionForms and the reset-Method

2002-11-27 Thread Sven Frederik Pohl
Hi all, i wondered if ActionForms are practical to store some constant session data, that is to be presented to the user but which must not be modified by the user. Concretely, I got some forms in which certain fields are constant (output only fields) in the case that the values were already

Struts Validator 4 digit numeric

2002-11-27 Thread Greg Dunn
I'm trying to use Struts Validator to validate a 4 digit numeric using a mask: field property=ssn depends=mask arg0 key=register.form.ssn.displayname/ var var-namemask/var-name var-value^[0-9]{4}*$/var-value /var /field Which causes: Invalid

RE: [Nested Tags] Frustration..Should this work?

2002-11-27 Thread Sri Sankaran
I suspected a problem to be with the iterate since that's what your stack trace suggests. Also, look at Arron's reply to an earlier post (by you, in fact!) http://marc.theaimsgroup.com/?l=struts-userm=103584892423199w=2. He states that the name attribute is ignored. Given that I don't know

Re: perform() or execute()? (Mistery)

2002-11-27 Thread Patrice
I don't see anything wrong... All I know is that empty String is returned when the key on an ActionError is not present in the default application resource files (defined in web.xml). Best regards Patrice - Original Message - From: Jim Bruno Goldberg [EMAIL PROTECTED] To: Struts Users

RE: Struts Validator 4 digit numeric

2002-11-27 Thread Jarnot Voytek Contr AU HQ/SC
Did you try ^\d{4}$ Why do you include the * in your regexp - I think that's what's breaking it. -- Voytek Jarnot -Original Message- From: Greg Dunn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 9:07 AM To: Struts Users Mailing List Subject: Struts Validator 4 digit

RE: Running Struts on Wepshere 4.0

2002-11-27 Thread Abhishek . Jain
Thanks Jack But it doesnt work for me . My problem i slike this: If I am caaling http://localhost/BR/login.do from URL I am gettin 404 error but if I am calling welcome.do from forward tag inside the struts-config.xml file I am able to get the things work for me. Pls suggest wat can be doen for

Réf. : RE: Running Struts on Wepshere 4.0

2002-11-27 Thread christophe . godel
Doesn't WSAD use the 8080 port ? http://localhost:8080/BR/login.do Extranet [EMAIL PROTECTED] - 27/11/2002 16:43 Veuillez répondre à [EMAIL PROTECTED] Pour : struts-user cc : Objet : RE: Running Struts on Wepshere 4.0 Thanks Jack But it doesnt work for me . My problem i slike this:

RE: Struts Validator 4 digit numeric

2002-11-27 Thread Greg Dunn
Yes, I did try that, it causes the same Nested repetitions *?+ in expression error. However removing the * seems to have fixed things. I thought the * had to be in the mask expression in validation.xml because it was in all the examples I read in the docs. Where can I find a good Reg.

Re: Réf. : RE: Running Struts on Wepshere 4.0

2002-11-27 Thread Abhishek . Jain
not using WSAD directly WAS 4.O single server edition so no need for specifying port number pls check abhishek ---Disclaimer The views of the author may not necessarily reflect those of the Company. All liability is excluded to the extent permitted

RE: Struts Validator 4 digit numeric

2002-11-27 Thread Jason Rosen
One of the best regex resources are the PERL man-pages: http://www.perldoc.com/perl5.8.0/pod/perlre.html Jason -Original Message- From: Greg Dunn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 7:28 AM To: Struts Users Mailing List Subject: RE: Struts Validator 4 digit

RE: Struts Validator 4 digit numeric

2002-11-27 Thread Jarnot Voytek Contr AU HQ/SC
The * is a repetition operator, as the error said. You basically asked for 'exactly four' and 'zero or more' digits with the {4}* ... obviously that doesn't make sense. -Original Message- From: Greg Dunn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 9:28 AM To: Struts

RE: [Nested Tags] Frustration..Should this work?

2002-11-27 Thread Jeff_Mychasiw
Thank you for reminding me of that link. I tried ./value and this/value without success. Even though I use the nested:form as the root..for this iterate tag I want to tell it to look to an object in page scope instead of the form bean. That is what I thought the combinations of name and

RE: my validator-rules.xml - is it possible ?

2002-11-27 Thread Arik Levin ( Tikal )
It's working... thanx anyway. -Original Message- From: Arik Levin ( Tikal ) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 4:54 PM To: Struts Users Mailing List Subject: my validator-rules.xml - is it possible ? Hi all. Can I use couple of rules xml files, or must I

WSAD 4.0.3/Struts-blank problem

2002-11-27 Thread Hurdle, Robert H, PERSCOM
I'm using WSAD 4.0.3 with the Struts 1.1-blank.war. When I make changes to a jsp I refresh from local, rebuild the project, and run on the server, but my changes don't show up. They only show when I shut down and restart WebSphere. This doesn't happen with the struts-example app I downloaded.

Re: WSAD 4.0.3/Struts-blank problem

2002-11-27 Thread Tim Dysinger
WebSphere has a cache directory of compiled JSP pages. On my build script I make sure and clean it out before redeploying an app. -Tim On Wed, 2002-11-27 at 08:20, Hurdle, Robert H, PERSCOM wrote: I'm using WSAD 4.0.3 with the Struts 1.1-blank.war. When I make changes to a jsp I refresh from

RE: nested:iterator + multi-level-parameters passing

2002-11-27 Thread Tran Fon
Thanks Sri, I might not have read this page correctly but I am not sure how yet... If so, can you give me an example? I am trying to pass in multi-level parameters together. ( I change the subject too add level) For example, country, city both need to be passed over to the next

validate() almost working.....

2002-11-27 Thread Jim Bruno Goldberg
My code is aslmost working Validation and messages are ok. Now I need to solve one more problem When these validate function returns some errors, and forward back to form,jsp, the fields are empty. Follow I put the code, the page and the struts-config. Whats

Oracle dbcp

2002-11-27 Thread Joao Araujo
Does anyone have a sample of a oracle dbcp struts-config definition. If possible send me a sample of how to access it in the bean. Joao -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: my validator-rules.xml - is it possible ?

2002-11-27 Thread Dan Tran
So what was your mistake, what is solution? Could your share? -D - Original Message - From: Arik Levin ( Tikal ) [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, November 27, 2002 8:17 AM Subject: RE: my validator-rules.xml - is it possible ? It's

Bean database access concepts

2002-11-27 Thread Joao Araujo
I am not using EJB but plain beans to access the database. I defined everything in such a way to isolate database access from action bean. Now, I have some doubts about how to access the database connection. Should I pass the connection as a parameter to the beans that accesss the

Re: Bean database access concepts

2002-11-27 Thread David Graham
Have a factory class create your access beans. Before it returns a bean set the bean's dataSource property. You will configure the factory's DataSource with the one created by Struts when you app starts up. Make sense? David From: Joao Araujo [EMAIL PROTECTED] Reply-To: Struts Users

Re: Bean database access concepts

2002-11-27 Thread Eddie Bush
JNDI is a pretty good way to get connections. You'll probably want to provide alternate signatures of your methods for allowing a connection to be passed to a save method though - so you can involve multiple beans in a single transaction. Joao Araujo wrote: I am not using EJB but plain

RE: [Nested Tags] Frustration..Should this work?

2002-11-27 Thread Sri Sankaran
I don't have an answer to your question, should this code work -- since I've never used the name attribute in any nested tag other than nested:root. Sri -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 11:08 AM To: Struts Users

RE: nested:iterator + multi-level-parameters passing

2002-11-27 Thread Sri Sankaran
Looking at your original message your nested hierarchy seems to be restDatabase has a collection of countries Each country has a collection of cities There are a couple of ways of solving your problem: o If a City has a reference to *its* country you can easily add a method to the City

Re: Bean database access concepts

2002-11-27 Thread Joao Araujo
Have a factory class create your access beans. Before it returns a bean set the bean's dataSource property. You will configure the factory's DataSource with the one created by Struts when you app starts up. Make sense? Thanks. Joao, David From: Joao Araujo [EMAIL

RE: [Nested Tags] Frustration..Should this work?

2002-11-27 Thread Jeff_Mychasiw
Thanks again for all the help. I guess I need to take a step back, because we are in active development, I will go with what works, even though I do not fully understand why :-) Sri Sankaran [EMAIL PROTECTED] on 11/27/2002 10:43:44 AM Please respond to Struts Users Mailing List

Removing an ActionForm from its scope.

2002-11-27 Thread ROSSEL Olivier
I have an ActionForm of type MyOwnActionForm. I want to remove it completely from its scope (which is session in my application). In Struts 1.0.2, I could have used a RemoveFormBeanAction to do that. This action is not available anymore. What's the process in Struts 1.1b2 ? ---cut here---

checking a empty list

2002-11-27 Thread Hirschmann, Bernhard
Hi group! I wonder if it's possible with a logic tag, to check if a List in a form is empty. This doesn't work, it just checks if the attachmentsList is null: logic:present name=document property=attachmentsList Regards, Bernhard -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: Removing an ActionForm from its scope.

2002-11-27 Thread David Graham
The form bean is stored under a key from the Globals class. You can remove the bean by getting the session and calling removeAttribute with the Globals key. David From: ROSSEL Olivier [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL

RE: Commons-logging and JDK 1.4 Logger

2002-11-27 Thread Craig R. McClanahan
On Wed, 27 Nov 2002, Wendy Cameron wrote: Date: Wed, 27 Nov 2002 19:33:09 +1000 From: Wendy Cameron [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Commons-logging and JDK 1.4 Logger One more little

Re: RE : setting debug level for digester, sax, beanUtils...

2002-11-27 Thread Craig R. McClanahan
On Wed, 27 Nov 2002 [EMAIL PROTECTED] wrote: Date: Wed, 27 Nov 2002 08:59:57 -0500 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE : setting debug level for digester, sax, beanUtils... I got it. There was an error in my

RE: Removing an ActionForm from its scope.

2002-11-27 Thread ROSSEL Olivier
The form bean is stored under a key from the Globals class. You can remove the bean by getting the session and calling removeAttribute with the Globals key. I am not sure I understand. Do you mean: session.removeAttribute(Globals.FORM_BEANS_KEY) ? It seems that it is equivalent to:

Re: Bean database access concepts

2002-11-27 Thread V. Cekvenich
Bean does not access the db! DAO access the db. (DAO can be implemented several ways) Bean has a DAO helper. DAO can get JNDI pool from container or make its own pool, based on properties. Also, you should be able to unit test you beans for CRUD. I wonder where the sample code that does this

RE: checking a empty list

2002-11-27 Thread Karr, David
Use logic:empty, not logic:present. -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] Hi group! I wonder if it's possible with a logic tag, to check if a List in a form is empty. This doesn't work, it just checks if the attachmentsList is null:

Re: checking a empty list

2002-11-27 Thread Patrice
Try this: bean:size id=size name=document property=attachmentsList/ logic:equal name=size value=0 ... /logic:equal Best regads Patrice - Original Message - From: Hirschmann, Bernhard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 27, 2002 6:04 PM Subject: checking a

Re: Bean database access concepts

2002-11-27 Thread David Graham
Your DAO objects can be beans. David From: V. Cekvenich [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Bean database access concepts Date: Wed, 27 Nov 2002 12:25:06 -0500 Bean does not access the db! DAO access the db. (DAO can

RE: Removing an ActionForm from its scope.

2002-11-27 Thread David Graham
Oops, I was wrong (that's what I get for winging it). You'll need to know the name of the form bean stored in the session. You should define this in some Constants class instead of using the name directly. David From: ROSSEL Olivier [EMAIL PROTECTED] Reply-To: Struts Users Mailing List

RE: checking a empty list

2002-11-27 Thread Sven Frederik Pohl
sorry to all, i am a newbie in communication via mailing lists. i hope u forgive this nonsense mail. i don't want to bother you. Sven Pohl [EMAIL PROTECTED] -Original Message- From: Sven Frederik Pohl Sent: Mittwoch, 27. November 2002 18:27 To: Struts Users Mailing List Subject: RE:

AW: checking a empty list

2002-11-27 Thread Hirschmann, Bernhard
This works, great! Thank you! I wonder why this is not documented... at least not in http://jakarta.apache.org/struts/doc-1.0.2/struts-logic.html Is there no doc yet for the 1.1-b2? -Ursprüngliche Nachricht- Von: Karr, David [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 27. November

Re: Removing an ActionForm from its scope.

2002-11-27 Thread Kris Schneider
You seem to be talking about two different things. The 1.0.2 RemoveFormBeanAction doesn't do anything with scoped form beans, or any other attribute. It takes the name of a form bean as a request parameter and removes the form bean definition from the Struts configuration. AFAIK this isn't

RE: checking a empty list

2002-11-27 Thread Karr, David
It appears this tag wasn't available in 1.0.2. -Original Message- From: Hirschmann, Bernhard [mailto:[EMAIL PROTECTED]] This works, great! Thank you! I wonder why this is not documented... at least not in http://jakarta.apache.org/struts/doc-1.0.2/struts-logic.html Is there no

Re: validate() is working !!!!! Thanks Patrice!

2002-11-27 Thread Jim Bruno Goldberg
Thanks a lot, Patrice. It works now! Now I need to solve another question: how can I define the form name on form without use name=TheForm on html:form? I need this to use a link likes a href=javascript:myformname.submit();[Submit]/a. Do you know how to solve that? Anyone kowns?

Re: Tiles and parameters...

2002-11-27 Thread Craig Tataryn
sighYou must be new to Tiles :) It doesn't seem to work. Try it for yourself, make yourself a controller called MyController who's success forward, forwards to a tiles template called tiles.template. The tiles template can looks something like this: definition path=mainlayout.jsp

RE: my validator-rules.xml - is it possible ?

2002-11-27 Thread Arik Levin ( Tikal )
It's a known issue. Validator plugin does not correctly configure multiple validation files. Getting the night build will do. -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 6:31 PM To: Struts Users Mailing List Subject: Re: my

question about empty form fields

2002-11-27 Thread Kevin HaleBoyes
I have a FormBean that has all strings as the datatypes. I then have a DTO bean that has the proper datatypes for the different properties - java.sql.Date, int, etc. In my JSP form I have an input field that is supposed to represent a date field. It is not a required field. I'm not using the

Tiles - How does it search for the definition values?

2002-11-27 Thread aps olute
Please help me understand how Tiles searches the definition files for the values it it uses for definition=xx. In other words, how did it jump from using tiles-defs.xml to tiles-examples-defs.xml to look for a definition value? My inkling was it looks at all the tiles--defs.xml ? If this is

[ANN] Expresso 5.0.2 Released

2002-11-27 Thread Sandra Cann
Expresso 5.0.2 can be downloaded freely from: http://www.jcorporate.com/product/expresso.html Download link (both Expresso source and binaries available) This minor release is primarily a bug fix release. Bug Fixes include a NPE fix in JDBC Executor, a Blob Field fix, Validation improvements,

Struts and Tomcat 3.2.3

2002-11-27 Thread Miguel Angel Medina Lopez
Hi all: I'm developing a struts application on Tomcat 3.3 and works fine, however I want to deploy it on Tomcat 3.2.3 and throw the next exception: java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMessageResourcesFactory The same error occur if I deploy the example

Re: Struts and Tomcat 3.2.3

2002-11-27 Thread Craig R. McClanahan
On Wed, 27 Nov 2002, Miguel Angel Medina Lopez wrote: Date: Wed, 27 Nov 2002 19:34:33 +0100 From: Miguel Angel Medina Lopez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], Miguel Angel Medina Lopez [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Problem with struts-EL example.war file

2002-11-27 Thread Sharma, Sanjay (LNG-DAY)
I just downloaded nightly build from 11/26/02 and loaded the WAR file strutsel-exercise-taglib.war into WSAD 5.0. I am using WAS 5.0 (Beta) runtime environment. When I try to run the example (index.jsp), I get the following strange error. 11/27/02 13:41:29:240 EST] 244dea57 SystemErr R

Re: Problem with struts-EL example.war file

2002-11-27 Thread David Graham
Make sure your taglib declaration is up to date. We've removed the version numbers from all taglib uris. David From: Sharma, Sanjay (LNG-DAY) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Problem with struts-EL

RE: Problem with struts-EL example.war file

2002-11-27 Thread Sharma, Sanjay (LNG-DAY)
Does this mean I should change urihttp://jakarta.apache.org/struts/tags-html-el-1.0/uri to urihttp://jakarta.apache.org/struts/tags-html-el/uri in the tld file. Sanjay -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 1:56 PM To: [EMAIL

RE: Problem with struts-EL example.war file

2002-11-27 Thread David Graham
Yes. David From: Sharma, Sanjay (LNG-DAY) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Problem with struts-EL example.war file Date: Wed, 27 Nov 2002 14:06:40 -0500 Does this mean I should change

Re: DataSource

2002-11-27 Thread Jim Bruno Goldberg
I try this code, but I dont work because I don known where is dataSource. Can someone a .java complete (with imports)? Thanks a lot. Gemes Tibor wrote: 2002. november 27. 12:49 dátummal Jim Bruno Goldberg ezt írtad: Hi, people! Someone can send me a example class with

Re: newbie question from expierenced user

2002-11-27 Thread micael
I would strongly suggest you go to the bookstore and read the relevant parts in Struts in Action. Since you are a professional, you might even want to buy the book. At 08:56 AM 11/27/2002 +0100, you wrote: Hi there, I working with Struts 1.02 quite a while now, and did a very complicated

RE: Problem with struts-EL example.war file

2002-11-27 Thread Sharma, Sanjay (LNG-DAY)
I am still having the problem. I installed Tomcat 4.1 and used it within WSAD 5.0 and the example runs fine. So it seems like this is a problem with introspection mechanism (based on the stack trace) in WAS5.0 Beta. Sanjay -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]]

Re: DataSource

2002-11-27 Thread David Graham
This is from a PlugIn that has access to the ActionServlet, modify accordingly: DataSource ds = (DataSource) servlet.getServletContext().getAttribute(Globals.DATA_SOURCE_KEY); David From: Jim Bruno Goldberg [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts

Re: DataSource

2002-11-27 Thread Mark
I know the feeling, anyone would think this a perl mailing list. Try this puppy.. It works. import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;

DynaActionMapping

2002-11-27 Thread Kenny MacLeod
Folks, I've posted on this topic before, but I've had to revisit the problem recently, and been doing a bit more investigation on it. I need a ActionMapping subclass which can take arbitrary set-property elements, and therefore the standard mechanism of using bean properties isn't going to cut

Re: Bean database access concepts

2002-11-27 Thread V. Cekvenich
Yes of course. But then if you want to change your persistence implementation it is more difficult. .V David Graham wrote: Your DAO objects can be beans. David From: V. Cekvenich [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re:

Known issues with JDK1.4.1_01 and struts 1.1b2

2002-11-27 Thread McClung, Brian
I've scanned the previous messages and I know that most of the responses have been there are no issues, but I'm having a problem with a nested optionscollection pulling information. Are there any known issues between the two that anyone has encountered? Thanks for your help. Brian McClung

Re: Bean database access concepts

2002-11-27 Thread David Graham
No it's not. One of your implementations could be JavaBeans using JDBC calls and another implementation could be EJBs. The factory switches them seemlessly when needed. David From: V. Cekvenich [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Known issues with JDK1.4.1_01 and struts 1.1b2

2002-11-27 Thread David Graham
I'm running 1.4.1 and 1.1b2 just fine. You should post a question related to your actual problem for help :-). David From: McClung, Brian [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Known issues with

RE: Known issues with JDK1.4.1_01 and struts 1.1b2

2002-11-27 Thread McClung, Brian
The nested:optionsCollection tag is my problem. This is working code on JDK1.3 and struts 1.0. The directory has been simply copied to the new test server and this seems to be the only problem that I am having at this point. No messages in the error logs to indicate a problem, and I am sure that

Common error page when using Struts templates...

2002-11-27 Thread Davide Bruzzone
Greetings all... I'm using Struts (1.0.2) templates in my application, and am trying to figure out how I can set up a common error page. Ideally, just this error page would be displayed if an exception occurred on any of the pages that make up a single page (i.e. Header, toolbar, content, etc.).

  1   2   >