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 is

direct acess to Action

2002-10-23 Thread Marcus Biel
Can I directly access an Action in the browser ? I want to create an ArrayList, before I display my jsp, because this jsp page needs to ue this ArrayList. Therefore I wrote an action mapping: action path=/createPlantList type=CreatePlantListAction name=createPlantListForm

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
Your xml has a typo. Kill the '' in the line: validate=false -Original Message- From: Marcus Biel [mailto:Marcus.Biel;bmw.de] Sent: Wednesday, October 23, 2002 19:20 To: [EMAIL PROTECTED] Subject: direct acess to Action Can I directly access an Action in the browser ? I want to create

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
No wait! Ignore what I said. Im talking rubbish! That is correct! Sorry embarrased/ -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Wednesday, October 23, 2002 19:26 To: Struts Users Mailing List Subject: RE: direct acess to Action Your xml has a

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
Hmm. I think the type attribute needs the full classname. ie: type=com.unist.plot.CreatePlantListAction Is that all the information it gave about the error? No exceptions in the log? -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Wednesday, October 23,

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
I tried using the wrong classname (ie not fully qualified) on one of my actions (that gets invoked 'directly') to see what error message is produced and it still parses ok at startup and when I try to go to that page I get a ClassNotFoundException - which means that while you have a problem with

Re: tiles logging

2002-10-23 Thread Cedric Dumoulin
Yes, Tiles now use the loggin facility. If something still wrong, please report a bug. Cedric Eddie Bush wrote: Grab a nightly. Tiles has been patched to use commons-logging now, I believe. Dennis Muhlestein wrote: I was so excited when I added a commons-logging.properties file in

Re: direct acess to Action

2002-10-23 Thread Marcus Biel
When I have got to close the action tag, and when not ?? I thouht at the end of every action path there needs to be the closing bracket. Marcus -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: direct acess to Action

2002-10-23 Thread Marcus Biel
Well that is my full class name, I don't use a package. Log ? Which log ? Have a good look at the rest of your struts-config as it may well be a typo in some other part of the xml and not related to this particular action after all. Well, there could be a typo - but I dunno when to close action

Re: direct acess to Action

2002-10-23 Thread Marcus Biel
root cause: org.xml.sax.SAXException: Stopping after fatal error: Element type action must be followed by either attribute specifications, or /. -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
Theres a few errors I noticed taking a look at it: 1. You can't put !-- comments -- inside a tag like this: tag atribute=value !--comment-- attribute1=value/ 2. The edit alaska action is missing a after the word request (scope attribute) Ive attached a corrected version of your struts-config

Re: Netscape v4.7x browser, style sheet and font problems

2002-10-23 Thread Michael Baldwin
Netscape 4.7 just doesn't support CSS very well. Your problems aren't really struts issues but rather CSS support issues. If you scan sites that detail out CSS support issues you will find some indication of the kinds of things that do not work well CSS-wise with NS 4.x In general: 1. Given

Re: Single sign on?

2002-10-23 Thread amolk
This looks like a viable solution. JAAS, etc looks like an overkill. What does jaas offer more? looks like i will have to change my entire authentication mechanism to integrate jaas. any significant advantages? thnx, amol - Original Message - From: Ryan Cornia [EMAIL PROTECTED] To: [EMAIL

RE: Single sign on?

2002-10-23 Thread Andrew Hill
Its another technology you can add to the list of 'cool stuff' your application uses. Looks good on your resume too. ;-) -Original Message- From: amolk [mailto:amolk;mailjol.com] Sent: Wednesday, October 23, 2002 20:47 To: Struts Users Mailing List Subject: Re: Single sign on? This

RE: direct acess to Action

2002-10-23 Thread Andrew Hill
Looks like your companies mail server thinks the xml file is a virus! (Its just text. Dont see how it could be - and my Norton antivirus clears it as well. Hmm.) I shall paste the contents below for you. snip ScanMail for Microsoft Exchange has taken action on the message, please refer to the

Multiple forms from Collection and form with multiple elements from collection

2002-10-23 Thread Vipul Sagare
I have two problems, your help is appreciated. 1. Multiple forms from collection I have collection of beans for which I need to display multiple forms with submit button. The size of collection varies. Example: A collection of Persons. For each person, there will be html form will be

RE: [J2EE] Does struts follow Sun's Core J2EE patterns

2002-10-23 Thread Mohan Radhakrishnan
Hi, I just introduced struts to a team. What i find is that it is practical. Not just hype. Moreover I found a list of patterns that struts implements - service to worker, view helper, dispatcher view, front controller. Controller is just MVC. Isn't it? What exactly is Sun's standard?

Re: Single sign on?

2002-10-23 Thread amolk
no...seriously!! -:) - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 23, 2002 6.18 PM Subject: RE: Single sign on? Its another technology you can add to the list of 'cool stuff' your application uses.

RE: [J2EE] Does struts follow Sun's Core J2EE patterns

2002-10-23 Thread Chappell, Simon P
-Original Message- From: Mohan Radhakrishnan [mailto:MohanR;hclcomnet.co.in] Sent: Wednesday, October 23, 2002 7:54 AM To: 'Struts Users Mailing List' Subject: RE: [J2EE] Does struts follow Sun's Core J2EE patterns Hi, I just introduced struts to a team. What i find is that it is

Re: DispatchAction and declarative exception handling

2002-10-23 Thread Kris Schneider
When this thread: http://marc.theaimsgroup.com/?l=struts-userm=102710542128639w=2 was started a few months back, I passed it over because it seemed to be 1.1- centric (and it was eventually fixed within a couple of weeks). However, a similar issue exists in 1.0.2 that I just stumbled across. I

Vector of fields?

2002-10-23 Thread Smith, Johnathan M.
I have a screen that the user can enter 50 products. I don't want to code product_name1, Product_price1, product_name2, Product_price2, etc in my form bean. Anyway to make struts 1.0.2 would with a vector in the form bean? or any other way to do this? -- To unsubscribe, e-mail:

Re: StrutsCX

2002-10-23 Thread Xue-Feng Yang
Nice job. Why do you use ActionForm as Model part? --- Bernhard Woehrlin [EMAIL PROTECTED] wrote: Hallo everybody, I created a small Struts add-on framework called StrutsCX. StrutsCX is Struts with Castor XML and XSLT. Features: - Lightweight framework running on any Servlet

RE: how do i get a Field object in Validator?

2002-10-23 Thread Jerry Jalenak
OK. I had several similar requirements and got around them by building an error message for field 'B' on the fly. application-rules.xml ?xml version=1.0 encoding=ISO-8859-1? !--DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Struts Validator Rules Configuration 1.1//EN

Re: direct acess to Action

2002-10-23 Thread Dave Derry
Andrew, I appears that you missed one glaring error. In the getAlaskaGroups action, the vlaidate=false is seriously out of place. It also has a '' without a ''. Using a utility to validate the file is definately a GOOD idea. Dave D - Original Message - From: Andrew Hill [EMAIL

Re: Single sign on?

2002-10-23 Thread Ryan Cornia
There are a couple of things I recommend. First, any time the cookie is sent in a request/response, we send it over SSL. That should, in theory, prevent network snooping to get the cookie. SSL does add some overhead, but performance wise we have not had any issues. Secondly, you can put a

Re: direct acess to Action

2002-10-23 Thread Marcus Biel
If you just mean that I don't validate the action - I will take care about that at a later time. But what do you mean with: it also has a '' without ''. ? Isn't that the closing tag for the action path tag ? action path... ... .. input=/index.jsp ? Using a utility to validate the file is

RE: html:link with JavaScript

2002-10-23 Thread Jeff_Mychasiw
sorry, I should have known that. I have run into that as well. Here is an example of something I do when iterating throught a list. The bean define takes it's body a assigns it to the id variable. td bean:define id=papAmtBlur papAmountLeave('nested:writeNesting

Re: Security Best-Practices?

2002-10-23 Thread Adam Sherman
Troy Hart wrote: request.getUserPrincipal().getName() You obviously need to fill in the gaps here. I have only provided a high level view of the solution. For example, I haven't mentioned anything about what you would use to lookup a user profile. You would NOT use your LoginModule for this

Re: Tiles vs Template Tags

2002-10-23 Thread David Graham
Use Tiles, the template library is deprecated in favor of Tiles because tiles has more functionality. I believe using the JSTL if tag with the empty keyword will return true when the value is false. David From: Affan Qureshi [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

Hidden message when a property is null

2002-10-23 Thread Heligon Sandra
I want to display a message on a page only if the property sessionId of my bean is null, but it doesn't work table bgcolor=#FF align=center cellspacing=0 cellpadding=4 border=0 width=100% logic:equal name=user property=sessionId value=0 tr align=center font

Re: Vector of fields?

2002-10-23 Thread David Graham
I don't know of any way to do it in 1.0.2 but in 1.1 you can use Map backed or List backed form fields. Alteratively, you could use DynaBeans and put those properties in the xml descriptor. This is one good reason to upgrade. In general, use ArrayList instead of Vector. David From: Smith,

RE: html:link with JavaScript

2002-10-23 Thread Karr, David
-Original Message- From: [EMAIL PROTECTED] [mailto:Jeff_Mychasiw;nlgroup.ca] Sent: Tuesday, October 22, 2002 11:02 AM Try: logic:iterate id=employee name=employeeList scope=request type =com.abc.EmployeeVO ... td html:link href=JavaScript:void()

Struts Nightly Build

2002-10-23 Thread Dennis Muhlestein
I'm about to change our production environment to use the struts nightly build instead of 1.1b2 because of the non commons-logging in the tiles package with 1.1b2. Does anyone know of any issues to be aware of? Seems to work ok in dev environment. TIA -Dennis -- To unsubscribe, e-mail:

RE: Struts Nightly Build

2002-10-23 Thread Chappell, Simon P
Perhaps you could pick a specific nightly build that has the extra functionality that you need, but I'm not going to recommend updating with EVERY nightly build. I seriously hope that this is not what you meant. Simon - Simon P.

RE: Struts Nightly Build

2002-10-23 Thread Dennis Muhlestein
No, No, I picked up the 20021022 build, I need the commons-logging integrated with the tiles package so that my logs don't fill up with thousands of lines tiles statements. I won't upgrade again unless there is something else I need. I'm just wondering if there is anything I should be aware of

RE: Struts Nightly Build

2002-10-23 Thread Chappell, Simon P
Thank goodness! You had me worried there. :-) We're still using 1.1b2, so I haven't tried a nightly build lately. Someone else will have to comment on that, or you can just try it anyway. (That's what I usually do). Simon -Original Message- From: Dennis Muhlestein

Tiles and validations in Struts

2002-10-23 Thread Bhamani, Nizar A TL56E
I have a tile framework in which the body tile changes every time based on user actions. I am using StrutsValidation in Struts 1.1 to perform user input validations. Whenever, the validation fails on a page, for some reason it always goes to the first page rather then reDisplaying the original

Re: direct acess to Action

2002-10-23 Thread Dave Derry
No. The closing tag for the action follow the input attribute: action path=/getAlaskaGroups type=GetAlaskaGroupsAction name=getAlaskaGroupsForm scope=request input=/index.jsp closing tag here forward name=getAlaskaGroupsDone path=/index.jsp/ validate=false -- an

Re: Single sign on?

2002-10-23 Thread Kevin . Bedell
I was wondering - Has anyone looked at the idea of using a domain level cookie like this, but also using a singleton/static class that is loaded from the 'common' classloader in Tomcat? The idea here would be that the singleton/static class where you stored session information would be loaded

Re: direct acess to Action

2002-10-23 Thread Marcus Biel
So how about this: action path=/getAlaskaGroups type=GetAlaskaGroupsAction name=getAlaskaGroupsForm scope=session input=/index.jsp validate=false forward name=getAlaskaGroupsDone path=/index.jsp/ /action Would that be correct ??? thx in advance,

RE: Single sign on?

2002-10-23 Thread Chappell, Simon P
We haven't done that and I wonder if it would work in an environment like ours, where many of our projects each get their own server. The domain level cookie would work, but there would be no way to share that among the servlet containers. That said, I suppose you could have some JMS code to

RE: direct acess to Action

2002-10-23 Thread Chappell, Simon P
Use the Struts Console. Anyone who hand edits their struts-config.xml is begging for mental anguish. Use the Struts Console! :-) http://jamesholmes.com/struts/console/ Simon - Simon P. Chappell [EMAIL

RE: Any Web Development Environments that incorporate Struts?

2002-10-23 Thread Haseltine, Celeste
OK, here are the web sites for Eclipse and the Eclipse Plugins, and a list of the ones we are using. Make sure you check out the entire plugin site, as there are a large number of plugins, and some of them may work better for your needs than the ones we are using. Eclipse Home -

milestone builds

2002-10-23 Thread ajTreece
Are all of the milestone builds for 1.1b1 available? I would like to do a sanity check on one of the orginal 1.1b1 builds. Thanks, ajTreece -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: Single sign on?

2002-10-23 Thread Sukhenko, Mikhail (Contr)
I am not sure if it's going to work well with a cluster(multiple JVMs) -Original Message- From: [EMAIL PROTECTED] [mailto:Kevin.Bedell;sunlife.com] Sent: Wednesday, October 23, 2002 10:30 AM To: Struts Users Mailing List Subject: Re: Single sign on? I was wondering - Has anyone

Managing User defined Web Content design advice?

2002-10-23 Thread Greg Hess
Hi All, I am developing a hosted ecommerce app. One of the requirements is that the client's have the ability to customize sub menu navigation providing the link name and link content. I am considering several possibilities of persistency and tags that might help me do this. I would like to take

Re: Struts Nightly Build

2002-10-23 Thread Vincent Stoessel
Is upgrading struts a simple matter of swapping out struts.jar ? Chappell, Simon P wrote: Thank goodness! You had me worried there. :-) We're still using 1.1b2, so I haven't tried a nightly build lately. Someone else will have to comment on that, or you can just try it anyway. (That's what I

Re: Any Web Development Environments that incorporate Struts?

2002-10-23 Thread Dave Derry
The Perforce plugin is also real useful (if you're using Perforce that is). - Original Message - From: Haseltine, Celeste [EMAIL PROTECTED] OK, here are the web sites for Eclipse and the Eclipse Plugins, and a list of the ones we are using. Make sure you check out the entire plugin

Re: Managing User defined Web Content design advice?

2002-10-23 Thread David Graham
The java bean idea sounds good. The problem you might have with using message resources is that you can't reload it when the users change their settings. Also, I wouldn't want that kind of churn on the file. You could deserialize the java bean when the user logs in and then use that in the

RE: Managing User defined Web Content design advice?

2002-10-23 Thread Greg Hess
Thanks, I was thinking to deserialize the java bean on login and I will have to in order to build the sub menu. I felt I shouldn't keep the bean around as it may be large containing several pages of content and too heavy for the session. So I would have to retrieve the bean on each content

RE: Single sign on?

2002-10-23 Thread Kevin . Bedell
true - this wouldn't work with a cluster. Sukhenko, Mikhail (Contr) [EMAIL PROTECTED] on 10/23/2002 10:44:09 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:'Struts Users Mailing List' [EMAIL PROTECTED] cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)

RE: html:link with JavaScript

2002-10-23 Thread Tuan H. Le
David, Thanks! I will try your suggestion shortly. Tuan -Original Message- From: Karr, David [mailto:david.karr;attws.com] Sent: Tuesday, October 22, 2002 11:29 AM To: 'Struts Users Mailing List' Subject: RE: html:link with JavaScript -Original Message- From: [EMAIL

RE: [TILES] Problem using struts actions in tile's template

2002-10-23 Thread Trieu, Danny
Think of the template.jsp is the servlet that currently running, and rendering text in response to the broser. Your other section on the template.jsp, the content and the header, do a dynamic include which in result as a forward to the intented jsp. We all know that once the server start writing

Open an other window for information

2002-10-23 Thread Heligon Sandra
I have an item Help in my menu bar and I would like to display a second window (other than the current page) to give information about the application. I don't know which command add in the Action associated to the Help command. Thanks

Problem with scriplet inside tag attribute. (struts-layout)

2002-10-23 Thread Emmanuel Boudrant
Hi, I've got a problem with some dynamic tag attributes, I want to put a scriplet in a tag attribute but the code isn't compiled. layout:tab key=%= name % ... /layout:tab When a display HTML source, I've got the %= ... %. The tags came from struts-layout. ps : This solution work fine with

RE: Problem with scriplet inside tag attribute. (struts-layout)

2002-10-23 Thread Trieu, Danny
Look at you tld file. You need to allow RE for attribute key. danny -Original Message- From: Emmanuel Boudrant [mailto:b7st;yahoo.fr] Sent: Wednesday, October 23, 2002 8:28 AM To: [EMAIL PROTECTED] Subject: Problem with scriplet inside tag attribute. (struts-layout) Hi, I've got a

Re: Struts Nightly Build

2002-10-23 Thread Dennis Muhlestein
In addition to swapping jars, I did have to change the dtd for the tiles-defs.xml from tiles-config.dtd to tiles-config_1_1.dtd. Also, the tag urls in struts.jar are upgraded if you use that method for specifiying the tlds. (tomcat 4.1.x only). ie: %@taglib

Re: [TILES] Problem using struts actions in tile's template

2002-10-23 Thread Cedric Dumoulin
Hi, Danny has well explained what is happening. The problem is that Struts RequestProcessor do a forward in response to the forward in the config file. If you use the Tiles servlet, your code should work because the TilesRequestProcessor check if the response has already been committed. If

Conditional colour cell with logic:iterate

2002-10-23 Thread Heligon Sandra
I will wish to know how to modify the colour of a cell according to the value of a bean's property. I have the following list Id Name Status I use logic:iterate tag to construct the list. The status property can take the following values: OK WARNING

RE: html:link with JavaScript

2002-10-23 Thread Karr, David
-Original Message- From: Tuan H. Le [mailto:tuan.le;phsadc.com] Sent: Tuesday, October 22, 2002 1:17 PM To: Struts Users Mailing List Subject: RE: html:link with JavaScript ok, I replaced html:link with a href and it works fine. It seems like the scriptlet %=% can not be

Re: Zero-copy persistence with Struts?

2002-10-23 Thread V. Cekvenich
Look at basicPortal.sf.net, we use rowSet, not resultset. .V Bryan Field-Elliot wrote: I'm banging my brain against the sides of my skull trying to think of a way to do zero-copy JDBC persistence with Struts. What I mean by zero-copy is, basically, pass as much raw data as possible between the

RE: Zero-copy persistence with Struts?

2002-10-23 Thread Miller, Jason
I do something similar to what you are proposing, so far as the ResultSet-to-the-view bit goes. I have a wrapper class that adapts an Iterator interface to anything you need. So far as closing the resources go, I ended up coding in a requirement that the ResultSet only contain the data that is

Re: RedirectingActionForward?

2002-10-23 Thread Billy Ng
I posted a question earlier regarding the redirect. I notice I can't do the sendRedirect after the mapping.findForward is called. Oterwise, it works very good with return null. Billy Ng - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Struts XML

2002-10-23 Thread Wendy Smoak
Currently I'm calling a database subroutine (in an Action) that returns a list of keys, and then using a DAO in a loop to build up a List of Java objects that contain the data I need to display. That List gets put in session scope and then it's off to the resolution.jsp to display it with a

RE: Struts Nightly Build

2002-10-23 Thread Chappell, Simon P
I typically update the whole lib directory (with the exception of my web.xml and struts-config.xml). The timeframe for completing the upgrade from 1.1b1 to 1.1b2 was in the range of minutes, literally. Maybe ten minutes if you include compiling my app, deploying it and trying it out. Simon

RE: Managing User defined Web Content design advice?

2002-10-23 Thread Joe Germuska
I was thinking to deserialize the java bean on login and I will have to in order to build the sub menu. I felt I shouldn't keep the bean around as it may be large containing several pages of content and too heavy for the session. So I would have to retrieve the bean on each content request, might

RE: Struts XML

2002-10-23 Thread Jacob Hookom
Check out Stxx - http://www.oroad.com/opencode/stxx/ | -Original Message- | From: Wendy Smoak [mailto:Wendy.Smoak;asu.edu] | Sent: Wednesday, October 23, 2002 11:18 AM | To: 'Struts Users Mailing List' | Subject: Struts XML | | | Currently I'm calling a database subroutine (in an

Re: Struts XML

2002-10-23 Thread V. Cekvenich
JSTL (in jakarta tag libs) X:transform tag will take a XML and XSLT it. .V Wendy Smoak wrote: Currently I'm calling a database subroutine (in an Action) that returns a list of keys, and then using a DAO in a loop to build up a List of Java objects that contain the data I need to display. That

Re: milestone builds

2002-10-23 Thread Craig R. McClanahan
On Wed, 23 Oct 2002, ajTreece wrote: Date: Wed, 23 Oct 2002 09:42:52 -0500 From: ajTreece [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: milestone builds Are all of the milestone builds for 1.1b1

RE: Conditional colour cell with logic:iterate

2002-10-23 Thread Sri Sankaran
Oops... The .normal class must be terminated with a brace: style .warning { background-color: #FF8000; } .error { background-color: #FF; } .normal { background-color: #FF; /* or whatever your normal background color may be */ } --- This was missing /style -Original

RE: Struts XML

2002-10-23 Thread Nail, Evan Burke
Another option is the Jakarta xsl taglib if that interests you. They have a variety of ways to point to your xml and xsl, I am pretty sure one allows you to pull the xml string from the session and give a url to the style sheet and it will transform for you. I'm certain that it allows you

RE: Zero-copy persistence with Struts?

2002-10-23 Thread Jacob Hookom
Why not look at an OJB/Castor implementation? Through Object caching and identity referencing, there are (in near all cases) only a single instance of any object in memory, plus the addition of hands-free lazy loading of collections/relations, OJB is REALLY appealing for web applications. -Jacob

O'Reilly weblog posting on Struts -

2002-10-23 Thread Kevin . Bedell
Might be of interest to some on the list - It should be the top entry. And special thanks to Vic. Kevin http://www.oreillynet.com/weblogs/ --- This e-mail message (including attachments, if any) is intended for the

Confused about nightly builds and 1.1b2 bugs

2002-10-23 Thread Jeff_Mychasiw
Sorry for the dumb question and another thread on nightly builds Do the nighlty builds reflect the up comming release candidate for 1.1 (or 1.1b3) or are they a separate branch for a future release. I am hearing about new functionality in the nightly builds. I would consider trying a

struts 1.1b dynamic validator

2002-10-23 Thread Arik Levin ( Tikal )
Hi all. I have dynamic form and I mean by that, for example: html:text property=value(key) / I don't know yet the field name I'm going to use. So, how should I write the validator.xml if I don't know the field's name? Is there a way

Re: Confused about nightly builds and 1.1b2 bugs

2002-10-23 Thread Eddie Bush
We don't have any fancy branching (at this point) like Tomcat etc do (that I am aware of). The nightly builds reflect the current status of what will (eventually) be 1.1 final. [EMAIL PROTECTED] wrote: Sorry for the dumb question and another thread on nightly builds Do the nighlty builds

Re: Managing User defined Web Content design advice?

2002-10-23 Thread Craig R. McClanahan
On Wed, 23 Oct 2002, Eddie Bush wrote: commons-digester does a *nice* job of turning XML into instantiated objects. You have to setup some rules, but that's not hard at all. Refer to the javadoc for commons-digester. I'm not sure if it can serialize objects to XML or not. I don't think

Re: Confused about nightly builds and 1.1b2 bugs

2002-10-23 Thread Craig R. McClanahan
On Wed, 23 Oct 2002 [EMAIL PROTECTED] wrote: Date: Wed, 23 Oct 2002 12:12:39 -0500 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Confused about nightly builds and 1.1b2 bugs Sorry for the dumb question and another thread on

Re: Confused about nightly builds and 1.1b2 bugs

2002-10-23 Thread Jeff_Mychasiw
Thank you. That is what I wanted to hear. What would be the recommendation for the latest 'stable' build. I know this is based on the experience of those who tried the builds, but any opinions would be helpful. Thanks again Eddie Bush [EMAIL PROTECTED] on 10/23/2002 12:20:45 PM Please

Re: Struts XML

2002-10-23 Thread Joe Germuska
Of course, the suggestions to check out STXX or the JSTL to use XSLT to style your XML are perfectly good... and maybe that's why you decided to change your subroutine to return XML... but if you want to get things back into familiar object-land, you could pass the XML to some routine which

RE: [OT] Tomcat not extracting war

2002-10-23 Thread Mark Silva
drinking on a tuesday? ;-) well i was upon inspection, i was running tomcat 4.0.4. i installed the latest stable release 4.1.2, and it works! thanks for all your help james. i need to be more proactive on these upgrades i think. -mark -Original Message- From: James Mitchell

RE: Managing User defined Web Content design advice?

2002-10-23 Thread Greg Hess
Thanks allot for your input Joe. The content is completly dynamic, in the administration I am using a JavaScript editor tool to allow a someone to create HTML in a text editor interface. The main admin goal is to be not technical and allow the client to create and customize complete areas of the

Re: Book Opinions

2002-10-23 Thread Vincent Stoessel
Yes, I should have qualified my review by saying that this is more geared toward the total struts newbie (like I was/am). The Validator framework and other new stuff was not included. To be fair, the Commons tools need their own Oreilly/Willey/Manning books. I found Chuck preview invaluable

AW: StrutsCX

2002-10-23 Thread Bernhard Woehrlin
Hi Jerry, to answer your questions: 1. Is this Struts 1.1b2 (or 3) compliant? In other words, can I continue to use DynaBeans, Tiles, Validator, etc? You can use StrutsCX with the with Struts 1.1. but DynaBeans, Validator or Tiles are not yet supported. I'm working on integration of the

RE: Managing User defined Web Content design advice?

2002-10-23 Thread Greg Hess
I have used the java.beans.XMLEncoder and java.beans.XMLDecoder and it has worked great for both transitions as long as all the bean properties and sub properties implement Serializable. I will look into Betwixt to see if there are some advantages. Thanks, Greg -Original Message- From:

Re: Confused about nightly builds and 1.1b2 bugs

2002-10-23 Thread Dennis Muhlestein
I haven't followed the issues being fixed too much. I just know that we updated to 20021022 and now I don't have billions(exaggeration) of tiles print statements in my log files. It's in production now and as far as I know functions the same as 1.1b2 did. -Dennis On Wed, 2002-10-23 at 11:23,

RE: Managing User defined Web Content design advice?

2002-10-23 Thread Joe Germuska
At 1:49 PM -0400 2002/10/23, Greg Hess wrote: I have used the java.beans.XMLEncoder and java.beans.XMLDecoder and it has worked great for both transitions as long as all the bean properties and sub properties implement Serializable. I will look into Betwixt to see if there are some advantages.

Inner classes

2002-10-23 Thread Seth Milder
I am designing a webapp using Struts and I would like to include with every ActionForm class an inner servlet class that queries a DB to get config info for the outer class. I would then use this information in the validate() routine to determine which fields should be validated and which

Re: Zero-copy persistence with Struts?

2002-10-23 Thread Eddie Bush
If you're set on zero-copy, CachedRowSet is probably the best way to go. There is an OS implementation on sourceforge, I believe. Vic uses it in basicPortal - that is his approach as well. Personally, I use OJB. If you're trying to cut out all the overhead you can CachedRowSet would probably

Re: AW: anyone seen this startup error?

2002-10-23 Thread Eddie Bush
That is too weird. I wouldn't think that would make a difference. ... or is it because you had TWO linebreaks? I write seperate attributes on seperate lines all the time - but not with the spacer line. It's just a ton easier (for me) to read. Do what works though :-) That should be your

Does the bean:struts portion of the struts-bean taglib work

2002-10-23 Thread William (LIST) J. Goltz
I have set up my JSP page to use the bean:struts and I am trying to determine if I have it set up correctly. welcomw.jsp bean:struts id=welcomeForm formBean=welcomeForm/ . . [bean:write name=welcomeForm ignore=true property=test/] WelcomeForm.jsp package net.company.viewhelper; . . public

Re: Inner classes

2002-10-23 Thread Joe Germuska
At 2:07 PM -0400 2002/10/23, Seth Milder wrote: I am designing a webapp using Struts and I would like to include with every ActionForm class an inner servlet class that queries a DB to get config info for the outer class. I would then use this information in the validate() routine to determine

RE: nested:text not being evaluated

2002-10-23 Thread Zeitlin, Mike
Sri, Thanks, that worked! Any explanation on what the difference is between using single and double quotes? Mike -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent: Wednesday, October 23, 2002 2:29 PM To: Struts Users Mailing List Subject: RE: nested:text not

Re: Inner classes

2002-10-23 Thread V. Cekvenich
+1 .V Joe Germuska wrote: At 2:07 PM -0400 2002/10/23, Seth Milder wrote: I am designing a webapp using Struts and I would like to include with every ActionForm class an inner servlet class that queries a DB to get config info for the outer class. I would then use this information in the

Re: nested:text not being evaluated

2002-10-23 Thread Dave Derry
Seems like this question is becoming as popular as the ever popular 'When is struts 1.1 final going to be released'. David Karr has provided an excellent answer to this question on several occasions (including earlier today). I'm sure you can find the answer in the archive. The short answer is

RE: nested:text not being evaluated

2002-10-23 Thread Sri Sankaran
The single double quotes simply keep the parsing of the JSP straight. The onclick value definition terminates at the first matching quote character. onclick=%=foo+bar% ^ whoops! onclick ends here. So, since you are forced to use double-quotes () within the scriptlet, you

Re: Is Struts full J2EE compliant?

2002-10-23 Thread Gerhard Poul
Hello, this brings out an issue that I have been dealing with lately. Management wants my fledging struts application to run on a J2EE application server. Even though I beleive that the whole app will continue to run fine on tomcat 4.1.x. Easy. - Just ask the J2EE application server vendor if

Struts 1.1b2, IBM Websphere 4.0

2002-10-23 Thread Sullivan, Sean C - MLG
I'm having some trouble deploying Struts 1.1b2 on IBM Websphere 4.0 I am using Websphere 4.0 on Windows 2000 I recompiled everything using IBM's 1.3.0 VM (the came with websphere) and also the j2ee.jar library that came with Websphere 4. Still I get a ClassCastException when hitting the

RE: What is Struts form field naming constraints

2002-10-23 Thread Karr, David
-Original Message- From: Craig R. McClanahan [mailto:craigmcc;apache.org] Sent: Thursday, October 17, 2002 1:34 PM To: Struts Users Mailing List Subject: Re: What is Struts form field naming constraints On Thu, 17 Oct 2002, Norman Klein wrote: Date: Thu, 17 Oct 2002 13:12:41

RE: Inner classes

2002-10-23 Thread Wendy Smoak
Joe wrote: There's no strict reason why you need to validate action forms with the validate() method; it's just a convenience. Can you say more about this? I'm finding that I _can't_ use the validate() method, because I need to allow my users to leave the main form and go off to resolution,

  1   2   >