[ANNOUNCE] Struts is now an Apache top level project.!

2004-03-17 Thread Arron Bates
Peoples, Word has just come back from the Apache board meeting with the results of Struts' request to become a top level Apache project along side ANT and the rest... * The Apache Jakarta Struts project requested to become a top level project of the ASF. The Board definitely agreed with

Re: unsuccessful in keyboard monkey's nesting tutorial... please help :)

2004-02-10 Thread Arron Bates
He's right. And to elaborate... use the tld and classes from the struts distro, and not the tld and nested tag classes from the tutorial. All the best. Arron. The latest nested tags are already included with the Struts 1.1 distribution. --- mariel hizon [EMAIL PROTECTED] wrote: Hi!

Re: Using display/ tag with nested beans

2004-01-20 Thread Arron Bates
Jerry, Try using nested:define tags to make bean references that the display tags could then get a hold of and use. Otherwise, there would be no other way unless the display tag source code was updated to recognise and use the nested context. Hope this does the trick. Arron. I'm trying to

RE: getting data from form with nested beans

2004-01-20 Thread Arron Bates
Never thought I'd see a flamewar on nested beans. :) Request scope beans in lists are very much possible with the help of Lazy collections... http://marc.theaimsgroup.com/?l=struts-userm=105027737732711w=2 ...it's the entire reason the lazy collections were made. Some people just can't live

Re: Nested tags not working with session-scope form

2004-01-02 Thread Arron Bates
If you can simply switch nested for html or logic, then the markup isn't specifically made for the nested tags. ie: you've probably used the name attribute etc which the nested tags don't need. If you're able to use html or logic, then you may as well use the original tags. If you want to take

RE: Problems with Tomcat and nested:iterate + jsp:include

2003-12-11 Thread Arron Bates
+ jsp:include Well the WSAD build in version, which is 1.1beta2. But is it a Struts problem, cause why does it work with Resin WSAD, but not with Tomcat ??? Thanx Rouven - Original Message - From: Arron Bates [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: Problems with Tomcat and nested:iterate + jsp:include

2003-12-11 Thread Arron Bates
- Original Message - From: Arron Bates [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, December 11, 2003 3:34 AM Subject: Re: Problems with Tomcat and nested:iterate + jsp:include Rouven, What Struts version are you running

Re: Problems with Tomcat and nested:iterate + jsp:include

2003-12-10 Thread Arron Bates
Rouven, What Struts version are you running? Arron. Hi there, hope someone has a clue, why this doesn't work with Tomcat, but works with Resin : I have a tile, where i want to show a treelike menu based on the monkey example for the struts-nested taglibs, see my code at the

Re: Nested tags always break

2003-12-03 Thread Arron Bates
Rick, You still having this problem?... can I see the tag markup that's causing the problems?... If the root tag is picking up the name of a valid bean, and the iterate tag has it's property attribute properly set, then I assure you that you don't need the name attribute in the write tag. I'm

Re: nested:select - Transfering multiple values in option

2003-11-21 Thread Arron Bates
Dirk, A standard problem. Many people implement some kind of lookup system to fetch things like drop down values and such. You are right, you do only get the ID, and it's going to be up to you to fetch the value from somewhere if you want to show it to the user again. Most likely the same place

Re: Nested tags : Desperately trying to get recursion to work

2003-11-11 Thread Arron Bates
Jyothi, You still having problems with this? Sorry that I haven't gotten back to you, but work's been quite busy and not enough hours inbetween. Just let me know. Arron. PS: you'll get my attention faster with this email address. :) Hi, I am very new to nested tags and I am trying

Re: form submit - nested property problem

2003-08-30 Thread Arron Bates
I think that the mix of original Struts tags and nested tags is getting you a little confused. Using the nested:text tags and such inside a basic iterate tag will yield no benefit, may as well use the plain logic and html tags. Try this nested tag markup... nested:root name=fagtypeform

RE: Nested Tags

2003-08-27 Thread Arron Bates
The nested tags are simply different. The advantages of using them is not replicated in the JSTL/EL or any other tag system. The nested tags directly extend the Struts html, bean and logic tag library and add the nested context. Because they are different, they have never been on the

Re: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died

2003-06-28 Thread Arron Bates
You're talking of one of the greatest books of all time... Red Dwarf. Lister bought the cat to annoy Rimmer. Cat dies eventually of old age in the cargo hold before starting the race of cats which brought on the Cat character we all know and really dig. If you say it's not, you're lying or

Re: Nested recursion does not recurse!

2003-06-17 Thread Arron Bates
All the markup seems fine. This is very indicative of the older Struts on the newer tomcat. Double check the version of Struts. 4.1.x was broken with recursion and such things, but it's fixed for RC2. As a last resort, try this jar... keyboardmonkey.com/downloads/km-nested-v2.03.jar

Re: StrutsMonkey

2003-06-16 Thread Arron Bates
The MonkeyStruts example initiates everything in the constructor of the beans, and because they're in session memory, there's no issue with having to manage anything with regards to request scope and bean population. Result: nasty code in the constructors that shouldn't be duplicated in a real

Re: nested:link with multiple parameters

2003-06-11 Thread Arron Bates
Usually, I have a Map property in my bean which makes the links for that given object. For example, my links tend to go something like... nested:link action=/testAction property=linkParams / ...bean code for the getLinkParams getter for the property looking like... public Map

Re: nested tags

2003-06-10 Thread Arron Bates
The nested tags extend the Struts html and logic tags. So to use an OO analogy, the nested tags is to the logic tags the same way that a Ferrari is to a car. :P Nested tags organise two things. The bean reference (the name attribute), and the property property. The property property is the most

Re: nested tags

2003-06-10 Thread Arron Bates
My questions are : 1. Does the nested tag lib require struts to be used ? I have nested-tag.jar and struts.jar in the WEB-INF/lib but the application is not based on struts framework. It is an MVC app but with our own controller servlet and mapping(like struts-config). When I tried, I

Re: Nested indexed reference problem

2003-06-06 Thread Arron Bates
BeanUtils inside Struts can't deal with the two indexes back to back ([i][k]). The reason why the original logic:iterate works, is because it cheats (yes, it cheats). Because it doesn't care about its children, all it does is get the collection using childs[1] and then makes a bean. It's this

Re: Branch Too Large Exception with Nested Iterator

2003-06-03 Thread Arron Bates
Hi, 1) I am using Nested Iterator to display the content as text boxes. In each row I have 10 fields, If the rows are increasing I am getting the Branch Too Large Exception. I have 3 types of grids in a page, If I kept 2 Grids it is working fine, If I kpet 3 Grids then it is giving error.

Re: Struts In A Distributed\Clustered Environment.

2003-05-29 Thread Arron Bates
Struts is the least of your teams performance concerns. It would do you good service to simply take Struts as heling you organise servlets jsp's and go chasing bigger problems like persistence and selection of architecture app server. Struts doesn't change the Servlet model. It doesn't change

Re: Indexed Deep Properties

2003-05-29 Thread Arron Bates
the text fields maxlength etc etc. It's working now, which is sweet. All the best, Arron. Still, it's working, so thanks for the help. -jdr On 5/22/03 4:26 PM, Arron Bates [EMAIL PROTECTED] wrote: I have no idea why you're not getting an indexed property for the user part

Re: Invalid indexed property ?!

2003-05-29 Thread Arron Bates
Instead of this tag... html-el:multibox property=selectedDrinks[${drinkType}] ...try this one... html-el:multibox property=selectedDrinks(${drinkType}) ...basically the square breaces are for indexed properties. The round ones are for maps. You're trying to drive a map based property,

Re: JAXB vs Digester

2003-04-05 Thread Arron Bates
Subject: JAXB vs Digester Hi, From what I have seen of JAXB and Digester, both fecilitate xml- java class/object conversion and vice-versa. So what is the difference? When to use what? A couple of very incomplete thoughts: * Digester is one way (XML-Java), JAXB is two way

RE: [OT] JAXB vs Digester

2003-04-05 Thread Arron Bates
I don't know why this discussion is happening here but I'll throw in my two cents. Hands down the best one or two way xml-java system is Castor. Wont argue with that. Very fine piece of work. But the JAXB r.i. is quite comparable. Only thing Castor does much better is that you can get the

RE: [OT] My Struts webapp and hosting

2003-04-05 Thread Arron Bates
Yeah, well *I've* been using KGB for longer! :D Seriously, the service is very good. In all the curly ones I've thrown him, I've never had an issue not resolved. Including having X service support for dynamically generated images wasn't a problem. And if you take on more sites, he'll also thrown

Re: Does a degree matter?

2003-03-29 Thread Arron Bates
Brandon, If you can do the deed (which it sounds like you can), I would hazard offering my opinion in thinking that it wouldn't be the best use of your time. By education I'm a graphic designer, not a computer scientist. First job was web design, programmer ever since. Results... I've only had

Re: [OT] tree control

2003-03-27 Thread Arron Bates
Dan, Using the Struts nested tags, you can get JSP's to go recursive, allowing all the freedom in markup that you're used to without having to wade through code that most tree controls work within. It's so simple, some sod's even made a tutorial... http://keyboardmonkey.com/pilotlight ...the

Re: working with a team

2003-03-21 Thread Arron Bates
Stephen Smithstone ([EMAIL PROTECTED]) wrote: Have u tried sharing the drive as a network drive with permissions on it ?? then get the jsp developer to map the network to a drive on his computer We aren't even in the same county, so this will be a little hard. I guess a good

Re: nl2br taglib

2003-03-20 Thread Arron Bates
Nice piece of work, it looks familiar... http://www.mail-archive.com/[EMAIL PROTECTED]/msg63442.html ...never thought feedback on the solution would be like this, but each to their own. For those interested, the link contains code which can be used for any such filter operation. Arron. I

Re: logic tag addition proposal

2003-03-20 Thread Arron Bates
David Graham ([EMAIL PROTECTED]) wrote: This kind of logic is better done in an Action, not in the view layer. David I disagree in this case. Assets should only be the concern of the view and sometimes, the view has to make sure that a certain state exists before it can display the

Re: [OT] suggestion for getting properties

2003-03-17 Thread Arron Bates
Dan, What's wrong with simply using a List then?... Sounds like all you want to do is get at things in an order, and the amount and what they are aren't the semantics by which you'll be managing the list. Another way is to yield the map/list getters setters to the same thing and manage it

Re: [Q] Hierarchy display taglib?

2003-03-15 Thread Arron Bates
No taglib itself, but nested tags will allow the recursion to happen and thus make the tree. Try this... http://keyboardmonkey.com/pilotlight ...the JSP Recursion Trees! part. It should do the trick. Arron. Is there a taglib for presenting hierarchically defined content in a JSP

Re: nl2br taglib

2003-03-15 Thread Arron Bates
Dan, I think that you may have better luck in a tag that doesn't actually extend or particularly work around the write tag, but simply filters the results of body content. That way your not just restricted to filering the content of a bean property. Markup would be like... mylib:nl2br whatever

RE: Question about NestedIterateTag (also: nested:iterate nested:root)

2003-03-13 Thread Arron Bates
Have you tried the latest and greatest nested tags?... An update changing all the internals that would affect this have changed. It went in after RC1, so either fetch a nightly, or simply download... http://keyboardmonkey.com/downloads/km-nested-v2.03.jar ...and pop it into your WEB-INF/lib

Re: nested:iterate jsp:include, nesting reference incorrect?

2003-03-13 Thread Arron Bates
Have you tried the latest and greatest nested tags?... An update changing all the internals that would affect this have changed. It went in after RC1, so either fetch a nightly, or simply download... http://keyboardmonkey.com/downloads/km-nested-v2.03.jar ...and pop it into your WEB-INF/lib

RE: Question about NestedIterateTag (also: nested:iterate nested:root)

2003-03-13 Thread Arron Bates
Whoops, replied to the wrong mail witht he wrong content. I think you're asking Where's the iteration!?... It's in the super class of the NestedIterateTag, in IterateTag in the logic taglib packagage. The nested variant simply allows it to relate to other nested tags. So all the logic you're

Re: nested:form parent scope

2003-03-13 Thread Arron Bates
Try swapping the nested:form with html:form. I'd be surprised if it didn't start working. Each tag sets a reference. nested:form tag is special in that it's a root tag that defines the start of a nested structure. Your example is nesting fine until you hit the form tag. I can see your logic in

RE: Nested and Tiles taglibs together

2003-03-12 Thread Arron Bates
Chris, et al, As of my last update to the nested tags, they use the request scope to store their reference information. They used to browse the tree of tags on a page which kept them in page scope, but now they're independent. If a nested tag is run anywhere inbetween the start and end of a

Re: Making a Tree

2003-03-12 Thread Arron Bates
Sloan, See if this is what you'rs looking for (tutorial etc)... http://www.keyboardmonkey.com/pilotlight/index.jsp ...scroll down to the JSP Recursion TREES!!! part. Have fun. Arron. Are there any struts/jsp tags that help in making a tree structure? Not a JavaScript one but one

Re: MonkeyTree problem - In RC1

2003-03-08 Thread Arron Bates
. Arron. -Dan - Original Message - From: Arron Bates [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 07, 2003 11:20 PM Subject: Re: MonkeyTree problem - In RC1 Dan, I'm presuming Tomcat 4.1.18?... Get this jar... http

Re: MonkeyTree problem - In RC1

2003-03-07 Thread Arron Bates
Dan, I'm presuming Tomcat 4.1.18?... Get this jar... http://keyboardmonkey.com/downloads/km-nested-v2.03.jar ...and throw it into the WEB-INF/lib directory, and restart the app. With any luck it should work. Nested tags were only fixed in new Tomcat 4.1.X after RC1, it'll be in the RC2

Re: [NESTED-TAGS]Anyone using nested tags with the latest nightly build?

2003-03-07 Thread Arron Bates
-- IMG Tag - [..cut..] My only issue: The release of the nested tags from 1.1b2 let you get away with some nested tag mis-use [..cut..] The reason why it stopped working in the recent nightly is that the nested tags have been gutted, and remade to allow them more flexible

Re: editable list using nested:iterate and lazyList

2003-03-06 Thread Arron Bates
) and from that list page you can select a single student which is displayed in a detail page from which you can edit that one student's info. I am using a LazyList because the only example of an editable list that I have every seen was given by Arron Bates (monkey boy) and that is what he did

Re: [NESTED-TAGS]Anyone using nested tags with the latest nightly build?

2003-03-06 Thread Arron Bates
Jeff, I can fix the first problem with the nested:img tag... don't use it. :P Use the html:image tag instead. The error's coming through because of the old nested mantra that if you don't want the property property to be managed and set, then use the original tags. You're using pageKey instead

RE: [update] nested tags...

2003-03-03 Thread Arron Bates
trying to stick with Struts 1.1b3 than move to the nightly. /not.lazy Sri -Original Message- From: Arron Bates [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 12:53 AM To: [EMAIL PROTECTED] Subject: [update] nested tags... Peoples, Important changes just committed

RE: [update] nested tags...

2003-03-01 Thread Arron Bates
Sri, Don't know how the other one clapped out, but i made another one, tested out okay (JDK Jar tool). Try this one (link for convenience)... http://www.keyboardmonkey.com/downloads/km-nested-v2.03.jar not lazy I understand that people aren't lazy, just pragmatic. :) /not lazy Arron.

[update] nested tags...

2003-02-27 Thread Arron Bates
Peoples, Important changes just committed into CVS for the nested tags. 1) Copyright date in the header license is updated to include 2003! 2) The internal changes to get them dancing with Tomcat 4.1.18 more. For those too lazy to get the entire distrib of the next nightly, you can get just

RE: Nested:Checkbox

2003-02-26 Thread Arron Bates
nested tags don't like the name attribute, becuase they're getting the bean from their parent. In the example, the check is working off the product of the iterate tag anyway. I'm betting the following is what you're after... nested:iterate property=associates nested:checkbox

Re: monkey tree - must be session-based?

2003-02-25 Thread Arron Bates
I have been using Nested tags to create pretty complicated nested structures in a flash. But I have a problem when the user opens multiple windows and the session values can get messed up and the trees throw ArrrayIndexOutOfBound Exceptions. Has anyone come across the same? How to resolve it?

RE: [ANN?] New Nested Tags -or- Nesters, lend me your containers...

2003-02-24 Thread Arron Bates
. Sri -Original Message- From: Arron Bates [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 6:39 PM To: Struts Users Mailing List Subject: RE: [ANN?] New Nested Tags -or- Nesters, lend me your containers... You had me going there for a bit. Even made another

RE: need to display a tree struture in JSP

2003-02-24 Thread Arron Bates
I may be bias, but I've never seen a more flexible tree solution than this... http://www.keyboardmonkey.com/pilotlight ...scroll down and do the turorials under JSP Recursion TREES!. I've made a lot of trees, but this is the least clumsy solution, as the markup is simply Html and the nested

[ANN?] New Nested Tags -or- Nesters, lend me your containers...

2003-02-23 Thread Arron Bates
Avid Nesters, (you know who you are, no need to lie to yourself) Tomcat 4.1.18 is now on the radar!... The nested tags internals have been re-written primarily to fix the problem with them not working in the new tomcat 4.1.18 jasper engine. It also allows them to be a little more flexible

RE: [ANN?] New Nested Tags -or- Nesters, lend me your containers...

2003-02-23 Thread Arron Bates
You had me going there for a bit. Even made another test war to do exactly what your snippet prescribed, but as long as it's working. Hope the other app turns out to be not my issue too... :P Waitin for the word... Arron. Never mind... I had updated the WEB-INF/lib of ap-1 and tested

RE: [Nested Tags] Frustration..Should this work?

2002-11-28 Thread Arron Bates
A really subtle problem. Remind me to make this advice available some place else when I'm done (like a mail archive?)... :) Trap one: It sounds like the bean reference is a collection itself. A little more background clarity... The nested tags never actually define references, they simply

Re: Complicated Web Interfaces?

2002-11-28 Thread Arron Bates
I've also looked at the monkey-struts example as well but that seems to lack the creation of objects in these lists, which doesn't look to be a problem to implement but that might be an oversight on my part : ) please let me know if I'm wrong. Have another play, click on new banana...

RE: Complicated Web Interfaces?

2002-11-28 Thread Arron Bates
It solves my problem in theory at least : ) all I have to work out now is how to maintain a tree in Struts :( I don't think the applet way is a very nice way of doing it. Mate, here at the keyboard of monkeys, we aim to please... http://www.keyboardmonkey.com/pilotlight ... and scroll to the

Re: Struts: a Graphic Artist blessing or curse?

2002-11-25 Thread Arron Bates
It's up to your designers. I've had designers that throw their hands up at anything under the bonnet at all. Being a graphic designer myself, I don't mind cutting code at any level. :) The trick with anything like this is find the middle ground for your team. For some, it's just having them cut

Re: Why doesnt logic:iterate use the formBean from the html:form

2002-11-16 Thread Arron Bates
html:form action=/helpMe logic:iterate property=infoItems /logic:iterate /html:form I assumed that iterate tag would look for a property infoItems on the formBean for the html:form But it doesnt? The nested tags work in exactly this fashion, picking up on the form bean

RE: nested:iterate in an included page

2002-11-15 Thread Arron Bates
I did not have any nested tags in the top page so I added one and now my code looks like this: (Your example referenced nested:property and I assume you meant nested:nest) That'd be the one... :) I am still getting the null reference on the first nested tag in the included jsp. I

RE: nested:iterate in an included page

2002-11-14 Thread Arron Bates
You need at least one nested parent tag on the top page with the html:form tag. This will allow the nested tags to put their parent reference into the request object, from which the nested tags in the included page can pick it up. eg: html:form action=/Time/SaveTimesheet styleId=GridForm

RE: 2D Collection and nested:iterate

2002-11-13 Thread Arron Bates
Thanks for the reply, appreciate it. From what I understand, I have to do something like : firstList --eachElementIs-- simpleBean --contains-- secondList In other words, wrap the 2nd list inside a bean. However, if that's the cast, I would imagine it will drag down the performance

Re: 2D Collection and nested:iterate

2002-11-12 Thread Arron Bates
The problem is the use of this/ as the property of the second iterate. Basically, it's basically saying don't append anything more to the property reference, my parent's reference will do. ie: you're probably after myProperty[5][6] but the this/ is telling it to leave it at myProperty[5] never

Re: nested:hidden body to set value?

2002-11-12 Thread Arron Bates
This is one of those fun times where I get to say it's not in the original tag, therefore it's not in the nested one... :) should the tag body be the value?... yes, probably. But I doubt such additions will be made to the tags before the next Struts release. El nested tags... apparently it's a

RE: [Nested Tags] Nested vs logic tags..

2002-10-28 Thread Arron Bates
Just a hunch-- have you tried specifying a 'name' for the nested:iterate tag? The nested tags don't need it, and if it's provided they will ignore it. Why?... because all the tags are working off the same bean structure, and this is defined for us by the form tag. The nested tags will fetch

Re: nested:iterate recursion inverts tree

2002-10-26 Thread Arron Bates
So you ran the directory tree war (the end of the monkey-tree example), and the directory tree came out upside down?... If it did, I'd have to say it's how your container is evaluating the JSP. I would think that it's compiling all the objects and evaluating their output. But in doing so, it's

RE: Proper Syntax of Nested logic:iterate

2002-10-26 Thread Arron Bates
use nested:iterate ... see docs http://jakarta.apache.org/struts/struts-nested.html There's not too many examples there however. More complete tutorial and examples here... http://www.keyboardmonkey.com/next Arron. -Original Message- From: C. Struts

Re: nested:iterate building columns

2002-10-23 Thread Arron Bates
On Tue, 2002-10-22 at 01:02, Adam Sherman wrote: Arron Bates wrote: What about a Set? List and Map implementations only. Only because the properties for getting at an item in a collection needs a key. int's for lists and arrays, and objects (strings) for the mapped collections. Set

RE: nested references and javascript

2002-10-11 Thread Arron Bates
or even... document.forms[myForm][foo.bar].value The .elements bit is optional. Arron. On Fri, 2002-10-11 at 15:23, Steve Widmar wrote: D'oh! (as in 'Doh yeah') no wonder it wasn't in the archives; well, it is now (or should be soon). Thanks, James. [EMAIL PROTECTED] 10/10/02

Re: Pop-up from with Nested loop

2002-10-09 Thread Arron Bates
On Wed, 2002-10-09 at 07:55, Rea, Ron wrote: Has anyone ever used a pop-up form to fill data with a nested:iterate section? Many times. Good for me, huh? :P I am displaying several rows of data using a JSP and the nested:iterate tag. On each row, I want to create a link or button that,

Re: nested tags - version problem

2002-09-17 Thread Arron Bates
Do you mean the nested_tags_10.jar from my site?... I just checked the tld, there's no mention of the EmptyTag or the NestedEmptyTag that extends from it. It is in the Jar, but if it's not in the tld file, it's not going to get called. Other people are running off weblogic on the old jars also.

RE: Nested tagscomplete example for Table (with check-box, hyperlink) Help, help help

2002-09-17 Thread Arron Bates
On Tue, 2002-09-17 at 20:53, Lister, Tom (ANTS) wrote: see http://www.keyboardmonkey.com/next/index.jsp they work a treat for master/detail type forms although I'm finding I may have to upgrade to form Struts 1.0 to 1.1 to get them working on Web logic You wont be sorry for going through the

Re: SAP DB

2002-09-07 Thread Arron Bates
On Sat, 2002-09-07 at 08:35, John Nicholas wrote: Ferran Parra wrote: Hi is the SAP DB open source database a good DBMS?? why not is popular than mysql?? thanks --- Ferran Parra [EMAIL PROTECTED] http://www.mubimedia.com MUBIMEDIA

RE: Additional logic:iterate helper tags wanted

2002-09-07 Thread Arron Bates
On Sat, 2002-09-07 at 16:53, Michaƫl wrote: If you're using a JSP 1.2 container (e.g. Tomcat 4.x, Resin 2.x), you can do this (and many other cool things) using the JSTL c:forEach tag: c:forEach items=items var=item varStatus=status c:out value=${item}/ c:if

Re: SAP DB

2002-09-05 Thread Arron Bates
SAPDB is simply awesome. I've been ramping up a personal project which needs a complete DB arsenal, and I was worried until I met SAPDB. MySQL slows for inserts hand has a lack of SQL support. PostgreSQL has more SQL but it's slower. Both have issues over page size, data limitations. SAPDB... I

Re: problems with nested tag examples

2002-08-02 Thread Arron Bates
Sorry to report that your container is out of data, and will not be able to do the true recursion that the monkey tree example uses to do it's thing. You'll have two options... update your container, or use what I'll call faux recursion. Have your page use static includes and arbitrarily mark

Re: Wrapping Collections in LazyList to auto-populate form on Submit

2002-07-24 Thread Arron Bates
: Arron Bates [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, July 23, 2002 10:19 AM Subject: Re: Wrapping Collections in LazyList to auto-populate form on Submit Hemant, Sorry about the issues you're having, but at face value it seems that you're almost

Re: Wrapping Collections in LazyList to auto-populate form on Submit

2002-07-23 Thread Arron Bates
Hemant, Sorry about the issues you're having, but at face value it seems that you're almost trying too hard. Without seeing the rest of your code, it's hard to see what your generateWrappedCollection() method is trying to acheive, so I'll try to answer with code... With the collection

Re: getting nested tags to work with DynaActionForm???

2002-07-19 Thread Arron Bates
for monkey, bunch, etc etc? Is this something that you configure in xml somewhere? Presumably an extension to dynaform configuration? Adam Arron Bates wrote: Craig, wouldn't this be fixed by getting the collections in the DynaForm to be wrapped by the lazy lists I commited a few weeks

Re: Setter Methods not being called in nested:iterate scenario :+(

2002-07-19 Thread Arron Bates
FYI This isn't a nested tags issue at all, but a nested bean-in-a-list issue which Struts had a long time before I wrote the nested tags. They're only guilty of making something quite complex very easy to do. :) Wrap your collections in org.apache.commons.collections.LazyList, provide a class

Re: Resin 2.1.1 and Struts

2002-07-19 Thread Arron Bates
Pretty much performs as required. Quite tidy. Absolutely boots as it has a very optimised JSP compiler, to the letter of a spec. Makes writing tags harder because of the level of tag object reuse, but it all pays off. Because it moves faster than tomcat it's quicker to code with, kick it over an

Re: Re[2]: getting nested tags to work with DynaActionForm???

2002-07-17 Thread Arron Bates
Craig, wouldn't this be fixed by getting the collections in the DynaForm to be wrapped by the lazy lists I commited a few weeks ago to commons?... then when they're being created when the request comes in, it'll all grow as needed and it'd just happen. Been missing the past couple of weeks due

Re: nested:image, image src, nested:write

2002-06-26 Thread Arron Bates
On Wed, 2002-06-26 at 03:11, Barbara Post wrote: Well, this scriplet does not work, it throws an error (com.sun.tools.javac.Main deprecated), because the name attribute is not set. So here we go : what is the name of the current bean using nested tags ? ahem. nested:root %-- here

Re: off topic ( about java mail api)

2002-06-25 Thread Arron Bates
Nothing's going to happen without access to a working SMTP server. If there's a hole in your firewall for the SMTP port (25 at last check), then you can use someone else's smtp server which doesn't have an security checks. Many ISP's restrict use to IP's from their dial-up servers and/or

Re: MonkeyBean and JSP

2002-06-25 Thread Arron Bates
The Struts 1.0 part is fine, but Tomcat 3.x cannot do the recursive JSP stuff. A limitation of the earlier JSP 1.1 spec around the use of custom tags and the inclusion of other JSP evaluation. Something that the true recursive nature of the tutorial requires. You'll have to upgrade to Tomcat 4,

Re: nested:image, image src, nested:write

2002-06-25 Thread Arron Bates
!-- here nesting will build menu -- nested:root nested:nest property=buildMenu jsp:include page=buildmenu.jsp / /nested:nest /nested:root jsp:include page=footer.jsp flush=true/ m... recursive nesting through includes, cutting edge :) nested:equal

Re: off topic ( about java mail api)

2002-06-25 Thread Arron Bates
Another option would be to write your own JavaMail Transport implementation that talked to Lotus Notes. Craig, you do this kind of thing often?... how many RFC's have you coded an impl of?... round it off if the number's too large :) Notes does have plugins to get the POP/IMAP/SMTP working.

RE: If you haven't seen this yet.

2002-06-22 Thread Arron Bates
Got mandinga from Ace Ventura. Just sounds cool especially the way Carey says it. As to what it means, the closest I've heard is that it's a south american term for the devil, which seems to fit. On Sat, 2002-06-22 at 15:53, micael wrote: Not quite sure what you are saying here, Aaron? If we

RE: If you haven't seen this yet.

2002-06-21 Thread Arron Bates
Haven't done anything serious in Flash?... the scripting inside it is quite excellent (now. Not thier first ireatation with v4). Mark was probably (hopefully?) talking about this scripting ability. Used not unlike another image format?... wow. You need to take a more serious look, mandinga. On

Re: logic:iterate id?

2002-06-20 Thread Arron Bates
Seems that you're trying to write out a property instead of the bean. Try this... logic:iterate id=mc name=entries property=mcEntries type=com.moog,us.eos.beans.MCEntry bean:write name=mc property=oldDept / bean:write name=mc property=oldMatch / bean:write name=mc property=newDept /

Re: how to solve a problem of fetchin' HUGE collection into form

2002-06-20 Thread Arron Bates
Dare I say it... better info design. The most I've had was 500. From the user's point of view, this is not good. The freezing will most likely not be the server side, but your browser slowly rolling over and having a cardiac arrest. :) Take the lower end of 100,000 options. If eack option had

Re: Are there any Java Graphics gurus out there?

2002-06-18 Thread Arron Bates
I don't mean to sound harsh, but if your post starts off with Wy off topic... then it really shouldn't be posted. A page on the Sun site about handling images of all kinds, and there's a code sample for TIFF... http://java.sun.com/products/java-media/jai/iio.html It will get you to

Re: Nested Tags question

2002-06-14 Thread Arron Bates
As far as the problem goes concerning setting against valid indices, my code does that simply enough using a check against ArrayList.size() and the index from the request parameter - if the size is too small, I just add new objects - 3 lines of code. This is all in a for loop, which

Re: Nested Tags question

2002-06-13 Thread Arron Bates
Adam, Back to the old want lists, but no session objects issue. It's a common problem these days. It's hard to get the list model working nicely without knowing how big the list is going to be so that objects can be set against valid indexes. The post you speek of in the archives is that

Re: Nested Tags question

2002-06-13 Thread Arron Bates
13.06.2002, 08:22:43: On Thu, 13 Jun 2002, Arron Bates wrote: Date: Thu, 13 Jun 2002 14:14:13 +1000 From: Arron Bates Reply-To: Struts Users Mailing List To: Struts Users Mailing List Subject: Re: Nested Tags question I know JSP will automatically save parameters to a javabean

Re: Nested Tags question

2002-06-12 Thread Arron Bates
-newbie eye. If you have any more issues or questiong, you know where we are... Arron. [EMAIL PROTECTED] wrote: Hi All, I am trying to save a list created with the nested:iterate tag (from an object array in my form bean). I've written my code by following the SaveMonkey example from Arron Bates

Re: I should know this, but....

2002-06-06 Thread Arron Bates
First off, no need for the name attribute. If it's not working off the same bean structure the other nested tags are, then use the original bean:define tag using the name attribute to get to the separate bean. Otherwise from face value the tag markup looks fine... you may want to vary the

Re: nested img

2002-06-06 Thread Arron Bates
Hi I was wondering why isn't there a nested:img tag? I want to have a nested image with a link, ie: nested:img src=someimage.gif name=somebean property=someMap/ Is there an alternative? No alternative. Just had a look through. It's valid, I'll have to make one and get it in there. I

Re: nested tag issue

2002-06-04 Thread Arron Bates
Absolutely right. What this code is trying to say, is that the nested tags need a valid root tag on each JSP. In this case, David's used the nested:root tag. It can also be the html:form or nested:form tags. The form tags are bound to their form definition in struts-config.xml, to escape this

  1   2   3   >