Re: Populating form Elements from another object.

2004-03-09 Thread Metin Carl
This is really good. An example of processing this form in Action classes would be very useful too as the way Shanmugam needs. Niall Pemberton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yup, thats it - plus dynamic=true form-bean name=fooForm1

Re: Simple ActionError question

2004-02-25 Thread Carl Walker
You ActionError constructor takes additional parameters. Here's a sample from some code that passes two parameters to a message I'm working on. In my example, if the user tries to insert a group with the same name as one in the DB, an error is thrown and html:errors is used to display the

Re: How to create a No Action ActionForward

2004-02-24 Thread Carl
Same question : JAAS, how did you get hold of the user's session? It's the last think I can't do. Carl Adam Hardy wrote: Jackie, auth-constraint lists the roles that are allowed access. If you have no roles, that means you need just one role for all. And you must enter it there. Having

Re: How to create a No Action ActionForward

2004-02-23 Thread Carl
By integarting with struts, I mean to have a loginAction witch fill the session with data about the logged user. I can't see how to manage that with classic j_security_check. regards, Carl Adam Hardy wrote: Not having any roles effectively means from the container managed security point

Re: RE: Extra Lines in Compiled JSP

2004-02-23 Thread Carl Walker
I wrote a filter to strip these lines out. My application returned a CSV document that looked strange in Excel with all of the blank lines caused by the various JSP constructs that aren't visible to the user. In my case, the rendering of the whitespace in the document is important. You're

Re: Breadcrumbs

2004-02-23 Thread Carl
Hi, We have similar needs, is it possible for you to send the code ? Thanks, Carl [EMAIL PROTECTED] wrote: I created five classes and an interface to do this, and manage the trail from an Action class. Since I load the content in the Action for display by a JSP, I can create the name

Re: How to create a No Action ActionForward

2004-02-22 Thread Carl
solutions, Regards, Carl Jacqueline Gomes wrote: Hi James, I was also trying to do the same thing, however, we are using JRun and we don't have any user 'roles'. Specifically, I wanted the container to do the authorisation i.e if a user tried to access any pages after blah blah/admin

Re: %= problem

2004-02-22 Thread Carl
Have you try : % String var = Anyvar; % AND html:select name=form property=subProduct value=%=var % or html:select name=form property=subProduct value='%=var %' without the space before 'var' ? Carl Dixit, Shashank (Cognizant) wrote: Hi all I am using Tomcat 4.0 plugged in Eclipse

Re: Integrating a menu system with a struts application

2004-02-21 Thread Carl
) alternative to struts-menu. Carl Brad Balmer wrote: I know about using struts-menu since it seems to be the only menu system talked about on this forum. Before I start down a path, I was wondering if anybody else has used another menu system successfully within a struts application other than struts

Re[2]: File Upload and DynaActionForm?

2004-02-18 Thread Carl-Eric Menzel
Did you change the form definition to enctype=multipart/form-data yet? Yes, that is set correctly. Here's what it renders as HTML: form name=pollForm method=post action=/mafo2-dev/editPollSubmit.do enctype=multipart/form-data id=theForm Thanks Carl-Eric -- Carl-Eric Menzel * OpenPGP KeyID

Re[2]: File Upload and DynaActionForm?

2004-02-18 Thread Carl-Eric Menzel
Hello Carl-Eric, What browser you used for testing? Opera have bug when upload field in form is null. I'm using Mozilla Firefox and IE6, but this happens *before* the form is even displayed. I'm only going to the page where it should show up, and get the mentioned error message instead

Re: can tiles be put in a jar?

2004-02-18 Thread Carl Walker
Compile the tiles into .java files, compile these files into .class files and jar them up. You'll need to add servlet mappings to every webapp's web.xml, though. Here's the test JSP I'm working with (called myjsp.jsp). %@ page session=false % %@ page import=java.util.Date % html body h1Hi, the

Re: Validator and DispatchAction

2004-02-18 Thread Carl Walker
I ran into the same problem and converted all my DispatchActions to Actions. The downside is that there are more class files, but the mappings seem cleaner, especially in handling the 'input' attribute for html:errors /. Also, using Actions lets me specify different values for the 'validate'

Re: can tiles be put in a jar?

2004-02-18 Thread Carl Walker
? what about the form paths? and then mapping those in struts config to tiles defs (by way of forwards, assuming thats the way one would want to do things). and the additional problem of multiple forms on one page? I'll ponder some more.. On 18 Feb 2004, at 15:47, Carl Walker wrote

File Upload and DynaActionForm?

2004-02-17 Thread Carl-Eric Menzel
the following from the tile: [ServletException in:/pages/editor/editPoll.jsp] No getter method for property tickets of bean org.apache.struts.taglib.html.BEAN' Any ideas on what I might be doing wrong? Thanks Carl-Eric -- Carl-Eric Menzel * OpenPGP KeyID 808F4A8E * Encrypted Messages Preferred

Re: DataGrid...

2004-02-16 Thread Carl
Hi, I'm using displayTag and except the current lack of support for EL expression, it's very helpfull to me. Carl Daniel wrote: I am looking for data grid(paging / navigation, sorting and filtering) for integrate with myapp (based on struts, without EJB) and tested HTMLTable - Table

Re: DataGrid...

2004-02-16 Thread Carl
So the displayTag librairie is now perfect ! Carl David Friedman wrote: Carl, There is EL support in the CVS (1.0-b3) version for displaytag. See: http://displaytag.sourceforge.net/changes-report.html Regards, David -Original Message- From: Carl [mailto:[EMAIL PROTECTED] Sent: Monday

Re: Javscript

2004-02-12 Thread Carl Walker
Make sure 1) that the entry in struts-config.xml matches the entry in validation.xml and that both refer to the attribute value in html:javascript name=... / 2) that the validation.xml syntax is ok. Try testing a form entry with a construct that you know works. Add each new field element

validation.xml and java.sql.Date

2004-02-12 Thread Carl Walker
Hi, I'm having a problem setting an initial value for a DynaValidatorForm. I have a date field that is not required to be filled in. However, when I submit the form without a value, I get a Date.valueOf exception thrown from SQLConverter. If I submit a valid value or attempt to submit a

Re: validation.xml and java.sql.Date

2004-02-12 Thread Carl Walker
and java.sql.Date You can have a string that looks like a date and validator will still validate it. To my knowledge there is no need to have the property of type Date. same is true of other types also. On 12 Feb 2004, at 14:36, Carl Walker wrote: Hi, I'm having a problem

Re: RE: Javscript

2004-02-12 Thread Carl Walker
] Date: Thursday, February 12, 2004 9:09 am Subject: RE: Javscript I've satisfied both your suggestions the javascript text no longer appears.but How do i activate the JS validation? -Original Message- From: Carl Walker [EMAIL PROTECTED] Sent: 12 February 2004 12:34 To: Struts Users

Re: RE: RE: Javscript

2004-02-12 Thread Carl Walker
? -Original Message- From: Darren Massel [EMAIL PROTECTED] Sent: 12 February 2004 14:42 To: 'Struts Users Mailing List' Subject: RE: RE: Javscript Cheers worked a dream. -Original Message- From: Carl Walker [EMAIL PROTECTED] Sent: 12 February 2004 14:31 To: Struts Users Mailing

Re: dynamically add action ?

2004-01-07 Thread Carl
If you add new java code in a running Tomcat context, by default the context will restart itsel automaticly. Carl lixin chu wrote: Thanks ! I am very new to this web application world, just wanted to clarify if I can do these in a running Struts application without restart Tomcat: 1. Can I

Re: Struts and Container-managed security

2004-01-04 Thread Carl
Hi, You can map a filter on /myapp/admin/* which check the presence of a valide UserBean in the session. The login action put a valide UserBean in he session and the logout action remove it. Regards, Carl Patrick Scheuerer wrote: Hi, I would like to accomplish the following: In my webapp

Re: html:select example

2003-12-30 Thread Carl
that there is other way to do the same, using html:options or html:optioncollection, but I've never used it. Good luck Carl Otávio Augusto wrote: Would someone show me a very simple example of the use of an html:select tag? I did not understand its use. I'd appreciate any simple example. Thanks

Re: Dynamic value in customer tag ??

2003-11-28 Thread Carl
either html:link page=/delete.do?id=%=id %DEL/html:link or html-el:link page=/delete.do?id=${id}DEL/html:link works. I prefer the second way as it user the EL like in JSTL Carl Eric Chow wrote: Hello, In the customer tag, how can I add a dynamic value with it? As the following example, how

Validator and Float Validation

2003-11-25 Thread Carl Walker
into the html:text box. Is this the way it's supposed to work, or am I missing something. Thanks, Carl Walker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Passing Objects to a Tiles Context, Tiles-EL

2003-11-23 Thread Carl-Eric Menzel
? Thanks Carl-Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Lazy questions on this list

2003-11-20 Thread Carl
achieve the gaol of such mailing-list. By the way, this activity show that more and more people are using Struts and that's a great news for an open source project. Maybe a warning notice on the mail subscrubtion confiration could reduce lazy requests... Carl Paul McCulloch wrote: Is it my

Re: Fruits of your help

2003-11-20 Thread Carl
) Carl Brice Ruth wrote: Thanks to all on this list that helped me with my JSP/Servlet/Struts/Tiles issues ... the fruit of your help is now live (under a MUCH accelerated schedule and not nearly enough time for QA/QC, but what's new?) http://www.fiskars.com/ If the first thing you see isn't

Re: avoid proxy-caching by generating changing urls

2003-11-18 Thread Carl
=no-cache /head It seems to work for me but I'm sure there are more élégant solutions. Using Struts, you see on the bean:header tag. I still haven't found time to explore it. Let me know if it's work for you. Carl Christine Gerstenmayer wrote: Hi all ! My application is running behind a proxy

Re: initializing properties for Actions

2003-11-18 Thread Carl
I'm not sure that this will solve your pb, but I think you should use public boolean isPasswordDisabled() { return passwordDisabled; } instead of getPasswordDisabled. Carl Frank Maritato wrote: Hi, I'm trying to pass some initialization parameters to an Action and I'm having some

Re: problem with html:text bean throwing exception

2003-11-18 Thread Carl
=/succes.do redirect=true/ /action I've faced a similar issue for these reasons. Carl Gus Heck wrote: So I have been stuck for a day or so on this exception: org.apache.jasper.JasperException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

bean:message MessageFormat and number formating

2003-11-18 Thread Carl
by the fmt:formatNumber tag. Is there a way to use a MessageFormat and have the parameters formatted like fmt:formatNumber do ? Thanks for all suggestions, Carl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [OT] OutOfMemoryError when I have plenty of heap

2003-09-17 Thread Carl Walker
the trace depth with -Xrunhprof:heap=sites,depth=5. This should help you hone in on problem areas. -Carl Casey Forbes wrote: Hello, I haven't been able to recreate this OutOfMemoryError. It doesn't seem to occur in any particular place. It happens a few times a month and I've written some little

Getting Messages in an Action?

2003-09-16 Thread Carl-Eric Menzel
Hello, is it possible to retrieve a message from the application resources (like bean:message key=.../) inside an Action? How can I get to the current localized messages? Thanks Carl-Eric - To unsubscribe, e-mail: [EMAIL

Re[2]: Getting Messages in an Action?

2003-09-16 Thread Carl-Eric Menzel
MessageResources resources = getResources(request); java.util.Locale locale = getLocale(request); String yourString = resources.getMessage(locale, yourString); Duh. I should read the docs more carefully (and sleep more, probably). Thank you! Carl-Eric

Help me get my boss of my back

2003-09-04 Thread Carl-Jakob
Hi, We have put up websites for some customers despite I said no. nooo... although now he has started bugging me about stats(5 min after they did go live). Is there any tool for analyzing the accesslogs made in struts. Need to be a webbased tool or I never be left alone for doing import

Re: Tiles not generating page properly

2003-08-28 Thread Carl-Eric Menzel
. In the meantime, I very happily accepted Hue's offer to have a look at it. I suspect I just don't see the wood for the trees. No other errors anywhere? None. At least none that I have noticed in the logs. Thanks Carl-Eric

Re: Tiles not generating page properly

2003-08-28 Thread Carl-Eric Menzel
? Thanks Carl-Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tiles not generating page properly

2003-08-28 Thread Carl-Eric Menzel
* much. Carl-Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
for any help you can offer! Carl-Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
again Carl-Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
, but they are not used anywhere yet. There's also a Hibernate configuration file complete with mappings, but they aren't called yet either. Thanks Carl-Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Tiles not generating page properly

2003-08-27 Thread Carl-Eric Menzel
On Wed, 27 Aug 2003 19:52:33 +0200, Carl-Eric Menzel wrote: My app is running on a Debian woody system, using Java 1.3.1 (Blackdown-1.3.1-02b-FCS) and the Debian-packaged Tomcat 4.0.4-4. The Struts and Tiles files are the ones right out of the jakarta-struts-1.1.zip on the Jakarta site

Re: Replace scriptlet in a JSP page

2003-07-24 Thread Carl Walker
Can you rewrite SetUpLanguages to take an empty constructor? If you can, then you can use jsp:setProperty to take what you need from the request object and put it in a Java Bean. SetUpLanguages.java --- package myclasses; public class SetUpLanguages implements java.io.Serializable { public

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

2003-06-28 Thread Carl Fyffe
Pixel never dies. He was badly hurt, but he never dies. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 1:28 PM To: 'Struts Users Mailing List' Subject: Re: [FRIDAY] Struts 1.1 votes passes, but, sadly, my cat died This author, like the fabled

Re: URLs not escaped

2003-06-27 Thread Carl Walker
Use a href=c:out value=${url} escapeXml=false /.../a instead. Eric Jain wrote: The following JSP fragment jstl:url value=/view var=url jstl:param name=id value=1 / jstl:param name=format value=rdf / /jstl:url html:link href=${url}.../html:link generates a link with an

Re: My View Is Messy

2003-06-18 Thread Carl Walker
Maybe you should create some app-specfic custom tags. Here's one example. sched:table sched:entry start=4pm end=5pm event=Watch TV/ sched:entry start=5pm end=6pm event=Eat Dinner / /sched:table With RT values in a loop. sched:table logic:iterate id=event name=event_collection

Re: Token in struts and session bean.... problem with the framework ?

2003-06-18 Thread Carl Walker
investigate the Struts token feature and I'd expect that (session or not) it would work. -Carl David Gagnon wrote: Hi all thanks for your answers. I was indeed talking about ActionForm (sorry we use to call that a bean here :-)). What I understand from our discussion is: -Thant I Can use

Re: Action without a form

2003-06-18 Thread Carl Walker
This should work. I've used the same construct before. Make sure that myObj != null in the Action and that you are referencing request.getAttribute(label) in the JSP. -Carl Rachell, Morgan wrote: In a JSP page, I have a link that calls an Action. Usually, this is done with a submit button

Re: How to instantiate a DynaActionForm?

2003-06-18 Thread Carl Walker
I have an org.apache.struts.validator.DynaValidatorForm called AccountForm in my struts-config.xml. The code below is similar to that found in the link referenced below, except I call the initialize() method to get the initial= attributes from the form bean definition. // load up

Re: embedding multiple parameters and associated values in a html:link

2003-06-17 Thread Carl Walker
Here's an example where I make a URL with two parameters, 'action' and 'accountId'. 'account' is a pageContext-scoped variable put on the page by the logic:iterate tag. % HashMap editParams = new HashMap(); editParams.put(action, prepareEditForm);

Re: Token in struts and session bean.... problem with the framework ?

2003-06-17 Thread Carl Walker
You should use JavaScript to solve this. Here's a sample function. script language=JavaScript var bAlreadySubmitted = false; function isAlreadySubmitted() { if (document.forms[0].elements[14].style) { document.forms[0].elements[14].style.visibility='hidden';

Re: IE 6 timeout session

2003-06-04 Thread Carl Walker
(including session info?) in the body of the posted message. I fixed this by writing a Valve that set the Content-type to the correct value. -Carl Gandle, Panchasheel wrote: we have a similar situation, IE version 6.00.28 in particular which is preinstalled in new Windows XP All

Re: Checkbox

2003-05-30 Thread Carl Walker
You should use a java.lang.String or java.lang.String[] property if you want to have 'abc' submitted when checkbox 'chk' is checked. If you want 'true' to be sent when 'chk' is checked, then change 'abc' to 'true'. Take a look at this example for additional guidance %-- FILE checkForm.jsp --%

Re: Direct me to the archive about individual error reporting next tofields

2003-05-27 Thread Carl Walker
You'll need to use your own bean:message key=errors.header /,bean:message key=error.myproperty / scheme or remove the errors.header/prefix, etc. from the resource file. Bailey, Shane C. wrote: I was looking at this: http://husted.com/struts/tips/017.html

Re: Parameters v form beans (again!)

2003-05-27 Thread Carl Walker
I use the request object to deal with parameters whose names aren't known in advance. For instance, I had an app that allowed the user to associate attributes on-the-fly with a given record. So I used the identifier for these schema-changing attributes to come up with input type=text names like

RE: [NEWBIE]A very stupid question

2003-03-16 Thread Carl Fyffe
will actually output would be: a href=/xml-op/Login.doLogin/a Given that xml-op is your context. Hth, Carl -Original Message- From: Tony Tahbaz [mailto:[EMAIL PROTECTED] Sent: Sunday, March 16, 2003 4:16 PM To: Struts Users Mailing List Subject: RE: [NEWBIE]A very stupid question How are you

Multi-level validation

2003-03-04 Thread Carl Fyffe
(nestedForm2.validate(map, req)); But the addAll isn't there. Is this by design or have I missed something? Suggestions welcome, Carl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Using javascript with html:link

2003-02-19 Thread Carl-Jakob Rundberg
Hi I want to generate a popupwindow when a user clicks on a html:link I tried the onclick property. The problem is to get mapping to the action in the javascript or the other way around Link html:link page=/setReceiverAction.do onclick=” paramName=adds paramId=id

RE: Value of Struts?

2003-01-22 Thread Carl Fyffe
? Thanks Craig, Ted, Arron, Cedric, David, David, Martin and the rest of the Contributors for providing such an awesome product. Carl -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 9:12 PM To: [EMAIL PROTECTED] Subject: Re: Value of Struts

Struts / Tiles Design question

2003-01-19 Thread Carl Hope
I'm recoding an existing app using Struts and Tiles. The app originally used frames with the usual components of header, menu, body and footer. I've replaced the frameset with a layout template and it works fine. The difficulty I'm having is when I only want to refresh the menu tile and not

RE: Forms that extend forms

2003-01-17 Thread Carl Fyffe
I think the answer to your question is that you need to make your properties in ParentForm protected instead of private. Just another rookie, Carl -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 4:13 PM To: '[EMAIL PROTECTED]' Subject

setting dynamic values in a ActionForm when it creates

2003-01-16 Thread Carl-Jakob
Hi Im using a multibox and figured out that if selecteditems and id has the same value the box is checked. html:multibox name=someForm property=selecteditems bean:write name=list property=id / Since it also is selecteditems i get the values of the users choice on submit I must use

RE: line breaks

2003-01-06 Thread Carl Fyffe
is to rip out all \n \r before comparing equality, then do your compare. Just my rookie 2 cents... Carl -Original Message- From: Affan Qureshi [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 12:08 AM To: Struts Users Mailing List Subject: Re: line breaks No its coming from a DB

RE: [OT] HTTP fetchmail program?

2003-01-04 Thread Carl Fyffe
I don't know if your wife is still away, but in case you ever need it in the future: http://freshmeat.net/releases/108418/ It is made to order for your exact needs. I didn't write it... I just found it 8-) Carl -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent

RE: Struts v1.1b3 download?

2003-01-02 Thread Carl Schwarcz
I get the same message. You've got the correct url, just the site seems broken. -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 2:19 PM To: Struts Users Mailing List Subject: Struts v1.1b3 download? I went to the apache site - milestone

interaction between jstl and struts

2003-01-01 Thread Carl Schwarcz
I'm trying to conver some existing jsp's to Struts but confused about the interaction between JTSL looping constructs and Struts tags. I''ve got a session attribute containing a list of subjects which get output as the options in a select. The Struts version complains that that the attribute

Action method equivalent to Servlet's init?

2002-12-31 Thread Carl Schwarcz
in Action? Is there one? What approach would you recommend? Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [OT] Overloaded setters in JavaBeans

2002-12-15 Thread Carl Fyffe
still get the IllegalArgumentException: argument type mismatch. Would someone please fill in the blanks? What am I missing here? Carl -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 14, 2002 2:44 PM To: Struts Users Mailing List Subject: Re

Re: Select Options

2002-09-09 Thread Carl Bacher
html:select property=name_of_property_in_form_bean Smith, Johnathan M. wrote: I am trying to find out how to make a select (dropdown list) selected a option at the time of the page is loaded. Sample 1) I selected a option from my dropdown box and and click submit button 2) The FormAction find

ActionForm.validate() method causing JasperException

2002-09-05 Thread Carl Bacher
=/main.jsp/ /action Am I missing something in the configuration? Any ideas? Thanks, Carl

No cache custom tag not working

2002-08-30 Thread Schmidt, Carl
. Why is the tag not working correctly? Carl

Cannot use bean to pop option box

2002-07-09 Thread Schmidt, Carl
a select box. I've confirmed that both the bean is being stored under the correct name, as well as being accessed by the correct name on the jsp. Any suggestions would be appreciated. Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Retrieving keys from the MessageResources object

2002-07-03 Thread Schmidt, Carl
I'd like to get an array of all keys from the MessageResources object. The API states MessageResources only inherits from object, so needless to say there were no methods there, and I can't find any on the MessageResources object itself. Am I correct in assuming this is not possible? Carl

RE: Retrieving keys from the MessageResources object

2002-07-03 Thread Schmidt, Carl
Forgot to mention I'm running struts 1.0.1 and cannot upgrade at this time, just in case it matters. Carl -Original Message- From: Schmidt, Carl [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 11:15 AM To: Struts (E-mail) Subject: Retrieving keys from the MessageResources

RE: Retrieving keys from the MessageResources object

2002-07-03 Thread Schmidt, Carl
Yes, I looked at that as well. Meantime, I discovered an alternative solution to my problem that fit the design a little better. Thank you for the reply though. Carl -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 03, 2002 11:24 AM To: Struts

App Resources bundle being read in on Servlet startup?

2002-07-03 Thread Schmidt, Carl
bundle? Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Formatting the error tag

2002-06-11 Thread Schmidt, Carl
. Is there a way to get the name of the error bean without hardcoding it directly onto the jsp? 2. Is there another solution, perhaps using another tag, which I've missed? Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

html:error tag

2002-06-06 Thread Schmidt, Carl
The docs for the property attribute of this tag state: Name of the property for which error messages should be displayed. The property of what? The bean specified by name? Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Error headers and footers

2002-06-05 Thread Schmidt, Carl
. Anyone with suggestions? Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Multiple error pages for a single action mapping

2002-04-25 Thread Schmidt, Carl
the best way to do this? Carl -Original Message- From: adam [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 6:30 PM To: Struts Users Mailing List Subject: Re: Multiple error pages for a single action mapping Remember, one error page can just be use a simple include based on your

Problems setting form properties

2002-04-25 Thread Schmidt, Carl
forward name=failure path=/ResetPasswordQuestions.jsp / forward name=success path=/gln/ResetPasswordNewPassword / /action Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

action form is reset after every submit

2002-04-24 Thread Schmidt, Carl
a reset method in my form. I thought I'd just rename the reset() method to something else, like resetForm(), but can someone suggest a better alternative? Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Multiple error pages for a single action mapping

2002-04-24 Thread Schmidt, Carl
these pages? Carl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 12:08 PM To: [EMAIL PROTECTED] Subject: Multiple error pages for a single action mapping Hi I believe you are checking you inputs while you going through the pages. E.g

RE: Struts Actions are Singletons?

2002-04-24 Thread Schmidt, Carl
Thanks for that excellent explanation, that has certainly cleared some things up. Now I understand why the Actions are singletons, and I believe I understand from the STRUTS code _how_ the singletons are enforced, but I'd like to ask another 2 questions to make sure: 1. I notice that the only

Multiple error pages for a single action mapping

2002-04-23 Thread Schmidt, Carl
. As each page is validated though, all I can use is just one input tag in the action mapping to return the user back to some central error page. What I'd like to do is return the user back to the page which contained the errors, dispaying the errors at the top. How do I do this? Carl -- To unsubscribe

Using tagib to print form bean member directly to page

2002-04-23 Thread Schmidt, Carl
I've already looked through the html and bean taglib but I can't find a tag that will allow me to print the value from a form bean simply as is, without rendering a text box or other form item. Does such a thing exist? Carl -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Using tagib to print form bean member directly to page

2002-04-23 Thread Schmidt, Carl
Thank you. Turns out I was using the right taglib (bean:write) but bad syntax. Carl -Original Message- From: Greg Nyberg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 3:47 PM To: Struts Users Mailing List Subject: RE: Using tagib to print form bean member directly to page

RE: EJB = bad = MS.net

2002-02-20 Thread Carl Sziebert
Just a question for those of you who knock EJBs... How is it that you plan to provide transaction management and security within your applications? Going straight to the database won't provide that for you. This whole debate makes me wonder how many people really understand Java and quality

RE: html:text

2002-01-22 Thread Carl Sziebert
Did you use the proper format of readonly=true, etc? The html tags require this format as opposed to the regular html format of just including the word 'readonly' inline with your tag. Carl -Original Message- From: Chalissary, David [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January

Design question - output Action

2002-01-22 Thread Carl Hope
I'm fairly new to Struts and have just built my first mini-project. I have a basic question that I couldn't find addressed in the mail archives. I think I understand the input half of a user interaction - when information is input by the user, it is handled on the server via the ActionServlet

RE: html:text

2002-01-22 Thread Carl Sziebert
Well you have greater problems than the readonly issue you mentioned earlier. You cannot have custom tags as attributes of other nested tags. However you can have nested tags within the body of other tags. Basically you cannot use the bean:write tag as the value of the attribute value. Carl

RE: [ANNOUNCEMENT] Struts 1.0.1 Release Candidate 1

2001-11-29 Thread George, Carl
-Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 4:28 PM To: [EMAIL PROTECTED]; Struts Developers List; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [ANNOUNCEMENT] Struts 1.0.1 Release Candidate 1 The first

RE: SilverStream 3.5.2

2001-10-25 Thread George, Carl
On Wed, 24 Oct 2001, George, Carl wrote: no -Original Message- From: Tim [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 1:41 AM To: [EMAIL PROTECTED] Subject: SilverStream 3.5.2 Hi, I'd like to inquire on whether it is possible to deploy a struts app

RE: SilverStream 3.5.2

2001-10-24 Thread George, Carl
no -Original Message- From: Tim [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 1:41 AM To: [EMAIL PROTECTED] Subject: SilverStream 3.5.2 Hi, I'd like to inquire on whether it is possible to deploy a struts app to SilverStream 3.5.2? Thanks. --

Tomcat 4.0/Struts/Web.xml Question

2001-10-01 Thread Carl Sziebert
. - Thanks to you all for you help. Carl ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app !-- The Usual Welcome File List -- welcome-file-list

RE: Help with Struts and EJBS..

2001-09-25 Thread George, Carl
That's bad. You should have any data-loading in the form. It should be in the action. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 11:47 AM To: [EMAIL PROTECTED] Subject: RE: Help with Struts and EJBS.. Peter, I understand

RE: initial values to edit .... and then view save

2001-09-25 Thread George, Carl
Victor, Victor, Victor... you have to use the form passed int the action. So you have to do NameZoomFrm frm = (NameZoomFrm)form; Then set the values. You don't do the session.setAttribute. -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25,

  1   2   >