Re: FOP and strus (IE problem)

2002-02-17 Thread Gregor Rayman
"John Ng" <[EMAIL PROTECTED]> wrote: > Hi, The following is a piece of the code that I write > in the perform method of an ActionForm to generate the > PDF. However, it works fine in netscape, but NOT IE. > Can someone help me with this? > > Thanks! > John Try adding "?.pdf" to the url. --

Re: comments

2001-11-22 Thread Gregor Rayman
"Sobkowski, Andrej" <[EMAIL PROTECTED]> wrote: > Careful: > > > The JSP tag will be evaluated (though not shown on the browser since the > results will be commented out. And yes, they'll be visible by the client. > > <%-- --%> > The JSP is not evaluated and the commented part will not be sen

Re: comments

2001-11-22 Thread Gregor Rayman
No! JSP Comments are not but <%-- --%> -- gR - Original Message - From: "Maris Orbidans" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 7:14 PM Subject: RE: comments > > Yes > > JSP have the same comment > > Maris > > -O

Re: Feedback on Struts Pros and Cons

2001-10-31 Thread Gregor Rayman
"David Bueche" <[EMAIL PROTECTED]> wrote: > Struts Disadvantages: > > 1. Instead of direct dispatching by controller Servlet(s), dispatching is defined > in an XML file, adding a layer of indirection overhead to the architecture. Do you really think, this is an disadvantage? > 2. Requires behav

Re: redirection

2001-10-31 Thread Gregor Rayman
"Andrew Kirkland" <[EMAIL PROTECTED]> wrote: > I have this in my jsp : > > and then web.xml redirects it and it should then be processed by my java > file etc. > > However I am simply redirected in my browser to logon.do which doesnt exist! > > Andy OK, so there actually is NO file logon.do (wh

Re: redirection

2001-10-31 Thread Gregor Rayman
"Andrew Kirkland" <[EMAIL PROTECTED]> wrote: > Whenever I write a struts application and try to do anything involving an > action mapping, my browser is simply redirected to the corresponding *.do > file! Can someone tell me whats wrong? Im using tomcat 3.3. What is a *.do file? -- gR -- To

Re: Q about tags with Struts!

2001-10-23 Thread Gregor Rayman
"O'Neill, John H" asks: > Hi all, > > hope someone can help me with this! > I want to send a request to an action using the following code > > Fiscal Analytic > > The problem is that I want to send up parameters aswell as you would do > normally like : > > etc... > > Could someone point out t

Re: Struts in Europe?

2001-10-22 Thread Gregor Rayman
"Bernhard J. Hirschmann" <[EMAIL PROTECTED]> > DaimlerChrysler does use it. > You may search in the mail-archive about that thread, because this one has > been discussed earlier as well. > > Regards, > Bernhard > We at Internet Technology use it too. Gregor Rayman www.i-technology.de

Re: Adding Xml Tag in "Struts-Config.xml" file

2001-10-04 Thread Gregor Rayman
uot; file It's not a problem for the file name but for the directory name of the file configuration. If the directory change, i don't want to recompile my app. -Message d'origine- De: Gregor Rayman [mailto:[EMAIL PROTECTED]] Date: jeudi 4 octobre 2001 15:57 À: [EMAIL PROTECTED]

Re: Adding Xml Tag in "Struts-Config.xml" file

2001-10-04 Thread Gregor Rayman
application-config.xml. But how my application could know the name of the file without using a constants file ? -Message d'origine- De: Gregor Rayman [mailto:[EMAIL PROTECTED]] Date: jeudi 4 octobre 2001 15:41 À: [EMAIL PROTECTED] Objet: Re: Adding Xml Tag in "Struts-Config.xml&q

Re: Adding Xml Tag in "Struts-Config.xml" file

2001-10-04 Thread Gregor Rayman
<[EMAIL PROTECTED]> wrote: > I need to configure my application by Xml. > > Is it possible to add personnal XmlTags in the "Struts-Config.xml file > and manipulate them in a "Action" class with the Digester ? > > Thxs. > > Bruno Why in strus-config.xml, why don't you create your own application

Re: dynamic forwards

2001-09-27 Thread Gregor Rayman
"lisa ward" <[EMAIL PROTECTED]> wrote: > In your message you said: > > "so you will know all paramaters in advance, since the checkboxes have been > submitted already". > > But since Im using a html:link (forward) instead of a submit, at which point > do I initialize the selected checkbox values

Re: dynamic forwards

2001-09-26 Thread Gregor Rayman
vaScript on the client, but since many browsers have JavaScript disabled, you should not rely on it. -- gR > > Please explain further and thank you very much for your patience. > > Thanks > Lisa > > > >From: "Gregor Rayman" <[EMAIL PROTECTED]> > >Rep

Re: dynamic forwards

2001-09-26 Thread Gregor Rayman
"lisa ward" <[EMAIL PROTECTED]> wrote: > Another quick question. How would I be able to initialize the hashMap. the > problem Im facing is that when I use a forward the submit is not called so > the values are not initialized in my bean. Here an quick and dirty example. (Dirty beacuse it uses

Re: dynamic forwards

2001-09-26 Thread Gregor Rayman
"Martin, Margaret" <[EMAIL PROTECTED]> wrote: I have tried it. It works. (at least the CVS version) -- gR > Lisa, > I haven't tried it myself, but according to the doc for the html:link tag, > you can specify a bean that returns a map which specifies all of the > parameters... the contents of t

Re: how to capture html

2001-09-24 Thread Gregor Rayman
"Brian K. Buckley" <[EMAIL PROTECTED]> wrote: > Is there a good way to capture the output from a snippet of jsp into a > String variable that can be reused multiple times in a page? > > - Brian > > As a simple example, if one needed to have the line: > > Name property='name'/> > > appear in

Re: Struts JBoss / Tomcat and From

2001-09-20 Thread Gregor Rayman
Title: Struts JBoss / Tomcat and From Why do you use ActionForm as value object in EJB? I thnik, this is not a clean design, since you make your EJB code dependent on Struts. Struts beloongs to the web layer, EJB to the businness layer. Your EJB do not need things like HttpRequest, so'd try

Re: How to test only for the language-code but not for the country?

2001-09-12 Thread Gregor Rayman
Title: How to test only for the language-code but not for the country? Use for this purpose. Not . - Original Message - From: Friedli Beat [UFA AG Her] To: '[EMAIL PROTECTED]' Sent: Wednesday, September 12, 2001 11:22 AM Subject: How to test only for the la

Re: New York / Washington

2001-09-11 Thread Gregor Rayman
"Uwe Pleyer" <[EMAIL PROTECTED]> > Dear friends, > > I know that this mail will be a misuse of this list, but I want to express > my sympathy to all victims and there familys and friends of this disaster. > > I've seen this horrible pictures and many people in Germany are with you in > thought an

Re: POST and session-timeout (Extra Information)

2001-09-08 Thread Gregor Rayman
<[EMAIL PROTECTED]> wrote: > Hi All, > > I have a secured area in with FORM authentication, when I -POST- a Form after > the session has timed out and re-login, the information on the Form isn\'t > submitted anymore. The parameters are lost. Is there a possibility to have the > parameters still i

Re: Personalisation Best Practice

2001-09-07 Thread Gregor Rayman
"Peter Pilgrim" <[EMAIL PROTECTED]> > How do I get a "*.css" file recognised as valid Java Server Page? > -- > Peter Pilgrim | |++44 (0)207-545-9923 > \ \ ___ / / ... . > - ( * ) --- -- > _Cafe_Savannah,

Re: Personalisation Best Practice

2001-09-07 Thread Gregor Rayman
"Peter Pilgrim" <[EMAIL PROTECTED]> wrote: > What is a good way of using Struts and personalisation ? > > I would like to write a JavaBean with some personalisation getter and setter. > It would probably pick up the details from the database > I would like to write method to change the background

Re: re-Logon after session timeout

2001-09-06 Thread Gregor Rayman
used it for auto-login directly in the first login.jsp. It checks to see, whether the user can be identified by a cookie and tries to retrieve the username/password from a database. Then, instead of displaying the login form, it directly forwards to j_security_check. groetjes -- gR > ---

Re: re-Logon after session timeout

2001-09-06 Thread Gregor Rayman
"Ralph vd Houdt" <[EMAIL PROTECTED]> wrote: > Hi Jon, > > This is not just what I want. I want to do a login based on 3 fields > company/user/password and evaluate then to an EJB. The login should put an > object in the session. > > Greetings Ralph You can do this with form based login as well

Re: CachedRowSet or SQL, what is the best way?

2001-09-05 Thread Gregor Rayman
"Ryan Cornia" <[EMAIL PROTECTED]> asks: > Is anyone using the early access of CachedRowSet > for data access, or are people just using straight > JDBC calls? > > I've been using straight JDBC calls, but it looks > like CachedRowSet would be easier. Anyone know when > it will be officially r

Re: Class PropertyUtils is deprecated

2001-09-03 Thread Gregor Rayman
Title: SV: Including Actions via jsp:include The class has been repackaged. It is now under the apache commons.   -- gR - Original Message - From: Inés Pederiva To: [EMAIL PROTECTED] Sent: Monday, September 03, 2001 2:06 PM Subject: Class PropertyUtils is de

Re: Including Actions via jsp:include

2001-09-03 Thread Gregor Rayman
> [EMAIL PROTECTED] > Direct: +45 32 88 22 73 > > Valtech A/S > Kanonbaadsvej 10 > DK-1437 Copenhagen > Tel +45 32 88 20 00 > Fax +45 32 88 20 20 > > > > > -Oprindelig meddelelse- > > Fra: Gregor Rayman [mailto:[EMAIL PROTECTED

Re: Including Actions via jsp:include

2001-09-03 Thread Gregor Rayman
> hi Guys, > > I bet this has come up before... > > I need to include the output of an action in a jsp, using the jsp:include > tag lie this: > > > > > > but I get an illegalstate exception, as the ActionServlet forwards instead > of includes... > > is there anyway to do this??? > > thank

Re: Re: template tags

2001-08-24 Thread Gregor Rayman
<[EMAIL PROTECTED]> wrote: > > You can put the list in an request scoped bean with defined name. > > The template can then access it, e.g. with > > That's what I'm doing at the moment with the old > and tags. I guess what I'm asking is can I do > this cleaner somehow with the template tags? >

How to include an .do from a jsp

2001-08-24 Thread Gregor Rayman
Hi all, some time ago I've written about my problem including *.do in jsps. E.g. in the template tags. The problem is caused be the way, how Action/ActionServlet controls the invocation of its view. The request is either forwarded or redirected to the view and neither forwarding nor redirectin

Re: template tags

2001-08-24 Thread Gregor Rayman
<[EMAIL PROTECTED]> wrote: > I put a special header and footer on all my pages. I'd like > to do this with the template tags. Template tags allow > you to pass named parameters to the template. However, I need > to pass a list of things (navigation URLs) into my header > so it can print a list o

Re: STRUTS and EJB

2001-08-23 Thread Gregor Rayman
"Juha Paananen" <[EMAIL PROTECTED]> wrote: > I want to fill in a form JavaBean using a struts form, and after > validating it in my Action class, store it into the db using a session > EJB component. The proble here is that I have to extend ActionForm class > to make the bean work with Struts.

Re: Managing struts-config.xml

2001-08-23 Thread Gregor Rayman
"O'Reilly John" <[EMAIL PROTECTED]> > Is there any way of splitting up struts-config.xml, possibly by being able > to include xml fragements into the main file. We are working on a project > involving approx. 12 developers. We are using cvs for source control. What > we are finding is that we

Re: Population of form in case of errors

2001-08-22 Thread Gregor Rayman
"Ralph vd Houdt" <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a form wich get default values from a bean. with the name and > property tags of the html:text tag. When the form has errors using the > validate(ActionMapping mapping,HttpServletRequest request) method the field > don't get repo

Re: Dates and Struts

2001-08-22 Thread Gregor Rayman
"Matt Raible" <[EMAIL PROTECTED]> wrote: > Is it true that Struts cannot handle a java.sql.Date or java.util.Date > datatype? I seem to get errors everytime I try to have one in my form. > > Thanks, > > Matt No it cannot. Date is not so easy to parse since it is locale dependent. Also the disp

Re: How to keep ActionForm in session from being reset?

2001-08-20 Thread Gregor Rayman
"Wilhelm Fitzpatrick" <[EMAIL PROTECTED]> wrote: > It seems to me that struts *shouldn't* reset form beans that are > stored with session scope. Or am I misunderstanding something? > > -wilhelm No, the reset has to be done, otherwise the checkboxes would not work. -- gR

Re: How do you format a date using struts/iterate?

2001-08-15 Thread Gregor Rayman
"Bob Byron" <[EMAIL PROTECTED]> wrote: In your example below, the variable "orders" does not contain the iterator, but the single element of the iterator. You can use the attribute "type" of to set the concrete class type to the variable "orders". Any you should perhaps use the singular "order"

Re: Internationalization of codetables.

2001-08-15 Thread Gregor Rayman
"Juraj Kazda" <[EMAIL PROTECTED]> wrote: > Because code tables are almost (or long-time lasting) static > data, I was thinking about putting a Vector of beans with attributes > corresponding/matching the structure of code table. That means to make > one start-up servlet which will fill all the V

Re: form validation

2001-08-15 Thread Gregor Rayman
"Mike Dewhirst" <[EMAIL PROTECTED]> > How is it possible to validate input in struts for formatting? > > What I mean is, is it possible to check when a string is entered into an > input field that populates an int? It seems that the Controller populates > the int with a 0, which makes it diffi

Re: ActionForm.reset() method

2001-08-14 Thread Gregor Rayman
"Mike Dewhirst" <[EMAIL PROTECTED]> > is automatically called when? When the form is first created by the > Controller? No, it is called always before the controller populates it from the request. -- gR

Re: ActionForm not being updated. Please advice.

2001-08-14 Thread Gregor Rayman
"Alex Colic" <[EMAIL PROTECTED]> wrote: > I am interating through a vector a displaying the results. I have one field > that I want the user to update hence I have made it a text box. When the > page displays, the data is correct but when the user enters something into > the text box and hits sub

Re: Getting locale attribute from session.

2001-08-14 Thread Gregor Rayman
"Juraj Kazda" <[EMAIL PROTECTED]> wrote: > Hello, > > I'm new user of struts framework and I have a problem. > > I would like to make an internationalized application with _everything_ > internationalized. This means that I have a nice graphics (menu too) on > my pages in several language version

Re: How to get a locale object in the constructor of a ActionForm class?

2001-08-14 Thread Gregor Rayman
"Hartmut Bernecker" <[EMAIL PROTECTED]> wrote: > Hi, > > how can I get a locale object in the construtcor of a ActionForm class? > In a login-form I want to set a selectbox containing language > descriptions to the right value ("de" or "en" or "fr" etc). I think the > best way to do that would

Re: LDAP Authentication To Active Directory

2001-08-13 Thread Gregor Rayman
I am. - Original Message - From: "SUPRIYA MISRA" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 13, 2001 1:39 PM Subject: LDAP Authentication To Active Directory > I have successfully implemented LDAP authentication to Microsoft Active > Directory at Wayne State Uni

Re: wrong behavior of checkboxes in forms?

2001-08-13 Thread Gregor Rayman
"Hartmut Bernecker" <[EMAIL PROTECTED]> wrote: > Hello, > > I have a checkbox in a form. If I check it and then submit the form, > then I receive the value "true" in the action when calling the method > form.getMyCheckbox(); > > But if I uncheck the checkbox and submit the form again, then I r

Re: Get request and the Action servlet

2001-08-08 Thread Gregor Rayman
<[EMAIL PROTECTED]> wrote: > I would like to use Struts with an action that is initiated by following a link, > rather the form-based approach that I can see in the documentation. I would also > like the ActionServlet to parse the URI and instantiate my bean with the > information from the URI. I

Re: infinite loop

2001-08-04 Thread Gregor Rayman
What does mean? Shouldn't it be path="/adduser.jsp" ?   -- gR   - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Saturday, August 04, 2001 8:55 PM Subject: infinite loop hi all,   In continuation to my post yesterday,   The f

Re: String as Index

2001-08-03 Thread Gregor Rayman
Hi Fracois, so I've hacked a bit in the beanutils package and now struts does work perfectly with your string based properties. No need to change struts, it is enough to change beanutils. What I dit was: - I've renamed the original BeanUtils class to OriginalPropertyUtils. - I replaced Propert

Re: String as Index

2001-08-03 Thread Gregor Rayman
"Rey Francois" <[EMAIL PROTECTED]> > If you only need the string keyed properties, then don't worry about the > mapper, just use the class com.capco.util.PropertyUtils. > > Fr. I still don't get it. Do I have to change RequestUtils.java and BeanUtils.java? -- gR

Re: String as Index

2001-08-01 Thread Gregor Rayman
"Rey Francois" <[EMAIL PROTECTED]> wrote: > You can use the PropertyUtils that I have created (reusing the Struts one) > within the Mapper framework > (http://www.husted.com/about/struts/resources.htm#extensions). It supports > "string keyed properties", using the notation > 'simple.nested.indexe

Re: String as Index

2001-08-01 Thread Gregor Rayman
"Oleg V Alexeev" <[EMAIL PROTECTED]> wrote: > Now indexed properties can be used only. All properties are processed > by utilites from beanutils package at jakarta-commons. It can parse > indexed properties only. Named properties is great addition, of > course. And of course, you can refactor bea

String as Index

2001-08-01 Thread Gregor Rayman
Hi, as far as I can remember, there was a topic about String as index in property getters/setters here some time ago. I'd like somethigh like this: and aaa{bbb} should be converted to getAaa("bbb") and setAaa("bbb", value). Is there something implemented in this direction already? Can I use

Included Actions

2001-07-31 Thread Gregor Rayman
Hi all, is it somehow possible to include the output of an action in one JSP? Now, when I try to include a *.do page, the server complains, it cannot forward to the action's jsp (of course, since I don't want to forward, I want to inlcude). The only "solution" I've found, is to len the Action's

Re: newbie: initial values

2001-07-25 Thread Gregor Rayman
"ecn11" <[EMAIL PROTECTED]> writes: > Hi. > > I apologize for this probably really stupid question, but I was not able to > find a suitable answer anywhere, yet... > > In my user management I want to provide a way that the users can change > their address (they are already stored in a database

Re: Cutom Tag request

2001-07-25 Thread Gregor Rayman
"Aapo Laakkonen" <[EMAIL PROTECTED]> wrote: > tag would be nice. What others think? Here is some uses: > > > > > > > > > > It just prints string values like tag but does not require name > attribute and cannot be used and associated with form. It also could have > functionality.

Re: Struts + JBoss

2001-07-25 Thread Gregor Rayman
"ecn11" <[EMAIL PROTECTED]> wrote: > Ok, I tried this but the result was the same... > > javax.servlet.jsp.JspException: Exception creating bean of class > foo.bar.myclass: java.lang.ClassNotFoundException: foo.bar.myclass > at > org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:568)

Re: localization ugliness

2001-07-25 Thread Gregor Rayman
<[EMAIL PROTECTED]> wrote: [...] > What I'd like to do is something like: > > > > Of course, this doesn't work. So what I am actually doing is > adding a new method to the bean which duplicates the code > in so that the bean can do the mapping for me. > I then display the string with: > >

Re: & scripting variable

2001-07-24 Thread Gregor Rayman
"Erik Hatcher" <[EMAIL PROTECTED]> wrote: > > But I still can access the form bean in scriplet, only the scriplet is > > more complicated and error prone. And when so many other structs tags > > define scriplet varibales, why should not do it too? > > No arguments here. It certainly could

Re: & scripting variable

2001-07-24 Thread Gregor Rayman
"Erik Hatcher" <[EMAIL PROTECTED]> wrote: > > Perhaps. But sometimes I just want to use the form in a scriplet. > > Perhaps? Well, it DOES create a page scoped attribute - no perhaps about > it! :) I checked the source, FormTag.java. OK, ok :-) > > Now I have to either covert the attribut

Re: & scripting variable

2001-07-24 Thread Gregor Rayman
IL PROTECTED]> Sent: Tuesday, July 24, 2001 7:25 PM Subject: Re: & scripting variable > It does set a page scoped attribute (keyed by the form name from the > mapping) that contains the form object. > > Erik > > > - Original Message - > From: "Gre

& scripting variable

2001-07-24 Thread Gregor Rayman
Hi, why does generate no scripting variable? Would be nice, if it did. -- gR

Re: Struts + JBoss

2001-07-24 Thread Gregor Rayman
> Hi. > > Has anyone of you managed to make Struts and JBoss working together? > > This is my current situation: I use JBoss-2.2.2 + Tomcat-3.2.2 (by > run_with_tomcat.bat - so they are running in one VM) and Struts 1.0. Hi, I use struts in jboss+tomcat. I use 2 configurations: 1st) Sepa

Initializing Application Scope Attributes & *.do in

2001-07-24 Thread Gregor Rayman
Hi, perhaps these are FAQ: 1) My application has menu structure configurable in the database. I want to read the structure from the database when the app starts and store it in an application scoped bean. To be able to read the data, I need a DataSource so I need access to actionServlet. What

Re: Mulitpage form support.

2001-07-23 Thread Gregor Rayman
Try using "session" scope instead of "request". -- gR

Re: Problem with tag?

2001-07-23 Thread Gregor Rayman
"Matthias Brahm" <[EMAIL PROTECTED]> wrote: > This must be an error in the Tag Library Reference (in the source-code > of the bean:message tag there are no name and property attributes)! > Read the Tag Library Guides for the usage of the bean:message tag. In > this documentation name and property

Re: Web app init

2001-07-20 Thread Gregor Rayman
"Fabien Le Floc'h" <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to know if it is possible to have some > code called at the web application initialization > (something like the init() method of the first servlet > called by the web app - which here is ActionServlet). > > Should I just

Re: URL mapping

2001-07-17 Thread Gregor Rayman
> > Doing it this way makes it very easy to map to an action at a later stage if > the requirements have changed. > > Fr. > > > -Original Message- > From: Gregor Rayman [mailto:[EMAIL PROTECTED]] > Sent: 17 July 2001 12:25 > To: [EMAIL PROTECTED] > Subject: Re

Re: URL mapping

2001-07-17 Thread Gregor Rayman
"Chris Callaghan" <[EMAIL PROTECTED]> asks: > Hey all, > > I want to be able to map a URL to certain JSPs which may or may not have > an action involved with them e.g > map /logon to logon.jsp which also has as action also called logon > also /tour to tour.jsp which has no associated action. >

Re: validation problem

2001-07-15 Thread Gregor Rayman
"Yuriy Zubarev" <[EMAIL PROTECTED]> wrote: > David, > > Yes it is. I think that userForm exists after the validation > process (otherwise I would have gotten an error earlier), but something is > wrong > with countriesList. The form is quite big so I'll post part of it. The problem might be tha

Re: Nested classes

2001-07-13 Thread Gregor Rayman
inner class is static? As long as the inner classes are public Struts should be able to get to the properties with reflection. Laine -Original Message----- From: Gregor Rayman [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 6:54 AM To: [EMAIL PROTECTED] Subject: Nested classes

Nested classes

2001-07-13 Thread Gregor Rayman
Hi all, I am using an ActionForm with a collection of Rows which should be editable. My ActionForm contains a property getRow(int i) which returns a bean with the row's properties. Everything work perfectly, when the class returned from getRow(int) is a standalone class. But as soon as I make

Re: Updation using iterate tag

2001-07-11 Thread Gregor Rayman
<[EMAIL PROTECTED]> wrote: > Whoops - my bad (thanks, Gregor!). Had some old code which I hadn't fully > tested and copied in... Was using the indexed names for referencing, and hadn't > thought through the saving stuff!! Apologies. > > Sandeep, you have two options here: use scriptlets, or my

Re: Session Form Reset?

2001-07-11 Thread Gregor Rayman
"DHarty" <[EMAIL PROTECTED]> wrote: > Why does the servlet call the reset method of an action form even when it's > been put in the session scope? > > It doesn't do much good if my session bean is reset to null after every > request! > > D The reset method takes the request as a parameter. Make

Re: Updation using iterate tag

2001-07-11 Thread Gregor Rayman
<[EMAIL PROTECTED]> wrote: > Hi Sandeep, > > Try this: > > > > > > > > > > > > > > and have getter/setter for pricesVector in your MyFormBean and getter/setters > for oldPrice and newPrice in Price obj

Re: Updation using iterate tag

2001-07-11 Thread Gregor Rayman
<[EMAIL PROTECTED]> wrote: > Hi All, > > I have one form bean namely "MyFormBean". > This bean contain vector (pricesVector) of class type "Price". > > The class Price has two attribute "oldPrice" and "newPrice" > > I want to display prices vector in such fashion > >

Re: Diagram of ActionServlet - open for comments

2001-07-10 Thread Gregor Rayman
"Ted Husted" <[EMAIL PROTECTED]> wrote: > 2.1) Before populating the ActionForm bean, the servlet calls the bean's > reset() method. After filling the bean from the reqeust, the servlet > calls the bean's validate() method. If validate returns false, the > servlet forwards the ActionForm bean to

Re: Diagram of ActionServlet - open for comments

2001-07-10 Thread Gregor Rayman
Point 4 could be described in more detail: methods: reset and validate -- gR

Re: Iterate tag update

2001-07-09 Thread Gregor Rayman
The problem is, the generated names of the HTML form elements do not correspond to the names of properties of your ActionForm. Here a sample, how this can be done: In the MyForm class, there have to be two properties (getter methods

Re: [JBoss-user] RE: Struts & Jboss?

2001-07-06 Thread Gregor Rayman
"Assenza, Chris" <[EMAIL PROTECTED]> writes: > Okay...I'll rephrase that last one I sent. :) You won't be able to deploy > the EAR the way you want without properly using the Application Deployment > Descriptor (application.xml). Have you tried doing this? > > Here's a sample one I use for JBo

Re: Setting default value to

2001-07-06 Thread Gregor Rayman
Eda Srinivasareddy writes: > Hi > Is there a way to set a default value to the tags text field? > Thanks > Eda No way! This is not allowed in plain HTML, so Struts cannot do anything about it. If it was allowed, it would be quite HUGE security hole in the browser. -- gR

I18n was: jsp vs do

2001-07-02 Thread Gregor Rayman
onForm, or won't require info up front. Tim Shadel >>> "Gregor Rayman" <[EMAIL PROTECTED]> 07/02/01 11:52AM >>> "Anthony Martin" <[EMAIL PROTECTED]> wrote: > In general, however, you can go to actions directly as long as you supply > the

Re: jsp vs do

2001-07-02 Thread Gregor Rayman
/admin/restart.do) It wouldn't be very bad to go directly to login.do without any data, since this would simply report an error and forward to its input (login.jsp) itself. -- gR > > -Original Message- > From: Gregor Rayman [mailto:[EMAIL PROTECTED]] > Sent: Monday, July

Re: jsp vs do

2001-07-02 Thread Gregor Rayman
"Anthony Martin" <[EMAIL PROTECTED]> wrote: > This is how I understand it. A .do maps to an action then to a .jsp. If > you link directly to a .jsp, the action never executes. Actions are mapped > to a .jsp in the struts-config.xml file. > > I'm sure there are more clear explanations to foll

Re: template and I18N

2001-05-31 Thread Gregor Rayman
"Niall Pemberton" <[EMAIL PROTECTED]> wrote: > 1. This was answered before. See following message: > > http://www.mail-archive.com/struts-user@jakarta.apache.org/msg05207.html Thanks. > 2. IMHO avoid scriptlets. As well IMHO :-) -- gR

Re: template and I18N

2001-05-30 Thread Gregor Rayman
"Johan Compagner" <[EMAIL PROTECTED]> writes: > look at the bean:message tag: > > > > johan Hi Johan, this does not help me. prints the internationalized word Title. But I want to use it in the template to print various titles. Example (without the headers): ApplicationResources.prop

template and I18N

2001-05-30 Thread Gregor Rayman
Hi all, I've just started to use Struts and I have some questions: 1. How can I use the I18N features in the template tags? In my template.jsp I've got the following tag: In the page using this teplate the following: I'd like to replace the German text 'Kalkulation' with its key e.g. 'a

Re: Where's the best place to do authentication

2001-05-22 Thread Gregor Rayman
"Jon.Ridgway" <[EMAIL PROTECTED]> writes: > Hi Shogo, > > Have a look at the 'example' webapp provided with struts, this uses a taglib > to check the user is logged on, I'm sure you could use/amend it to fit your > purpose. > > Jon. I am not very happy with taglibs checking for logged in user. T

Re: Oracle Driver

2001-05-18 Thread Gregor Rayman
"Geoffrey Van Nuffelen" <[EMAIL PROTECTED]> has problems with Oracle driver. Hi Geoffrey, try to a) rename the classes12.zip to classes12.jar if it does not help b) move the file unter jakarta-tomcat/lib directory and restart tomcat if this does not help c) move the file under $JAVA_HOME/li

Re: Oracle Driver

2001-05-18 Thread Gregor Rayman
put it under /WEB-INF/lib/classes12.zip