Recursive iteration using logic:iterate

2002-11-06 Thread Josh Berry
I tried the list archives but was unable to find a solution to the following. If I looked in the wrong spots, a simple pointer would be awesome. :) Basically, I have your typical tree structure. I would like to turn this into an unordered list in the browser. So... I currently iterate over the

Re: [RE: Recursive iteration using logic:iterate]

2002-11-06 Thread Josh Berry
Zeitlin, Mike [EMAIL PROTECTED] wrote: Josh, There is an excellent tutorial made by Arron Bates that goes through traversing a tree using recursion: http://www.keyboardmonkey.com/pilotlight/index.jsp Hope that help, That was awesome, actually. I had thought of doing something like

Re: [How to fill an Actionform after using an ActionClass ?]

2002-11-05 Thread Josh Berry
Responses below... Marcus Biel [EMAIL PROTECTED] wrote: How to fill an Actionform after using an ActionClass ? Normally a user fills out a form on a jsp, then the Actionform gets called and filled by the data the user entered. Then the ActionClass gets started and uses the data from the

Doc changes and 1.1

2002-10-30 Thread Josh Berry
Wow, I am going to go ahead and respond to everyone in one post. First, thanks everyone for highly recommending 1.1. I was under the impression that there was a fair deal that has changed. As I said, I am just using 1.0, but some other people have tried 1.1, and had reported difficulty in

Re: [scope]

2002-10-30 Thread Josh Berry
Response below... Knoernschild, Kirk W [EMAIL PROTECTED] wrote: I'm using a databean to populate my JSP page. I put the bean on the request. The page populates fine. When submitting however, Struts builds my formbean and calls the validate method. If the validate method fails, I try to

Re: [Sorting within an Iterate tag]

2002-10-30 Thread Josh Berry
Response below. Peter S. Hamlen [EMAIL PROTECTED] wrote: We display lists throughout our Struts application, and depending on the screen, the lists need to be sorted differently. Is there a useful SortedIterate tag or somesuch out there? I believe the best solution here would be to deal with it

Re: [Re: back button]

2002-10-30 Thread Josh Berry
Responses below. I actually marked the quotes this time, sorry for forgetting on my last. :( David Graham [EMAIL PROTECTED] wrote: That is an absolutely hideous solution to the problem. Breaking the user's back button will only make them angry. I agree, though I see attempts at just such

Re: [Trouble with messages duplicated directly to me (was RE: [Sortingwithin an Iterate tag])]

2002-10-30 Thread Josh Berry
. This screws up my filtering. And it doesn't seem to be random. For example, I am getting in the To: field of every message Josh Berry sends to the list, although I have never replied to Josh nor have I initiated any of the threads in which he is participating. -- To unsubscribe, e-mail

Re: [Re: [Sorting within an Iterate tag]]

2002-10-30 Thread Josh Berry
Responses below. Peter S. Hamlen [EMAIL PROTECTED] wrote: Thanks for replying! Your recommendation is certainly technically possible and essentially what I'm doing now, but it leaves me particularly unsatisfied. Wouldn't you agree that the order of the list is strictly a display issue,

Re: [href to perform an action]

2002-10-30 Thread Josh Berry
Responses below... Cindy Horn at SF x4874 [EMAIL PROTECTED] wrote: I have a jsp with a list of shipment data where hrefs are defined on the equipment keys. I would like the client to click on the link to drill down from the list to a detailed jsp. If I do the following: a

A newbie question.

2002-10-29 Thread Josh Berry
I have just recently begun using Struts for a job at work. This is my first JSP project, so if I ask something that is more appropriately learned in the basics of JSP let me know. I saw the hint about linking to actions, but have one slight gripe. I made all of my actions end in .do, as per the

Re: [Re: A newbie question.]

2002-10-29 Thread Josh Berry
This is how I go about it as well. I have a datasource set up in my container. I access that datasource using jndi, and do no do that in my Actions. This topic cycles through here every now and again. Try a search for DAO in the archives at

Re: [how many form for update and create action ?]

2002-10-29 Thread Josh Berry
Xavier Combelle [EMAIL PROTECTED] wrote: I have a conceptual problem in my struts application I am programming an application which give the possibility to create, update and delete several information, for exemple the name and the price of an item. So I need to give to the user two

Re: [Re: [how many form for update and create action ?]]

2002-10-29 Thread Josh Berry
David Graham [EMAIL PROTECTED] wrote: Josh, I think your approach is fairly standard and is also what I recommended :-). The only thing I wasn't sure of was using the same action for saving and creating. I feel that is easiest, but I can see how some people might disagree. Also, two general

Re: [RE: Container Managed Authentication and roles attribute on action]

2002-10-29 Thread Josh Berry
my response below... Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED] wrote: That's a workable solution, but a bit of kludge - assuming that the user can get a error-code of 400 for other reasons than not being authorized. I guess I was hoping for a way to trap the response before it left the

Nice labels for inputs.

2002-10-29 Thread Josh Berry
I am not real sure of what to call what I am trying to do, so nice labels will have to work. Due to my amazing irritation with having to check a tiny little box for a radio/checkbox select when there is a large label I could be checking, I used to use the label tag quite extensively. I am not

Re: [RE: Nice labels for inputs.]

2002-10-29 Thread Josh Berry
D'oh!! I hate it when I get so caught up looking for something in an exact way, that I miss the fact that it really is there. Well, now I know. :) Thanks everyone for pointing out styleId. -josh Karr, David [EMAIL PROTECTED] wrote: Use the styleId attribute. That's exactly what it does.

RE: Nice labels for inputs.

2002-10-29 Thread Josh Berry
29, 2002 5:20 PM To: Struts Users Mailing List Subject: Re: Nice labels for inputs. On Tue, 29 Oct 2002, Josh Berry wrote: Is there any reason that id is not allowed on the struts input tags? Does anyone else see the benefit? I know it sounds asinine, but that is one the often unused

RE: Nice labels for inputs.

2002-10-29 Thread Josh Berry
How many caveats are there if I am going to be using 1.0ish to develop with? I am not sure what the official stance on struts versioning is at work. For the most part, everyone is in a somewhat mad rush to learn all they can, so it may be alright. However, I do have a little reservation about