Removing bean from session scope

2001-08-29 Thread chiji nwankwo
Hi Andre, I picked up on something you said in your message yesterday about removing a bean from session scope. I have 2 pages in my application, the first page (archive.jsp) consists of select boxes, which populate each other without having to click on a submit button and the second page

Re: html:select html:options tags

2001-08-29 Thread chiji nwankwo
Hi,Depending on what you are trying to do or the scale of the applicationyou are building, you can declare the collection within your jsp pageand put it within the pageContext or you can declare it in your Action subclass and put it in the session. I found the last option to be a neater and

Re: struts selection and Javascript onchange question

2001-08-29 Thread chiji nwankwo
Hi, I had a similar problem and tried to find the best way to handle the problem, without mixing JavaScript andjsp syntax. What I came up with was a series ofselect boxes, some ofwhich were dependant on others,that changed their values based onthe selection made in a different select box.I havea

Re: select list

2001-08-31 Thread chiji nwankwo
Hi, This might answer your question(s). http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg14470.html From: Aaron O'Hara <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: select list Date: Thu, 30 Aug 2001 10:04:54 -0700 MIME-Version: 1.0 Received:

Using the iterate tag

2001-09-05 Thread chiji nwankwo
Hi, I am try to use the iterate tag to display a list of strings on a page. The strings I am using have been initialized in an ArrayList. I want to be able to check how many strings are in the list so that I can display a certain amount on a number of pages. This is because I do not know how many

Using the link tag

2001-09-05 Thread chiji nwankwo
Hi, Thanks to Ted for assisting me earlier on with the iterate tag problem, it works fine now. Could anyone please tell me what I am doing wrong with the following declaration: % String action = "Reset";% html:link page="/archive.do?action=%=action%" test/html:link it throws the following

Using the iterate tag - part II

2001-09-06 Thread chiji nwankwo
Hi, Thanks Ted for the advice on using the link tag, your advice has been heeded to. Problem for today: logic:iterate id="pages" name="pageList" offset="0" length="5" html:link forward="search" paramName="CONFUSED" paramId="pageNumber" page #: %= pages % /html:link/logic:iterate What I would want

Iteration-Issue???

2001-09-06 Thread chiji nwankwo
Hi, Could anyone involved in the following thread please point me in the right direction. I am having the exact same problem as the user who sent this message: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14300.html If you were involved in the above mentioned thread, please

request object

2001-09-07 Thread chiji nwankwo
Hi, When forwarding from one action to another, is the same request object used? For example, is this legal? Action subclass 1(perform method) : Test test = new Test(); // initialize test request.setAttribute("test", test ) return (mapping.findForward( "Action subclass 2" )) Action subclass 2

Application Developer - IBM and struts

2001-09-13 Thread chiji nwankwo
Has anyone used application developer to develop a struts application. I am having trouble using the template tag. When I use the tag the html that is not part of the templates is printed at the bottom of the page, whereas when I use tomcat its fine. Please help if you can. Thanks ChijiGet your

Re: can html:checkbox indexed??

2001-09-24 Thread chiji nwankwo
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14937.html From: Shea Kelly <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: can html:checkbox indexed?? Date: Mon, 24 Sep 2001 15:15:33 +1000 MIME-Version: 1.0 Received: from [64.125.133.20] by

Multiple actions via wildcard

2001-09-25 Thread chiji nwankwo
Hi, Is it possible to map several actions to the same action form by using a wildcard? For example in struts config: forward name="search" path="/do/search" / action path="/search" type="com.sky.videolounge.lounge.web.control.actions.SearchAction" name="searchForm" input="/search.jsp"

dynamic forwards

2001-09-25 Thread chiji nwankwo
, ifanybody has any similar solution or examples point me in the right direction. Thanks alot in advance. From: "Misra, Supriya" <[EMAIL PROTECTED]> To: "chiji nwankwo" <[EMAIL PROTECTED]> Subject: RE: Using the multibox option Date: Mon, 24 Sep 2001 09:52:03 -0400 M

populating a form bean without using a submit button

2001-09-25 Thread chiji nwankwo
Hi, Is it possible to populate a form bean without using the submit button to post the form. Iam using thelink tag to forward the user from one pageto another,but at the same time I would like the contents of the form to be sent to the Action form class. I do not know if whatI am trying to do

Re: link with dynamic page attribute

2001-09-26 Thread chiji nwankwo
Hi, Im in a bit of dilema, I understand Ted's last statement. But what I don't understand is what I should do if the parameters which are used by the html:link (forward) tag are generated on the fly. I can't hard code all the forwards in my config file because I don't know how may

Re: Remember selection in selection list

2001-09-27 Thread chiji nwankwo
Hi, This how I have done it and seems to work for me. I am checking for a flag in my reset method before I reset the fields and I havealso specified that the scope of the action that is used by the action form set to session. I hope this makes sense. config file extract: action

Itetaring over an array list of bean values

2001-10-02 Thread chiji nwankwo
Hi, I have a bean that encapsulates the properties needed to render an image (border, height, width etc). I want to able to use the values stored in this bean as attribute values for the struts img tag. Eg ArrayListimages = new ArrayList(); images.add(new Image("pix", "22", "43" )

Iteration-Issue???

2001-10-02 Thread chiji nwankwo
Hi, I have a bean that encapsulates the properties needed to render an image (border, height, width etc). I want to able to use the values stored in this bean as attribute values for the struts img tag. Eg ArrayListimages = new ArrayList(); images.add(new Image("pix", "22", "43" ) );images.add(new

Re: Itetaring over an array list of bean values

2001-10-02 Thread chiji nwankwo
mages store it in the ActionForm. ActionForm.setImages(pics); Then on the JSP you need to iterate property="images" From: "chiji nwankwo" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subje

Itetaring over an array list of bean values

2001-10-02 Thread chiji nwankwo
Hi, I have a bean that encapsulates the properties needed to render an image (border, height, width etc). I want to able to use the values stored in this bean as attribute values for the struts img tag. Eg ArrayListimages = new ArrayList(); images.add(new Image("pix", "22", "43" ) );images.add(new

IM IN DESPARATE NEED OF SOME HELP USING THE ITERATE TAG!!!

2001-10-02 Thread chiji nwankwo
Hi, I have a bean that encapsulates the properties needed to render an image (border, height, width etc). I want to able to use the values stored in this bean as attribute values for the struts img tag. Eg ArrayListimages = new ArrayList(); images.add(new Image("pix1", "22", "43" )

Re: Itetaring over an array list of bean values - THANKYOU VERY MUCH

2001-10-03 Thread chiji nwankwo
getHeight() %>' width='<%= img.getWidth() %>' / That is, specify the type of entries you are iterating over, and use scripting expressions to access the bean properties. Hope this helps. -- Martin Cooper - Original Message - From: "chiji nwankwo" <[EMAIL PROTECTED

Re: I NEEDED OF SOME HELP USING THE ITERATE TAG!!! - THANK YOU VERY MUCH

2001-10-03 Thread chiji nwankwo
6.2 0/1000/N How about this example? where PersonListForm is the ActionForm subclass. - Original Message - From: chiji nwankwo To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 2:02 PM Subject: IM IN DESPARATE NEED OF SOME HELP USING THE ITERATE TAG!!! H

Best practices regarding query strings and actions

2001-10-03 Thread chiji nwankwo
Hi, Is there a recommended way tomap query strings to actions so that their values are not displayed in the address bar. eg http://www.test.com/do/getClipper?action=searchpageNumber=12 Thanks ChijiGet your FREE download of MSN Explorer at http://explorer.msn.com

storing values used on the presentation tier

2001-10-04 Thread chiji nwankwo
Hi, I have a couple of array lists which are used to populate various select box options on my jsp page. At the moment I populate the values of my array lists with values that I get from a database and then proceed to insert these array lists into the same scope that is specified in the config

Re: Problem with weblogic

2001-10-04 Thread chiji nwankwo
Hi, When I forward from one action to another action, is it possible to find out( at run-time ) which action the forward came from? eg If class A forwards to class B. Can class B tell that it was forwarded to by class A? Thanks Chiji From: Steven Valin <[EMAIL PROTECTED]> Reply-To: [EMAIL

Forwarding actions

2001-10-04 Thread chiji nwankwo
Hi, When I forward from one action to another action, is it possible to find out( at run-time ) which action the forward came from? eg If class A forwards to class B. Can class B tell that it was forwarded to by class A? Thanks ChijiGet your FREE download of MSN Explorer at

global forwards

2001-10-19 Thread chiji nwankwo
Hi, Can anyone see what I am doing wrong? forward name="viewClipStreamHigh" path="/do/search?action=ViewClipstreamMode=High" / Application developer (ibm) seems to be complaining about the use of a delimiter. This is taken from within my strut-config file and I have an action called search. Is it

GLOBAL FORWARDS

2001-10-20 Thread chiji nwankwo
Hi, Can anyone see what I am doing wrong? forward name="viewClipStreamHigh" path="/do/search?action=ViewClipstreamMode=High" / Application developer (ibm) seems to be complaining about the use of a delimiter. This is taken from within my strut-config file and I have an action called search. Is

SUBMITTING A FORM AND DOING A FORWARD AT THE SAME TIME

2001-10-22 Thread chiji nwankwo
Hi, I want to move from one page to another by using the strutslink tag. At the same time I would like for the contents of the page which I am coming from to be submitted or initialized in my form bean. How do I achieve this? At the moment I am using a piece of javascript which submits the

SUBMITTING A FORM AND DOING A FORWARD AT THE SAME TIME

2001-10-22 Thread chiji nwankwo
Hi, I want to move from one page to another by using the strutslink tag. At the same time I would like for the contents of the page which I am coming from to be submitted or initialized in my form bean. How do I achieve this? At the moment I am using a piece of javascript which submits the

html:image tag example

2001-10-24 Thread chiji nwankwo
Hi, Does anyone have any examples of how to use the html:image tag to perform a submit. Please point me in the right direction. Thanks ChijiGet your FREE download of MSN Explorer at http://explorer.msn.com

default scope for struts actions

2001-10-25 Thread chiji nwankwo
I am right to think that the default scope for the struts action is request? Thanks ChijiGet your FREE download of MSN Explorer at http://explorer.msn.com

html:link page or forward?

2001-10-26 Thread chiji nwankwo
Hi, What is the difference between using the page and forward attributes of the html:link tag? Thanks ChijiGet your FREE download of MSN Explorer at http://explorer.msn.com