Re[2]: Indexed tags - proposal to add changes

2001-07-06 Thread Oleg V Alexeev
Hello dhay, Link tag must build name of some parameter on base of index value or use it as separate parameter (I agree with you... 8) ) with result as - http://.../news.do?whenSell=today[30] Or with result as - http://.../news.do?id=2&myIndex=30 Friday, July 06, 2001, 10:10:33 PM, you wro

cvs commit: jakarta-struts/contrib/validator INSTALL LICENSE README build.xml build.properties build-test.xml

2001-07-06 Thread dwinterfeldt
dwinterfeldt01/07/06 22:31:18 Added: contrib/validator INSTALL LICENSE README build.xml build.properties build-test.xml Log: Adding Struts Validator to cvs. Revision ChangesPath 1.1 jakarta-struts/contrib/validator/INSTALL

cvs commit: jakarta-struts/src/share/org/apache/struts/upload MultipartIterator.java

2001-07-06 Thread mschachter
mschachter01/07/06 13:00:39 Modified:src/share/org/apache/struts/upload MultipartIterator.java Log: - Fix for bug #2457 Eric Cifreo Revision ChangesPath 1.16 +1 -1 jakarta-struts/src/share/org/apache/struts/upload/MultipartIterator.java Index:

cvs commit: jakarta-struts/src/share/org/apache/struts/upload MultipartIterator.java

2001-07-06 Thread mschachter
mschachter01/07/06 13:00:03 Modified:src/share/org/apache/struts/upload Tag: STRUTS_1_0_BRANCH MultipartIterator.java Log: - Fix for bug #2457 Eric Cifreo Revision ChangesPath No revision No

Re: Indexed tags - proposal to add changes

2001-07-06 Thread dhay
Oleg, Hi. Agree that the link tag is different, but think that it is due to its nature! Unlike the other tags, adding index as a query param seems to me the only reasonable way to provide access to the index in the link. Not sure how else to do it (if you try and use name, obviously you chan

Re: question about processPath() line item in ActionServlet

2001-07-06 Thread Martin Cooper
No, what's there is correct. What this code is doing is stripping off the extension if extension mapping is being used. So if the path started out as: /foo/bar/baz.do the end result would be: /foo/bar/baz The test for (period > slash) ensures that the period really indicates an extension, an

Re: Indexed tags - proposal to add changes

2001-07-06 Thread Oleg V Alexeev
Hello dhay, I think it useful addition with minimal changes of existing code - good solution. But there is one problem for my mind - html:link with index=x. All another tag proposals are simple and transparent. Friday, July 06, 2001, 9:31:21 PM, you wrote: dlc> Hi everyone. dlc> I have been

Re: Redirecting to login page

2001-07-06 Thread Oleg V Alexeev
Hello O'Reilly, You can check it in Action. Create base SecureAction with check of login - public class SecureAction extends Action { ActionForward securePerform( ... ) { return loginForward; } ActionForward perform ( ... ) { if(

Indexed tags - proposal to add changes

2001-07-06 Thread dhay
Hi everyone. I have been posting to the user list for some time now regarding creating indexed names within an iterate tag. From feedback from that list, this seems to be an important addition to the current tags. While looking to write my own additional tags which would do this (eg html:ind

Re[2]: About exntensions support mechanism...

2001-07-06 Thread Oleg V Alexeev
Hello Roland, Comments below.. Thursday, July 05, 2001, 2:54:54 PM, you wrote: RH> Oleg V Alexeev <[EMAIL PROTECTED]> writes: >> ServiceServlet work on idea - developer can register unlimited >> number of services in struts-config, each service is a java class >> based on Service interfa

Redirecting to login page

2001-07-06 Thread O'Reilly John
Hi, I have overridden the processActionPerform method to cause the user to be redirected to a login page if they are entering a "closed" area and have not previously loggged in. The code below shows my initial attempt. What is the accepted way of doing this? I assume there must be a cleaner way

question about processPath() line item in ActionServlet

2001-07-06 Thread Jonathan
Gentlemen.  In the ActionServlet's processPath() method the below code exists.     processPath(HttpServletRequest request) {     ...     ...     if ((period >= 0) && (period > slash))path = path.substring(0, period);     ... }         Shouldnt the code instead read:     if ((perio

Re: *TED* - round 2 of documentation

2001-07-06 Thread Jonathan
Absolutely not. The user guide was really well written this time around. Kudos to Craig and others who wrote it. I think it should be one of the first things you read about Struts because it gets you there quick. I think it belongs somewhere with the user guide =) - Original Message -

RE: *TED* - round 2 of documentation

2001-07-06 Thread Robbin L. Gratz
After reading the document (very good information), I am confused as to the authorization mechanism mentioned as part of the Struts framework. I just completed a project using Struts and didn't come across any reference to authorization in any of my research. Could anyone elaborate on this? Tha

Re: *TED* - round 2 of documentation

2001-07-06 Thread Ted Husted
I don't disagree Jonathan. I'm just asking for suggestions as to where we should place it in the context of the rest of the documentation. Should it be part of the User Guide or something else? If something else, what do we call it? Unless of course you're proposing that we drop the rest of the

Re: *TED* - round 2 of documentation

2001-07-06 Thread Jonathan Asbell
Hello Ted. I gave this documentation to the other developers in my group who do not know about Struts, and they said that they now understand what Struts is and how to approach using it. They got lost in the "Struts Components" section because they didnt have a picture to accompany the explanati

Re: /contrib

2001-07-06 Thread Ted Husted
I don't have access to the CVS permission list, and can't check on how you're setup myself. I could ask root, or wait for Craig to get back. I did commit a file to the contrib root, and did a fresh checkout to be sure it made the round trip. If you have a chance, see if you can commit some cha

message masks

2001-07-06 Thread Renzo Toma
Hi there, First of all, I want to thank all Struts developers & contributors for creating such a nifty framework. After working with it for some time now, I really miss message masks, like 'Hi {0}, welcome back'. Ok, I _could_ use a pre and suffix, but that's not very proper. Now I have found

Re: *TED* - round 2 of documentation

2001-07-06 Thread Ted Husted
I think the first two sections might make for a nice product sheet for developers to pass along to the suits. Like a hand-out you might pickup at a tradeshow. A PDF would be very cool here. (I have the distiller and so can make those here.) I like the idea of a Struts Components section, but I'm