Re: Request attributes and frame sets.

2002-06-09 Thread Adam Hardy
Hi Keith, I'm starting a project using frames so I'd be happy to try to help, but I don't quite understand what you are having a problem with. If I run through the probably obvious facts about frames requests etc, I'll get to the point in your message I don't understand: frames in a

Re: Advice: how strutty should I be??

2002-06-09 Thread Ted Husted
The Action can render the response when convenient. The Struts reload Action in 1.0.x does this to print OK after its complete. It can also be convenient to have an Action do something like render XML for use by another system. It's just that using Actions to render the presentation is not

RE: Advice: how strutty should I be??

2002-06-09 Thread Andrew Hill
Thanks for the response Ted :-) I ended up implementing it using a servlet which will call my renderers (helper classes that perform 'DOM surgery') and this rendering servlet takes care of the code to output the dom tree as xhtml to the browser. The action chooses which renderers to use (Im

RE: Struts Validator

2002-06-09 Thread Robert Taylor
Thanks Peter and Raffy, Using DispatchAction and the same ActionForm for common events helps reduce the number of presentation framework classes and also allows me to reuse business components. After looking more closely at the code, it appears that validation for a bean is bound to the name

Re: Advice: how strutty should I be??

2002-06-09 Thread Ted Husted
If you haven't seen them already, be sure to check out http://www.javaworld.com/javaworld/jw-02-2002/jw-0201-strutsxslt.html and http://www.openroad.ca/opencode/ Right now, stxx extends ActionForward, ActionServlet, and Action to help with XLM/XLS transformations. The ActionForward

RE: Advice: how strutty should I be??

2002-06-09 Thread Andrew Hill
I had a bit of a look at a the javaworld example, and had also seen the stxx example. Alas as is too often the case I simply didnt have enough time to fully examine them (especially stxx - which is a pity as I rather liked the look of it.) :-( XSLT has many advantages but didnt seem intuitively

Cannot get html:select working with collections stored in request

2002-06-09 Thread Craig Laverty
In my jsp I cannot get the following to work: bean:define id=keywordCollection name=keywords scope=request / html:select property=type html:options collection=keywordCollection property=value labelProperty=label / /html:select In the exact same jsp this does work:

Re: Cannot get html:select working with collections stored in request

2002-06-09 Thread Craig Laverty
I forgot to say I am using struts-b1.1. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: XML/XSLT Question - Help!

2002-06-09 Thread Ted Husted
You might want to check this out: http://www.openroad.ca/opencode/ Spencer Smith wrote: I have a question regarding the use of XML/XSLT. Please correct me if I am wrong, but it is my understanding that XML does not directly support graphics. Apparently, a new XML standard called SVG is

Re: best way to put index of collection in option(s) tag ?

2002-06-09 Thread Sandeep Takhar
It seems to me that having the index is very similar to having a primary key. So maybe what you add to the collection should be given a primary key which may just be the index into the collection. sandeep --- Rick Reumann [EMAIL PROTECTED] wrote: What is the best way to put the index value of

RE: Struts PowerPoint presentation

2002-06-09 Thread Roman Rytov
Is there a way to map image's url and alt text into a resource file (like messages)? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

[ANN] Powered by Struts / Struts Consultants

2002-06-09 Thread Ted Husted
Regarding the Struts Resources page http://jakarta.apache.org/struts/resources.html Please note that as of 2002-Jul-15, pages linked as Struts Consulants must specifically mention that their services include Struts consulting. Listings that do not reference Struts will be removed. As of

Re: Cannot get html:select working with collections stored in request

2002-06-09 Thread Craig Laverty
In all of the examples that showed html:select it never said that you must use the struts html:form on the jsp. I fixed my problem by putting this on the page. Craig. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re[2]: best way to put index of collection in option(s) tag ?

2002-06-09 Thread Rick Reumann
On Sunday, June 9, 2002, 11:10:21 AM, Sandeep Takhar wrote: ST It seems to me that having the index is very similar to having a ST primary key. So maybe what you add to the collection should be ST given a primary key which may just be the index into the ST collection. I'm not so sure it's

Re: getServlet()?

2002-06-09 Thread Ted Husted
The ActionServletWrapper class was provided as a security patch. As such, it takes the stances that we should start by shutting everything down, and then open things up as needed. Off-hand, wanting to access servlet initialization parameters in validate() sounds like a reasonable use-case. If

User Authentication

2002-06-09 Thread @Basebeans.com
Subject: User Authentication From: David Bolsover [EMAIL PROTECTED] === Hi all I have a Struts based app to which I need to add some moderately complex user access privileges. At present, users log-in using form based authentication and I then place a User object in session scope which is

Re: User Authentication

2002-06-09 Thread @Basebeans.com
Subject: Re: User Authentication From: Vic C. [EMAIL PROTECTED] === This is web container or a JAAS question. It is hard to say based on your e-mail if you already did it or you are asking how. Typically, after the Struts application is constructed, JAAS is added. Any Servlet 2.2 or Servlet

Accessing ActionErrors in jsp????

2002-06-09 Thread Pete Serafin
I am writing a custom tag to format my form errors. The problem I am having is I dont understand how to retrieve the ActionErrors that are created in my Action class and added to the request object that forwards to my jsp pages. Can someone explain how to get access to this object in the

RE: Accessing ActionErrors in jsp????

2002-06-09 Thread James Mitchell
Take a look at the source code for the ErrorsTag: org.apache.struts.taglib.html.ErrorsTag.java This would be your best bet for doing what you require. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://struts-atlanta.open-tools.org

Is there a cleaner way to get this information?

2002-06-09 Thread Rick Reumann
I have a select option list that is populated by a Collection of UserType beans. At the very least my Action Form( DynaActionForm actually) will need to get populated with the userTypeId and the userTypeName of the UserType selected from this selection list. I know this should be easy but what