Newbie question about Tiles suitability.

2002-03-25 Thread Alex Colic
Hi, I just got told I have to create a web site similar to myYahoo where the user can customize what they want to view on the screen. You know the type, where you can pick and choose from a number of categories and a page is custom created for you. Is this a job for the Tiles framework? Thanks

How to use the html:text tag properly.

2002-03-05 Thread Alex Colic
Hi, I am trying to get the value attribute to work in the text tag. I have an 'ITEM' bean with two properties. One is set up when the user selects an item. When they go to a page I want the page to display the existing value in 'item.primeLocation' and I want the text box to be prefilled with

How to fill a String[] property?

2002-03-05 Thread Alex Colic
Hi, I have a form with a string array property 'Activities'. The form has the following methods: private String[] mActivities = new String[6]; public void setActivities(String[] parm1) { mActivities = parm1; } public String[] getActivities() { return mActivities; } On my page I

How to fill a String[] property-updated question.?

2002-03-05 Thread Alex Colic
Hi, just an update. Before I access the page I initialized the String[] array elements to 1...6. When I get to the page the values in the String[] array are properly displayed in the corresponding text boxes but when I submit the page I get the following error:

How to use the value attribute in html:text

2002-03-01 Thread Alex Colic
Hi, I am trying to get the value attribute to work in the text tag. I have an 'ITEM' bean with two properties. One is set up when the user selects an item. When they go to a page I want the page to display the existing value in 'item.primeLocation' and I want the text box to be prefilled with

How to set attribute via submit

2002-02-20 Thread Alex Colic
Hi, I have a form with a couple of buttons. The form is submitted to a navigation action class that just looks at an action parameters and forwards the request. I want created a series of submit buttons with the same property but different values. If I set the value property of the tag then that

RE: How to track the row id......

2002-02-15 Thread Alex Colic
Hi, I just finished doing something similar. I have an ArrayList with a bunch of charging objects. When the user goes to the summary screen I iterate through all the objects and show them the data. I have added two icons, edit and delete at the end of each charging row. Each of these icons is a

RE: A good database pool?

2002-02-14 Thread Alex Colic
]] Sent: February 13, 2002 12:02 AM To: Struts Users Mailing List Subject: RE: A good database pool? Suggest you try the Expresso Connection pooling at www.jcorporate.com as it is supported. Btw it is also open source. -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent

RE: Screen Flow based on UserAgent in Struts

2002-02-12 Thread Alex Colic
Hi, I like the below setup. I have always had the problem of modifying my apps to work with different devices. Half the time my apps are working with hand held devices, the other half with desktop browsers. Alex -Original Message- From: David M. Karr [mailto:[EMAIL PROTECTED]] Sent:

A good database pool?

2002-02-12 Thread Alex Colic
Hi, I have a couple of struts apps that use a lot of database connections. I have been moving them over to use a connection pool manager. I have found a couple of free ones e.g.. Poolman, jdbcpool but neither are being supported. Can someone suggest another database pool manger. I don't care if

RE: How to specify scope of bean for html:options tag.

2002-01-23 Thread Alex Colic
used to find the beans, and I think by default it would do what you want. So you may have to do exactly nothing to have this work the way you want. regards, Stephen Owens Corner Software -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23

RE: How to specify scope of bean for html:options tag.

2002-01-23 Thread Alex Colic
used to find the beans, and I think by default it would do what you want. So you may have to do exactly nothing to have this work the way you want. regards, Stephen Owens Corner Software -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23

RE: Why ActionMessages not part of Struts 1.0.1?

2002-01-18 Thread Alex Colic
1.0.1. Adding the ActionMessages would be a feature. Plans are in the works for having a Struts 1.1 release which would be based off the nightly builds (no date set yet, but should happen relatively soon). David --- Alex Colic [EMAIL PROTECTED] wrote: Hi, I have been using the ActionMessages

RE: How to use Log4j with a startup logging servlet

2002-01-16 Thread Alex Colic
Hi, I have used option two. The code for my servlet is below. It works for me. If you have any suggestions, enhancements please send me a note. Alex package com.sirius.struts.action; import javax.servlet.*; import javax.servlet.http.*; import org.apache.log4j.*; public class

Struts design advice requested please.

2002-01-10 Thread Alex Colic
Hi, I have been using Struts now for about a year and I really like it. It has saved me a lot of time and made my apps quite stable. I have just been placed on another large struts project. It will be pushing struts to the limit. A quick question on design. What I am going to do is a bit

RE: Struts design advice requested please.

2002-01-10 Thread Alex Colic
Users Mailing List Subject: Re: Struts design advice requested please. Alex Colic wrote: I have been using Struts now for about a year and I really like it. It has saved me a lot of time and made my apps quite stable. I have just been placed on another large struts project. It will be pushing

RE: Example of using Jmeter with Struts

2002-01-08 Thread Alex Colic
the docs). Alex Colic wrote: Hi, does anyone have an example of using jmeter to stress test a struts app? I have downloaded the jmeter files and I am going over the docs but it looks pretty complicated. Any examples would be appreciated. Alex -- To unsubscribe, e-mail: mailto:[EMAIL

Example of using Jmeter with Struts

2002-01-04 Thread Alex Colic
Hi, does anyone have an example of using jmeter to stress test a struts app? I have downloaded the jmeter files and I am going over the docs but it looks pretty complicated. Any examples would be appreciated. Alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Another questions about checkboxes

2002-01-02 Thread Alex Colic
Hi, I have a form that has a Boolean property that in the form reset method is reset to false. This form is used over two pages. In the first page there is a checkbox that the user can select to modify this Boolean property. This page is submitted to an action class that just forwards to the

How to chain actions?

2001-12-12 Thread Alex Colic
Hi, I have an action class that does one thing. I have another action class that does another thing. How can I have a page that populates a form and submits to one action class and then pass off the form to another action class for further work? Thanks Alex -- To unsubscribe, e-mail:

How to return to the page that called the action class?

2001-12-12 Thread Alex Colic
Hi, I have a generic action class that I want to set up that when the class is successful it send the user back to the page from which they came. How do I get that information? And, how would I structure my class to allow it to send the user back? Thanks for any info. Alex -- To unsubscribe,

RE: Can't forward to a global-Here's the code in question?

2001-12-07 Thread Alex Colic
for any help. Alex -Original Message- From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 4:30 AM To: Struts Users Mailing List Subject: RE: Can't forward to a global? -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent

RE: Can a form submit to a vector?

2001-12-06 Thread Alex Colic
misunderstanding something? Cheers, Dave Alex Colic [EMAIL PROTECTED] on 12/04/2001 08:19:25 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: RE: Can a form submit to a vector? Yes, I want

Can't forward to a global?

2001-12-06 Thread Alex Colic
Hi, I have an action class that could get called after a users session has expired. When the action class is called I have the following code: if(session == null || session.isNew()) { return mapping.findForward(logon); } I have a global forward defined for logon.

RE: Can a form submit to a vector?

2001-12-04 Thread Alex Colic
to a vector? Do you mean dynamically? ie another row added to the vector above it without a submit? Dave Alex Colic [EMAIL PROTECTED] on 12/03/2001 12:40:57 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark

Why does my org.apache.struts.action.ActionServlet start twice?

2001-12-04 Thread Alex Colic
Hi, I have a web app that is using org.apache.struts.action.ActionServlet. When I start the app in JBuilder 4 Ent along with Tomcat 3 The actionServlet loads twice. Any ideas why? Alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Can a form submit to a vector?

2001-12-03 Thread Alex Colic
Hi, I have a vector that holds charging objects. The object has properties such as name and amount. On a page, at the top I iterate through the charging objects and create a summary table. The table shows all the charging objects in the charging vector and outputs their name and amount. At the

how does this checkbox thing work-Thanks.

2001-11-19 Thread Alex Colic
Thanks for the help. I got it working. Alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Help, can I do this..two fields one property.

2001-11-19 Thread Alex Colic
Help, I have a page that is dynamically created. One of the fields is a date field. I have a javascript calendar that allows the user to input the date into that field. Now I have been told that they also need to select the time. I need to create a select box with values of (12am-11pm) and have

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()

Help!!Banging my head trying to figure out how to do this.

2001-11-13 Thread Alex Colic
Hi, thanks all for the reply. I am going to have a look at those nesting tags. Alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Help!!Banging my head trying to figure out how to do this.

2001-11-12 Thread Alex Colic
Help, I can't figure out how to structure this. I am trying to make a dynamic program that updates fields in a table. Essentially the program should work as follows: A user logs in. I get a list of objects that they can modify. For each object I get a list of tables. For each table I populated

getting indexed variable during scripting.

2001-11-12 Thread Alex Colic
Hi, I have a logic:indexed loop that has a couple of html elements that use the indexed property. I need to get the current iteration and use that variable in a JavaScript statement. Specifically I have a text box that has a JavaScript calendar that when selected allows a user to select a date.

Re: How to pass initialise parameters to action class

2001-10-26 Thread Alex Colic
Thanks for all the info. I guess in my action class I will have to create an empty constructor that initialises that value. Alex

Comment on using the Struts platform for this project.

2001-10-26 Thread Alex Colic
Hi, I have to create a app that allows users to change/input data into a database. Sounds simple. Problem is I have to make it dynamic so that is will work with any database or table. I have a back end VB app that will send me: Field name Field caption Field type Field display type e.g..

How to pass initialise parameters to action class

2001-10-24 Thread Alex Colic
Hi, I have an action class that has a variable that I want set from the web.xml file. To prevent the action class from reading the xml file everytime it is accessed I wanted to set the variable once in the action classes init() method. After looking at the action class I see that there is no

Thanks to all that have helped me.

2001-10-19 Thread Alex Colic
Big thanks to all who have been helping me learn Struts. It's good to know that people on this list are willing to help each other. Alex

How to do this type of validation?

2001-10-19 Thread Alex Colic
Hi, could someone give me some architecture hints on how to do the following: Lets say you have a business object that has a couple of mandatory and optional fields populated by the user. The user goes from page to page, each time inputting either a required piece of info or an optional piece

Need Iterator/Indexed help quick, please.

2001-10-18 Thread Alex Colic
Hi, I have gotten myself into a bit of a jam and I am wondering if someone could help me out. I got a web app that a customer wants to make some last minute changes to. From the looks of it, it looks simple but I can't figure it out. Hopefully someone has an idea on how I can do this. I have a

REPOST: A hint how to do the following with a bean.

2001-10-04 Thread Alex Colic
Hi, Need a hint on how to do the following: I have a bean which is a vector of items. Each item object has a name, description price etc. When the user selects an item I create this vector and pass it to a page which iterates through the vector and creates a table. Something like: name

RE: REPOST: A hint how to do the following with a bean.

2001-10-04 Thread Alex Colic
Thanks for all the help. I got it working. Alex

A hint how to do the following with a bean.

2001-10-02 Thread Alex Colic
Hi, Need a hint on how to do the following: I have a bean which is a vector of items. Each item object has a name, description price etc. When the user selects an item I create this vector and pass it to a page which iterates through the vector and creates a table. Something like: name

RE: Can you comment on this design idea?

2001-09-25 Thread Alex Colic
Hi, I have used SOAP in the past but the products I am working on have been developed using this VB back end. It has worked well for us so we are going along with the if it a'int broke then don't fix plan. What about my idea of checking application attributes in the actionservlet? Alex

re: Struts - XML - XSL

2001-09-24 Thread Alex Colic
Hi, I don't know if this is what you are looking for but I just purchased a book from Orielly press that deals with Java and XSLT: http://www.oreilly.com/catalog/javaxslt/ I don't know how I can implement this with Struts. Hope this is helpful. Alex

newbe: radio button iteration

2001-09-24 Thread Alex Colic
Hi, I am trying to iterate through a bean and populate a list of radio buttons. I pass an entity object (en) to a page. The entity object has a number and name parameter. I want to create a list of radio buttons all with the same name but the values being the entity number. For example: input

struts architecture question.

2001-09-24 Thread Alex Colic
Hi, I am trying to figure out if I have properly designed my classes. I have a class that extends ActionServlet. The only reason it does that is because all my web apps need a couple of generic objects in the application session before anyone can use the applications. So I overrode the doGet

Can you comment on this design idea?

2001-09-24 Thread Alex Colic
Hi, hopefully someone can comment on an idea I have. I have a VB backend that I talk to via a socket to handle db access. When a connection is made to the back end I put a Boolean value of TRUE under the active key in the application session. If for whatever reason the VB backend goes down I

New message format help please.

2001-09-19 Thread Alex Colic
Hi, I am trying to use the new HTMl:Messages in the struts nightly build. I am updating some of my code to use the new format. Two quick questions: 1: I am saving my messages in the action class via: ActionMessages messages=new ActionMessages(); messages.add(ActionErrors.GLOBAL_MESSAGE, new

Struts Console

2001-09-13 Thread Alex Colic
Hi, Nice app. It should speed things up considerably. Just a quick suggestion for future enhancements. When it starts can it take the LF of the OS? When you do a file open can you specify a default directory. Thanks Alex

How to get context object while in Action

2001-09-10 Thread Alex Colic
Hi, how do you get the servlet context object from within a Action class. I notice that the request.getSession.getServletContext is depreciated. I need to get values from the web.xml file. Thanks for the info. Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down

More still can't you get these quotes arranged correctly?

2001-09-06 Thread Alex Colic
bean:write name=entity property=entityName / /TD /TR /logic:iterate = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777-0132 __ Do You Yahoo

Can you get these quotes arranged correctly?

2001-09-05 Thread Alex Colic
what combination of quotes to use. Thanks Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777-0132 __ Do You Yahoo!? Get email alerts

Still can't you get these quotes arranged correctly?

2001-09-05 Thread Alex Colic
. I get the following: input type=submit name=submit value=bean:message key=button.submit / All the other messages on the page are showing up correctly. Any further ideas are appreciated. Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL

How to generically forward to page you came from?

2001-08-30 Thread Alex Colic
Hi, I am creating a generic action class that after it is finished it needs to forward to the page that called it. I have tried mapping.getInput() but obviously since I haven't specified a input page in the struts.xml for the action class I can't use that. Any thoughts? Alex

Thanks to all that helped me out.

2001-08-29 Thread Alex Colic
version 1 of Struts. If it weren't for that iterate tag I would never have gone to a nightly build. I can't wait until the next version of Struts is out. Great work to the Struts team they have come out with an excellent product. Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving

Question about html:link

2001-08-29 Thread Alex Colic
Hi, how can I pass a javascript function to a link tag? My present tag is a href=javascript:doSummarry(A_NUMBER) The value of A_NUMBER is found in a bean via workrequest.number. Thanks for the help. Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost

Really need you to get me out of a jam!!!!

2001-08-27 Thread Alex Colic
of struts to work with tomcat? Any help is figuring this out is appreciated. Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777-0132

Need help with error messages quick please

2001-08-26 Thread Alex Colic
the body tag: html:errors/ I must be missing something. Could someone set me on the right track. Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777-0132

How to use image tag properly?

2001-08-26 Thread Alex Colic
suggestions on how to accomplish this is appreciated. Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777-0132 __ Do You Yahoo!? Make

Can't find vector answer.

2001-08-26 Thread Alex Colic
/logic:notEqual but the text still shows up. Any help is appreciated. Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777-0132 __ Do You Yahoo

New Message tag format help please!

2001-08-26 Thread Alex Colic
Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777-0132 __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo

A bit of design help please?

2001-08-16 Thread Alex Colic
Hi, I am wondering how the following can be done in Struts. You have a page with two frames, one being a navigation frame consisting of a series of links that populate the second frame. On start-up the second frame has a log in screen and the navigation frame just has a company image. On

Re: A bit of design help please?

2001-08-16 Thread Alex Colic
Hi, Thanks for the reply. Just a bit of elaboration. What I should do is have a simple login page. No problem. On successful login I send them to a framed page. So far so good. Question about this dynamic links. Could you elaborate on how to create them using struts? Alex

ActionForm not being updated. Please advice.

2001-08-14 Thread Alex Colic
Hi, I am trying to get that iterate tag to work. 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

How to use the indexed property-Please get me going?

2001-08-13 Thread Alex Colic
Hi I am trying to use the indexed property with a page. I have a vector that holds a series of item objects. Each item object as a name, desc and unit price field. The page iterates through the vector and creates a table displaying the name and desc of an item and a text field for the unit

Re: I think I found a bug in Struts?

2001-08-08 Thread Alex Colic
: Craig R. McClanahan [EMAIL PROTECTED] Subject: Re: I think I found a bug in Struts? Message-ID: Pine.BSF.4.21.0108071238430.72473-10@localhost On Tue, 7 Aug 2001, Alex Colic wrote: Hi, It took a while but I think I found why the lists I put in application scope were not being refreshed

Advice on how to implement the following:

2001-08-08 Thread Alex Colic
Hi, I need a bit of advice on how to implement the following. I am creating a page that holds a list of item names along with their description. So far I created a vector that holds an array of items and then passes it to a Struts page in the request scope. The page then iterates the array and

objects still being cached why?

2001-08-02 Thread Alex Colic
Hi, I am still having that problem with objects being cached. In my jsp I have some data that is displayed regularly. Therefore I have put that object into the context via: context.setAttribute(CommonProblemList ,tbeList ); When the data the list is based upon changes, I have a monitor class

best way to create front end to web.xml

2001-07-31 Thread Alex Colic
Hi, I need to create a GUI front end to the web.xml file. This way the file can be configured from a web page. What I thought about doing was to create an admin screen, have the user log in, and check against a file etc. Then I was going to get the servletContext, open a stream and read the

Question about struts and list caching?

2001-07-30 Thread Alex Colic
Hi, hope someone can help me out here. I think I have a problem with struts and my classes caching list. In my jsp I have some data that is displayed regularly. Therefore I have put that object into the context via: context.setAttribute(CommonProblemList ,tbeList ); When the data the list

RE: Question about struts and list caching?

2001-07-30 Thread Alex Colic
I added the following to my web.xml but it did not make a difference: init-param param-namenocache/param-name param-valuetrue/param-value /init-param Any other thoughts? Alex -Original Message- Date: Mon, 30 Jul 2001 10:22:08 -0400 To: '[EMAIL PROTECTED]' [EMAIL

why is servlet.init method being called twice.

2001-07-30 Thread Alex Colic
Hi, I created a base actionservlet class that in its init method, the first thing it does is call super.init(). In this base class I set up common settings for all my web apps. I then created a series of classes that all extend my base ActionServlet class and in their init method the first

help with checkbox

2001-06-20 Thread Alex Colic
Hi, I am hoping someone can point me in the right direction. First, I have a checkbox that regardless of if the user checks it or not I need it to be set to true. Can someone suggest a way via JavaScript or otherwise to set this checkbox to true. Second, for the same checkbox, if I do not set

Thanks for all the internationalisation help.

2001-06-11 Thread Alex Colic
Hi, Sorry I have not thanked everyone for all their help. Using everyone's suggestions I have created a web page which allows a user to select a different language for my web app. Once again thanks all. Alex

Help with selecting an image to display.

2001-06-08 Thread Alex Colic
Hi, I am looking for advice regarding the use of two images. Lets say you have a class status that has two boolean state properties isModify() and isNew(). If isModify() returns true then I want to display modify.gif and call the JavaScript function modify() and, if isNew() is true then I want

setting boolean to yes/no

2001-06-06 Thread Alex Colic
Hi, I have a form with a checkbox that sets a boolean property in one of my classes. At a later page I display a msg if the user has selected the checkbox and I get 'true' or 'false' displayed. What I am actually looking for is a 'Yes' or 'No' to be displayed. Is there a clean way of getting the

viewing combo box

2001-06-06 Thread Alex Colic
Hi, lets say you have a combo box filling from a vector. I can get this to work but I don't want the combo box to show if there are no options in it. In other words if the vector=0. What the best way to do this. Thanks for the help. Alex Alex Colic.vcf

Please help with logic notPresent

2001-06-05 Thread Alex Colic
Hi, I have an object in the session that if it is not there I want to display and error msg to the user. My error code is as follows: logic:notPresent name=VendorResourceList scope=session font color=red bean:message key=error.fatal / /font /logic:notPresent I would think that the

Setting focus to textbox?

2001-06-05 Thread Alex Colic
Hi, I am getting an error setting focus to a textbox. My form tag is as follows: html:form action=reqHeader focus=requisitionHeader.reqTitle method=GET I have created a text box as follows: html:text property=requisitionHeader.reqTitle size=16 maxlength=20 / What I am trying to do is set

Setting value to a textarea?

2001-06-05 Thread Alex Colic
Hi, I am trying to set the value of a textarea that I have created via: TD html:textarea name=requisition property=requisitionLines.description value=requisitionLines.pcitem.name cols=20 rows=10 /html:textarea /TD When the page is displayed the textarea text is populated with

Using value of one bean in a textarea?

2001-05-11 Thread Alex Colic
Hi, I have a bean whose value I can display via: bean:write name=requisition property=requisitionLines.pcitem.name/ What I want to do is create a textarea and have the value of the defaulted to the above name value. My textarea has been created as follows: html:textarea name=requisition

how to forward from one action servlet to another?

2001-05-10 Thread Alex Colic
Hi, how do you forward from one action servlet to another? I have a form that gets submitted to a servlet that I may depending on a value pass it off to another servlet to process. Any help is appreciated. Alex ext. 104 Fax: 1-905-777-0132

Re: how to forward page on logic:notPresent?

2001-05-09 Thread Alex Colic
Original Message Date: Wed, 09 May 2001 07:50:08 To: [EMAIL PROTECTED] From: Bart Moberts [EMAIL PROTECTED] Subject: Re: how to forward page on logic:notPresent? Message-ID: [EMAIL PROTECTED] From: Alex Colic [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Subject: how

icons not showing up-Repost?

2001-05-09 Thread Alex Colic
My mistake. I was testing all possibilities and I sent you a bad example. This set of HTML code works: IMG SRC=./Images/cancel.gif ALT=Cancel NAME=btnCancel This struts code does not: html:image src=./Images/cancel.gif alt=Cancel property=action value=cancel / When the page is resolved the

why is this form not being properly submitted?

2001-05-08 Thread Alex Colic
, then I reset the action then I submit the form. In the below case I get null returned: String strWRNumber=request.getParameter(wrNumber); Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777

RE: why is this form not being properly submitted-solved?

2001-05-08 Thread Alex Colic
, Can you put a alert(workrequest.wrNumber.value); in function doWRModify(wrNumber) after you assign the value to wrNumber? Is the form name, workrequest (View Source to check)? Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL PROTECTED

how to forward page on logic:notPresent?

2001-05-08 Thread Alex Colic
Hi, suppose you have an object in the session. If the user access a page that uses this object you want data to be displayed but if this object is not in the session you want the page submitted so that the user will end up on the next page. A sort of a wizard app.. page 1 to 2 to 3 where you

icons not showing up?

2001-05-08 Thread Alex Colic
Hi, I am trying to use struts to show a couple of icons. The following html works: IMG SRC=./Images/cancel.gif ALT=Cancel NAME=btnCancel onClick=doCancel(); but this does not? html:image src=/Images/cancel.gif alt=Cancel property=action alue=cancel/ In the struts way the form is submitted

How to check if an array is null

2001-05-03 Thread Alex Colic
Hi, I have a class which has a method 'Columns' which is a one dim array of Strings. How can I check to see if that method returns null. I want to write out one message if it is null another if it is not. Thanks for the help. Regards Alex

How to use html:base? with images?

2001-05-02 Thread Alex Colic
Hi, I am trying to get some images to work but so far no luck. My web app directory is as follows myCompany/... place for my JSP's myCompany/Images..all my images are here. On one of my pages, pwSubmit.jsp I have the following tag. html:image page=/Images/cancel.gif alt=Cancel property=action

How to get value of button submitted?

2001-05-02 Thread Alex Colic
Hi, I have a couple of buttons on a web page, all with the same property but with a different value. I want to be able to submit that form and then have my actionservlet figure out what to do depending on which one of the buttons the user select. I have a web page with image buttons as follows:

How to iterate to create select box.

2001-04-27 Thread Alex Colic
Hi, I am trying to iterate through a vector to populate a select box. I have a class CategoryList in application scope that holds a list of Categories. Each category has a CategoryGroup name and a vector of CategoryValues. At run time I am trying to create a page that dynamically creates the

How to have two tags populate one field?

2001-04-26 Thread Alex Colic
box then that is the title else the option selected is the title. Could this be done within Struts? Regards Alex Colic, HBA, B. Ed PopWare Inc. Driving down the cost of conversions! E-Mail: [EMAIL PROTECTED] Tel: 1-905-777-8171 ext. 104 Fax: 1-905-777-0132

How to create multiple select boxes?

2001-04-26 Thread Alex Colic
Hi, quick questions. I am trying to figure out how to create multiple select boxes on the fly. I have a class CategoryList the extends vector. To this list I add elements of type Category, which has a getCategoryValues() method which returns a vector of categories (String) as well as a

How to submit JSP to itself?

2001-04-19 Thread Alex Colic
Hi, How do you set-up the action property of a form tag if you want the JSP to submit the form to itself? When the user wants to go to the next page I have a next button that in its onclick event I will set the forms.action property via JavaScript. Thanks for any help. Alex

Need help with logic:iterate :)

2001-04-19 Thread Alex Colic
Hi, I am trying to get a handle on the logic:iterate tag. I have an object in application scope under the key 'storeroomList.' There is a vector of objects under the property 'storeroomList'. Each one of the objects in this vector has a property 'name.' What I am trying to do is go through the

why is init method of actionservlet being called twice?

2001-04-18 Thread Alex Colic
Hi, I have subclassed actionservlet. In the init method of my subclass I have called super.init(); For some reason as I step through my code the init method of my subclass is being run through twice. Any idea why? my web.xml file is as follows: !-- Action Servlet Configuration -- servlet

Update on caching lists.

2001-04-18 Thread Alex Colic
Hi so far my list caching is going well, I have set up a thread to monitor database changes and to update the lists stored in the servlet context. Unfortunately, although my program is noticing the change in the database and it is recompiling the data and putting the new data into the context

Update on caching lists.

2001-04-18 Thread Alex Colic
Oh, I thought about using removeAttribute() and then setting the attribute of the list again but I am worried about pulling a list out of the servletcontext just as a person might be accessing a page that needs that list. Regards Alex

how to cache lists?

2001-04-17 Thread Alex Colic
Hi, Lets say you have a web app that runs over a number of web pages in a wizard fashion. On each one of these pages you need to present the user with a select box holding lists. e.g. locations, cities, etc. This data is read from a database and rarely changes. How would you cache these lists

  1   2   >