Re: No Bean found under attribute key

2001-06-27 Thread Martin Cooper
In your logic:equal tag, you are using 'name' and 'property'. In your html:text tag, you are using only 'property'. The second case will work only if this code is inside an html:form tag and the form bean has a property with that name. -- Martin Cooper - Original Message - From: Rama

Re: No Bean found under attribute key

2001-06-27 Thread Martin Cooper
the property name as Server instead of server. -- Martin Cooper - Original Message - From: Rama Krishna [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 5:43 PM Subject: Re: No Bean found under attribute key thanx much martin, html:form action=indexPage html:text name

Re: Iterate, Text Fields, and Indexed Properties

2001-06-27 Thread Martin Cooper
=CreateForm attribute) and not finding. -- Martin Cooper - Original Message - From: Jason Rosenblum [EMAIL PROTECTED] To: Struts (E-mail) [EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 4:22 PM Subject: Iterate, Text Fields, and Indexed Properties I've run into another problem

Re: Build fails on style

2001-06-23 Thread Martin Cooper
I build Struts with Xerces, using the version that comes with Xalan 1.2.2. That works fine. Also, I'm not sure what the -C is all about in JDK 1.3.0-C, but I believe I saw some problems with it at some point. I'm using 1.3.0_02 now. -- Martin Cooper - Original Message - From: Craig R

Re: how to quote nested tags

2001-06-21 Thread Martin Cooper
/a but *not* in the value of a tag attribute like this: mylib:mylink href='mylib:mytag attr=value/'Go somewhere/mylib:mylink Hope this helps. -- Martin Cooper - Original Message - From: frank waldheim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 7:06 AM Subject

Re: Form input using image tag

2001-06-20 Thread Martin Cooper
What version of Struts are you using? There was a bug that caused what you are seeing, but that was fixed in February. If you're not yet using Struts 1.0, I would encourage you to update to that now. -- Martin Cooper - Original Message - From: Luna, Kat [EMAIL PROTECTED] To: [EMAIL

Re: JSP translated to Tags???

2001-06-20 Thread Martin Cooper
name=attr2 value=baz/ /jsp:include Is this correct, or is there more to it than that? I guess one thing you would gain from using a tag versus an include is better performance, but the idea does seem a little odd to me. -- Martin Cooper - Original Message - From: Eduardo Pelegri-Llopart

Re: JSP translated to Tags???

2001-06-20 Thread Martin Cooper
name=attr2 value=baz/ /jsp:include Is this correct, or is there more to it than that? I guess one thing you would gain from using a tag versus an include is better performance, but the idea does seem a little odd to me. -- Martin Cooper - Original Message - From: Eduardo Pelegri-Llopart

Re: creating ActionError inside a jsp page

2001-06-20 Thread Martin Cooper
Are you forwarding directly from one JSP to another? That would seem to be mixing controller functionality with the view. On the other hand, if you're not doing that, then the Action between the pages is the place to create your ActionError. -- Martin Cooper - Original Message - From

Re: Options tag - 'selected'

2001-06-19 Thread Martin Cooper
', 'multiple=multiple', etc. -- Martin Cooper - Original Message - From: Simon Liang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 4:41 PM Subject: RE: Options tag - 'selected' Got it, while going throught search of old mailing list emails. html:select name

Re: struts-test.war ?

2001-06-18 Thread Martin Cooper
I believe struts-test.war became struts-exercise-taglib.war when work started on the JUnit/Cactus tests for Struts. -- Martin Cooper - Original Message - From: Sean [EMAIL PROTECTED] To: Struts User [EMAIL PROTECTED] Sent: Monday, June 18, 2001 7:22 PM Subject: struts-test.war ? I

Re: Creating a mailto within a logic:iterate

2001-06-18 Thread Martin Cooper
Instead of this: a href=mailto:bean:write name=result property=email/bean:write name=result property=manager//a try this: bean:define id=email name=result property=email type=java.lang.String/ a href='%= mailto:; + email %'bean:write name=result property=manager//a Hope this helps. -- Martin

Re: html:checkbox

2001-06-17 Thread Martin Cooper
the property at all. The property will then be false - as set by your reset() method - which is correct. Hope this helps. -- Martin Cooper - Original Message - From: Rod Schmidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 10:55 PM Subject: Re: html:checkbox

Re: General DATABASE programming question

2001-06-16 Thread Martin Cooper
millions of entries. Still, as long as the database is set up properly, the queries and retrieval are fast. -- Martin Cooper - Original Message - From: Mindaugas Idzelis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 11:36 AM Subject: RE: General DATABASE programming

Re: enhancement for the Struts HTML library?

2001-06-15 Thread Martin Cooper
You should take a look at David Winterfeldt's Struts Validator at: http://home.earthlink.net/~dwinterfeldt/ This does most, if not all, of what you want. -- Martin Cooper - Original Message - From: Kwang-Shi Shu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 8:43

Re: preprocess suggestion on struts change

2001-06-15 Thread Martin Cooper
that is called before the action (in which case Oleg's reply describes a solution), or something that is called after the perform() method but before the JSP execution? -- Martin Cooper - Original Message - From: Kiet Nguyen [EMAIL PROTECTED] To: Struts-User (E-mail) [EMAIL PROTECTED] Sent: Friday

Re: action help

2001-06-13 Thread Martin Cooper
I believe the url-pattern in your servlet mapping should be *.do, not /*.do. Hope this helps. -- Martin Cooper - Original Message - From: Mike Thompson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 6:24 AM Subject: action help Ok, I'm feeling totally lost

Re: Struts Datasource problem

2001-06-13 Thread Martin Cooper
this error when you try to open your connection. Hope this helps. -- Martin Cooper - Original Message - From: Bill Clinton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 1:47 PM Subject: Struts Datasource problem Hello, I am having a recurring problem

Re: Iterate tag update?

2001-06-13 Thread Martin Cooper
in the 6/14 nightly build, and also in Struts 1.0. -- Martin Cooper - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 9:36 AM Subject: Iterate tag update? I have a question similar to Mark Kettner's. Could someone give an update

Re: uploading file requires immediate serialization location?

2001-06-11 Thread Martin Cooper
). The FormFile does not contain the actual uploaded data, just the name of the file it was saved in. -- Martin Cooper - Original Message - From: Jonathan Asbell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 10, 2001 11:16 PM Subject: Re: uploading file requires immediate serialization

Re: Help with define tag

2001-06-11 Thread Martin Cooper
private instead of public. -- Martin Cooper At 10:46 AM 6/11/01, Chuck Stern wrote: Hi, I think I'm missing something here. I have a bean that is available to my page in the request scope. Within that I have another bean that has properties I want to display. I'm trying to use the define tag

Re: uploading file requires immediate serialization location?

2001-06-11 Thread Martin Cooper
, not must. Of course, that doesn't mean that browsers will support it! :-) -- Martin Cooper At 12:55 PM 6/11/01, [EMAIL PROTECTED] wrote: Martin, Hi. Can I pick your brain about an earlier post? I asked what would happen if I have a html:file tag on my form, but without changing the enctype

Re: uploading file requires immediate serialization location?

2001-06-10 Thread Martin Cooper
, the original uploaded file is still on the disk, and will remain there until the form is resubmitted. Then it will be deleted as a part of setting up for parsing the new multipart data. Hope this helps. -- Martin Cooper - Original Message - From: Jonathan Asbell [EMAIL PROTECTED] To: Martin Cooper

Re: Mixing a multipart form with beans

2001-06-10 Thread Martin Cooper
to specify 'name', but you do need to specify 'property'. That's how Struts figures out which form bean attribute to set when the file is uploaded. Regarding validation, you might want to validate that a file was indeed uploaded, if it is required. Hope this helps. -- Martin Cooper - Original

Re: uploading file requires immediate serialization location?

2001-06-10 Thread Martin Cooper
process a form? What parts of the multipart request do we save in the bean, and in what scope? - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Jonathan Asbell [EMAIL PROTECTED] Sent: Monday, June 11, 2001 1:23 AM Subject: Re: uploading file requires

Re: html:radio tag question

2001-06-09 Thread Martin Cooper
, and the same property will be used to store the value of the radio button selected when the form is submitted. Hope this helps. -- Martin Cooper - Original Message - From: Steve Salkin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 8:40 AM Subject: html:radio tag question

Re: Java Server Faces

2001-06-09 Thread Martin Cooper
Library (JSR-052). -- Martin Cooper - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 8:37 PM Subject: Java Server Faces At JavaOne today, it seemed to be suggested that j2ee would have a MVC framework join the recommendations. Later

Re: viewing combo box

2001-06-09 Thread Martin Cooper
this should appear in Struts 1.1 before too long.) -- Martin Cooper - Original Message - From: Alex Colic [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 1:49 PM Subject: viewing combo box Hi, lets say you have a combo box filling from a vector. I can get

Re: ACtionError Issues

2001-06-09 Thread Martin Cooper
=/department.jsp ... instead of specifying the department.do action. Hope this helps. -- Martin Cooper - Original Message - From: Prabha Desai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 07, 2001 6:22 AM Subject: ACtionError Issues i have a page which calls an Action Form based

Re: uploading file requires immediate serialization location?

2001-06-09 Thread Martin Cooper
to configure the multipart handler to use, by specifying the class name in the multipartClass init-param for your web app. This allows you to provide your own implementation if you want to (although this is no small task). -- Martin Cooper - Original Message - From: Jonathan Asbell

Re: uploading file requires immediate serialization location?

2001-06-09 Thread Martin Cooper
implementation did this, but it was changed to use files because of potential memory problems with large uploads. Hope this helps. -- Martin Cooper - Original Message - From: Jonathan Asbell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 09, 2001 8:11 PM Subject: Re: uploading file

Re: File Upload Corrupting Zip File

2001-06-09 Thread Martin Cooper
Do you have a binary diff utility that you could use to see what changed in the uploaded file? That would be very helpful. Also, if you can tell me how many bytes were added to the file, and what type of file it was that caused the problem, that might help too. Thanks. -- Martin Cooper

Re: Potential Security Flaw in Struts MVC

2001-05-31 Thread Martin Cooper
A good way of removing the bucketloads :-} from your Action classes is to subclass ActionServlet and implement processActionPerform to do the logon check. -- Martin Cooper - Original Message - From: Jim Richards [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 11

Re: struts-template and MVC

2001-05-31 Thread Martin Cooper
BY LOOKING AT THIS PAGE http://jakarta.apache.org/site/mail2.html - Original Message - From: Perez, Bill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 10:40 AM Subject: RE: struts-template and MVC HOW THE HELL DO I UNSUBSCRIBE FROM THIS LIST

Re: Solution: bean attributes not displaying (please comment)

2001-05-30 Thread Martin Cooper
. This is configurable in struts-config.xml. -- Martin Cooper - Original Message - From: Thomas Peters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 8:45 AM Subject: Re: Solution: bean attributes not displaying (please comment) The struts documentation indicates

Re: problem with using forms

2001-05-30 Thread Martin Cooper
property=test/br html:submit value=OK/ /html:form %-- Use the correct closing tag here --% Hope this helps. -- Martin Cooper - Original Message - From: René Boere [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 2:58 AM Subject: problem with using forms Hi, i am

Re: use JSP variable as a value of property in html:select... tag

2001-05-30 Thread Martin Cooper
I think you just need a space on each side of 'var'. Try this: html:select property=%= var % size=1 Hope this helps. -- Martin Cooper - Original Message - From: someil [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 5:42 AM Subject: use JSP variable as a value

Re: Resources clarification - is there a work around

2001-05-30 Thread Martin Cooper
will be. And when it comes to translation time, all those strings will have to be translated multiple times - and perhaps not always the same way, especially with multiple translators working on a large app. Just my 2 cents... -- Martin Cooper - Original Message - From: Jonathan Asbell [EMAIL

Re: Suggestion for Inclusion in HTML Bean

2001-05-30 Thread Martin Cooper
org.apache.struts.taglib.html.FORM_KEY, which is where the FormTag object itself is stored between html:form and /html:form. If you want a bean that has that value, you can do something similar with bean:define. Hope this helps. -- Martin Cooper - Original Message - From: Jeff Trent [EMAIL PROTECTED

Re: who provides ActionMapping class?

2001-05-26 Thread Martin Cooper
own. Even if you do create your own class, you do not need to parse it yourself. You specify your ActionMapping-derived class in struts-config.xml, and Struts will parse the mapping data from that file, and create and populate instances of your class. -- Martin Cooper - Original Message

Re: Re[2]: struts-upload.war

2001-05-26 Thread Martin Cooper
try upgrading to that and see if that makes a difference. -- Martin Cooper - Original Message - From: Soeren Pietsch [EMAIL PROTECTED] To: SCHACHTER,MICHAEL (HP-NewJersey,ex2) [EMAIL PROTECTED] Sent: Friday, May 25, 2001 3:17 PM Subject: Re[2]: struts-upload.war ex2) Is there any ex2

Re: 64K limit

2001-05-26 Thread Martin Cooper
to store data from one tag that needs to be accessed by other tags. (It used to use page context attributes.) We do the same in our own taglib, specifically so that we can use jsp:include freely to avoid the 64K problem. -- Martin Cooper - Original Message - From: Mat Diss [EMAIL PROTECTED

Re: Referer pages and structs

2001-05-26 Thread Martin Cooper
forward. Using the name of the forward as the value of the hidden field would make this very simple. 2) Dynamically set the action attribute on the html:form tag when contact.jsp is processed, setting up the appropriate target for the page. Hope this helps. -- Martin Cooper - Original Message

Re: html:select

2001-05-23 Thread Martin Cooper
Take a look at the html:options tag (as distinct from the html:option tag). I think that will do what you are looking for. -- Martin Cooper - Original Message - From: Gogineni, Pratima [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 2:18 PM Subject: html:select

Re: java script struts + scriptlet

2001-05-19 Thread Martin Cooper
informInventoryLack(\' + orderItemData.getId() + \') %' bean:message key=button.order/ /html:button -- Martin Cooper - Original Message - From: Nguyen Thanh Phong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 6:29 PM Subject: Re: java script struts + scriptlet Hi Laurent, I

Re: Problem Combining Struts And Homegrown Taglibs

2001-05-19 Thread Martin Cooper
container's log file. - Check that your form bean is getting to the page intact. - See what happens if you add one of your own tags to the page that works. -- Martin Cooper - Original Message - From: Michael Duffy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 6:36 AM

Re: struts-templates -vs- jsp:include

2001-05-18 Thread Martin Cooper
in the template. Does this help? -- Martin Cooper At 08:53 AM 5/18/01, [EMAIL PROTECTED] wrote: The docs say... The functionality provided by these [template] tags is similar to what can be achieved using standard JSP include directive, but are dynamic rather than static. What dynamic aspect do I get

Re: Iterate and Radio tags

2001-05-18 Thread Martin Cooper
You need to specify the 'type' attribute for the logic:iterate tag. Without it, the scripting variable for the current object has the type 'java.lang.Object', which is exactly what you are seeing. -- Martin Cooper - Original Message - From: B Manikandan [EMAIL PROTECTED] To: [EMAIL

Re: bean:cookie tag problem

2001-05-16 Thread Martin Cooper
this: bean:cookie id=phonecookie name=checkout_phone / input type=text name=phone value='bean:write name=phonecookie property=value/'/ -- Martin Cooper - Original Message - From: Allen Walker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 12:45 AM Subject: bean:cookie

Re: Where are the TLD's?

2001-05-13 Thread Martin Cooper
a tag is added or changed. -- Martin Cooper - Original Message - From: Johan Compagner [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Saturday, May 12, 2001 1:24 AM Subject: Where are the TLD's? Now the sources are not in the binary's anymore (i didn't check this but i think

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Martin Cooper
Ted, You can collapse your code down to this: return mapping.findForward(secureMode ? secure : standard); by adding redirect=true to your secure forward definition in struts-config. -- Martin Cooper At 01:25 PM 5/11/01, Ted Husted wrote: I'm using a standalone container, and I find

Re: Bug in order of error presentment (html:error)

2001-05-10 Thread Martin Cooper
that are global now but might not be later. -- Martin Cooper - Original Message - From: Jeff Trent [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 9:57 PM Subject: Re: Bug in order of error presentment (html:error) Thanks for the input Martin. This is helpful. Just curious

Re: Basics of STRUTS

2001-05-09 Thread Martin Cooper
The official Struts web site is at: http://jakarta.apache.org/struts If you need more than that site provides, you might want to follow the Resources link. An excellent beginner's resource is at: http://www.husted.com/about/struts -- Martin Cooper - Original Message - From: Sudhir M

Re: Bug in order of error presentment (html:error)

2001-05-09 Thread Martin Cooper
=customerContactName/ html:errors property=customerContactPhone/ html:errors property=customerContactEmail/ Given your example, this isn't very practical for your situation, but it might be useful in cases where multiple errors for each of a small number of properties is typical. -- Martin Cooper

Re: Body is supposed to be empty for html:options

2001-05-08 Thread Martin Cooper
The error message you are seeing is not strictly accurate (which is a problem with your JSP container). The real problem is that the html:options tag should not have a body at all, not that the body is empty. In other words, what you should have in your JSP is this: html:select

Re: Customtag calling a struts tag

2001-05-02 Thread Martin Cooper
Instead of trying to reuse the Struts tag itself, perhaps you could call RequestUtils.message() from within your tag to get the localized text. This is what the bean:message tag does to get its job done. -- Martin Cooper - Original Message - From: Alexander Jesse [EMAIL PROTECTED

Re: Lookup performance on ActionMappings

2001-05-02 Thread Martin Cooper
It actually uses a FastHashMap, which is optimized for fast read-access in a multithreaded environment. For the details, see: http://jakarta.apache.org/struts/api/org/apache/struts/util/FastHashMap.html -- Martin Cooper - Original Message - From: Jason Chaffee [EMAIL PROTECTED

Re: i18n...

2001-05-02 Thread Martin Cooper
and see if there's something going on in the container or the JVM that's causing the problem. I don't think the issue is the bean:message tag itself. -- Martin Cooper - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 27, 2001 10:53 AM Subject: i18n

Re: using value of bean in my tag.

2001-05-01 Thread Martin Cooper
() %' / Hope this helps. -- Martin Cooper - Original Message - From: Alex Colic [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Tuesday, May 01, 2001 11:00 AM Subject: using value of bean in my tag. Hi, I have a tag setup as follows: logic:iterate id=category name=CategoryList property

Re: Problems with bean:define

2001-04-19 Thread Martin Cooper
Did you remember the taglib directive at the top of your JSP? That is, you need: %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % Otherwise, your bean:define and bean:write tags will be silently ignored. Annoying, but true. :-} -- Martin Cooper - Origina

Re: Problem with localization

2001-04-19 Thread Martin Cooper
/ http://www.mail-archive.com/struts-user%40jakarta.apache.org/ Hope this helps. -- Martin Cooper - Original Message - From: "Enrique Bengoechea" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 05, 2001 8:22 AM Subject: Problem with localization Hi all, I've just

Re: ActionForm vs. ActionFormBean

2001-04-19 Thread Martin Cooper
The ActionForm class is the base class from which your form bean classes should be derived. The ActionFormBean class is used internally by the Struts controller, and is very rarely used in Struts applications. -- Martin Cooper - Original Message - From: "Will Spies/Towers P

Re: Newbie - Digester/Sax Parsing Error

2001-04-18 Thread Martin Cooper
You have to prefix the path to your DTD with "file:" to make it a valid URL. -- Martin Cooper - Original Message - From: "Trevor Griffiths" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 03, 2001 9:26 AM Subject: Newbie - Digester/Sax Parsing Error

Re: What is 'text' field for in html:option?

2001-04-18 Thread Martin Cooper
ooked up based on the 'bundle', 'locale', and 'key' attributes." -- Martin Cooper - Original Message - From: "Shamdasani Nimmi-ANS004" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 03, 2001 7:08 PM Subject: What is 'text' field for in html:option? The

Re: Iterating through a hashtable of objects

2001-04-18 Thread Martin Cooper
ight is bean:write name="hotspot" property="height" / The left is bean:write name="hotspot" property="left" / /logic:iterate Hope this helps. -- Martin Cooper - Original Message - From: "Narasimhan, Shyamala" [EMAIL PROTECTED] To:

Re: html:checkbox value missing

2001-03-30 Thread Martin Cooper
That was fixed fairly recently. The latest nightly builds do the right thing. -- Martin Cooper At 03:24 PM 3/30/01, Jacob Thomas wrote: does not seem to output the "value" attribute of the corresponding tag. Has anybody encountered this? -- Thanks Jacob

Re: ITERATE-TAG

2001-03-30 Thread Martin Cooper
The getSalesProductHt() method must be public for the iterate tag to be able to access it. You have it declared as protected, which is why you are seeing the exception. -- Martin Cooper - Original Message - From: "hunkpapa" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday

Re: bean in session

2001-03-30 Thread Martin Cooper
The logic:present and logic:notPresent tags do this. They are documented here: http://jakarta.apache.org/struts/struts-logic.html Hope this helps. -- Martin Cooper - Original Message - From: "Yuriy Zubarev" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 30, 20

Re: beta 2

2001-03-29 Thread Martin Cooper
n, but I'm not exactly sure when. (A couple of weeks would be my guess.) -- Martin Cooper - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 29, 2001 2:34 PM Subject: RE: beta 2 Hello Struts Users, I am fairly new to struts (like a lot of folks), and

Re: getting value from bean

2001-03-29 Thread Martin Cooper
think this is where your problem lies. You should not be creating an instance of your form bean. Struts will do that for you, and call the appropriate setter methods based on the query string for the request. The form bean will then be passed to your action's perform() method, and you can call the

Re: Initial security check

2001-03-28 Thread Martin Cooper
No. The init() method is called during servlet startup, not in the context of a request. No request means no response - there's no place for a JSP to go. I think you're pretty much stuck with logging an error and/or throwing an exception. -- Martin Cooper - Original Message - From

Re: html:errors, how to keep html out of messages?

2001-03-28 Thread Martin Cooper
, but then you have to get into looking the keys up in the right resource bundle, etc. If you really want to do something different, then I'm afraid all I can suggest is taking a look at ErrorsTag.java and perhaps writing your own tag based on that. -- Martin Cooper - Original Message

Fun with bean:define

2001-03-28 Thread Martin Cooper
gic:notPresent parameter="startAtTheTop" bean:define id="focusTemp" value="field2"/ /logic:notPresent bean:define id="focus" name="focusTemp"/ This works, but it does seem rather clumsy. Is there a better way? Thanks. -- Martin Cooper

Re: ActionForm with no default constructor

2001-03-28 Thread Martin Cooper
our action, or the 'name' if you do not specify 'attribute'. Hope this helps. -- Martin Cooper - Original Message - From: "Joel Shellman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 27, 2001 5:53 PM Subject: ActionForm with no default constructor Is it possible

Re: html:errors

2001-03-27 Thread Martin Cooper
, if not fully dynamic generation. The html:errors/ tag does indeed have applicable attributes. See the documentation for information on what they are and how to use them: http://jakarta.apache.org/struts/struts-html.html#errors Hope this helps. -- Martin Cooper At 02:35 PM 3/26/01, Suriyanarayanan

Re: Can I nest struts:message tag in struts:link tag?

2001-03-27 Thread Martin Cooper
You can nest tags like this: html:link ... bean:message key="..."/ /html:link However, you can't use a tag to specify the value of an attribute of another tag. So you can't do this: html:link href='bean:message key="..."/' ... Hope this helps. -- Martin Cooper

Re: Iterate Tag question, again -- Short ane sweet

2001-03-25 Thread Martin Cooper
ot support on-the-fly generation of such a collection using introspection on a bean, which is what would be needed for what you want to do. Hope this helps. -- Martin Cooper - Original Message - From: "Sundar @eSaravana" [EMAIL PROTECTED] To: "Jaganathan, Rupa&quo

Re: ActionServlets calling Actions

2001-03-25 Thread Martin Cooper
I would highly recommend that you read "A Walking Tour of the Struts Example Application" on Ted Husted's web site: http://www.husted.com/about/struts/example-tour.html I think this will clear up a lot of confusion for you. -- Martin Cooper - Original Message - From: &

Re: never ending iterate tag questions

2001-03-24 Thread Martin Cooper
You've found a documentation bug, which I have just submitted to the bug database. As you discovered, you need to use an expression (e.g. %= value %) rather than a scriptlet (e.g. % method(); %) because the value needs to be returned so that it can be used in the attribute. -- Martin Cooper

Re: HELP - Illegal target of jump or branch

2001-03-20 Thread Martin Cooper
n the limit, but one is very close to breaking it. I really want to put a "do not touch" notice on that file! Hope this helps. -- Martin Cooper At 12:06 PM 3/20/01, Marc Ellison wrote: Hi, I have been getting a very interesting error folks ;-) I have constructed a jsp file that us

Re: HELP - Illegal target of jump or branch

2001-03-20 Thread Martin Cooper
As I mentioned in an earlier post on this topic, using %@include% does not help, since it's a compile time include (similar to #include in C++). Using jsp:include can help, though. -- Martin Cooper At 01:44 PM 3/20/01, Maya Muchnik wrote: Several guys suggested to replace a lot of tags

Re: the errors tag

2001-03-20 Thread Martin Cooper
is the key name you supplied) to be returned, and subsequently displayed, when the requested resource is not found. Hope this helps. -- Martin Cooper At 03:17 PM 3/20/01, Marc Ellison wrote: Hi, Am trying out the errors tag but to no avail...I have the following code in my validate() method of m

Re: Please Help

2001-03-17 Thread Martin Cooper
, you'll find out from there. -- Martin Cooper - Original Message - From: "JOEL VOGT" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 17, 2001 3:47 AM Subject: Re: Please Help Okay, After playing around a little, I am starting to get the impression that struts a

Re: Auto-generating form classes from xml file?

2001-03-15 Thread martin . cooper
would be interested, though, in hearing what features you would like to see in such a tool. -- Martin Cooper - Original Message - From: "Mindaugas Idzelis" [EMAIL PROTECTED] To: "struts" [EMAIL PROTECTED] Sent: Wednesday, March 14, 2001 10:39 AM Subject: Auto-generating f

Re: actionform reset()

2001-03-15 Thread Martin Cooper
your reset() implementation on the value of that hidden field. Hope this helps. -- Martin Cooper - Original Message - From: "Sean Giles" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 09, 2001 12:43 PM Subject: actionform reset() I'm very confused by th

Re: action class perform method

2001-03-14 Thread Martin Cooper
Yes. Just don't put the form-related entries in your struts-config.xml file. Your perform() method will be called with null passed for the form parameter. -- Martin Cooper - Original Message - From: "Puneet Vardhan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday

Re: Digester order of events

2001-03-12 Thread martin . cooper
ch pieces of the XML I care about, and that's all it calls me about. If I don't care about the value of a certain attribute, I shouldn't need to provide for it. So I consider that a feature rather than a problem. -- Martin Cooper At 06:12 PM 3/12/01, Zach Thompson wrote: Hello, I just spent q

Re: select options

2001-03-08 Thread Martin Cooper
The FormBean will be updated with the selection. Your DataBean will not be modified. -- Martin Cooper - Original Message - From: "Nick Pellow" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 08, 2001 3:16 PM Subject: Re: select options Martin Co

Re: significance of property attribute in select tag

2001-03-08 Thread Martin Cooper
attribute is specified for the html:select tag. Hope this helps. -- Martin Cooper - Original Message - From: "Anand Raman" [EMAIL PROTECTED] To: "struts" [EMAIL PROTECTED] Sent: Thursday, March 08, 2001 8:09 AM Subject: significance of property attribute in select tag

Re: text tag

2001-03-08 Thread Martin Cooper
Did you import the FormConstants class at the top of your JSP? -- Martin Cooper - Original Message - From: "Sachin Tendulkar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 08, 2001 11:04 AM Subject: text tag Hi, I am trying to use the html:tex

Re: HTML Radio

2001-03-07 Thread Martin Cooper
. -- Martin Cooper - Original Message - From: "Frank Ling" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 05, 2001 8:18 PM Subject: HTML Radio Hi, There: I try to using HTML Redio tags, and keeping getting following error: javax.servlet.jsp.JspException: No get

Re: Cannot find message resources underkeyorg.apache.struts.action.MESSAGE

2001-03-07 Thread Martin Cooper
In a word, internationalization. (OK, it's a very long word! :-) ) Different users may be running in different locales, so the message resources need to be stored on a per-user basis. -- Martin Cooper - Original Message - From: "Jeff Schnitzer" [EMAIL PROTECTED] To: [EMAIL

Re: setting a property from a parameter

2001-03-07 Thread Martin Cooper
all your form bean's getMode() method and use the result to generate the 'value' attribute of the input tag. Hope this helps. -- Martin Cooper - Original Message - From: "Fickes, Vic" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 06, 2001 11:24 AM Subject: setti

Re: JSP design

2001-03-07 Thread Martin Cooper
using the Pager tag library from: http://jsptags.com/tags/navigation/pager/ Unfortunately, we needed something quite a bit more complex, so we ended up writing a set of custom tags for what we needed. Again, it really depends on your particular situation. Hope this helps. -- Martin Cooper

Re: URGENT RE: token issue in hyperlink

2001-03-07 Thread Martin Cooper
. -- Martin Cooper - Original Message - From: "Nanduri, Amarnath" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 8:46 AM Subject: RE: URGENT RE: token issue in hyperlink Mike, Thanks a lot. It works. I did vote for this enhancement to take

Re: Parallel Forms Bean Instances, does Struts support it

2001-03-07 Thread Martin Cooper
to manage form beans inside of Struts. You should never need to worry about it. Hope this helps. -- Martin Cooper - Original Message - From: "Sarbjit Singh" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 9:54 AM Subject: Re: Parallel Forms Bean Insta

Re: Minimizing Action class proliferation

2001-03-07 Thread Martin Cooper
e class and maintain a HashMap mapping sub-action names to the appropriate class instances. Or you could use reflection to look for a method matching the sub-action name. Or... Hope this helps. -- Martin Cooper - Original Message - From: "DONNIE HALE" [EMAIL PROTECTED] To: [EM

Re: question about ActionForm reset()

2001-03-07 Thread Martin Cooper
Could you post your JSP, or a fragment of it? That would probably help us help you. Thanks. -- Martin Cooper - Original Message - From: "Sean Giles" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 07, 2001 2:57 PM Subject: question about ActionForm reset()

Re: select options

2001-03-07 Thread Martin Cooper
are nested within is utilized. [RT Expr] - 8 - As with the other form-related tags, I have never had to specify the name attribute, because I've always been able to use the default, meaning "use the form's bean". Hope this helps. -- Martin Cooper - Original Message - F

Re: Cannot find message resources under keyorg.apache.struts.action.MESSAGE

2001-03-04 Thread Martin Cooper
in the session implement Serializable in order for the web app to be distributable. Since ResourceBundle does not meet this requirement, a new implementation was constructed which does. (Originally, Struts did indeed use ResourceBundle for its resources.) -- Martin Cooper - Original Message - From

<    1   2   3   4   5   6   >