RE: newbie html-el question

2004-03-26 Thread Wendy Smoak
the 'value' attribute of the tags that render HTML form elements. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: newbie html-el question

2004-03-26 Thread Wendy Smoak
struts-config.xml so we can see what you've got. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: html:text -- value attribute won't take rtexprvalue

2004-03-26 Thread Wendy Smoak
=searchType value=${someVal} / -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: LookupDispatchAction default

2004-03-25 Thread Wendy Smoak
conflicting answers is that some of us are using new builds where unspecified works fine, and some are on other, older versions. The nightly builds are very stable, I recommend them and have no problems using them in production. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information

RE: LookupDispatchAction default

2004-03-24 Thread Wendy Smoak
for specified request parameter included in the request. Subclasses of DispatchAction should override this method if they wish to provide default behavior different than throwing a ServletException. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: LookupDispatchAction default

2004-03-24 Thread Wendy Smoak
links with no request parameters at all, and the unspecified method is called as described. (I use nightly builds, so I don't know when it started working that way...) -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: LookupDispatchAction default

2004-03-24 Thread Wendy Smoak
but there is no replacement, so you get a bunch of warnings if you use it. I don't think you'll have a big problem going from 1.1 to 1.2. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe

RE: blocking bookmarked actions

2004-03-24 Thread Wendy Smoak
them to go through the HTML page if you can do the default behavior with no user input. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: blocking bookmarked actions

2004-03-24 Thread Wendy Smoak
and return that. Looking at some old code, that's what I used to do... The newer project doesn't have an execute method and it works fine when the parameter for a LookupDispatchAction is not in the request. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: [OT] multiple submit buttons on a single page

2004-03-22 Thread Wendy Smoak
on by HTML purists. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Database backed forms

2004-03-19 Thread Wendy Smoak
that you shouldn't be writing. ;) -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: LookupDispatchAction problem

2004-03-18 Thread Wendy Smoak
. Or, I've used 'mode' and 'userAction' with no problems. Anything but 'submit' (or any other HTML keyword). -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail

RE: Struts cookbook

2004-03-18 Thread Wendy Smoak
Practices, which is not, I think, what you're after. Or maybe it is. :) -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Multibox problem when defaulted all on

2004-03-17 Thread Wendy Smoak
going to do this, you might want to remove the form from the session when the user is finished with it, whatever that means in this particular app. Then if they start over the framework will make a new form. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

Something after RequestProcessor adding extra / to URL?

2004-03-17 Thread Wendy Smoak
'/' is coming from, or if it matters at all? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Struts: Session Serialization

2004-03-16 Thread Wendy Smoak
servlet container. If you're using Tomcat, this might help: http://jakarta.apache.org/tomcat/faq/misc.html#persist -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail

RE: setting cookies from an action?

2004-03-16 Thread Wendy Smoak
. Is that what you wanted? Here's what I use: myCookie.setMaxAge( 2592000 ); (I think it's the number of seconds... Check the API.) If that's not the problem, can you be more specific about what's not working? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: redirecting to Google...

2004-03-16 Thread Wendy Smoak
to send them off wherever they belong. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Multibox and selected values

2004-03-15 Thread Wendy Smoak
From: Craig Tataryn [mailto:[EMAIL PROTECTED] this.servlet.getServletContext().getAttribute() should give you access to beans in the user session. Application/Context scope != Session scope -- Wendy Smoak

No warnings logged for missing forward

2004-03-15 Thread Wendy Smoak
right now to chase it down. :( -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ActionForm necessary?

2004-03-15 Thread Wendy Smoak
for the ActionForms. I'm not sure how you intend to retrieve the values in your Action code. If you're using request.getParameter() then there's no reason to use the Struts tags, just use plain-old html form and input until you decide you need something that Struts offers. -- Wendy Smoak Application

RE: Tiles tags in the Struts-EL subproject

2004-03-15 Thread Wendy Smoak
be for the nightly builds? There is a 1.2.0 release out now, although AFAIK it has not been promoted to an official/stable version. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Checking if user has a valida session

2004-03-12 Thread Wendy Smoak
are way too late to be checking whether the user is allowed to be there. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to set the selected value in an select rendered by optionsCollection

2004-03-11 Thread Wendy Smoak
LookupDispatchAction, so the form is always there, although if it comes in with no parameter, the unspecified method will pre-fill the form from the database. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: jsp.error.attribute.noequal

2004-03-11 Thread Wendy Smoak
an error? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] PDF generation (was: Reporting + Struts)

2004-03-11 Thread Wendy Smoak
sending a CSV from my Struts app, but there is a huge demand for Excel. I've started experimenting with the XML structure of an Excel Workbook, but I don't know how far that's going to get me. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: [OT] Database password

2004-03-11 Thread Wendy Smoak
, I can add it to the .properties file temporarily until I can recompile and deploy the changed version. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL

RE: sorting drop down values in a drop box in jsp

2004-03-10 Thread Wendy Smoak
a new TreeMap with no Comparator, and dump the items in. It's a little different with List than Map. What type of Collection is 'teachers'? And you don't have to put it in the session, it might be in the request, or be a form property. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA

[OT] RE: javascript delete function wih struts

2004-03-10 Thread Wendy Smoak
: document.forms[0].submit(); inside the ending } of your 'set' function. And perhaps change its name to something more descriptive. This assumes you always want to submit the form, even if they say 'no' to the question. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources

RE: using LookupDispatchAction

2004-03-10 Thread Wendy Smoak
in getKeyMethodMap. When it finds a match, it will invoke that method. Be sure to write the 'unspecified' method and give a default behavior. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: How to set the selected value in an select rendered by optionsCollection

2004-03-10 Thread Wendy Smoak
to maintain a business object plus some lines of XML. Or you can use a tool to generate all the get/set methods for a regular ActionForm. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: How to set the selected value in an select rendered by optionsCollection

2004-03-10 Thread Wendy Smoak
still not understanding properly, please try again to explain what you need. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: people using action form field

2004-03-09 Thread Wendy Smoak
-- if you leave it as 'action' at least document this issue clearly. I know I spent a while trying to figure it out! -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail

RE: Getting values from two different beans in the same form

2004-03-09 Thread Wendy Smoak
form bean in the Action, and then let the Struts tags do their thing. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: Showing selected in struts option tag

2004-03-05 Thread Wendy Smoak
the correct attributes for html:options depending on your situation: http://jakarta.apache.org/struts/userGuide/struts-html.html#options You do not have to do the iteration manually, the 'options' tag will do it for you, and the enclosing html:select tag will pick the right one. -- Wendy Smoak

RE: Showing selected in struts option tag

2004-03-05 Thread Wendy Smoak
I think it's looking for a getBooks() method in your form bean, which returns a Collection. Is that where getBooks() really is? Or is it a session attribute? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Showing selected in struts option tag

2004-03-05 Thread Wendy Smoak
retrieve it from the database. The problem seems to be that whatever Struts is calling 'getBooks()' on, does not have that method. Lets get that part cleared up, then I think there's a problem with your html:optionsCollection tag. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA

Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Wendy Smoak
in both cases. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Wendy Smoak
Robert wrote: Are you using DispatchAction or LookupDispatchAction? LookupDispatchAction. And even worse, it's a cookie that controls which tab to show, not always a request parameter. I think I may have painted myself into a corner... -Wendy Smoak

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Wendy Smoak
fields were on the form and only check those. :) However, I think I've got it down to using both DynaValidatorActionForm *and* the new MappingDispatchAction. That will mean I can have totally different URLs for each tab and still have all the methods in one place. -- Wendy Smoak Application

Header for errors (no HTML in the .properties file)

2004-03-05 Thread Wendy Smoak
are in request scope under the key org.apache.struts.action.ERROR but all sorts of variations of this break my page: c:if test${not empty request['org.apache.struts.action.ERROR']} It's late on Friday, I'm probably missing something really simple... -- Wendy Smoak Application Systems Analyst, Sr. ASU IA

RE: Header for errors (no HTML in the .properties file)

2004-03-05 Thread Wendy Smoak
From: Hubert Rabago [mailto:[EMAIL PROTECTED] Check the logic:messagesPresent and logic:messagesNotPresent and see if they do the trick for you. Yes, logic-el:messagesPresent did the trick. Thanks! But I still think it should be possible with JSTL... -- Wendy Smoak Application Systems

RE: Which Directory Does the Configuration File Go?

2004-03-05 Thread Wendy Smoak
. Please advise regarding the directory in which this properties file is supposed to be for my code to read it properly. WEB-INF/classes will be on the classpath, so you can place it directly there, or underneath and use dotted notation like package names to refer to it. -- Wendy Smoak

[OT] RE: web.xml DTD for Servlet 2.3 Struts 1.1

2004-03-04 Thread Wendy Smoak
) I'm also curious if it's the XML parser, or the Servlet container, etc. What component would make the call out to get the DTD? I've always wondered... -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: DynaActionForm IllegalArgumentException

2004-03-04 Thread Wendy Smoak
the problem will go away. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: DynaActionForm IllegalArgumentException

2004-03-04 Thread Wendy Smoak
:8080/struts-blank does not present any problems. With the form-bean definition you posted in your last message, which field is it complaining about? When/where do you see the error? Can you force the error to occur in a minimal webapp? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA

RE: validator-rules.xml

2004-03-04 Thread Wendy Smoak
in validation.xml. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Sorting table columns in jsp using struts

2004-03-04 Thread Wendy Smoak
, I'm not sure this is the best way to do it, but it works...] What type of Collection is 'books' in your example? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail

RE: Hiding URL Parameters

2004-03-04 Thread Wendy Smoak
that with several links on my pages, and it works fine. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: url rewrite prob in html:img tag

2004-03-03 Thread Wendy Smoak
doesn't get involved other than writing out the img tag. I had the same problem with the appended jsessionid, and when the content is dynamic, I used this: link rel=stylesheet href=c:url value=${css}/ type=text/css -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources

RE: validating double causes no error on text entry

2004-03-03 Thread Wendy Smoak
field. -Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Showing selected in struts option tag

2004-03-02 Thread Wendy Smoak
and html:options are here: http://jakarta.apache.org/struts/userGuide/dev_html.html Give it a try and post what you come up with! -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Showing selected in struts option tag

2004-03-02 Thread Wendy Smoak
-html.html#select Specifically: onchange - JavaScript event handler executed when this element loses input focus and its value has changed. [RT Expr] So 'updateAccounts()' is a JavaScript method [or function??] in my page. You can probably take that part out. :) -- Wendy Smoak Application Systems

RE: Showing selected in struts option tag

2004-03-02 Thread Wendy Smoak
, and it's not the one that has that method. How you fix that depends on where 'supervisors' lives. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: OT - java.sun.com is not accecsible

2004-03-02 Thread Wendy Smoak
yet. I was able to get 1.5.0 Beta 1 from there with no problems. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: Implementing A Search Dialog - Struts

2004-02-25 Thread Wendy Smoak
that will delete the unneeded records when the session dies. It's not clear if this webapp is display-only or if you're doing database updates at the end of the wizard. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: ActionForward and onLoad()

2004-02-24 Thread Wendy Smoak
of catalog items, and clicking on one of them opens a smaller window with details? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: ActionForward and onLoad()

2004-02-24 Thread Wendy Smoak
oversimplifying, but I don't see why you need to go directly to the JSP. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Validation doubt?

2004-02-24 Thread Wendy Smoak
, and skip validation in that case. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Validating number of selected multibox items

2004-02-23 Thread Wendy Smoak
, but that produces annoying deprecation warnings due to the use of ActionErrors. And I know I'll have to re-do it whenever ActionErrors really goes away. I don't think it's worth writing a custom validator for, but I wondered if I had missed an existing way of doing this. -- Wendy Smoak

RE: ActionFoward issues

2004-02-19 Thread Wendy Smoak
examples of how to send an email from Java, if that's the part you're stuck on. I would put that in a helper class which gets called from the Action. That way you can reuse it in other projects that may not be Struts based. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information

RE: How to create a No Action ActionForward for return from an Action's execute() ?

2004-02-19 Thread Wendy Smoak
? Then you can send the request where it belongs before it ever gets to the Action. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: How to create a No Action ActionForward for return from an Action's execute() ?

2004-02-19 Thread Wendy Smoak
an Action first, and not allowing direct access to JSP's, right?) I prefer the Filter because it's not Struts specific. It just looks for a cookie or looks for something in the request or session, and either lets the request pass through or redirects elsewhere. -- Wendy Smoak Application Systems

RE: Checkbox not checked

2004-02-18 Thread Wendy Smoak
property=accounts value=${acct}/ c:out value=${accountMap[acct].costCenterDesc}/ /c:forEach I could just hit delete now, but instead I'll archive my mistake: I used checkbox with a String[] property. The second snippet has the correct tag: multibox. Which is why that one works. -- Wendy Smoak

RE: Form Submission

2004-02-17 Thread Wendy Smoak
have to know the parameter *before* the form was filled out, when the HTML was generated. What is your objection to a submit button? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Retrieving messages from resource bundle

2004-02-17 Thread Wendy Smoak
access it using scriptlets? One of these should help: http://www.mail-archive.com/[EMAIL PROTECTED]/msg88237.html http://www.mail-archive.com/[EMAIL PROTECTED]/msg83867.html -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Form Submission

2004-02-17 Thread Wendy Smoak
the button _looks_, right? You can change that, to a point. What about putting the employee ID as a hidden field on the form, so that it will get submitted without being displayed on the form? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: html:select

2004-02-17 Thread Wendy Smoak
option value=zz/option /select It's the 'value' that will get sent to the server, not the displayed text. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e

RE: html:select

2004-02-17 Thread Wendy Smoak
From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED] How can I do to send the value displayed ? Can you post the code from the JSP the way it is now? Someone can probably help you change it so that it does what you want. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA

RE: Subclassing DynaValidatorForm

2004-02-17 Thread Wendy Smoak
a container, I don't think it should know about the session. I'd go with setting one or more properties of the Form bean when you're populating it. There's no rule that every form bean property has to correspond with something visible on the HTML form. -- Wendy Smoak Application Systems Analyst, Sr

RE: html:select

2004-02-17 Thread Wendy Smoak
not a recommendation, just an option!) But it would help if you'd post the code from the JSP that you're using. Right now I don't know if you're using html:select or if you're 'manually' writing out the select tags. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources

Checkbox not checked

2004-02-17 Thread Wendy Smoak
accounts based on the selected year, does anyone think this ought to work the way it is? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: how to send checkbox value?

2004-02-13 Thread Wendy Smoak
JavaScript to set a value and submit the form when a link is clicked. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: Calling JSPs directly

2004-02-13 Thread Wendy Smoak
be any Struts tags on them. I'd still run them through an Action, (or some other controller Servlet) otherwise where will you do the database read? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Dyna Validator Form values

2004-02-12 Thread Wendy Smoak
(org.apache.struts.action.ActionMapping) public void initialize(ActionMapping mapping) Initialize all bean properties to their initial values, as specified in the FormPropertyConfig elements associated with the definition of this DynaActionForm. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information

RE: [OT] - Request against Session

2004-02-11 Thread Wendy Smoak
purposes. My vote is to put your values in the session and don't look back. Others may disagree... -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Yellow background color in text fields?

2004-02-11 Thread Wendy Smoak
fields. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [OT] - Request against Session

2004-02-11 Thread Wendy Smoak
your values as you go along. action path=/accountInquiry type=com.example.AccountInquiryAction name=accountForm scope=session ... -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Errors or messages or??

2004-02-10 Thread Wendy Smoak
with the Struts 1.1 binary distribution, and then you'll have the documentation that goes with the release you're using. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Errors or messages or??

2004-02-10 Thread Wendy Smoak
of it? (And possibly post the non-EL version, if you want...) -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: LookupDispatchAction problem

2004-02-10 Thread Wendy Smoak
clicking on that button/link will cause the 'search' method to be executed. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: ActionErrors deprecated?

2004-02-09 Thread Wendy Smoak
://wiki.wendysmoak.com/cgi-bin/wiki.pl?StrutsMessages -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ActionErrors deprecated?

2004-02-09 Thread Wendy Smoak
From: Hubert Rabago [mailto:[EMAIL PROTECTED] Wendy, are you using that code with 1.1? I'm using a recent nightly build, so it's probably considered 1.2. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: how to specify HTML attribute when HTML Tag does not have cor rosp onding attribute

2004-02-09 Thread Wendy Smoak
=2/) that way I don't have to go through this every time I need to use a new attribute. What happens if you need to use two unsupported attributes in a single tag? I'd just extend the tag and do it right... How many browser specific attributes are there? -- Wendy Smoak Application Systems

RE: logic:iterate question

2004-02-06 Thread Wendy Smoak
From: Dragos Madalin Popa [mailto:[EMAIL PROTECTED] How can I iterate over a collection which depends of a request parameter? JSTL and/or Struts-EL can probably help, but I'm not quite sure what your question is. Can you give an example? -- Wendy Smoak Application Systems Analyst, Sr. ASU

RE: logic:iterate question

2004-02-06 Thread Wendy Smoak
class is getModelList from? -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: DispatchAction Problem

2004-02-06 Thread Wendy Smoak
at the page just before you get the error. Whatever is happening there, it's not sending the 'method' parameter. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL

RE: Array of text fields generated dynamically

2004-02-05 Thread Wendy Smoak
as the value. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: error- no getter method for property of bean

2004-02-03 Thread Wendy Smoak
' and get rid of the underscores. You should then have getGroupName() and setGroupName() methods with exactly the same type (and no other similarly named methods with different signatures). For the rest of the rules, read the JavaBeans specification. -- Wendy Smoak Application Systems Analyst, Sr

RE: xdoclet + Dynaforms

2004-01-28 Thread Wendy Smoak
. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: xdoclet + Dynaforms

2004-01-28 Thread Wendy Smoak
not been able to figure out how to get it to generate form beans without getting into any EJB stuff, (which I don't use,) but it's supposed to be possible. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Manually placing errors for display

2004-01-27 Thread Wendy Smoak
I copied it from somewhere... ActionMessages actionMessages = new ActionMessages(); actionMessages.add( ActionMessages.GLOBAL_MESSAGE, new ActionMessage( error.no.contact.found ) ); saveMessages( request, actionMessages ); return mapping.findForward( failure ); -- Wendy Smoak

Dynamic form, initial value for String[] property?

2004-01-27 Thread Wendy Smoak
=accounts type=java.lang.String[] initial=??? / Essentially, I need this: new String[] { }; -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: html:checkbox pls help

2004-01-26 Thread Wendy Smoak
value=${acct.key}/nbsp; br/ /c:forEach If you're after the sequential numbers of the iteration, forEach has a varStatus attribute that will expose the number. The iterate tag probably does, too. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

Manually placing errors for display

2004-01-26 Thread Wendy Smoak
. What's the latest simple, clean way to place an error message/key where it belongs so that it will get displayed on the form? (It's not necessarily related to a form field.) Thanks, -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: Tomcat/Struts Unicode Encoding/Decoding problems

2004-01-23 Thread Wendy Smoak
that in who knows how long ago.) Assuming you're on a 2.3 compliant container, Tomcat 4.1 is fine. Also make sure that you put the tags in the right order according to the dtd. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management

RE: my.properties under war

2004-01-23 Thread Wendy Smoak
in the 'classes' directory so they'll be visible on the classpath and I can get to them with getResourceAsStream(). -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL

RE: How to reset the form data?

2004-01-23 Thread Wendy Smoak
find out that you've lost the user's input. :) -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Form submission

2004-01-22 Thread Wendy Smoak
of the form before submitting. -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Urgent: Call ActionClass from link

2004-01-22 Thread Wendy Smoak
into the abstractObject and failed You can't have two properties (and by extension two 'set' methods) with the same name. Form beans must conform to the JavaBeans specification, or else things fall apart very quickly. As you can see, the framework has no way of knowing which method it ought to use. -- Wendy Smoak

  1   2   3   4   5   >