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
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
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
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
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
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
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
. 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
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,
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
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
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
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
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
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
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
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.
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
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
19 matches
Mail list logo