Re: html:form complains of bean missing

2005-03-01 Thread Curtis Taylor
Hi Scott, If you choose to use the Struts html:form tag, you must declare the corresponding definition in the form:beans section of the struts-config file. That's the way the framework behaves as I've used it. HTH, -- Curtis Scott Purcell wrote: First off, as I am learning Struts I just wanted t

Re: One last ATTACHMENT issue

2005-03-01 Thread Curtis Taylor
Shot in the dark here: IIRC, you don't need the ampersand after the initial question mark in the request URL. Try killing that & see what happens... Good luck, -- Curtis Eric Lemle wrote: Can anyone tell me why this VeselovaNataliaECV.doc works perfectly. But this. function printAtta

Re: Tiles - a reality check (contains many details) - Am I using this thing right?

2005-02-22 Thread Curtis Taylor
Hi Tim, Scott's response pretty much covers the meat & potatoes. The leading "dot" naming convention is optional; some folks use it to clarify path confusion among Struts webapp files. I personally don't; the "dot" delimiter within the name does the job well enough for my usage. HTH, Curtis Tim

Re: of a header gives an SSL exception?

2005-02-22 Thread Curtis Taylor
What's the <%=header%> expression do? You've already closed the bean:include tag. Have you looked at the SSLExt library (http://sslext.sourceforge.net/)? Enquiring minds need to know ;-) David Kennedy wrote: I have a jsp which is trying to include a simple nav bar across the top of the screen:

Re: newbie question

2005-02-05 Thread Curtis Taylor
I agree with Christian. I've found an XML validation website/tool which is invaluable when you're brain-dead & still required to write code: http://www.stg.brown.edu/service/xmlvalid/ HTH, Curtis Christian Bollmeyer wrote: On Friday 04 February 2005 22:53, Soaring Eagle wrote: Check the syntax of

Re: Formatting a date with a different time zone.

2005-02-01 Thread Curtis Taylor
Hi Derrick, You have to declare your properties file in your web.xml. Assuming it's called "ApplicationResources.properties," and lives under WEB-INF/classes, you'd do it like this: javax.servlet.jsp.jstl.fmt.localizationContext ApplicationResources Just to be safe, brush up on the web.xml s

Re: Problem deploying to WebSphere

2005-02-01 Thread Curtis Taylor
Hi Daniel, What's in your application.xml file? That's the one which tells WS what your context root is. In your case it would need to be "StatusInquiry" (sans quotes). HTH, Curtis Daniel Kalcevich wrote: I am currently trying to deploy a Struts 1.2.6 to a WSAD 5.0 Server. The application starts

Re: Error Pages

2005-01-31 Thread Curtis Taylor
Hi Tim, One (maybe obvious) question: Does your tiles-defs.xml definition for "public.error" have a path to your jsp? If not, that could wreak all kinds of error havoc... Tim Christopher wrote: Hi, I'm trying to setup custom error pages using Tomcat but keep on getting the following error: [EMAIL

Re: Struts 2.0 or Struts 0.0?

2005-01-31 Thread Curtis Taylor
I think Mr. McClanahan summed it up nicely ;-) Alex Kravets wrote: So what do you guys think? http://www.theserverside.com/news/thread.tss?thread_id=31509 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Validator question

2005-01-20 Thread Curtis Taylor
Hi Hubert, Thanks for the reply; very helpful & much appreciated (as is all your work ;-). I've done a bit more gumshoeing; it seems to me the html:javascript tag's exception handling is a bit different than other Struts tags. I discovered that the reason that the html:javascript tag printed th

Validator question

2005-01-19 Thread Curtis Taylor
Hello, Here's (what I hope to be) a simple question: What causes the tag to fail & interfere with the http response by writing raw text to it? I've seen only 2 posts regarding this issue, but I'm relatively certain there must be more... Any insights or clarifying questions more than welcomed,

Re: [OT] validation syntax - decimal precision

2005-01-16 Thread Curtis Taylor
Hi Nathan, Two suggestions: 1.) Mastering Regular Expressions by J.E.E. Friedel (http://www.amazon.com/exec/obidos/ASIN/0596002890/qid=1105937543/sr=2-1/ref=pd_ka_b_2_1/002-6332011-0856023) 2.) Kodos (http://kodos.sourceforge.net/home.html) Good luck, Curtis Nathan Coast wrote: Hi, I have a price

Re: Still PLZ Help with Cannot find message resources under key org.apache.struts.action.MESSAGE

2005-01-16 Thread Curtis Taylor
Hello, This error implies Digester has a problem with your struts-config.xml file. If you post your struts-config.xml in its entirety it may help the group determine what that problem is. HTH, Curtis Avinash Sridhar wrote: Hi, Thanks for the suggestionsAfter I add to the struts-config.

Re: problem submiting List-Backed Indexed ActionForm

2005-01-15 Thread Curtis Taylor
Hi Oleg, Have a look here: http://wiki.apache.org/struts/StrutsCatalogLazyList I've found these techniques to be invaluable. HTH, -- Curtis Oleg wrote: I am initializing ArrayList fields in reset(), but code is ommited. I wish it was that easy :) ---

Re: I must be missing something fundamental about Struts ...

2005-01-08 Thread Curtis Taylor
Hi Mark, Try changing the 'forward' to 'action' in your html:link tag: Sign in HTH, Curtis Mark McWiggins wrote: ... as I seem to get stuck on the simplest things. For example: Sign in Thanks, Mark McWiggins 425-369-8286 -

Re: Please explain Struts Chain

2005-01-07 Thread Curtis Taylor
Hi Joe, Thanks for the clarification; looks way interesting! One (rather pointed) question: Being that RequestProcessor is one of the primary extension points for the Action servlet, how will this new API affect HTTPS protocol handling? I assume that the SSLExt library will have to be completely

Re: Set request parameters in servlet through action

2005-01-04 Thread Curtis Taylor
Hi, You *cannot* directly add parameters to an http request inside an Action class. You *can* add attributes to the request context (that's what HttpServletRequest was designed for). So, in your JSTL-aware page, access your request *attribute*: or HTH, Curtis dsarris wrote: I do not thing th

Re: [OT] Need help with layered Map iteration in JSP

2004-08-13 Thread Curtis Taylor
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> <%-- ${entry.key} is the current key --%> <%-- ${entry.value} is the associated bean array --%> See the API docs for the LoopTagStatus interface: http://tinyurl.com/542tw "Erik Weber" <[EMAIL PROTECTED]> wrote in

Re: GOING GOING GONE DYNAMIC

2004-08-06 Thread Curtis Taylor
Hey Michael, ActionMapping is a subclass of ActionConfig, right? So if you use a similar construct for your mapping as for your form config, it *might* work (caveat: superficial API scan only; no testing). It's just a question of where in your food chain you do it (inside your Action class execute

Re: Upgrading a Struts 1.1 app to 1.2.1: any 'gotchas' to watch for?

2004-08-02 Thread Curtis Taylor
from the "form-bean" element > > Also "contextRelative" in the "forward" element is now considered > "deprecated" and a new "module" attribute added. > > The only other thing I did was change references to ActionError to > Actio

Upgrading a Struts 1.1 app to 1.2.1: any 'gotchas' to watch for?

2004-07-30 Thread Curtis Taylor
Hi everyone, After a cursory check of the Wiki & Struts site, I have a question for the collective expertise in the group. I'd like to leverage all the new features & fixes available in the 1.2.1 release by upgrading my existing app. Here's what we're running now: Struts/Tiles 1.1 sslext for Str

Re: html:error in tiles

2004-05-06 Thread Curtis Taylor
Hi Dave, Tiles seem(s) to have particularly needy scoping issues. Try setting attributes for the particular Tile you're inserting in your .jsp, then do a You may also want to consider using messages as opposed to errors, AFAIK, errors are or will be deprecated. HTH (& I'm not too off-base),

Re: is this posible? return to the same page after being executed

2004-05-05 Thread Curtis Taylor
Hi Julio, There are 2 ways I'm aware of: 1.) In your struts-config.xml action-mappings, add a "success" mapping that points to your mapping path; i.e.: Then, in your action class, return mapping.findForward("Success"); and you're done. (Note the ".do" required in the forward; thanks

Re: JSP help

2004-05-04 Thread Curtis Taylor
Hi San Pedro, This is an HTML question: the "size" attribute refers to the number of rows of data visible in the select box, not the physical width on the page. HTH, Curtis Santhosh P wrote: Hi, I have a select box in jsp page having data loaded as collection and is working well. My problem

Re: [OT] Clustering Application Scope Objects

2004-04-10 Thread Curtis Taylor
Hi Mike, This is an interesting question. Using the PlugIn interface to store "semi-static" data in the app context is a commonly accepted pattern (we use it in the project I'm working on now). However, there's no mechanism currently available in Struts to allow for data model change event noti

Re: Custom attribute on

2004-04-10 Thread Curtis Taylor
Hi Igor, The "datafld" is, IIRC, an IE-only DOM property. I believe Struts only supports the W3C DOM. HTH, Curtis -- c dot tee at verizon dot net Igor Antonacci wrote: Not exactly. I'm trying to bind a textbox to a MS DataSource (DSO) on browser side; Just downloading a XML (DSO) as part of HTM

Re: [slightly OT] Any advice for 'jsp.error.useBean.duplicate' ?

2004-04-09 Thread Curtis Taylor
You're creating the bean "status" in the varStatus declaration in your c:forEach action. It's in scope in the loop as "status" already, so you don't need to re-initialize it. You can access its attributes inside your loop: ...etc. Just curious; what're you trying to do inside the loop? Curt

Re: Question about logic:iterator, indexId and hidden fields

2004-04-06 Thread Curtis Taylor
Sandeep's correct; from the W3C website: "Every form must be enclosed within a FORM element. There can be several forms in a single document, but the FORM element can't be nested." Curtis -- c dot tee at verizon dot net Takhar, Sandeep wrote: something about having forms in forms that I don't th

Re: how to initiate an actionform?

2004-03-29 Thread Curtis Taylor
Hi Mike, Go here: http://www.husted.com/struts/tips/007.html Curtis -- c dot tee at verizon dot net Mu Mike wrote: > I m using a htmol:multibox tag, I want the check boxes checked or > unchecked every time differently accoriding to the data I have in my jsp > file, I m using an action form ,i