Multiple checkboxs in jsp using struts tags.

2006-05-25 Thread Albert L. Sapp
Hi, everyone. This is my first post so I will try to make it short. I am trying to use the logic:iterate and html:multibox. I found what I thought was a good example through a google search, but I just can't get it to work. Here is the exception I get: javax.servlet.ServletException: Canno

Re: Multiple checkboxs in jsp using struts tags.

2006-05-25 Thread Albert L. Sapp
[EMAIL PROTECTED] wrote: Albert L. Sapp asked: This is my first post so I will try to make it short. I am trying to use the logic:iterate and html:multibox. I found what I thought was a good example through a google search, but I just can't get it to work. Here is the exception

How do I set this up to give me a better display in jsp?

2006-05-26 Thread Albert L. Sapp
Hi, everyone. This code is working. ${unit.unitID} ${unit.formattedName} By adding a after the formatted name, I can get each checkbox on a new line. Not too bad, as we don't have a lot of banner units right now. I don't like the normal output with

Re: How do I set this up to give me a better display in jsp?

2006-05-26 Thread Albert L. Sapp
ll the offsets I use to build the table, in the outer loop. Its not very elegant, but it works fine. []s Miguel On 5/26/06, Albert L. Sapp <[EMAIL PROTECTED]> wrote: Hi, everyone. This code is working. ${unit.unitID} ${unit.formattedName}

Re: Reload the same page

2006-06-08 Thread Albert L. Sapp
Maya menon wrote: All, I have a page, results.jsp with a link < ahref="deleteAction.do?/> In deleteAction, the record will be deleted by calling the helper classes and on succesful delete the request should be forwarded again to the results.jsp. How can I achieve this ? In str

Re: Variable 'input' attribute in struts-config.xml

2006-06-09 Thread Albert L. Sapp
Scott Van Wart wrote: Michael Jouravlev wrote: I suggest to look at your issue from another perspective. Do you really need the functionality you are asking for? First, a small clarification. There is no input page for an action, "input" attribute is poorly named, it should be called "error" o

Re: best way to send parameters through more requests

2006-06-09 Thread Albert L. Sapp
Emilia Ipate wrote: Hello, all! Is there a solution besides using session, to send some request parameters from one request to another? I would like to implement something like a shopping cart (a functionality which needs about4-5 steps) and I do not want to store the objects in the session

Re: best way to send parameters through more requests

2006-06-09 Thread Albert L. Sapp
Emilia Ipate wrote: Al, your solution is good, except for one thing: what do you do if the user leaves the application at step2? You will have in DB all the items the user checked, but they are no longer necessary Emilia -Original Message- From: Albert L. Sapp [mailto:[EMAIL

Re: best way to send parameters through more requests

2006-06-09 Thread Albert L. Sapp
r Session expires automatically. You can set a shorter timeout interval if you need. My bank has 10 minute timeout. On 6/9/06, Albert L. Sapp <[EMAIL PROTECTED]> wrote: Wanted so what everyone had to say before I dropped in my 2 cents. The only thing we keep in session is the userID an

Thank you to the list.

2006-06-09 Thread Albert L. Sapp
Guys, I want to thank everyone on the list for all the new ideas and technologies that have floated up as answers to many of the questions posed here. I have learned that I need to get a good book on Struts, because I am sure we are missing a lot of stuff that would make our current project

Re: Page does not refresh after action

2006-06-12 Thread Albert L. Sapp
Rizwan Merchant wrote: Hi Manoj, Thanks for the response. This happens with both FF and IE. I am not sure I understand your question "Also where are u persisting the order (session db ..where)that you change in the action that is not reflected in the forwarded page". When I click on the ca

Re: set request parameter

2006-06-20 Thread Albert L. Sapp
Vidya Mahavadi wrote: Hi guys, I have a jsp where I have a table with few records and for each record I have a Remove button, which actually should delete the record from database. How do I pass the record id to the action.. Any ideas? Regards, Vidya This message and any attachments are

Re: Dynamically Initializing Checkbox Value

2006-08-30 Thread Albert L. Sapp
Anthony, I am puzzled by your comment that you don't have a form bean before you get to the jsp. We do this all the time. Say I want to display a list of inventory items for a user. I retrieve a list of inventory items matching the query data the user gave me and create an array of invento

Re: Dynamically Initializing Checkbox Value

2006-09-01 Thread Albert L. Sapp
Anthony, See my comments below. Hope this clears things up a little and I see Laurie has made a worthwhile comment about looking at the examples available. HTH, Al Anthony N. Frasso wrote: My head hurts. :) Thanks for everyone's help. I've gotten a number of responses, it's just that I

Re: Out of topic, Oracle SEQUENCE

2006-09-15 Thread Albert L. Sapp
Daniel, If you are by chance using iBatis, look at their selectKey command. It is the one that seems to be referred to most for this type of need on the iBatis list. If not, sorry. Al Brett Connor wrote: (In case my reply to completely the wrong post didn't get read!...) selecting max...

Re: Forward to action without jsp

2006-09-29 Thread Albert L. Sapp
Andy, Following what you want to do. This may not be exact as I don't use a dispatcher, I don't think. jsp with edit button (In our case, we use a link with image (user.jsp). action="/user/preUpdateUser?userID=${userForm.userID}">pageKey="images.updateIcon" border="0"/> dispatcher?

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Albert L. Sapp
Wesley, From personal experience, I know where you are coming from. I started out knowing even less about this than you. I will say though that it was fairly easy and quick to pick up both Struts and iBatis. The design standards were handed down from a project leader long gone before we ev

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Albert L. Sapp
Wesley Wannemacher wrote: Hello, I am not really a Java Guru, but have made the experience that in effect the name "Bean" is - in the context of Struts-based Webapps - really nothing more than a POJO following the naming conventions of JavaBeans for getters/setters. Awesome, thank

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Albert L. Sapp
+1 Al Larry Meadors wrote: On 10/6/06, Ivo Limmen <[EMAIL PROTECTED]> wrote: iBATIS is only a small helper tool that will help you to map objects to the database. This requires a lot of code to write. If you use Hibernate you can write the mapping and generate your beans. Hibernate does howev

Re: Very basic question on formbeans

2006-11-22 Thread Albert L Sapp
Jim, Basically, that is how our application is set up. There are transfer object beans that handle the movement between our controller layer and model and form beans for moving data between the view and controller layer. Sometimes, the TO and form bean may be exact matches and other times I

Re: Autocomplete attribute in Struts tags

2006-12-04 Thread Albert L Sapp
I think the original question was how to *avoid *displaying previous information that was entered by a previous user, I believe. Firefox does retain form field information to "help" the user enter information in the field the next time they use the form. If, however, more than one user makes

Re: Autocomplete attribute in Struts tags

2006-12-04 Thread Albert L Sapp
set it to "off". -Original Message- From: Albert L Sapp [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 4:12 PM To: Struts Users Mailing List Subject: Re: Autocomplete attribute in Struts tags I think the original question was how to *avoid *displaying previous informat