Stuts-simple doesn't work (husted.com)

2001-11-15 Thread tw . richter
Hi out there! I want to run the struts-simple example for wizards found in husted.com. But it doesn't work. It did not find /do/... There is no struts-config in /web-inf/, only a struts.xml in /web-inf/conf/. Is this example for another struts version? Regards Thomas :-) As sceptical as one

RE: Reading Session Size.

2001-11-15 Thread Alexander Jesse
Hi, looking for something similar ourselves...because we were already burned badly by big session-objects (crashing JVM's...). Let us know when you find something. thanks Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14,

RE: request scope and forms

2001-11-15 Thread Alexander Jesse
nothin to do with bean-magic just pure http. work-arounds: - session - either the form-bean or the vector - Renauds serialized form-bean regards Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 6:57 PM To: [EMAIL

RE: properties file in action class

2001-11-15 Thread Alexander Jesse
In your first mail you write that you want to do it in ActionServlet... then you must extend it... In your action-class you could define a static property object, which you lazy-initialize. When you need it, check for a null-value. If null: read the property-file and populate the propety-object;

RE: Trying to understand the Action and Form paradigm

2001-11-15 Thread Marcel Andres
Hi Nicolas, The perform is called when you invoke the .do. If you invoke the .jsp the action is not called. As much as I know, if you expect the value of password2 to be set when you forward to the register page, you should forward to the .do instead of the .jsp. Hope this helps, Marcel

RE: problem with bean:write in an include

2001-11-15 Thread Marcel Andres
Hi Ken, are you sure, the value is set in the form? I think, this could be the same problem, which has been asked by Nicolas. See subject Trying to understand the Action and Form paradigm. Marcel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday,

Iterate tag

2001-11-15 Thread Daniel WAMARA
I need to use the iterate tag to display elements of 2 arrays but the problem is that I don't know if I can really use a nested iteration considering the fact that normally, in Java, it should for example be handled like this for (int i=0; i=list.length-1, i++) { System.out.println(a[i]);

Error when forwarding from action to action

2001-11-15 Thread Anat Rozenzon
hi all, I'm trying to forward from one action to another and get forward exception. I have a LoginAction which checks all the login data and if it's ok it should forward the request to HomeAction which prepare data for personal home page. I see in the logs that the LoginAction is processed

Re: Trying to understand the Action and Form paradigm

2001-11-15 Thread Nicolas Sallembien
Hi Marcel, I don't want anything to be set. My RegisterForm and RegisterAction are expected to be called whenever I submit on the register.jsp page. I just want to go to register.jsp when I hit the link from login.jsp. Thanks Nicolas Marcel Andres wrote: Hi Nicolas, The perform is

Re: How to reuse HTML code?

2001-11-15 Thread Cedric Dumoulin
Have you take a look at the Tiles framework ? It is design to do such things : it allows to call a component, passing it some parameters (like a method). Component can then deal with parameters. Parameters are only visible inside the component (like method parameters), so you don't have to

Re[2]: Trying to understand the Action and Form paradigm

2001-11-15 Thread Maciej Koodziej
Witam, W Twoim mail'u z dnia 15 listopada 2001 mona przeczyta: I am getting this problem: /register.jsp(60,46) Attribute password2 has no value I think this is a parse error in line 60 column 46. In my application's login.jsp definition of password field looks like that: html:password

Newsgroup

2001-11-15 Thread Vic Cekvenich
There is now another mirror of the Struts mail list at news.basebeans.com as a newsgroup forum. It does not replicate post back to mail list yet ( it will in a week). More good stuff comming HTH, Vic -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: request scope and forms

2001-11-15 Thread twrichter
Hi Andy, how exactly did you do that? Many thanks in advance twr -Original Message- From : Andy Noble [EMAIL PROTECTED] To : Struts Users Mailing List [EMAIL PROTECTED] Date : 14 November 2001 17:35:49 Subject : Re: request scope and forms I had this very problem. You want the best of

Re[3]: Trying to understand the Action and Form paradigm

2001-11-15 Thread Maciej Koodziej
Hi, MK Witam, MK W Twoim mail'u z dnia 15 listopada 2001 mona przeczyta: Hmm Sorry for that. Forgot to change my template :) -- Best regards, Maciej -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Stuts-simple doesn't work (husted.com)

2001-11-15 Thread Rob Breeds
Thomas struts-simple does work! The struts config file does not have to be in the WEB-INF dir - it's location is specified in web.xml. The struts.xml file is the config file in this case. Rob

Re: request scope and forms

2001-11-15 Thread Andy Noble
Hi twr, Well, in my original plan (using 'edit record' for example): 1. The user sends a request to edit a record 2. Retrieve data from db, populate ActionForm and store in session 3. Populate HTML form send to user for editing. 4. User edits, makes changes and posts data back 5. Action picks

RE: Trying to understand the Action and Form paradigm

2001-11-15 Thread Marcel Andres
O.k., it is not that you want to pre-set some values. Could you include your jsp. As Maciej wrote, it could be a problem on the jsp, too. Marcel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 11:07 AM To: [EMAIL PROTECTED]

Pool problem

2001-11-15 Thread Inés Pederiva
Hi everyone! I have a problem with the pool of connectcions that struts provides. I work with Microsoft SQL-Server and when I query my database (all through stored procedures) everything works fine. The problem is when I call a stored procedure to update or delete some data. It

RE: Pool problem

2001-11-15 Thread Roumen Ganeff
check to see if you have the property of the datasource/connection autocommit=true; or you shoudl call after each update connection.commit() G. -Original Message- From: Inés Pederiva [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 1:36 PM To: [EMAIL PROTECTED] Subject: Pool

Recursive loop through an object collection

2001-11-15 Thread Stephen . Thompson
Hello All, I am looking for a way to loop through an object structure to retrieve some information to populate a list box. The object structure looks similar to the following: Root Object 1 Object 2 Object 3 Object 4 Object 5 Object 6 Object 7 I need to retrieve the

RE: Recursive loop through an object collection

2001-11-15 Thread Rey Francois
Some ideas: - Struts/Jakarta Common BeanUtils and PropertyUtils: the nested property feature allows you to write things like getProperty(bean, object1.object2.object3.field), even in struts tag. Requires no changes to the objects. Best if the structure is stable. - Visitor pattern, however

Can anyone help on this?

2001-11-15 Thread Konstantina Stamopoulou
Hello, I'm using a template for my application and for the main content I want to display a table from a database. When I access the database.do using a URL I get all the data correctly. When I use this database.do file in the .jsp that uses the template I get : javax.servlet.ServletException:

urgent help needed with javascript

2001-11-15 Thread Sanjay Duggal
Hi, I've got the following javascript function in my jsp [which uses struts]: script language=JavaScript function funcShowHide() { if(document.formSpl.rbtn[0].checked == true) { document.formSpl.hiddenField.value = 'show'; } else {

jsp:include problem

2001-11-15 Thread Roumen Ganeff
Sorry, this is not struts at all, but i trust this list :)... I do a jsp:include and on JRun with IIS 5.0 on windows2000 it displays correctly. On JRun with iPlanet on winnt, the included JSP displays at the top of the page before any other content is displayed. I think I have seen this before,

Titles.dtd FileNotFoundExeption when starting tomcat

2001-11-15 Thread storck
Hi, as I started my Tomcat today I got that following exception: java.io.FileNotFoundException: http://jakarta.apache.org/struts/dtds/tiles-config.dtd Did the dtd move to another location? many thanks! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: Titles.dtd FileNotFoundExeption when starting tomcat

2001-11-15 Thread Lawson, Rick
Browsing to the file gives a 403 (No permission) error. -Original Message- From: storck [mailto:[EMAIL PROTECTED]] Sent: 15 November 2001 13:08 To: User Struts (E-Mail) Subject:Titles.dtd FileNotFoundExeption when starting tomcat Hi, as I started my Tomcat today I got

AW: Titles.dtd FileNotFoundExeption when starting tomcat

2001-11-15 Thread storck
Do you know the reason why? -Ursprüngliche Nachricht- Von: Lawson, Rick [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 15. November 2001 14:05 An: 'Struts Users Mailing List' Betreff: RE: Titles.dtd FileNotFoundExeption when starting tomcat Browsing to the file gives a 403 (No

Re: Newsgroup

2001-11-15 Thread Matt Raible
Beautiful! Thanks for setting this up! Matt --- Vic Cekvenich [EMAIL PROTECTED] wrote: There is now another mirror of the Struts mail list at news.basebeans.com as a newsgroup forum. It does not replicate post back to mail list yet ( it will in a week). More good stuff comming

services property in a bean

2001-11-15 Thread Tom Klaasen (TeleRelay)
Anybody encountered this yet? I have a bean which exposes a services property. Everything works just fine on w2k with jdk 1.3.1.01 and 1.2.2r8, BUT when I deploy the (identical same!) app on sunos 5.7 on a jdk 1.2.2, the services property is not found through introspection (using the

RE: Can anyone help on this?

2001-11-15 Thread Tom Klaasen (TeleRelay)
look further down the stack trace, starting from the line Root cause. This might give you something more to work with ... hth, tomK -Original Message- From: Konstantina Stamopoulou [mailto:[EMAIL PROTECTED]] Sent: donderdag 15 november 2001 12:56 To: Struts Users Mailing List

RE: include problem

2001-11-15 Thread Tom Klaasen (TeleRelay)
Seen it happening when writing between table tags but not tr or td. Maybe you should check that. hth, tomK -Original Message- From: Roumen Ganeff [mailto:[EMAIL PROTECTED]] Sent: donderdag 15 november 2001 13:42 To: 'Struts Users Mailing List' Subject: jsp:include problem

RE: Pool problem

2001-11-15 Thread Jon.Ridgway
Hi Ines, I have never used the pool stuff in Struts, but is it possible that your connection has auto-commit set and that the pooled connections don't? Do you have a commit in the stored proc? If not add one and see if this fixes the problem. Jon. -Original Message- From: Inés

RE: Error when forwarding from action to action

2001-11-15 Thread Steve Bendiola
Struts is looking for a forward named success for the Action (doLogin) you are executing. !-- Process a user logon -- actionpath=/doLogin type=sis.web.action.LoginAction name=loginForm scope=request input=/index.jsp

Re: Stuts-simple doesn't work (husted.com)

2001-11-15 Thread twrichter
Sorry Rob, but it does not work (at least in my environment). I took stuts-simple.war in /webapps; inserted the configuration in my mod_jk.conf (like with all other apps) and started index.jsp. When pressing the start button the browser says: Page not found

Same Form, multiple JSP's

2001-11-15 Thread Bauer, John
I have a LogonForm that is in multiple JSP's. For each form, the action would be /action/logon, and there can be error messages displayed. I assume the 'input' parameter for action mappings can be used here, but how would I be able in the config file to have the same action be called for each

RE: Same Form, multiple JSP's

2001-11-15 Thread Jon.Ridgway
Hi John, You could try something like this: return (new ActionForward(mapping.getInput())); Not tried it so I don't know if it will work. But... Jon. -Original Message- From: Bauer, John [mailto:[EMAIL PROTECTED]] Sent: 15 November 2001 15:00 To: '[EMAIL PROTECTED]' Subject:

RE: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread Samant, Sanjay STASCO-OTO/72
On which platform? Include directories which contains jar files not jar files in classpath best of luck -sanjay -Original Message- From: Jay Sissom [mailto:[EMAIL PROTECTED]] Sent: 15 November 2001 15:25 To: Struts Users Mailing List Subject: Websphere 4.0/IBM Web server configuration

Re: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread Jay Sissom
This is on a Windows 2000 platform. I'm not having a problem with the classpath, I'm having problems with accessing URL's that end in .do. The web server is trying to service them instead of passing the requests to the Websphere application server. I can't figure out how to make the web server

RE: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread moritz petersen
I have no experience with WS, but there is a special WS 4 version of struts available at http://jakarta.apache.org/struts/userGuide/resources.html -moritz. -Original Message- From: Jay Sissom [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 4:25 PM To: Struts Users

Re: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread Jay Sissom
Thank you, but that's the jar file I am using. I've tried both. I would like to know what the difference is between that one and the original release if someone knows. All the web pages that talk about struts with Websphere talk about 3.5x and it looks like 4.0 is a complete different beast.

RE: Same Form, multiple JSP's

2001-11-15 Thread Bauer, John
I was suspecting that that would be the way, but how do I set up the action mappings so all the various JSP's can call the same action, but that action returns to the JSP that called it? Do you need to write several action mapping entries, one for each JSP with a separate input attribute?

RE: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread ltorrence
the instructions pasted below (taken from this list in a post by Chris Assenza) worked for me with the standard Struts 1.0 release (haven't tried the nightly builds). From: Assenza, Chris [[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 9:59 AM To: '[EMAIL PROTECTED]' Subject: RE: Struts

Re: Stuts-simple doesn't work (husted.com)

2001-11-15 Thread Rob Breeds
Thomas Sorry I didn't offer anything before. In the web.xml file you should have: servlet-mapping id=ServletMapping_2 servlet-nameaction/servlet-name url-pattern/do/*/url-pattern /servlet-mapping welcome-file-list id=WelcomeFileList_1

RE: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread Rob Breeds
That 'fixed' version of struts.jar would not cause this problem (you'd be getting a 'missing attributes' type error message). WAS 4.01 doesn't need the special struts.jar as the original bug in WebSphere is fixed. Can you see your deployed application in the WAS admin console? Rob Breeds

Re: Same Form, multiple JSP's

2001-11-15 Thread Sean Owen
Yeah, I think you are right about how this is best done - this is how we handled the same situation. However you would need two different paths for the two pages: action path=/action/logon1 type=project.LogonAction name=logonForm input=/pageOne.jsp ... /action action path=/action/logon2

Forte Tomcat - standalone tomcat

2001-11-15 Thread Maciej Koodziej
Hi, I've a problem with moving my application from Forte for Java to standalone Tomcat server. While testing under Forte everything works fine, but when I copy all files from "Document Base" folder and all my classes (Actions, Forms, etc.) to tomcat/webapps/ I get "Cannot find

RE: Struts Vs Expresso 4

2001-11-15 Thread Robert J. Sanford, Jr.
is there a beta of webappwriter that we can download now that expresso4 has been officially released? rjsjr -Original Message- From: Pete Carapetyan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 8:02 AM To: Struts Users Mailing List Subject: Re: Struts Vs Expresso 4

Re: Titles.dtd FileNotFoundExeption when starting tomcat

2001-11-15 Thread Cedric Dumoulin
Hello, No, the dtd url haven't change. But I think that the url has never been set on jakarta. This should not be a problem, as Digester is registered to look for the dtd in the tiles.jar package (or in classes under org.apache.struts.tiles.resources). Do you have change something on

Struts and JBuilder

2001-11-15 Thread Mihails Gulajevs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all! Does anybody know how to build/debug struts-based applications in JBuilder. Seems that I cannot add in the project struts.jar and struts-bean.tld files. Thanks in advance Mihail -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.0.2i

RE: Struts and JBuilder

2001-11-15 Thread Dave J Dandeneau
JBuilder won't let you see any of the files in the WEB-INF directory except the web.xml. It can be pretty confusing at first. I have had success adding these to the directory structure through the OS, and then adding them to JBuilder by right clicking on the JBuilder project and choosing New

RE: Download within a sturts-action brakes forward

2001-11-15 Thread Matthieu Maher
Hi all Roland, could you tell me more about your Download object please, because I need to do the same thing as you and your download method is what I need, but I don't know how you made Download before calling Download.download -Message d'origine- De : Roland Berger [mailto:[EMAIL

Re: Struts and JBuilder

2001-11-15 Thread Richard Reich
I've used JBuilder with Tomcat and Struts for many months, successfully (I thought). Never heard of either of these jars. What problem do they solve? -r - Original Message - From: Dave J Dandeneau [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday,

Re: Struts Vs Expresso 4

2001-11-15 Thread Pete Carapetyan
Robert J. Sanford, Jr. wrote: is there a beta of webappwriter that we can download now that expresso4 has been officially released? webAppWriter for Struts/Expresso4.0 is currently functioning and serving up Expresso applications (a struts implementation with many other features) at

how does this checkbox thing work?

2001-11-15 Thread Alex Colic
Hi, can't seem to get this checkbox to work. I have an app that reads the fields of a database and creates an array of field objects. Then a jsp is produced allowing the user to input the new data. I have a checkbox that is tied to a field object that has a setValue(String) and getValue()

RE: Struts and JBuilder

2001-11-15 Thread Dave J Dandeneau
Do you run tomcat from within JBuilder? Have you manually changed your classpath? nostrutstomcat32.jar removes the struts.jar from the classpath at startup. At runtime it is included with the webapp. The webinfextension.jar just adds some tlds. You can find more info about the both of these

RE: Struts and JBuilder

2001-11-15 Thread Nekkalapudi, Viplava
nostrutstomcat32.jar webinfextension.jar These are Struts Support Addin for JBuilder 5.0 and not required for JB4.0/JB6.0. -Original Message- From: Richard Reich [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 12:34 PM To: Struts Users Mailing List Subject: Re: Struts

Re: how does this checkbox thing work?

2001-11-15 Thread dhay
Alex, do you reset the checkbox in the reset() method? You need to - see more info in archives. Cheers, Dave Alex Colic [EMAIL PROTECTED] on 11/15/2001 01:49:45 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] cc:(bcc: David

FW: Struts Support AddIn for JBuilder 5.0

2001-11-15 Thread Nekkalapudi, Viplava
I have already forwarded it, But this tells about JB6.0 also. -Original Message- From: Ken Sipe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 07, 2001 2:40 PM To: Nekkalapudi, Viplava Subject: Re: Struts Support AddIn for JBuilder 5.0 You should be able to have struts work with

RE: Same Form, multiple JSP's

2001-11-15 Thread Keith Bacon
John, What about having a hidden field (called nextPlaceToGo) on each diff. version of the form. Then loginAction can have:- String nextPlaceToGo formBean.getNextPlaceToGo(); return forwardTo(mapping, nextPlaceToGo); This means your login form can't be identical in each place which is a shame.

Re: how does this checkbox thing work?

2001-11-15 Thread SUPRIYA MISRA
html:checkbox property=vaAppt value=yes/ if getVaAppt() returns yes it is checked else not From: Alex Colic [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Subject: how does this checkbox thing work? Date: Thu, 15 Nov 2001 13:49:45 -0500 Hi,

Re: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread Jay Sissom
Here was the solution to my problem: When deploying the application there was a very small message that said I had to regenerate the plugin configuration file. I missed that message. When you regenerate the plugin configuration file, it tells the web server which URL's to pass to the app

RE: html checkbox tag

2001-11-15 Thread Nekkalapudi, Viplava
check here in the documentation. http://jakarta.apache.org/struts/struts-html.html#checkbox -Original Message- From: Juan Alvarado [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 11:42 AM To: Struts Subject: html checkbox tag Can anyone tell me why the following is

If someone is interested

2001-11-15 Thread Yuriy Zubarev
Hello colleagues, I've been developing a web app for myself and since it's not the first app using Struts I attempted to solve some general issues by providing some interfaces, custom tag and generic actions. More specifically I'm talking about tables, you know that questions about navigation,

Struts WAP Devices: Kudos to Craig Struts Development Team

2001-11-15 Thread Rajan Gupta
I just completed a project using Struts where the initial implementation was browser based. Then I changed the view to suit a WAP device used WML tags. Without changing a single line of code in the Controller the Model, the application was up running in no time. I just created new actions in

Help-URGENT!!

2001-11-15 Thread Ashoka Murthy
I have a vector object available in request. Now I want to check in the JSP whether its size is 0 or more, if it is 0 I want to print a message No Data available in the jsp. I want to know how to do this in Struts framework? Thanks Ashoka Murthy

RE: Help-URGENT!!

2001-11-15 Thread Francois Duchaussoy
Have a look to Struts Logic Tag logic:equal -Original Message- From: Ashoka Murthy [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 11:17 AM To: [EMAIL PROTECTED] Subject: Help-URGENT!! I have a vector object available in request. Now I want to check in the JSP whether its

RE: Help-URGENT!!

2001-11-15 Thread MacKellar, Kimberly
You can do a bean:size id=vectorSize... to the size of the vector. Then do a logic:equal value=0 name=vectorSize I think this should work but haven't tried it. -Original Message- From: Francois Duchaussoy [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 4:13 PM To:

RE: Help-URGENT!!

2001-11-15 Thread Brian Cochran
There are a couple options. One way is to define a context variable in the page and then use a scriptlet to see if the size is zero. bean:define id=myvector name=stashedVector scope=request type=java.util.Vector / Where stashedVector is the attribute name of the Vector you stashed (presumably in

Re: Help-URGENT!!

2001-11-15 Thread Ted Husted
I usually put things like this in a thin JavaBean wrapper, so properties like size can be returned by a proper getSize() method call. Ashoka Murthy wrote: I have a vector object available in request. Now I want to check in the JSP whether its size is 0 or more, if it is 0 I want to print a

RE: Help-URGENT!!

2001-11-15 Thread See Yam Lim
yes. the bean:size id=vectorSize... should works. or you can try. in JSP. do this. % List myVector = (List)request.getAttribute(whatever_key_for_vector); pageContext.setAttribute(vectorSize, new Integer(myVector.size())); % logic:equal name=vectorSize value=0 bean:message name=NoData/

links to javascript with index variables

2001-11-15 Thread Rob Breeds
In my ActionForm I have a collection of names which is added to dynamically. If I want to give each name its own delete link I'm doing this with iterate: logic:iterate id=el name=reallySimpleForm property=names Name: bean:write name=el/ html:link href

Re: If someone is interested

2001-11-15 Thread Rob Breeds
Yuriy I'm keen to see the source for this - all working examples are useful to help me (and others) avoid what must be common pitfalls. Thanks Rob Breeds

multiple select

2001-11-15 Thread MacKellar, Kimberly
Hi All, I have a JSP that contains bean:define id=notAssociated name=editAssociationsForm property=notAssociatedInsts/ td html:select size=10 property=newAssociations multiple=true style=width=206; html:options collection=notAssociated property=value labelProperty=label/

Extending ActionMapping class

2001-11-15 Thread Brandon Goodin
Greetings, I don't know if what I am doing can be done. I want to use set-property in the struts-config.xml file in my action mapping to provide some custom properties. The properties will share the same name, but have different values. Here is my assumption. From what I have read of the

Re: links to javascript with index variables

2001-11-15 Thread Rob Breeds
I tried this: logic:iterate id=el name=reallySimpleForm property=names indexId =i Name: bean:write name=el/ html:link href =javascript:subForm(document.forms[0],'del','%= i.toString() %');bean:message key=link.delete//html:linkBR /logic:iterate but that just generates links of:

(NEVERMIND) Extending ActionMapping class

2001-11-15 Thread Brandon Goodin
-Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 4:09 PM To: 'Struts Users Mailing List' Subject: Extending ActionMapping class Greetings, I don't know if what I am doing can be done. I want to use set-property in the

Re: links to javascript with index variables

2001-11-15 Thread Rob Breeds
And then I tried it without struts tags: A HREF=javascript:subForm(document.forms[0],'del','%= i.toString() %');try this/A and it works! Why doesn't it work when the same code is put into the Struts html:link href attribute ? Rob

Re: If someone is interested

2001-11-15 Thread Brian . Duchouquette
Yuriy, Yep, you have my interest.. Are you using multiple sets with different Comparators (based on bean properties) to do that? Thanks, Brian Yuriy

Re: links to javascript with index variables

2001-11-15 Thread Rob Breeds
I then tried this, using a scriptlet to create the javascript first: % String tryit = javascript:subForm(document.forms[0],'del','+i+');; % Name: bean:write name=el/ html:link href=%= tryit %bean:message key=link.delete//html:link and that works too! Now can someone clever please share with me

RE: If someone is interested

2001-11-15 Thread Long Nguyen
Hi Yuriy, How do you implement the pager tag? Is it possible if you can share the code with everyone? Thanks, Long B. Nguyen -Original Message- From: Yuriy Zubarev [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 1:45 PM To: [EMAIL PROTECTED] Subject: If someone is

RE: HOW TO: set up a pager with struts

2001-11-15 Thread Brian Cochran
Whereas this may be a little cross posted, I just submitted a proposal to struts-dev on possibly developing a suite of PageIterators that have support for various functionality including: cacheing, JDBC 2.0 RecordSets, the Petstore way of requerying every time and support for extending to

Re: If someone is interested

2001-11-15 Thread Ho Chin Hwang
Yes. I m keen to see too. Regards, -Dave - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 16, 2001 8:02 AM Subject: Re: If someone is interested Yuriy, Yep, you have my interest.. Are you using multiple sets with

Fw: Websphere 4.0/IBM Web server configuration

2001-11-15 Thread dion
Do you have messages in the console/log showing the action mappings being loaded? Are there any exceptions loading the web app? -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au JavaNews: http://www.multitask.com.au/JavaNews - Forwarded by dIon Gillard/Multitask

populating an ActionForm with indexed properties

2001-11-15 Thread Fyodor Golos
I have an ActionForm with nested indexed propeties: public class MyActionForm extends ActionForm { private List nested; ... } where each nested element is: public class Nested { private String title; private Double price; ... } Assume that my reset() looks like this:

Where do servlet debug log entries go to??

2001-11-15 Thread Greg Callaghan
Hi, [1] Where do the servlet debug log messages go to in terms of file and path? I can't seem to find them! For example the struts example if (servlet.getDebug() = 1) servlet.log(LogonAction: User ' + user.getUsername() + ' logged on in session + session.getId()); [2] Is there

ActionForms lifecycle across multiple requests

2001-11-15 Thread Fyodor Golos
I am trying to save myself A LOT of repetitive coding by reusing my business objects in my ActionForm objects. For example, this is how one of them looks like: public MyActionForm extends ActionForm { private MyBusinessObject businessObject; ... } The HTML form that uses this object

Re: If someone is interested

2001-11-15 Thread Nicolas Parisé
Hi, I'm interested to see your code, i'm looking for good examples of struts app Thank you Nicolas - Original Message - From: Yuriy Zubarev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 15, 2001 4:45 PM Subject: If someone is interested Hello colleagues, I've

Re: If someone is interested

2001-11-15 Thread Christian Rab
Your application looks really cool, I'am very interested tho see your code! See you Christian 15.11.2001 22:45:09, Yuriy Zubarev [EMAIL PROTECTED] wrote: Hello colleagues, I've been developing a web app for myself and since it's not the first app using Struts I attempted to solve some general