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

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: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

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 struts link 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 th

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 struts link 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

GLOBAL FORWARDS

2001-10-20 Thread chiji nwankwo
Hi, Can anyone see what I am doing wrong? 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.

global forwards

2001-10-19 Thread chiji nwankwo
Hi, Can anyone see what I am doing wrong? 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

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 http://explorer.msn.co

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 PRO

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 fi

Best practices regarding query strings and actions

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

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

2001-10-03 Thread chiji nwankwo
Microsoft MimeOLE V5.50.4522.1200 >X-Mailer: Microsoft Outlook Express 5.50.4522.1200 >X-Priority: 3 >X-MSMail-priority: Normal >References: <[EMAIL PROTECTED]> >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > >How about this example? where PersonListForm is th

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

2001-10-03 Thread chiji nwankwo
">> height='<%= img.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 th

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 ArrayList images = new ArrayList(); images.add( new Image( "pix1", "22", "43" ) );images.add(

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 ArrayList images = new ArrayList(); images.add( new Image( "pix", "22", "43" ) );images.add( 

Re: Itetaring over an array list of bean values

2001-10-02 Thread chiji nwankwo
PROTECTED] >Message-ID: <[EMAIL PROTECTED]> >X-OriginalArrivalTime: 02 Oct 2001 17:54:50.0767 (UTC) FILETIME=[554B59F0:01C14B6B] >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > >try this >" name="rvalue"> > >>From: "chiji nwan

Re: Itetaring over an array list of bean values

2001-10-02 Thread chiji nwankwo
s and getters >} > >In your action class you create an arraylist; > >ArrayList pics= new ArrayList(); >//loop > image img=new image; > //set the image values; > > pics.add(img); >//endloop >Once your arraylist is built om images store it in the ActionF

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 ArrayList images = new ArrayList(); images.add( new Image( "pix", "22", "43" ) );images.add( 

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 ArrayList images = new ArrayList(); images.add( new Image( "pix", "22", "43" ) );images.add(

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 have also 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: Re: link with dynamic page attribute
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 paramet

populating a form bean without using a submit button

Hi, Is it possible to populate a form bean without using the submit button to post the form.  I am using the link tag to forward the user from one page to 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 what I am trying

dynamic forwards

oblem?  Please, if anybody 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: Mo

Multiple actions via wildcard

Hi, Is it possible to map several actions to the same action form by using  a wildcard?  For example in struts config:    type="com.sky.videolounge.lounge.web.control.actions.SearchAction"    name="searchForm"   input="/search.jsp"     scope="session"> > in web.xm

Re: can html:checkbox indexed??

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] b

Application Developer - IBM and struts

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

request object

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 (

Iteration-Issue???

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 po

Using the iterate tag - part II

Hi, Thanks Ted for the advice on using the link tag, your advice has been heeded to. Problem for today:   page #: <%= pages %>    What I would want to happen is for each of the numbers displayed to a link to a particular page number, so that when any of the numbers is clicked

Using the link tag

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"; %>   test  it throws the following exception when I click on the link: java.l

Using the iterate tag

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 ma

Re: select list

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 >Re

Re: struts selection and Javascript onchange question

Hi, I had a similar problem and tried to find the best way to handle the problem, without mixing  JavaScript and jsp syntax.  What I came up with was a series of select boxes, some of which were dependant on others, that changed their values based on the selection made in a different select box.  

Re: tags

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 better

Removing bean from session scope

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