Problem with form submission

2003-01-08 Thread Suresh Addagalla
Title: Message Hi, I am facing a problem when submitting a form which contains a combo box ("select"). While populating the combo box, I use a form-bean (DynaActionForm) containing a Vector to populate the combo box. When I submit the form (to the same action so that the same page is

Re: Problem running Struts-example on JBoss 3.0

2003-01-08 Thread Iris
Do you have the commons-validator.jar in JBOSS/server/default/lib ? Iris Mervin Williams wrote: I deployed the struts-example sample application onto the Jboss 3.0 server, but am getting errors. If anyone has the struts-example running on Jboss 3.0, please let me know how you overcame these

Please help no getter method nightmare

2003-01-08 Thread kiuma
Hi all, I've a big problem in my project: I can't add any getter method in any new form since on every jsp form i get back message. javax.servlet.jsp.JspException: No getter method for property fooProp of bean org.apache.struts.taglib.html.BEAN I tryed with several foms (also the famous

Re: Problem with form submission

2003-01-08 Thread Iris
What is your jsp code ? Suresh Addagalla wrote: Hi, I am facing a problem when submitting a form which contains a combo box (select). While populating the combo box, I use a form-bean (DynaActionForm) containing a Vector to populate the combo box. When I submit the form (to the same

RE: Problem with form submission

2003-01-08 Thread Suresh Addagalla
Hi, Attached is services.jsp. It mainly access the form-bean containing two Vector and displays two combo boxes. The flow is as follows. services.do populates the 2 vectors in servicesForm (DynaActionForm) and forwards to services.jsp. Services.jsp accesses the servicesForm and displays the

Re: nested tags

2003-01-08 Thread Mark Lowe
Something along these lines might help html:select property=myname html:options collection=myarray property=value / /html:select if you've a map you can use html:select property=myname html:options collection=myhash property=key labelProperty=value / /html:select cheers mark

RE: XSLT Struts

2003-01-08 Thread ROSSEL Olivier
That would be the past IMO. Apache HTTP and Cocon and similar are PITA. ... you can publish static text from Struts like this: - Store XML content in a db field. (from user input or RSS feed). - XSLT it and cache HTML cache in a db field. Or many variations such as Styxx browser side.

RE: Weblogic problem with Struts V1.1-b2 or 3

2003-01-08 Thread Arnaud HERITIER
It is a bug in WLS 6.1 SP2 and before. To use Struts 1.1 with WLS 6.1 SP2 I needed to install this patches on the server : 062920 When specifying an exception-type in web.xml in a webapp (the exception class is located under WEB-INF/classes) when the webapp is deployed, WebLogic Server was not

Re: Problem with form submission

2003-01-08 Thread Iris
I think the problem is that the property of your select (serviceSets) is a Vector, it must be a String if the select is not multiple. The property of the select is where the result is submitted, so it must be a String (if not multiple) or an array (if multiple). Only the collection of the option

Acessing Session Scope Form Bean

2003-01-08 Thread ashokd
Hi, How to acess the Session Scope Form Bean in Action (this action related to another form) Class. Thanks in Advance, Ashok.D -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: using Log4J

2003-01-08 Thread ashokd
Hi, You write your own class, in that you write a method log(ClassName, PropertiesName,DebugStatement). In that method put the below code: PropertyLocator propertyLocator = new PropertyLocator(PropertiesName); PropertyConfigurator.configure(propertyLocator.getFilePath());

How should I pass an exposed bean variable as custom tag parameter?

2003-01-08 Thread Loren Hall
Arg, i can't see how to pass bean variables as parameters to my own custom tag. It seems like this should be easy, but it appears to be a common problem, previous posts have led to my attempting various methods . . . without success, perhaps since i'm trying to pass an array. Please help! I'm

RE: Problem with Weblogic 6.1 sp2 and Struts 1.1 Beta 3

2003-01-08 Thread Arnaud HERITIER
it is bug in WLS. If you need to use the 6.1 SP2 then you should apply this patchs : 062920 When specifying an exception-type in web.xml in a webapp (the exception class is located under WEB-INF/classes) when the webapp is deployed, WebLogic Server was not finding the exception class and

struts and session size

2003-01-08 Thread george . baxter
I'm a newb to struts, investigating it as a replacement to our home-grown framework. The big issues we're dealing with are scalability and fail-over support. The combination of the two issues require that the session size and number of objects remain small (and generally immutable) for

RE: Using struts with cocoon and Jrun

2003-01-08 Thread ROSSEL Olivier
Dear friends, I want to use cocoon with struts and Jrun And I want to use jsp instead of xsp. How can I configure cocoon to use jrun as JSPEngine,...? It's probably more a question for [EMAIL PROTECTED] Cocoon provides a JSPGenerator. Use your JSP as you would use your XSP, just say the

RE: XSLT Struts

2003-01-08 Thread Fabrice . Bocquillon
there is a missing .ZIP at the end of your line. fabrice. -Original Message- From: Eric Gignac [mailto:[EMAIL PROTECTED]] Sent: mardi 7 janvier 2003 22:37 To: Struts Users Mailing List Subject: Re: XSLT Struts This url don't work ! Where I can find this resource ?

Re: Please help no getter method nightmare

2003-01-08 Thread kiuma
I partially solved this error writing html-el:form action=/main name=chooseAgendaForm type=com.wingstech.webappointments.ChooseAgendaForm but why does this work only with this deprecated solution??? Thanks in advance, kiuma kiuma ha scritto: Hi all, I've a big problem in my project: I can't

NoClassDefFound exception in JBoss3 with integrated TomCat when instantiating Actions

2003-01-08 Thread Andrew Hill
We are making an attempt to run our J2EE app (which uses a struts front end) on the integrated JBoss+TomCat platform. (version: jboss-3.0.0-tomcat-4.0.3, struts1.1b1) We have been running out TomCat seperately to our JBoss (on same machine usually) so far during development without encountering

Fw: Acessing Session Scope Form Bean

2003-01-08 Thread ashokd
Hi, How to acess the Session Scope Form Bean values in another Action class(this action related to another form) Class. Thanks in Advance, Ashok.D -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Cocoon and Struts [Was: RE: XSLT Struts]

2003-01-08 Thread ROSSEL Olivier
I just started developing webapplications with struts. It's great for the application-part of the website, but for the publishing of static text I don't see much advantage using struts. For that I see a great advantage in using cocoon. Now I didn't use cocoon yet. But for me the ideal

Re: struts and session size

2003-01-08 Thread Mark Lowe
How many things you put in the session is up to you.. You basically make strutures (arrays, maps and such forth) available to your presentation layer by putting into the session, request or application scope depending on what your things have to do.. Issues relating to session will have more

Re: Odd Tiles Behavior with 2003-01-01 Nightly Build

2003-01-08 Thread Cedric Dumoulin
Hi, Can you please fill a bug report in bugzilla ? For me the problem is that the PageContext.include() and the RequestDispatcher().include() don't behave the same. The insert tag implementation has been switched from PageContext to RequestDispatcher as of 02.12.29. What I do not

RE: Cocoon and Struts [Was: RE: XSLT Struts]

2003-01-08 Thread Alireza Fattahi
I Confused when I read you email AND an article about XMLForms from http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormsStruts !! Can we replace all the struts functionality with cocoon? Is cocoon a MVC frame work too? I thought cocoon works on presentation layer only. By the way, can you explain

Re: Tiles Plugin Exception

2003-01-08 Thread Cedric Dumoulin
Hi, It looks like your webserver try to serialize the TilesRequetProcessor. Unfortunately the RequestProcessor is not serializable. There was a discussion on whether or not it should be serializable in the struts-dev list. You can check the archive to now the arguments. The

Re: Odd Tiles Behavior with 2003-01-01 Nightly Build

2003-01-08 Thread Malte Gaudig
Zsolt Koppany wrote: Setting flush=true inside of iterate throws an Exception. Zsolt Yes, exactly: Can't insert page '/layouts/imageIcon.jsp' : Illegal to flush within a custom tag That's why I set the flush attribute explicitly to false in beta 2. Is there any way to fix this

RE: [OT] Re: Oracle JDeveloper 9i and Struts Tomcat deployment

2003-01-08 Thread PILGRIM, Peter, FM
-Original Message- From: Steve Muench [mailto:[EMAIL PROTECTED]] Sent: 07 January 2003 20:40 To: Struts Users Mailing List; Rick Reumann Subject: Re: [OT] Re: Oracle JDeveloper 9i and Struts Tomcat deployment Rick, Sounds like you're not using the latest production release

RE: Cocoon and Struts [Was: RE: XSLT Struts]

2003-01-08 Thread ROSSEL Olivier
I Confused when I read you email AND an article about XMLForms from http://wiki.cocoondev.org/Wiki.jsp?page=XMLFormsStruts !! Can we replace all the struts functionality with cocoon? Is cocoon a MVC frame work too? I thought cocoon works on presentation layer only. Cocoon is not a

What is the best practice to forward from an Action to an other Action?

2003-01-08 Thread Marc Guillemot
Hi, I'm not completely satisfied with the way to perform a forward from an Action to another using such a configuration because I think the .do is something specified in web.xml and this should not import for struts: - action path=/actions/firstAction type=example.SecurityAction

RE: [OT] Re: Oracle JDeveloper 9i and Struts Tomcat deployment

2003-01-08 Thread PILGRIM, Peter, FM
-Original Message- From: Steve Muench [mailto:[EMAIL PROTECTED]] BC4J does not contain any LDAP code in its JAR's. We use the standard JAAS API's for security stuff and standard JNDI API's. Likely the class you need is in your ./j2ee/home/jazn.jar The predefined library

Re: struts and session size

2003-01-08 Thread george . baxter
I'm aware that the developers USING struts have to be careful about how much they put into session. We can control this. What I'm concerned about is how much struts might be doing on its own, such as storing the locale. A few things stored in session is ok, especially if they don't change with

Using Struts for web tier of a J2EE application

2003-01-08 Thread souravm
Hi All, As I know, Struts is mainly used for developing web applications. However, people are also in opinion of using it for designing web tier of a J2EE application. Looking for your comments on using Struts as the application framework for web tier part of a J2EE application. An analysis on

Re: struts and session size

2003-01-08 Thread Mark Lowe
george I never had to solve the problem but I believe that maintaining a session across machines can be problematic , at least with tomcat 3.*... Sorry i can be much help in a detailed way becuase I've never tested this.. It could be nonesense, i'm not sure.. I'm sure they'll be some package

Passing data to presentation objects

2003-01-08 Thread Suresh Addagalla
Hi, I have been reading a lot of material on Struts, but I could not get answer to my question. What is the recommended strategy (or a design pattern) to pass data to the view objects (JSPs in my case)? One reply I got is to use the form-beans associated with the actions to pass data to the

RE: Passing data to presentation objects

2003-01-08 Thread souravm
Hi Suresh, You can put your output data in a request attribute, say OutputObject, and access that object in the JSP through the name outputObject. However, in that case your JSP need to know the type of Output object. For value object please check Blueprint's design pattern cateloge in

JSPWriter prints ???

2003-01-08 Thread Sakis Chatzinikolaou
Hi all, I am using Struts 1.0.2 with mySQL 3.23. I have some records in the DB which are in greek charset. The recorset form mySQL comes OK in Greek from the Action bean. I verify this in the debugger because the html select is well defined. I get select . with the greek characters in the

RE: Wanted a Good Struts Book

2003-01-08 Thread mech
Avoid Mastering Jakarta Struts. It was on sale at Amazon, so I took it (at that time all newer (more) up-to-date books weren't available yet). Actually for a simple application it's okay, but I got the impression that it's not really complete. It's somewhere stuck in between Struts 1.0 and 1.1. I

'collection' dropdown trouble

2003-01-08 Thread david . heagney
Hi, I'm a STRUTS newbie and I've been trying to get a 'collection' dropdown to work for what must be a couple of weeks now... The code I'm using to display the dropdown in my JSP is: html:select property=memPeriodFromMonths multiple=true html:options collection=memPeriodFromMonths

RE: 'collection' dropdown trouble

2003-01-08 Thread Suresh Addagalla
Example: bean:define id=list name=servicesForm property=services type=java.util.Vector/ html:select size=5 property=services styleClass=FieldText html:options collection=list property=code labelProperty=name/ /html:select Here, servicesForm is the bean and it has a property called

RE: Advanced JSP page help.

2003-01-08 Thread Arnaud HERITIER
You can look this taglibraries to help you : http://struts.application-servers.com/ http://edhill.its.uiowa.edu/display-0.8/ Arnaud -Message d'origine- De : Heligon Sandra [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 8 janvier 2003 11:49 À : '[EMAIL PROTECTED]' Objet : Advanced

Re: Problem with Weblogic 6.1 sp2 and Struts 1.1 Beta 3

2003-01-08 Thread V. Cekvenich
Or just try Tomcat (or Resin). In general, if one has bugs in BEA or IBM, a good idea is to test the reference implementation (Tomcat) to see if you can reproduce, which will tell you if it is a container bug. Tomcat has a lot more market share (and therefore more users) and one of the main

RE: JSPWriter prints ???

2003-01-08 Thread Mouratidis, Georg
I guess that you use ApplicationResources.properties to display your options-values. If so, there is in struts-config.xml an attribute in the message-resources-tag. With this attribute ( sorry, i dont know the name ) you can tell struts what to do if it can nout find the appropriate resource key.

Re: Wanted a Good Struts Book

2003-01-08 Thread Kevin . Bedell
Reviews and feedback on my book, Struts Kick Start, have been very good so far. The primary differences I can see for this book are its detailed taglib examples and the enclosed CD-Rom which contains a good number of open source packages like Struts, Tomcat, Axis, JBoss, XDoclet, Mysql, etc.

Prototyping a web application before development

2003-01-08 Thread Alireza Fattahi
Hi, I have a question about prototyping a web application before development. We want to prototype each part or all of the application before coding for our CUSTOMER. We expect from this proposal to have the functionality of pages in detail. Below is a sample of description that this prototype

NoClassDefFoundError

2003-01-08 Thread Eric Jain
Trying to access one of the Struts classes such as RequestUtils from a class located under 'WEB-INF/classes' (e.g. for use within custom tags) results in a NoClassDefFoundError, even though all Struts-related jars are in WEB-INF/lib. Other than that, everything works fine. I am using Struts 1.1-b3

RE: JSTL-XML does not work

2003-01-08 Thread Mouratidis, Georg
-Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 7. Januar 2003 21:31 To: [EMAIL PROTECTED] Subject: Re: JSTL-XML does not work

RE: NoClassDefFoundError

2003-01-08 Thread Andrew Hill
No ideas from me Im afraid. Im having a similar problem where its not finding the classdef for my action classes superclass when RequestUtils tries to instantiate it... Thats with JBoss3 and Tomcat4.0.3 integrated in a struts 1.1b1 app - Im starting to wonder if maybe JBoss3 doesnt have some kind

Doubt Regarding Form Scope In Struts

2003-01-08 Thread ashokd
Hi, I observed that Form scope is setting at actionMappings (in struts-config.xml). Is their any way to set the scope of the form. Thanks in Advance, Ashok.D -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: nested tags

2003-01-08 Thread Brown, Melonie S. - Contractor
Is there a way to get back the key/value pair that was selected (without using hidden fields)? Melonie Brown -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 3:57 AM To: Struts Users Mailing List Subject: Re: nested tags Something along

RE: Wanted a Good Struts Book

2003-01-08 Thread Brown, Melonie S. - Contractor
I think I now own most of the Struts books currently available on the market. :) The only one that I have seen so far that has detailed examples on the html tags is the Struts KickStart by Turner and Bedell. All of the rest of them say to look at the API. Unfortunately, the API isn't a lot of

RE: Passing data to presentation objects

2003-01-08 Thread VEDRE, RANAPRATAP REDDY
This is how i use value objects. I have a property in my form called view. It is user written class and contains all the information that needs to be available in the jsp. This view object has to be initialized in ur action class before forwarding to the jsp. I find this especially useful

Re: JSTL-XML does not work

2003-01-08 Thread V. Cekvenich
Test out your XML with outside with a XSLT, easy via browser (all new browser will do XSLT). The basicPortal above does work with XML in a DB and XSLT, the site baseBeans.com uses basicPortal. .V Mouratidis, Georg wrote: -Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]]

Re: Wanted a Good Struts Book

2003-01-08 Thread V. Cekvenich
http://www.oreillynet.com/pub/wlg/2287 Above is great article! .V [EMAIL PROTECTED] wrote: Reviews and feedback on my book, Struts Kick Start, have been very good so far. The primary differences I can see for this book are its detailed taglib examples and the enclosed CD-Rom which contains a

RE: JSTL-XML does not work

2003-01-08 Thread Mouratidis, Georg
-Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 8. Januar 2003 14:19 To: [EMAIL PROTECTED] Subject: Re: JSTL-XML does not work Test out your XML with outside with a XSLT, easy via browser (all new browser will do XSLT). This way it works. But i dont

Re: Doubt Regarding Form Scope In Struts

2003-01-08 Thread SCOTT VENTER
You can also imply the form scope in your action class by using something like this: Session Scope:: reqData.setSessionAttribute(DetailsForm, nextForm); Request Scope:: reqData.setRequestAttribute(DetailsForm, nextForm); [EMAIL PROTECTED] 01/08/03 11:54pm Hi, I observed that Form scope is

RE: value=bean:write../ question

2003-01-08 Thread Siggelkow, Bill
You cannot use a tag as a value of an attribute in a tag -- you need to use a Runtime Expression (or expression language if you are using JSTL) as in the following: html:hidden property=sectionName value=%=ac.getSection().getName()%/ -Original Message- From: Vijay Balakrishnan

LocaleBeanUtils question repost

2003-01-08 Thread david chan
Hi, I am looking for LocaleBeanUtils.copyproperties example. I have a valueobject which contain some sql date memeber and a formobject with corresponding string memeber. I want to copy the valueobject to formobject and convert the date object to a string MM/dd/ when copying the bean. So I try

Insertinf xslt output into a jsp

2003-01-08 Thread Simon Kelly
Hi all, I am trying to use the struts architecture for my web site, but I need to use xslt to transform my xml output. (Not the way I would do it, but I have no choice). I found a snipit of code that I though may do the trick, [snip] %@taglib uri=http://jakarta.apache.org/taglibs/xsl-1.0;

Re: value=bean:write../ question

2003-01-08 Thread Sander Hofstee
You could use: bean:define name=myBean property=myProperty id=myId type=String/ ... value=%= myId% .. -Original Message- From: Vijay Balakrishnan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 8:15 PM To: 'Struts Users Mailing List' Subject: value=bean:write../

RE: Advanced JSP page help.

2003-01-08 Thread Heligon Sandra
Thanks for these links but I have an another question. When one wants to create a page JSP for a Struts application it is very difficult to know which technology used. The software components are numerous: - Basic HTML tags (not specific to Struts) - Basic Struts tags

RE: 'collection' dropdown trouble

2003-01-08 Thread Sri Sankaran
If you look at the docs for html:options and in particular for its 'collection' attribute you will note that the value of the 'collection' attribute must be a java.util.Collection of JavaBeans. Each bean in this java.util.Collection must have the properties named by the 'property' and

RE: Problem running Struts-example on JBoss 3.0

2003-01-08 Thread James Mitchell
The only 3.x version of JBoss/Tomcat that I can run without having to deploy validator.jar outside of my war is jboss-3.0.3/tomcat-4.0.5. There are classloader issues, but I have not followed the details for resolving it (if there is even a fix). -- James Mitchell Software Engineer/Open Source

RE: 'collection' dropdown trouble

2003-01-08 Thread Sri Sankaran
Oh! And one other thing, the 'property' attribute of the html:select represents the user's selection(s). So your form-bean should set up an String[] (since you want to allow multiple selections) where these can be stored. Sri -Original Message- From: Sri Sankaran Sent: Wednesday,

RE: How should I pass an exposed bean variable as custom tag parameter?

2003-01-08 Thread Sri Sankaran
The reason nested:nest property=submission nested:iterate property=attributes .. works is because the nested tags keep track of the context in which they are in; i.e. the call to the 'attributes' property by nested:iterate is made relative to the parent bean which is 'submission'. For

What is the best way to convert a given set of data(Value bean List ) in PDF format...??

2003-01-08 Thread shirishchandra . sakhare
Hi all, I have following requirement in our struts application. .After user does a query on database,a set of records is returned to him on screen in a table format.He can then ask the same data to be given in PDF format so that he can print it. My question is what is the best way to do this?

Re: XSLT Struts

2003-01-08 Thread Johan
ROSSEL Olivier wrote: That would be the past IMO. Apache HTTP and Cocon and similar are PITA. ... you can publish static text from Struts like this: - Store XML content in a db field. (from user input or RSS feed). - XSLT it and cache HTML cache in a db field. Or many variations such as Styxx

Re: struts and session size

2003-01-08 Thread jordan_d_reed
The one thing I would say to watch out for is the persistent of form information in session for wizards. If you have a form that stretches across multiple pages in the standard wizard pattern, the way I've seen it done in Struts is to use the Session scope for the form bean. There is no

RE: What is the best way to convert a given set of data(Value bea nList ) in PDF format...??

2003-01-08 Thread ROSSEL Olivier
Hi all, I have following requirement in our struts application. .After user does a query on database,a set of records is returned to him on screen in a table format.He can then ask the same data to be given in PDF format so that he can print it. My question is what is the best way to

RE: struts and session size

2003-01-08 Thread Andrew Hill
Afaik - you have to remove it yourself (in your action generally) when you have finished with it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 22:28 To: Struts Users Mailing List Subject: Re: struts and session size The one

RE: XSLT Struts

2003-01-08 Thread ROSSEL Olivier
That would be the past IMO. Apache HTTP and Cocon and similar are PITA. ... you can publish static text from Struts like this: - Store XML content in a db field. (from user input or RSS feed). - XSLT it and cache HTML cache in a db field. Or many variations such as Styxx browser side.

Re: Struts-EL, WebLogic v6.1 SP3 and JSP compilation errors

2003-01-08 Thread John Bigboote
Thanks, David. That fixed it. BTW, I neglected to mention another error I had with the Struts-EL exercise application prior to the 'bundle' attribute issue. I was getting a runtime exception: exception java.lang.NoClassDefFoundError: org/apache/commons/validator/ValidatorResources at

Re: XSLT Struts

2003-01-08 Thread V. Cekvenich
XML in files, and not in DB is fine for small site, or if you do not have a lot of consent turn over. But it is much easier to operate a large site, whit a lot of approval, editing, etc. and complex custom layouts (tiles) if you store XML content in a db, IMO. Ex: flag content as approved.

Re: Using Struts for web tier of a J2EE application

2003-01-08 Thread David Graham
What do you mean by J2EE application? Struts can be used with all J2EE technologies like servlets, jsp, ejb, and jstl. David From: souravm [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Using Struts for web

RE: XSLT Struts

2003-01-08 Thread ROSSEL Olivier
XML in files, and not in DB is fine for small site, or if you do not have a lot of consent turn over. But it is much easier to operate a large site, whit a lot of approval, editing, etc. and complex custom layouts (tiles) if you store XML content in a db, IMO. Ex: flag content as

Re: Advanced JSP page help.

2003-01-08 Thread V. Cekvenich
One opinion: Use HTML-EL for updateable fields, and JSTL for general processing. Use tiles for layout. Use special tags for special formats (menu, display, tree, tab, calendar all have JSP tags). .V Heligon Sandra wrote: Thanks for these links but I have an another question. When one wants to

Re: XSLT Struts

2003-01-08 Thread V. Cekvenich
ROSSEL Olivier wrote: XML in files, and not in DB is fine for small site, or if you do not have a lot of consent turn over. But it is much easier to operate a large site, whit a lot of approval, editing, etc. and complex custom layouts (tiles) if you store XML content in a db, IMO. Ex:

Re: Wanted a Good Struts Book

2003-01-08 Thread Kevin . Bedell
Thanks Vic! My thanks to O'Reilly for providing me the column space!

Call Struts Action from JS

2003-01-08 Thread Gus Delgado
when I call an action from JavaScript like this, it works fine under Mozilla (Netscape) but I get a warning under IE, any ideas how to get around that popup. Error: Object does not support this property of method on the line that I call the struts action. If I select no on the popup it will

RE: Advanced JSP page help.

2003-01-08 Thread Heligon Sandra
To group several actions in order to not overload the server is it better (1) to have a check-box column named select in the table that allows to identify all the records of the table that will be concern by the next action (save, submit or other) or (2) allow the multiple row selection on the

RE: Call Struts Action from JS

2003-01-08 Thread Siggelkow, Bill
What type of object is formObject? That is, how are you calling this function (e.g. from onclick? or some other event handler). If 'formObject' is actually the 'document' then you would do something like ... formObject.forms[0].action=%=request.getContextPath()%/getAccounts.do;

Database generated Reports with Struts Taglibs

2003-01-08 Thread Sterin, Ilya
Hi, I'd like an opinion on generating database reports with struts, though using an Action class or a custom bean to generate it, then be forwarded to the presentation layer. I didn't see any examples in the Struts in Action book, so I was wondering on the best practice. Also, my problem is,

RE: Call Struts Action from JS

2003-01-08 Thread Siggelkow, Bill
Also, I meant to say that the error from IE is saying that in its DOM it doesn't have the property you are referring to. If the formObject is actually the form itself then eliminate the 'form' property ... in other words, you would have:

Re: Advanced JSP page help.

2003-01-08 Thread V. Cekvenich
If I understand you, both would work, and very minor load difference. Yes you can do multirow updates, it is done all the time. .V Heligon Sandra wrote: To group several actions in order to not overload the server is it better (1) to have a check-box column named select in the table that

RE: Struts based app. and SSL doesnt work together

2003-01-08 Thread Maris Orbidans
We use Tomcat 4.0 and Apache HTTP server 1.3.27. SSL support is installed in Apache, and it uses mod_proxy to talk to Tomcat. Maris -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 7:29 PM To: Struts Users Mailing List Subject: Re:

Ask confirmation before to apply action

2003-01-08 Thread Heligon Sandra
If we need to ask confirmation to the user before to make an action when he click on a button, what solution do we have ? -display a child window with the corresponding message and reply buttons (Yes) (No) ? do you have a code example ? We are forced to use

RE: Advanced JSP page help.

2003-01-08 Thread Siggelkow, Bill
V, When you replied Yes below you seemed to indicate HTML provided some sort of built-in ability for multi-row selection in a table (not in a select control) -- I do not believe that HTML provides such -- however, you can indicate of rows in a table using a variety of input controls

RE: Ask confirmation before to apply action

2003-01-08 Thread Siggelkow, Bill
This is not a Struts question ... however, if you want a modal dialog -- that is, one where the user has to respond before continuing -- you need to use JavaScript. I am not trying to be critical but it sounds like you need to spend a little time learning the capabilities of HTML and browsers

What am i missing? Question about tlds

2003-01-08 Thread Jeff Born
I just started using struts-el. Everything seems to be working fine, however I never defined the struts-html-el.tld in the web.xml. My question is why does this work. Why should I put the tld definitions in the web.xml? Thanks, jb -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: What am i missing? Question about tlds

2003-01-08 Thread Jarnot Voytek Contr AU HQ/SC
I believe those are just aliases to allow you to abstract the actual path to the tld. -Original Message- From: Jeff Born [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 10:25 AM To: Struts Users Mailing List (E-mail) Subject: What am i missing? Question about tlds I just

RE: Ask confirmation before to apply action

2003-01-08 Thread Heligon Sandra
Thank you for your reply, It is true that it is not a Struts specific question, has someone a good(active) adress of a HTML forum or mailing list to ask general HTML questions ? -Original Message- From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]] Sent: 08 January 2003 17:35 To: 'Struts

Re: JSPWriter prints ???

2003-01-08 Thread Sakis Chatzinikolaou
Georg thanks for your concern. The options are not from the resources file. They are read from mySQL. I use the html:select and the html:options tag to display the records. I debugged the Options Taga from the struts source and it calls ResponseUtils.write(pageContext, sb.toString()); which is

RE: Validator problem with optional fields

2003-01-08 Thread Alistair Cairns
Cary Sorry this email does not provide an answer to your problem. I am coming across exactly the same problem. I was using 1.1b2 and downloaded 1.1b3. to overcome it. I see the problem with the minlength validator. if I have the following : field property=packageComments

Re: [OT] Re: Oracle JDeveloper 9i and Struts Tomcat deployment

2003-01-08 Thread Steve Muench
| I did a build of a project [ALT+F9]. I get this error message in a JSP | Error: java.lang.ExceptionInInitializerError: java.lang.NullPointerException This was an issue JDeveloper 9.0.2 and no longer occurs with JDeveloper 9.0.3, the current production release. Despite only the change of the

RE: 'collection' dropdown trouble

2003-01-08 Thread PILGRIM, Peter, FM
-Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: 08 January 2003 14:06 To: Struts Users Mailing List Subject: RE: 'collection' dropdown trouble If you look at the docs for html:options and in particular for its 'collection' attribute you will note that the

html:form action not rendering properly when using multi-app

2003-01-08 Thread Michael Venegoni
Hello- I am running into a problem when using the html:form when using the mulit-app feature of 1.1b2 version of struts. The action which is rendered from my html:form tag is is being set to action= /[subapp] and not to the desired action=/[subapp]/foo.do.I am using the action to

Re: Database generated Reports with Struts Taglibs

2003-01-08 Thread Dan Tran
1. Provide a query screen 2. Load the collection of your custom bean based on search criteria screen (1) 3. Forward the collection bean (thru session object) to Display tag to allow user to page thru (http://edhill.its.uiowa.edu/display-0.8/) 4. The display tage also have option to export the

Re: html:form action not rendering properly when using multi-app

2003-01-08 Thread Eric Jain
url-pattern/*.do/url-pattern url-pattern*.do/url-pattern Does this help? -- Eric Jain -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: What am i missing? Question about tlds

2003-01-08 Thread Jeff Born
OK the prefix in the JSP page is the alias. I understand that and use it in all my JSPs that utilize taglibs. The question then becomes why do I have them listed in my web.xml. Unless I'm missing something they just seem to add clutter. What is the benefit of adding this to the web.xml file?

Adding another servlet into the mix

2003-01-08 Thread Vincent Stoessel
Hello, I am playing with inetsoftware's crystalclear servlet. I have it running in a seperate context than my struts app. I was wondering if editing and adding their servlet into my struts context break the single servlet rule. This servlet only generates reports and would not try to be a

Struts and Taglibrary XTags

2003-01-08 Thread Rajshree Vivekanandan [EMAIL PROTECTED]
Has anyone worked with tagLibrary Xtags in Struts? If so, could you please help me. I know it is different from Stxx, by allowing XML to be styled and processed from directly within a JSP page using familiar XSLT and XPath techniques. Can you also give me (dis)/advandatges of Xtags over Stxx.

RE: What am i missing? Question about tlds

2003-01-08 Thread Jarnot Voytek Contr AU HQ/SC
So take them out of web.xml - I did, for exactly that same reason (clutter). The benefit is _abstracting the actual path to the tld_. -Original Message- From: Jeff Born [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 11:45 AM To: Struts Users Mailing List Subject: RE: What

  1   2   >