validwhen

2003-11-13 Thread sumeet sharma
Hi, Has any one used validwhen validator rule ? when I am using it is not doing anything its making empty validate javascript methods and no validations are being called . Thanks in advance. cheers, Sumeet

RE: validwhen

2003-11-13 Thread Vara Prasad Reddy
As I understood, validwhen is only on server side. there will not be any javascript validations. -Original Message- From: sumeet sharma [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 1:08 PM To: [EMAIL PROTECTED] Subject: validwhen Hi, Has any one used validwhen

Definition for form bean

2003-11-13 Thread Ipsita
Hi, I am getting [ org.apache.jasper.JasperException: Cannot retrieve definition for form bean null ] but I have given it in my struts-config.xml [ form-beans form-bean name=loginForm type=com.globalRad.LoginForm/ /form-beans ] the class LoginForm.class exists in

org.apache.jasper.JasperException: /jsp/LoginView.jsp(9,13) Unable to load class message

2003-11-13 Thread Gali, Sreenivasalu Naidu (Cognizant)
Hi , am new to struts...am trying to deploy an example...which is throwing org.apache.jasper.JasperException: /jsp/LoginView.jsp(9,13) Unable to load class message exception...i tried to set the structs.jar to classpath...still am getting the same error... pls advice me... sreeni This e-mail

Re: Definition for form bean

2003-11-13 Thread Gurpreet Dhanoa
Can you please send the code of your action mapping also. AS i think u may be using attribute not the name while associating the form with the Action. - Original Message - From: Ipsita [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 13, 2003

Re: org.apache.jasper.JasperException: /jsp/LoginView.jsp(9,13) Unable to load class message

2003-11-13 Thread Gurpreet Dhanoa
Hi To look after into the problem. I need to have a look on to ur code. Which server are you using? - Original Message - From: Gali, Sreenivasalu Naidu (Cognizant) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 13, 2003 2:33 PM Subject:

Sturts

2003-11-13 Thread Gurpreet Dhanoa
HI is there any way to call a action within an JSP file without using Submit button and any other html:form element I want to call a action with in a logic:iterate which is further containing one more logic:iterate

RE: org.apache.jasper.JasperException: /jsp/LoginView.jsp(9,13) Unable to load class message

2003-11-13 Thread Gali, Sreenivasalu Naidu (Cognizant)
Hi, am using Tomcat 4.1 -Original Message- From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 2:38 PM To: Struts Users Mailing List Subject: Re: org.apache.jasper.JasperException: /jsp/LoginView.jsp(9,13) Unable to load class message Hi To look after into

Re: org.apache.jasper.JasperException: /jsp/LoginView.jsp(9,13) Unable to load class message

2003-11-13 Thread Gurpreet Dhanoa
no worries. It is simple Can u send me the code and steps u r follwoing Cheers Gary - Original Message - From: Gali, Sreenivasalu Naidu (Cognizant) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 13, 2003 2:42 PM Subject: RE:

Problem of nested logic:iterate

2003-11-13 Thread Raman Garg
Hi, I have a problem regarding struts logic:iterate I need to show category wise listing of products. so can anybody advice me how to create nested logic iterate loops to accomplish this. what i need is there will be two nested logic iterates logic:iterate !--this is for

Re: org.apache.jasper.JasperException: /jsp/LoginView.jsp(9,13) Unable to load class message

2003-11-13 Thread Sathish Kumar.T
For newbie, try to use struts-blank.war and start developing. Hope this will helps u. regards Sathish On Thu, 13 Nov 2003 14:33:34 +0530, Gali, Sreenivasalu Naidu (Cognizant) [EMAIL PROTECTED] wrote: Hi , am new to struts...am trying to deploy an example...which is throwing

RE: org.apache.jasper.JasperException: /jsp/LoginView.jsp(9,13) Unable to load class message

2003-11-13 Thread Gali, Sreenivasalu Naidu (Cognizant)
Hi , i just followed the steps and code available in this following link http://www.javaranch.com/newsletter/Mar2002/newslettermar2002.jsp#struts Thanks a lot .. Regards Sreeni -Original Message- From: Gurpreet Dhanoa [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 2:42

Re: Show validation error messages next to the corresponding input fields

2003-11-13 Thread Caroline Lauferon
use property attribute of html:messages or html:errors. you will get only the messages that concern your field. Caroline Caroline LAUFERON Cap Gemini Telecom Media Networks France Skill Center VASN - RENNES 02

RE: Definition for form bean

2003-11-13 Thread Prasun Kumar Sarangi
Hi Ipsita, Have a look at the following ex: form-bean name=TestFormBean type=test.FormBeanClass/ action path=/test type=test.ActionClass scope=session name=TestFormBean validate=true forward name=Success path=/jsp/displaypage.jsp

FYI - some good links

2003-11-13 Thread Raman Garg
Tutorials with struts http://jakarta.apache.org/struts/resources/tutorials.html For List of common errors in Struts http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html Some code examples with struts http://forum.exadel.com/viewtopic.php?t=120 do share yours!!! Raman Garg

Problem of nested logic:Iterate

2003-11-13 Thread Raman Garg
Hi, I have a problem regarding struts logic:iterate I need to show category wise listing of products. so can anybody advice me how to create nested logic iterate loops to accomplish this. what i need is there will be two nested logic iterates logic:iterate !--this is for listing

Re: DynaAction differences?

2003-11-13 Thread Adam Hardy
On 11/12/2003 11:35 PM Nathan Maves wrote: What is the difference between these three DynaActionForm DynaValidatorForm DynaValidatorActionForm I assume that the first does no validation. But I can not find any docs on how to use the second two. Hi Nathan, the first allows the developer to write

RE: FYI - some good links

2003-11-13 Thread Gali, Sreenivasalu Naidu (Cognizant)
Thank you very much -Original Message- From: Raman Garg [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 3:13 PM To: Struts Users Mailing List Subject: FYI - some good links Tutorials with struts http://jakarta.apache.org/struts/resources/tutorials.html For List of common

ExceptionHandler to ActionError

2003-11-13 Thread Nathan Coast
Hi I'd like to catch exceptions in an exception handler and then re-use the ActionMessage mechanism to relay messages to the failed input page. Is this possible? What do I have to do within the ExceptionHandler to invoke the ActionMessage mechanism? thanks Nathan

Re: RE: validwhen

2003-11-13 Thread sumeet sharma
Yes it is for server side only. But if I can define a CDATA and call a method to perform javascript validation cant I do that ?? As there is no way I can validate a nested indexed property on the clientside and server side same time . No then I will end up writting javascript in .js files ..

RE: Problem of nested logic:iterate

2003-11-13 Thread Sumit S.
Here u go...I have a userForm that has a list of users. Each User further has a list of orders...here's the logic:iterate code to do what u want to do ... logic:iterate name=userForm property=users id=user bean:write name=user property=firstname/ logic:iterate name=user

R: who want to join xmoon project ?

2003-11-13 Thread Mario
Added new documentation about the login example. A quick tour of xmoon. http://www.xmoon.it -Messaggio originale- Da: Mario [mailto:[EMAIL PROTECTED] Inviato: mercoledì 12 novembre 2003 14.30 A: '[EMAIL PROTECTED]' Oggetto: who want to join xmoon project ? It’s an opensource

action-mappings, action not working

2003-11-13 Thread Ajay Kalidindi
Hi I am using : Redhat 9 Apache 2.0.48 Tomcat 4.1.29 Struts 1.1 For some reason I am not getting any errors and control is not getting forwarded to respective success forward from DummyAction. Any help is appreciated. Regards Ajay Kalidindi config and source follows: struts-config.xml

Re: action-mappings, action not working

2003-11-13 Thread Raman Garg
Try to debug it using System.out.println (SAMPLE TEXT ); in your action class public ActionForward perform(ActionServlet servlet, ActionMapping mapping, ActionForm form, HttpServletRequest request,

Struts comparison

2003-11-13 Thread Vic Cekvenich
Struts comparison to WebWork: http://www.jroller.com/page/mrdon/2003#re_struts_vs_webwork_technical .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: action-mappings, action not working

2003-11-13 Thread Phil
Hi, the methode signature is wrong. You have to override the methode public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)

RE: DynaAction differences?

2003-11-13 Thread Robert Taylor
DynaActionForm implements the DynaBean interface and allows you to declaratively create action forms in the struts-config file. DynaValidatorForm is an DynaActionForm which hooks into the struts validation framework. The form name is passed to the validation framework to identify the validation

RE: ExceptionHandler to ActionError

2003-11-13 Thread Norm Deane
Assuming you want to do this to make use of the html:messages tag... The default ExceptionHandler (org.apache.struts.action.ExceptionHandler) creates an ActionErrors object which encapsulates the error message derived from the Exception and the ExceptionConfig. By nature of the inheritance

Can't Find Source For Struts 1.0.2

2003-11-13 Thread Hohlen, John C
I can't find a link to the source code for Struts 1.0.2 on the Struts website anymore. Anyone know how I can download a copy? Thanks, JOHN - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: PDF File Display in JSP-Struts

2003-11-13 Thread Nicholson, Robb
Any time he has to fix a bug or add a new feature, he knows exactly which file to edit ;-) -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 9:03 PM To: Struts Users Mailing List Subject: Re: PDF File Display in JSP-Struts I

Re: R: who want to join xmoon project ?

2003-11-13 Thread MBrewer
I noticed that the example has a couple of Hibernate xml files in it aswell ? Mike |-+ | | Mario | | | [EMAIL PROTECTED]| | | idea.com| | || |

RE: Validation using mask

2003-11-13 Thread Ramadoss Chinnakuzhandai
when attempt to try this with other field its working fine()...Any Idea? Has anyone ever experienced such problem in validation ?? -Ram -Original Message- From: Ramadoss Chinnakuzhandai Sent: Wednesday, November 12, 2003 4:46 PM To: Struts Users Mailing List Subject: RE: Validation

R: R: who want to join xmoon project ?

2003-11-13 Thread Mario
Yes but i'll remove it because hibernate probably will not support dynabean in the future. i'm using commons sql and i'll publish another demo soon (i hope) -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Inviato: giovedì 13 novembre 2003 15.50 A: Struts Users

Are Tiles controller classes singletons

2003-11-13 Thread sgouris
I have some tiles controller classes (BlahBlahTilesController implements org.apache.struts.tiles.Controller) assigned for a few definitions. Are these managed by Tiles as singletons? I am guessing they are. Version Info: I am using TilesForStruts.jar with Struts 1.0.2 Thanks, -Shyam

DB2 Pooled connection from Struts

2003-11-13 Thread Eric SCHULTZ
Good morning... I'm having an impossible time getting a pool of connections to a DB2 database going. I've gotten a single connection to work using the old method (DriverManager.register, DriverManager.getConnection, ...) but I can't seem to do it by describing the datasource in struts-config.xml

RE: R: who want to join xmoon project ?

2003-11-13 Thread David Friedman
Mario, Where did you hear that dynabean will not be supported? I'm using the 2.1b6 release and it has components that can be dynabeans. I didn't see any notes about it going away anytime soon. (not that I've used those dynabean components yet). Regards, David -Original Message- From:

Re: R: who want to join xmoon project ?

2003-11-13 Thread Nick Heudecker
David, There has been discussion on the Hibernate forums and mailing lists that dynabeans will be deprecated in a release after 2.1. I do not believe that a replacement will be made available. If you would like to voice your opinion on this, please visit the Hibernate forums at:

R: R: who want to join xmoon project ?

2003-11-13 Thread Mario
http://forum.hibernate.org/viewtopic.php?t=925033highlight=dynabean -Messaggio originale- Da: David Friedman [mailto:[EMAIL PROTECTED] Inviato: giovedì 13 novembre 2003 16.25 A: Struts Users Mailing List Oggetto: RE: R: who want to join xmoon project ? Mario, Where did you hear that

Dynamic HTML

2003-11-13 Thread Gonzalez Comesaña, Sergio Eduardo
How can generate input tags dynamicly ?? My application have fields that are dynamics and sometimes I have 1 fields and sometimes I have N fields. Can I control this in struts ?? Thanks Sergio. Aquest

RE: Validation using mask

2003-11-13 Thread Ramadoss Chinnakuzhandai
Can anybody suggest me is there any good resources to refer particularty deep into Struts Validation...? I did refer Struts by Marinescu and other one by Ted Husted but unfortunately did not find enough information particularly deal with Struts Validation.. I hv been trying to see what is

Re: PDF File Display in JSP-Struts

2003-11-13 Thread Brandon Goodin
I remember in the pre-Struts days of someone on the JSP Interest mailing list talking about the fact that they had a 5000 line JSP page that implemented the entire app (complete with creating different forms and processing the results) -- all in a single page. And he was *proud* of it! Doesn't

simple question

2003-11-13 Thread Shyam A
Hi, Is there any Struts tag for an expression like %= request.getAttribute(attributeName)% where the attribute is a String. Thanks, Shyam __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree

Collection of Updateable over multiple pages.

2003-11-13 Thread Gupta, Anubhav
Hi, In my application, I am using logic:iterate tags to iterate over a collection. The collection is displayed as a table on jsp page, and I use indexed=true attributes to display individual fields which are all updateable. This collection can sometimes be very big (like 500). I wish to break

Re: simple question

2003-11-13 Thread Gurpreet Dhanoa
you can use bean:write name=attributeName OR bean:message key=attributeName/ Where key is the key defined in resources file Cheers Gary - Original Message - From: Shyam A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 13, 2003 9:40 PM Subject: simple question

RE: Can't Find Source For Struts 1.0.2

2003-11-13 Thread David Liles
Try this link http://archive.apache.org/dist/jakarta/struts/old/release/v1.0.2/ -Original Message- From: Hohlen, John C [mailto:[EMAIL PROTECTED] Sent: Thu 11/13/2003 8:32 AM To: Struts-User (E-mail) Cc: Subject: Can't Find Source

indexId attribute of logic:iterate tag

2003-11-13 Thread Shyam A
Hi, I have a JSP page in which I display the results of a database query in a table format using logic:iterate tag for a bean. I want to display the number of the table row using the indexId attribute of the logic:iterate tag. The index starts from 0 but I want to display the records starting

Struts-legacy.jar

2003-11-13 Thread Gurpreet Dhanoa
Hi All, Can anyone please explain the real funda of struts-legacy.jar. I faced a big problem of image uploading and was getting error when i was posting the form by setting enctype but when i kept struts-legacy.jar into my webserver classpath. My code is running perfectly What is the logic

simple design question

2003-11-13 Thread Nathan Maves
I have a simple design question.. I have to forms. first form is one simple select box that needs to have the values populated from a db. This form needs to have validation and the submit to the second form. The second form need to populate a select box based on the value from the first form.

RE: indexId attribute of logic:iterate tag

2003-11-13 Thread Robert Taylor
You could use JSTL c:forEach var=element items=${form.items} varStatus=status c:out value=${status.count}/ !-- starts at 1 -- c:out value=${element}/br /c:forEach For more information see Interface LoopTagStatus in the current JSTL Spec. robert -Original Message- From: Shyam A

RE: simple design question

2003-11-13 Thread Saul Q Yuan
Then a simple answer, one solution would be, use a single form, two actions, and use action (path) based validation. Saul -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 12:02 PM To: [EMAIL PROTECTED] Subject: simple design question

Can I use action path instead of form name in form name=xxx in validation.xml?

2003-11-13 Thread Kevin Wang
I can't use the form names because in our application all the forms are by the same session attribute. I read from somewhere that I can do something like, formset form name=/logonaction /form /formset But I haven't been successful...Please advice, Thanks! Kevin

RE: Can I use action path instead of form name in form name=xxx in validation.xml?

2003-11-13 Thread Robert Taylor
Yes. You can do this, but you have to use or subclass DynaValidatorActionForm. It uses the path attribute of the action mapping to determine validation rules for the request. robert -Original Message- From: Kevin Wang [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 12:13

Re: simple design question

2003-11-13 Thread Nathan Maves
This sounds like what I need! Can you explain a little more.. :) Thanks in advance, nathan On Nov 13, 2003, at 10:10 AM, Saul Q Yuan wrote: Then a simple answer, one solution would be, use a single form, two actions, and use action (path) based validation. Saul -Original Message-

RE: simple design question

2003-11-13 Thread Saul Q Yuan
Ok, then, 1. Let's say you declare your form as MyForm, which is of type DynaValidatorActionForm in Struts-config.xml. 2. And you declare your actions as /myAction1 and /myAction2 respectively. 3. Then in validation.xml, declare your validation as: form name=/myAction1 field ...

tag body output

2003-11-13 Thread Daniel Lipofsky
(this is really a taglib question, not struts, so my apology for being off-topic) I am designing a security tag which shows or nukes its body depending on the user. I got it to work, although I have a question as to why the simplier code didn't work. I am just learning and I want to understand.

RE : Dynamic HTML

2003-11-13 Thread Franck
-Message d'origine- De : Gonzalez Comesaña [mailto:Gonzalez Comesaña] Envoyé : jeudi 13 novembre 2003 11:36 À : Struts Users Mailing List Objet : Dynamic HTML How can generate input tags dynamicly ?? My application have fields that are dynamics and sometimes I have 1 fields

Re: Dynamic HTML

2003-11-13 Thread Affan Qureshi
There are quite a few ways to do this and you can find help on this list. I prefer the Nested Tags to do this. Affan Gonzalez wrote: How can generate input tags dynamicly ?? My application have fields that are dynamics and sometimes I have 1 fields and sometimes I have N fields. Can I control

Validator and Indexed Properties

2003-11-13 Thread Robert Taylor
As of March 14, 2003 it appears that Struts/Commons validation does not support indexed properties as such: I have a collection of objects A where each A has some properties, call them p1, p2, and p3. I want to validate field p3 for each object A in the collection. Is this currently possible

Re: Eclipse Sysdeo Tomcat Plugin Problem

2003-11-13 Thread Navneet Karnani
I would suggest looking at Netbeans for Tomcat based development. It has good integration with Netbeans. - Navneet David Graham said the following on 08/11/2003 12:40 AM: Make sure you haven't added any of your projects to Tomcat's classpath via the plugin. That will always cause problems.

RE: Can I use action path instead of form name in form name=xxx in validation.xml?

2003-11-13 Thread Kevin Wang
Thanks Robert! Right now my forms are extending ActionForm. Can I just make them extend DynaValidatorActionForm without changing anything else? What do I need to change if I do need to? Kevin

[OT] generate HTML file from XML and XSLT

2003-11-13 Thread Ashish Kulkarni
Hi, I have a XML file and a XSLT file, i need to create a HTML file in a temp directory then read this file to get a String so can email this String or print the String as HTML is it possible to do it?? and how I am using jdk1.4.1 Ashish = A$HI$H __ Do you

RE: Can I use action path instead of form name in form name=xxx in validation.xml?

2003-11-13 Thread Robert Taylor
You will also need to set the 'type' attribute value in the form-bean element of the struts-config file to org.apache.struts.validator.DynaValidatorActionForm (or a subclass thereof) robert -Original Message- From: Kevin Wang [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13,

conditional validation

2003-11-13 Thread newton rutgers
Hello All, Can i do the conditional validation. For example if i have a drop down and the default value is Please select one. if user dosen't select anything. validation won't show that it is required field to select. can anyone please help. Also how do i validation for radio button to see

Request scope for FormBeans does not work??

2003-11-13 Thread Voinea, Marina
Hi, Heeelp: I have been struggling for the last 2 days with an issue regarding the / request / session scope of the form beans defined in action mappings. (Request scope does not work for me, I have to use session scope...). Can you please help : I have the following steps within the code;

Accesing Session Object from ActionForm

2003-11-13 Thread Altug B. Altintas
Hi , i have got a question about ActionForm For example if i have got a simple form class which is inhereted from ActionForm, here ist he code public class SimulationForm extends ValidatorForm { .. // some declerations

Re: Request scope for FormBeans does not work??

2003-11-13 Thread Rick Reumann
Voinea, Marina wrote: (MtgDayForm)form.setMeetings(mtgBeanList); // try to store in form, the form scoped at request You fowarded to this Action and it has the current request, but objects in that request are now no longer around once you leave this Action.. so you need to

Re: Request scope for FormBeans does not work??

2003-11-13 Thread Phil
Hi, i think you have to set the attribute redirect=false, than a simple forward is done. The difference between a redirect and a simple forward is that if you use redirect a new request is create when you call another resource (jsp or action). The default value of the attribute redirect is

struts application with frames: top, side menus and main screen

2003-11-13 Thread neso m
Hi ! Has anyone found sample STRUTS application and/or documentation on the net that uses frames ? I would like to build the application with top menu, side menu and main screen. Thanks ! Neso - Do you Yahoo!? Protect your identity with Yahoo! Mail

Accesing Session Object from ValidatorForm

2003-11-13 Thread Altug B. Altintas
Hi , (sorry for previous email) i have got a question about ValidatorForm For example if i have got a simple form class which is inhereted from ValidatorForm , here is the code public class SimulationForm extends ValidatorForm {

DynaValidationForm

2003-11-13 Thread Ghanakota, Vishu
Hi, Is there a way to make DynaValidationForm not to do the validation based on a certain attribute other than sub-classing it? That's not that difficlt to do, but I was wondering if there is a better way, here is my scenario. I have an account table and I have one form and one action for all the

Re: simple design question

2003-11-13 Thread Nathan Maves
Sweet Now are you telling me that the two html form can be on the same page? What about pre-loading the select boxes with information? On Nov 13, 2003, at 10:43 AM, Saul Q Yuan wrote: Ok, then, 1. Let's say you declare your form as MyForm, which is of type DynaValidatorActionForm in

Help- Not able to pass the index

2003-11-13 Thread Gupta, Anubhav
I have the code fragment which passes the current index in logic:iterate tag to the javascript function openChildWindowNew. I am not able to do that as index value is never passed because indexed counter is never evaluated. The code is like: logic:iterate id=finduser name=userlist indexId=ind

RE: struts application with frames: top, side menus and main screen

2003-11-13 Thread Mike Jasnowski
I'm using frames w/Struts, what specifically do you want to know? There's not anything special you have to do with frames and Struts as far as I know. -Original Message- From: neso m [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 3:02 PM To: [EMAIL PROTECTED] Subject: struts

RE: struts application with frames: top, side menus and main screen

2003-11-13 Thread David Liles
I am currently working on a site that is frame based for each of the pages that are to be displayed I reference the action mapping for each of the src tags. -Original Message- From: neso m [mailto:[EMAIL PROTECTED] Sent: Thu 11/13/2003 2:02 PM

Struts/Tiles/Performance

2003-11-13 Thread Colin Chalmers
Hi all, We're migrating an application to using Struts Tiles and are noticing a significant decrease in performance; not just the first time a page is being accessed but every time. I see in the archives that others have had similiar problems and that the solution lay in the servlet engine,

RE: struts application with frames: top, side menus and main screen

2003-11-13 Thread neso m
...I need to put dynamic support for different languages. Display every page in English/French, back and forth also top and side menu changes every time I click French or English. As I change through my top menu i would like my side menu to change, as well as my main page, for example when

RE: simple design question

2003-11-13 Thread Saul Q Yuan
It should work if the two html forms are on the same page, if that's what you want. Populating your selection box is another question, you probably need to prepare the data as collections in your action and send that to the request. There are tons of threads in the archive on this, so I'm not

Can not get error message to display on the same page

2003-11-13 Thread Kam Lung Leung
Hi, I am trying to write a logon page as discribed on the struts-example, but finding some problem with my logon.jsp when ActionLogon.java trys to return ActionErrors or ActionMessages back to the original page, the logon.jsp. I am using Struts1.1 + jboss-3.2.1_tomcat-4.1.24. I tried two ways to

RE: Request scope for FormBeans does not work??

2003-11-13 Thread Voinea, Marina
Yes! Thanks a lot,I read it and I forgot... However, now it can not retrieve the path to the style sheet, there is a tag to deal with that, I'm trying to find it -Original Message- From: Phil [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 3:01 PM To: Struts Users Mailing

RE: struts application with frames: top, side menus and main screen

2003-11-13 Thread David Liles
There are 100 ways to peel an onion one way to peel it is to attach a parameter to each of your links and in your action mapping determin which pages should be displayed based on the detected parameter As for displaying different pages in your different frame windows... you control

RE: Request scope for FormBeans does not work??

2003-11-13 Thread Voinea, Marina
Yeap, the html:base tag is used to solve page forward issues... Thanks again. (So we need: redirect= false and html:base together) ... -Original Message- From: Voinea, Marina Sent: Thursday, November 13, 2003 3:34 PM To: 'Struts Users Mailing List' Subject: RE: Request scope for

RE: struts application with frames: top, side menus and main screen

2003-11-13 Thread neso m
Thanks for your answers. Do you have any documents, how to, etc to point me too? Neso David Liles [EMAIL PROTECTED] wrote: There are 100 ways to peel an onion one way to peel it is to attach a parameter to each of your links and in your action mapping determin which pages should be

RE: struts application with frames: top, side menus and main screen

2003-11-13 Thread David Liles
Here is an example frame layout that maps to actions for each of the pages to be displayed... frameset rows=80,* cols=* frameborder=no border=0 framespacing=0 frame src=/header.do name=headerFrame scrolling=no noresize frameset cols=120,* frameborder=no border=0 framespacing=0 frame src=/nav.do

problem using requiredif

2003-11-13 Thread newton rutgers
Can anyone tell me what's going on in here.. i want the product field has to have some value other then Please select one. and it should be required field. Thanks, Newt field property=product depends=requiredif arg0 key=firstForm.product.displayname/ var var-namefield[0]/var-name

Struts - sometime the form is being submitted twice

2003-11-13 Thread Judy Spengeman
Using the following code fragment: function f_ValidateForm(later) { var newline = unescape(%0A); var leading_space = ; var ni = newline + leading_space; } // end with if (later == 1) { document.formq1.BUTTONPRESSED.value = FinishLater; document.formq1.submit(); } else if (later

Re: how to disable (or work around) jsessionid in html:img sources

2003-11-13 Thread Brice Ruth
Btw, Kris - I just had to make use of this code that you provided, and it works perfectly. Sweet! Kris Schneider wrote: If you can accomplish what you want via Apache rewrite rules, that seems like a simpler solution. If that doesn't work out, here's a JSP/JSTL equivalent of how html:img comes

Re: Struts - sometime the form is being submitted twice

2003-11-13 Thread Vic Cekvenich
Read up on Tokens in the Action class. It explains how to eliminate this ( that would have also happened even in a regular non struts servlet/jsp). hth, .V Judy Spengeman wrote: Using the following code fragment: function f_ValidateForm(later) { var newline = unescape(%0A); var leading_space =

How can I put a field's value in a Validator message?

2003-11-13 Thread Yee, Richard K,,DMDCWEST
I would like to include a field's value in my Validator custom error message. In my validation.xml file, I have a msg tag defined with a key=someProperty.errorMessage. In my application.properties file, I have defined my someProperty.errorMessage property as follows:

Struts exception - pl. help

2003-11-13 Thread DurgaPrasad Guduguntla \(dgudugun\)
Hi, Our application is using Struts1.1 and running on Tomcat4.1. We got the following exception stack trace. Any clues will be appreciated to fix this problem. Thanks, Durgaprasad Exception Stack Trace: -- Nov 13, 2003 12:21:37 PM

Re: Struts exception - pl. help

2003-11-13 Thread Thomas Cornet
As I already has this kind of message, I think Struts didn't succed in executing your action so a) check the name and package of your class (comparing to the one declared in your struts-config file) b) check that your class extends o.a.struts.action.Action c) check the signature of the

Re: [OT] generate HTML file from XML and XSLT

2003-11-13 Thread chekuri raju
to get an Html output you can use JAXP's javax.xml.transform.* Package. to mail the same out put you have to generate a String containing all the html output and use the ByteArrayDataSource.java class which u get from java mail examples from sun. i did this in one of my project.let me know if

RE: DynaValidationForm

2003-11-13 Thread Nimish Chourey , Tidel Park - Chennai
You can make two action mappings say For Retrieveing details action path=/RetrieveAccDetails type=com.AccountAction scope=request name=AccountForm parameter=method validate=false forward name=success path=/message.jsp / /action For Editing action

Multibox + iterate + design question

2003-11-13 Thread ZYD
Dear all I have a design question: there are three columns in a database table: category_id, category_description, is_main_category I want to iterate all the records in this table in a jsp page using one check box for each record. category_id is the checkbox's value,

No input attribute for mapping path

2003-11-13 Thread neso m
I am running struts in Webpshere 5.0 and I got this error: [11/14/03 0:57:40:266 EST] 391b9f1f RequestProces I org.apache.struts.action.RequestProcessor Processing a 'POST' for path '/login' [11/14/03 0:57:40:312 EST] 391b9f1f WebGroup E SRVE0026E: [Servlet Error]-[action]:

Once you forward to another Action can you return to back to the forwarding action...

2003-11-13 Thread Michael Pompa
I am fairly new to struts, I have implemented a lookup up action the searches for a recipe. recipeLookup.do?LOOKUP_OBJECT_KEY=RECIPE_LOOKUPLOOKUP_NEXT_URL=recipeView.doexec= This line above is what I use to call the recipeLookup which once I have clicked a recipe it forwards to the NEXT_URL.