Date validation dd-MMM-yyyy not working with Javascript

2003-02-18 Thread Amit Keshav Kulkarni
Hi All, I am using the Date validation function from Validator package. I tried to chane the Date Pattern to dd-MMM- with datePatternStrict. It does the validation properly if I use server side validation. But if I use JavaScript version of the same, then even for correct values of date it

Fwd: help

2003-02-18 Thread Mark Lowe
Inizio del messaggio inoltrato: Da: Mark Lowe [EMAIL PROTECTED] Data: Mar 18 feb 2003 11:16:35 Europe/Rome A: Struts List [EMAIL PROTECTED] Oggetto: help This isn't really a struts question, but is i imagine a typical scenrio when attempting to use struts with older systems. I'm using a

Re: help

2003-02-18 Thread Mark Lowe
I've just taken a closer look at org.apache.commons.beanutils ... This seems the question i should have been asking, any good references for learning how to use this package would be appreciated.. Many thanks mark Martedì, 18 feb 2003, alle 11:20 Europe/Rome, Mark Lowe ha scritto: Inizio

Validation. When, where and what?

2003-02-18 Thread Simon Kelly
Hi all, I am just trying to work out how far to go in the project I'm doing with certain aspects of struts and after reading the last couple of date format mails validation, of which I currently use none [if you cant type the data in correctly, back away from the computer (l)user], has come up as

Re: CMP EJB2.0 Struts Example

2003-02-18 Thread Vic Cekvenich
http://www.trifork.com/web/articles.html http://www.ibatis.com/jpetstore/jpetstore. Both above are PetStore using Struts with source code. .V Zoran Avtarovski wrote: I'm about to start work on a application which I'd like to use the struts framework with CMP2.0 EJBs. Our current structure for

Re: Saving form data

2003-02-18 Thread Vic Cekvenich
http://www.postgresql.org/docs/view.php?version=7.3idoc=0file=sql-select.html one way is to pass the offset above to the RowSet via getParameter. This works with large resultsets. .V Joey Ebright wrote: Is there any piece of functionality in Struts that I can take advantage of in order to save

Re: Validation. When, where and what?

2003-02-18 Thread Michael Hanisch
On Tue, 2003-02-18 at 11:44, Simon Kelly wrote: Hi Simon! I am just trying to work out how far to go in the project I'm doing with certain aspects of struts and after reading the last couple of date format mails validation, of which I currently use none [if you cant type the data in

Re: RowSetDynaClass

2003-02-18 Thread Vic Cekvenich
(my post got lost) bellow: Luiz-Otavio Zorzella wrote: Craig R. McClanahan wrote: Sundar Narasimhan wrote: I agree that this approach works well for small result sets. However, if there are say 10k rows.. it would be nice to have such a class work together with a Pager tag set.. any thoughts

[struts 1.1-b3] problem with server side validation

2003-02-18 Thread Martins Stephane
Hello Since I've migrated to struts 1.1-b3, I have serious problems with the validator included in struts. Both my webapp and struts-validator.war (from struts package) provoke java exceptions. When I desactivate javascript from my browser (IE 5.5) to check server-side validation, I get the

Nested:define problem

2003-02-18 Thread ROSSEL Olivier
I want to extract an object from the current form bean and save it in the page scope. I am in a nested environment: nested:form action=/foobar ... /nested:form I inserted this tag just after the nested:form. nested:define id=pageObject property=inFooBar toScope=page type=a.b.c.myObject/ The

RE: Nested:define problem [solved]

2003-02-18 Thread ROSSEL Olivier
Forget it. It works fine now :-) I want to extract an object from the current form bean and save it in the page scope. I am in a nested environment: nested:form action=/foobar ... /nested:form I inserted this tag just after the nested:form. nested:define id=pageObject

forward to page fails after validation error

2003-02-18 Thread Michal Maczka
I have following problem with Struts: When validation in my ActionForm fails, Struts prints the following messgage: [DEBUG] 10:36:09 SimpleForm.validate: Validating [DEBUG] 10:36:09 RequestProcessor.processValidate: Validation failed, returning to '/pages/simple.jsp' but I am seeing blank

Re: [struts 1.1-b3] problem with server side validation

2003-02-18 Thread Vic Cekvenich
Validator works for me with a late nightly build. Last week I did a class, and every student got server and client side validation working. .V Martins Stephane wrote: Hello Since I've migrated to struts 1.1-b3, I have serious problems with the validator included in struts. Both my webapp and

RE: RowSetDynaClass

2003-02-18 Thread Jack Zakarian
Hi Vic, Item 6 talks about CachedRowSets. I read the article and visited Sun's website. Its states that you can not use the binary's in commercial products. It also says that the data set is sent to the client. I have two questions 1. Is there an alternative to the CachedRowSet that can be used

Re: CMP EJB2.0 Struts Example

2003-02-18 Thread Zoran Avtarovski
I'm OK on the struts side of things, I'm really looking for some examples of the framework in use with CMP - something which implements EJB 2.0 Persistence and in particular Container Managed Persistence. The petstore examples don't use CMP2.0 as the persistence models. Zoran

RE: [struts 1.1-b3] problem with server side validation

2003-02-18 Thread Martins Stephane
Thanks for your answer it makes me optimistic... Can you detail what are your JDK version and your tomcat release ? I'm using the Struts-validator.war from struts 1.1-b3 build. I've noticed that all javascript is working well. If I extend my validate in the actionform, these validations are done

re: Velocity. Validator and Indexed Properties

2003-02-18 Thread Sujay D'Souza
Thank you for the reply. Yup am using dynabeans. Actually validation works just fine, and populating the Value Object from the form (velocity template) works just fine too. My only problem is when after validation occurs, how do i keep or retain values for each form attribute since they are

[OT] logging level in Tomcat 4.1.18

2003-02-18 Thread Jason Vinson
Hi folks, I am using Tomcat 4.1.18, and I am using good ol' System.out.println for debugging, but my log file (catalina.out) has MASSIVE ammounts of [INFO] messages. I can't figure out how to change the level of output. I tried looking in tomcat/conf/ at server.xml and web.xml, as well as my

first impressions of struts

2003-02-18 Thread Bill Schneider
Hi, I just downloaded Struts 1.1-b3 and wanted to share some feedback from my first run-through with it. * It took me a while to figure out why validation wasn't triggering. It seemed like I ought to be able to do something like this in validation.xml: form name=dynFormfield property=x

Problem with name displayed in error message for custom validator

2003-02-18 Thread jeff kyser
Hello all, I've given this one a pretty good effort, having hacked at it a while, looked at the lists, read the chapters from several of the books, and still don't seem to have it quite right. I set out to write my own custom validator, using the example of requireIdentical, to make sure when

Re: RowSetDynaClass

2003-02-18 Thread Vic Cekvenich
Ans 1: In # 5 bellow I give you a Sun site where all the drivers are listed that do RowSet. I use this: http://jxdbcon.sourceforge.net/nightly , it's open source! Ans 2: RowSet is THE most efficient and most scalable way, it is in fact JDBC. So you can't do better! For large # of rows

RE: RowSetDynaClass

2003-02-18 Thread Jack Zakarian
Thanks, I will try both suggestions. Jack -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 8:33 AM To: [EMAIL PROTECTED] Subject: Re: RowSetDynaClass Ans 1: In # 5 bellow I give you a Sun site where all the drivers are listed that do

microsoft .doc struts

2003-02-18 Thread Andy Richards
Hi, I have read with interest from the struts archives where a user posted the following question to do with producing microsoft .doc files for clients. See: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg58536.html Peter S. Hamlen: posted a follow up talking about using office

Re: microsoft .doc struts

2003-02-18 Thread Michael Nascimento Santos
Can't you generate .pdf files? There are many frameworks that would help you doing that. []s Michael - Original Message - From: Andy Richards [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 11:12 AM Subject: microsoft .doc struts Hi, I have read with

Many Actions In a View

2003-02-18 Thread Franck Lefebure
Hi, I'm just starting to use Struts , seems a great tool. I have a view with several forms. In this view, There are many beans that I need for example to construct tables. I don't want to repeat the code written to populate these beans. So I've defined an Action (doPopulateView) which put

Pointing to resources within the struts app client side.

2003-02-18 Thread Simon Kelly
Hi all, I'm trying to place an image with my web page that is stored as a resource within my struts web-app. I'm using xslt to create the output html, but can't work out how to point at the image correctly. I had put src=/WEB-INF/classes/resources/graphics/icon.bmp, but this will not display

Re: microsoft .doc struts

2003-02-18 Thread Andy Richards
I could use pdf, however our client wishes to amend the .doc report once generated. An earlier effort produced the documents in pdf format. regards Andy also sorry follow up url was http://www.mail-archive.com/struts-user@jakarta.apache.org/msg58600.html On Tue, 2003-02-18 at 14:25,

RE: microsoft .doc struts

2003-02-18 Thread John Cavacas
then how do you convert the html back to a .doc file. I could provide for download the html pages, but the images i want to include would be seperate from the html file. I am trying to think of a tidier way? looking down the thread .rtf format is not the easiest, and POI is in a early

Re: Using the html:message tag

2003-02-18 Thread Sloan Seaman
Thanks! Works like a charm! -- Sloan - Original Message - From: Larry Zappeterrini [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, February 14, 2003 3:12 PM Subject: RE: Using the html:message tag html:messages works a bit differently than

RE: microsoft .doc struts

2003-02-18 Thread Andy Richards
hi john thanks for the speedy response! i misunderstood, i thought your application was converting the template back to .doc. I take from the research that i have done then that this cannot be done, or is a real pain to do? andy On Tue, 2003-02-18 at 14:34, John Cavacas wrote: then how do

Re: [struts 1.1-b3] problem with server side validation

2003-02-18 Thread Vic Cekvenich
Martins Stephane wrote: Thanks for your answer it makes me optimistic... Can you detail what are your JDK version and your tomcat release ? Latest of both, 1.41 and 4.18 I'm using the Struts-validator.war from struts 1.1-b3 build. I've noticed that all javascript is working well. If I

[OT] RE: microsoft .doc struts

2003-02-18 Thread John Cavacas
i misunderstood, i thought your application was converting the template back to .doc. I take from the research that i have done then that this cannot be done, or is a real pain to do? [John Cavacas] My findings would concur with yours, as in it is a real pain to do. There are a couple of ways

Tile definition with a role attribute.

2003-02-18 Thread Roy . Stephan
I am trying to have a different tile definition for different roles. I have the three following lines in my tiles-defs.xml file: ... definition name=AideAccueilDef path=/aide/accueil.html/ definition name=AideAccueilDef role=BX_REQUERANT path=/aide/accueil_req.html/ definition name=AideAccueilDef

RE: Pointing to resources within the struts app client side.

2003-02-18 Thread Wendy Smoak
Simon wrote: I'm trying to place an image with my web page that is stored as a resource within my struts web-app. I'm using xslt to create the output html, but can't work out how to point at the image correctly. I had put src=/WEB-INF/classes/resources/graphics/icon.bmp, but this will not

REPOST: Locale object in session

2003-02-18 Thread Tarek M. Nabil
Sorry for reposting this message, but I haven't got any responses yet. -Original Message- From: Tarek M. Nabil Sent: Sunday, February 16, 2003 11:18 PM To: Struts Users Mailing List Subject: RE: Locale object in session Thanks for the help. I still get a can#39;t access SESSION_SCOPE

RE: CMP EJB2.0 Struts Example

2003-02-18 Thread Fabrice FOUREL
You can look at ModelJ, a project wich generates code (Struts and CMP with Session Facade, configuration files) for JBoss http://modelj.sourceforge.net/ Fabrice Fourel -Message d'origine- De : Zoran Avtarovski [mailto:[EMAIL PROTECTED]] Envoye : mardi 18 fevrier 2003 14:02 A : Struts

Re: [OT] RE: microsoft .doc struts

2003-02-18 Thread Andy Richards
This is how the current system works, written in delphi sitting on a windows box. I have recently joined the team and want to rewrite the sytem using struts, tomcat and some flavour of linux. The current method starting an instance of microsoft word, is damn slow! to say the least, and crashes

Custom tags with Struts

2003-02-18 Thread Rajesh P
Hello Everyone, I had created a Custom tag for formatting number to decimal places based on some business rules. The tag looks like this: formatChecker:check value= / In the value attribute I need to send data from my form bean. I tried as follows: formatChecker:check value='bean:write

findForward() goes to a blank page!!

2003-02-18 Thread Sandhya Sasidharan
Title: Message Hi everyone, I have a problem with returning to the previous page using findForward(). In my Action class, depending on the action which has to be performed, I am forwarding it to a certain jsp. The code looks like this else if(strAction.equals("cancel"))

Newbie Question: ActionErrors.

2003-02-18 Thread James Prance
Anyone tell me why the error message specified in the errors.add(ActionErrors.GLOBAL_ERROR,new ActionError(my error here)); code in my Action Servlet doesnt appear on the jsp page. The header and footer appear, but the error message does not.. what have I missed? Code in ActionServlet -

RE: findForward() goes to a blank page!!

2003-02-18 Thread Chen, Gin
Are you sure its not the displayMain action that is not showing anything? From a brief glance, it looks like your code forwards okay. What does ur changewelmsg.do action do? -Tim -Original Message- From: Sandhya Sasidharan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 10:29

Re: Pointing to resources within the struts app client side.

2003-02-18 Thread Simon Kelly
Sorry Wendy, I'm using xslt not jsp :-((Code below) I'm trying to give the web-app root aproach a look at, but I have problems with tomcat at the mo and the cat wont play :-( Thanks for the help, Cheers Simon [xslt] xsl:if test=*[self::icon] | *[self::image] tr

RE: Newbie Question: ActionErrors.

2003-02-18 Thread Chen, Gin
the correct way is to define the error in ur properties file. errors.add(ActionErrors.GLOBAL_ERROR,new ActionError(my.error)); Message in Application.resources my.error=my error here -Tim -Original Message- From: James Prance [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003

[OT] RE: microsoft .doc struts

2003-02-18 Thread Hue Holleran
Hi Andy, I've looked through the thread and can't see specifically what you're trying to do but we had exactly the same problem and was solved using RTF, thus: (this was for submission of documents to a UK government body that needed to be in MS Word .DOC format - they were able to open these

Re: Custom tags with Struts

2003-02-18 Thread David Graham
You can't use a tag as input to another tag's attributes. David From: Rajesh P [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Custom tags with Struts Date: Tue, 18 Feb 2003 20:49:48 +0530 Hello Everyone, I had

RE: Custom tags with Struts

2003-02-18 Thread Rajesh P
but i was able to use the struts tag within a html tag as follows: input type=hidden name='bean:write name=fb property=prop1/' value='bean:write name=fb property=prop2/' -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 9:07 PM To: [EMAIL

RE: Custom tags with Struts

2003-02-18 Thread James Childers
Ahem. That's not a Struts tag, that's an HTML tag. HTML: input type=hidden name=meesaKillStarWars Struts: html:hidden property=meesaKillStarWars / -= J -Original Message- From: Rajesh P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 9:46 AM To: Struts Users Mailing

RE: Custom tags with Struts

2003-02-18 Thread Jarnot Voytek Contr AU HQ/SC
'input' not a JSP tag, that is why it worked... to your original question, if your new tag supports EL, you could write: formatChecker:check value=${fbname.price}/ -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Rajesh P [mailto:[EMAIL

RE: findForward() goes to a blank page!!

2003-02-18 Thread Sandhya Sasidharan
Thanks for your reply Tim I figured the problem as u mentioned in the changewelmsg.do action class itself...i had not mapped displayMain in this action class :) Works fine now!! -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 9:02 PM

Re: Custom tags with Struts

2003-02-18 Thread Nicolas De Loof
To explain David's response : You can't use a JSP custom tag as input to another JSP custom tag's attributes. In JSP, HTML tags are just plain text (no matter how they are nested with JSP code), but JSP tags must be nested as XML style. Nico. but i was able to use the struts tag within a html

Re: [OT] RE: microsoft .doc struts

2003-02-18 Thread Andy Richards
Hi hue, sounds great, i understand that you replace dynamic data into the template where where ever you have a [oTb*.field]. but what is (MS) reg ex,,,? some kind of regular expression api? if so i will have to do some more research as i am yet to understand regular expressions, and how to use

how can I unprotect my registration page?

2003-02-18 Thread Mike Mattox
I'm using Struts Tiles, and so far the security constraint is working. But I can't figure out how to unprotect the registration action. So far I have: security-constraint web-resource-collection web-resource-nameAll DO/web-resource-name url-patternsomething.exe/url-pattern

cache the response of a request in struts?

2003-02-18 Thread Ginger Cheng
Hello, I need to cache the response of last request. Can anyone tell me how to do that in Struts? Any help is appreciated. ginger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Application Flow with Transaction Tokens?

2003-02-18 Thread Greg Hess
Hi All, I am building an e-commerce module. The flow of the application is as follows: PaymentForm -- ProcessPayment -- Receipt=Success //End Or PaymentForm -- ProcessPayment -- Receipt=Error -- PaymentForm The PaymentForm is

Re: Pointing to resources within the struts app client side.

2003-02-18 Thread Simon Kelly
Wendy, Tried several paths descriptions for the graphics directory and the following did nothing http://127.0.0.1:8080/katrin/graphics/FZKIcon.bmp ../graphics/FZKIcon.bmp but these gave the following error graphics/FZKIcon.bmp /graphics/FZKIcon.bmp 18-Feb-2003 16:55:57

more: cache the response of a request in struts?

2003-02-18 Thread Ginger Cheng
Hi, I think I need to make it clearer. I need to cache the response so I can give the user the option to represent the data in another format other than the one in the immediate response jsp page. I check the cache tag but what I want to cache is the form bean from server other than

Stamping Text Templates?

2003-02-18 Thread Michael Marrotte
Are there any Apache helper tools for stamping text templates? Ideally, I would like to put something like the logic:iterate, bean:write tags in a static text file. Then from a Struts Action read the text file (maybe into a String) process the tags, stamping in dynamic session values (looping

Re: cache the response of a request in struts?

2003-02-18 Thread Nicolas De Loof
Just declare your formbean as session scoped, so it will be avaible to build another view (another JSP) Nico. Hi, I think I need to make it clearer. I need to cache the response so I can give the user the option to represent the data in another format other than the one in the

suppressing form bean population

2003-02-18 Thread Brian Moseley
i have a standard action - form - action setup in which the first action prepares the page that displays the form and the section action processes the form submission. when the form page's reset button is clicked, the processing action clears out some session state and forwards back to the

Re: Custom tags with Struts

2003-02-18 Thread Tom Ziemer
Hi, I've had a similar problem - and there really doen not seem to be any good solution. You might try it with a scriptlet - something like % String price = your object here.getPrice(); % then you can call your custom tag with: formatChecker:check value='%=price%'/ That's certainly not nice

request object and frames

2003-02-18 Thread Austin Lowry
I've had problems with getting objects out of my reqest object for a particular page and I suspect that it's because the page that I am calling the object from is in a frame. Would the page being inside a frame keep me from accessing an object that my previous action had set in the request?

Sell me on tiles

2003-02-18 Thread Southard, Don
We are starting a fairly new project using struts. We are at a point where we need to make a decision on using tiles or not using tiles. On one hand it's not too hard to implement (one developer already has it working with our project). On the other hand we haven't seen any added functionality

Re: request object and frames

2003-02-18 Thread David Graham
Each frame has its own request object so if you're storing things in the request for frame 1 then frame 2 won't see it. David From: Austin Lowry [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: request object and frames Date: Tue, 18 Feb

Re: Sell me on tiles

2003-02-18 Thread David Graham
What would you use instead? I like it because of the central xml configuration. The only tiles tag I use is tiles:insert to place the components in the proper place and leave the rest up to the xml config. file. Each JSP you write can be reused in any place you need that particular view and

Re: request object and frames

2003-02-18 Thread Austin Lowry
I am assuming that the problem is that my frameset is recieving my request objects from the previous action, and now my frames have new request objects. I am using frames b/c I am displaying a PDF in the bottom frame and a form in the top. Is there any simple way to pass my object from the

Re: [OT] logging level in Tomcat 4.1.18

2003-02-18 Thread Rick Reumann
On Tue, 18 Feb 2003 08:20:54 -0500 (EST) Jason Vinson [EMAIL PROTECTED] wrote: Hi folks, I am using Tomcat 4.1.18, and I am using good ol' System.out.println for debugging, but my log file (catalina.out) has MASSIVE ammounts of [INFO] messages. I can't figure out how to change the level of

Re: request object and frames

2003-02-18 Thread Nicolas De Loof
Here is what I undersand : 1. your action puts some beans into request scope 2. it forwards to a JSP, let's say A.jsp 3. A.jsp defines a framest, containing B.jsp 4. B.jsp looks in request for the bean. As frameset is the response your browser gets from the 1. request, it has to make a second

RE: Sell me on tiles

2003-02-18 Thread Chen, Gin
Tiles is a major pita to set up but its amazing how much time it saves down the road. I think its awesome just from the fact that u dont need to worry about putting all the decorations on a page (nav bar/header/footer etc) and only need to worry about the meat and potatoes part. Aside from using

Re: request object and frames

2003-02-18 Thread Austin Lowry
Solution 1 will most likely work for me, but one more question. Can I send paramers to that action somehow? I imagine something like: frame src=reviewDCIR.do?dcirNbr=123456789 name=reviewDCIR Will this work? Nicolas De Loof wrote: Here is what I undersand : 1. your action puts some beans into

RE: Sell me on tiles

2003-02-18 Thread Mike Mattox
Look through the examples in the tiles-documentation WAR and see what you can do with it. I don't think I could live with out. I like having separate tiles for my header, menubar, footer, etc. I also like to make reusable components out of things I use in several JSPs. For example, if you have

RE: Sell me on tiles

2003-02-18 Thread ROSSEL Olivier
Tiles is a major pita to set up but its amazing how much time it saves down the road. I think its awesome just from the fact that u dont need to worry about putting all the decorations on a page (nav bar/header/footer etc) and only need to worry about the meat and potatoes part. Aside

cache the response and cache-example.war

2003-02-18 Thread Ginger Cheng
Hello, Is there any other way to cache it? Cuz I am concerned that the application is very big and it may slow down the server. Besides, where to download the cache-example.war of jakarta? The links are all dead. Thank you. ginger At 05:22 PM 2/18/2003 +0100, you wrote: Just

RE: cache the response and cache-example.war

2003-02-18 Thread Jacob Hookom
Look at OSCache from opensymphony.com | -Original Message- | From: Ginger Cheng [mailto:[EMAIL PROTECTED]] | Sent: Tuesday, February 18, 2003 10:52 AM | To: Struts Users Mailing List | Subject: cache the response and cache-example.war | | Hello, | Is there any other way to

Re: help

2003-02-18 Thread Craig R. McClanahan
On Tue, 18 Feb 2003, Mark Lowe wrote: I've just taken a closer look at org.apache.commons.beanutils ... This seems the question i should have been asking, any good references for learning how to use this package would be appreciated.. The package description part of the Javadocs is a good

RE: Date validation dd-MMM-yyyy not working with Javascript

2003-02-18 Thread michael . korolyov
it doesn't work for me neither so - far I'v not found a answer. looks like server side only the way. Best Regards. Michael. -Original Message- From: Amit Keshav Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 2:02 AM To: [EMAIL PROTECTED] Subject: Date validation

RE: [OT] logging level in Tomcat 4.1.18

2003-02-18 Thread Brandon Goodin
use either log4j/commons-logging combo or straight log4j. To get rid of all the info statements in you catalina.out set your debugging params in you server.xml to 0 (debug=0). Brandon Goodin Phase Web and Multimedia PO Box 85 Whitefish MT 59937 P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED]

Tiles - multiple tiles submit

2003-02-18 Thread Jack Zakarian
Hi, I have a tiles layout that has a header and detail tile - i.e. an invoice screen with header and detail records. I split the screen up Into two sections so that it would stay below the 64K limit. When I submit the form only the header portion populates the actionFrom. but not the

RE: cache the response and cache-example.war

2003-02-18 Thread Chen, Gin
Someone gave me this a while back. % if (jScriptOutput != null) { out.print(jScriptOutput); } else { javax.servlet.jsp.tagext.BodyContent bc = pageContext.pushBody(); out = bc; % %-- any arbitrary JSP/HTML/JavaScript here --% % out = pageContext.popBody(); jScriptOutput =

about tiles context

2003-02-18 Thread Ferran Parra
I have a question -- why is the context, which is different for every Tile, in the Request under the key CompContext instead of the key org.apache.struts.taglib.CompContext, as it is in the source files, according to the constants file ComponentConstants.java? Thanks in advance for any help,

TilesRequestProcessor to support HTTP/HTTPS switching

2003-02-18 Thread Greg Hess
Hi, I would like to incorporate tiles into my application but I require HTTP/HTTPS switching. Has anyone implemented this ability by extending the TilesRequestProcessor or will this feature be added soon? The only way I have been able to do it is by using sub-applications, but I can't justify

Re: about tiles context

2003-02-18 Thread David Graham
What version are you using? Tiles used to store it under CompContext but now stores it under org.apache.struts.taglib.CompContext. You're most likely using an earlier version and looking at the recent source. David From: Ferran Parra [EMAIL PROTECTED] Reply-To: Struts Users Mailing List

RE: Using internationalised messages as custom tag parameters

2003-02-18 Thread Damm, Gary
Here is another way to do it: Define the I18N string: bean:define id=thIdbean:message key=label.id//bean:define Access it with a scriplet in another tag: display:column title=%=thId% property=detailLink sort=true / Still would be nicer for the later tag to support I18N but nothings perfect.

Simultaneous use of nested tags in two iframes causing interference

2003-02-18 Thread Dennis Doubleday
I have two iframes on one page that are both loading variants of the same tree. I am using the nested library to display the trees (very nice stuff!). However, they seem to be interfering with each other. Each iframe has tags like: nested:root name=tree nested:nest property=root

RE: Simultaneous use of nested tags in two iframes causinginterf erence

2003-02-18 Thread Raible, Matt
The first thing that came to mind when I read this was... If you're using Tiles, you might try a different controller for each iframe. Read more about Tiles Controllers at: http://blogs.browsermedia.com/patrick/index.do?date=#174409 HTH, Matt -Original Message- From: Dennis

ValidatorActionForm example?

2003-02-18 Thread jeff kyser
Hey all, I find little or no mention of the use of a ValidatorActionForm in the books or examples or mailing list. I've seen Ted's post regarding this not being the best approach to use, but I'd like to at least get one form working myself. (stubborn :) Does anyone have an example or snippets

RE: [OT] RE: microsoft .doc struts

2003-02-18 Thread Hue Holleran
Hi Andy, The (MS) reference was because this was using the regular expression syntax used by Microsoft's VBScript RegEx object and I'm not sure if this is the correct format for java regular expressions. I think jakarta-oro is a reg ex library that is included with struts - but sorry I have no

DynaActionForm and dropwoen box

2003-02-18 Thread Anand M S
If I use struts 1.1's DynaActionForm, then how can we use bean:define for creating dropdown box, please any one can throw some light on this? Thanks, Anand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Problems with Tiles and ControllerUrl

2003-02-18 Thread Zaraza / Corridor of Cells
Hi, I an trying to build a site using Tiles Struts (first time newbie) and it seems I am unable to get the Tiles controller to override at run-time the attribute values (e.g. page title) I'm using Struts 1.0.2 and tilesForStruts1.0.jar. My tile-defs.xml looks like: tiles-definitions

Re: how can I unprotect my registration page?

2003-02-18 Thread Max Cooper
It sounds like it is saying that 'something.exe' is not a valid url-pattern. Try '/something.exe' (or whatever the right url-pattern is for this resource) instead. -Max - Original Message - From: Mike Mattox [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday,

RE: TilesRequestProcessor to support HTTP/HTTPS switching

2003-02-18 Thread Greg Hess
Many thanks, I had been using another sslext plug in that required configuring the controller processorClass that conflicted with TilesRequestProcessor. Greg -Original Message- From: Dennis Muhlestein [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 1:48 PM To: Struts Users

Resource Path problem

2003-02-18 Thread Michael Cardon
I just upgraded to Struts 1.1b3 I get the following error when I start my application. If anyone can point me in the right direction here, I would appreciate it. ERROR Message: Starting service Tomcat-Standalone Apache Tomcat/4.1.18-LE-jdk14 Feb 18, 2003 10:33:34 AM

RE: Resource Path problem

2003-02-18 Thread Damm, Gary
Not sure but it looks like it may be having a problem finding your servlet config file (struts-config.xml) and not your message resources. I had a similar problem in the past and it wasn't finding my config file. Gary -Original Message- From: Michael Cardon [mailto:[EMAIL PROTECTED]]

RE: cache the response and cache-example.war

2003-02-18 Thread Mitchell Morris
Alternately, there is a nice cache in Jakarta Turbine (http://jakarta.apache.org/turbine/jcs/). doesn't-everybody-write-one-of-these-eventually-ly y'rs, +Mitchell -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 12:02 PM To: 'Struts

Proper place/tier for retrieving DDLB Values

2003-02-18 Thread White, Joshua A (CASD, IT)
This is what I have done thus far: 1 Developed domain objects. 2 Developed persistence tier Problem: Where should the code which takes a key from a domain object (for example orderTypeId) and looks it up in a database to get the corresponding values? This type of logic doesn't really fit in the

Re: Application Flow with Transaction Tokens?

2003-02-18 Thread Ted Husted
Greg Hess writes: I would like to ignore the fact that the double submit happened and just display the proper receipt. Should I forward the user to a transaction already processed page they will loose their proper receipt and never visually receive the receipt as I also send it by e-mail. I

RE: Application Flow with Transaction Tokens?

2003-02-18 Thread John Espey
Nobody will like this solution, but I've had to resort to it (as recommended by a coworker). Create a page scope javascript variable, and increment it when the user clicks the button, if it's equal to one , return true, otherwise false. I am fully aware of the shortcomings of javascript (for all

RE: Application Flow with Transaction Tokens?

2003-02-18 Thread DUBCHAK, JOHN (SBCSI)
David Geary presented something similar to this in his Advanced JavaServer Pages book. It was implemented on top of his custom Model-2 implementation but in truth could be easily adapted for use within your own environment. I don't have the book here with me at work, otherwise I would provide

Re: Proper place/tier for retrieving DDLB Values

2003-02-18 Thread Vic Cekvenich
White, Joshua A (CASD, IT) wrote: This is what I have done thus far: 1 Developed domain objects. 2 Developed persistence tier Problem: Where should the code which takes a key from a domain object (for example orderTypeId) and looks it up in a database to get the corresponding values? This

RE: Application Flow with Transaction Tokens?

2003-02-18 Thread Jerome Jacobsen
I posted an idea on how to handle this a while back. http://marc.theaimsgroup.com/?l=struts-userm=104404655411300w=2 Like I said in that post, I've never tried it. If you can restrict clients to have Javascript enabled then I think John's solution is the easiest. Since I have the luxury of

RE: Application Flow with Transaction Tokens?

2003-02-18 Thread Jeff_Mychasiw
We did do the javascript thing on a non-struts project. The only reason it was not so bad was because the js code was put put in one menu include that contained the links and that was that. On our current struts project we use tokens in all our important actions to take care of page re loads

  1   2   >