RE: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions bundled with Struts 1.1]

2003-09-03 Thread Andrew Hill
Thanks Craig, but I think Im still not grokking it fully. snip Put your replacement parser into the JDK Extensions directory, either $JAVA_HOME/jre/lib/ext or whatever directory you define on the command line with the java.endorsed.dirs system property. This is how Tomcat 4.1, 5.0,

Bad URL transformation with Opera Browser and frames

2003-09-03 Thread Jose Ramon Diaz
Hi all, I have an action frames.fo, which load a frame according to some arameters. It works rigth in explorer and Netscape, but when I load the URL in Opera browser, the pages URL of each frame is changed and it´s added the WEB-INF/jsp directory in the URL. I mean, for example, if the

Struts and XHTML...Problem solved (Thank you David)

2003-09-03 Thread Marco Tedone
Hi, I applied the updated you suggested and now the documents are well-formed. Thanks! Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problem switching to Struts 1.1...Solved (Thanks Sgarlata)

2003-09-03 Thread Marco Tedone
Yes, thanks, this is the key!! I had in my commons-logging.properties file the following line: org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4jLogger which messed everything up. I changed to what you suggested and now everything works fine. Thanks, Marco ORIGINAL MESSAGE

modules and tiles

2003-09-03 Thread Nathan Coast
Hi, is it be possible to configure layouts using tiles-defs.xml when using multiple modules? I had a go but couldn't get it to work. The configuration I tried was two modules each with their own tiles-defs layout configuration file. Also, is there an example app that uses modules (with or

RE: modules and tiles

2003-09-03 Thread Carlos Sánchez
Hi. I have the same problem too, but no one has answered (Struts plugins and modules thread) But I know that the tiles example application tiles-documentation.war uses modules, but it doesn't share defnitions between them, I think this is your problem, mine too. I'm thinking about extending

Réf. : Re: Calendar Popup taglib

2003-09-03 Thread meissa . Sakho
Matt, I'm trying to make you javascripttoolbox webapp working. But neither the simple calendar nor the extended are working. For both, when I click to the link I got a page with the content below : form name=calendarInputForm method=post action=/javascripttoolb any idea of how to make it work ?

Re: Migrating to struts

2003-09-03 Thread Adam Hardy
I wasn't criticising your suggestions about how to do a migration - you've obviously got experience there. I was suggesting you, or rather Prashanth, look at the possibility of a fresh start. I read the chapter in Struts in Action about migrating normal JSPs to Tiles, and that was complex

Re: [OT] XML Parsers vs WEB-INF/lib [WAS: RE: Commons Versions bundledwith Struts 1.1]

2003-09-03 Thread Adam Hardy
DLL Hell - Jar-maggedon? On 09/03/2003 05:54 AM Craig R. McClanahan wrote: On Wed, 3 Sep 2003, Andrew Hill wrote: Date: Wed, 3 Sep 2003 11:21:55 +0800 From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [OT] XML Parsers vs

Re: Is there a way to disable the browser's Back button without sendingan http request?

2003-09-03 Thread Adam Hardy
It depends on how much control you have over the users' browsers, and also how determined the users are to use their back-buttons. You can do lots of stuff in javascript like opening a new browser window without the button bar, or catching a back-button keypress and stuff like that. Actually

element filter in web.xml causes error

2003-09-03 Thread Jiri Chaloupka
Hallo, I need to add filter elements into web.xml file for correct encoding of form's data. In web.xml I was changed dtd into http://java.sun.com/dtd/web-app_2_3.dtd and add this: filter filter-nameSet Character Encoding/filter-name

Re: Bad URL transformation with Opera Browser and frames

2003-09-03 Thread Adam Hardy
Are you using the html:base/ tag in your page? It sounds like the browser is misinterpreting relative paths. Adam On 09/03/2003 08:19 AM Jose Ramon Diaz wrote: Hi all, I have an action frames.fo, which load a frame according to some arameters. It works rigth in explorer and Netscape, but when

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Madhu Nair
Hi, To disable the user from going back without sending an http request just insert the following javascript line in each page:- history.forward(); Regards, Madhu -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 2:11 PM To: Struts Users

RE: Using a custom ActionForward subclass

2003-09-03 Thread Andrew Hill
Solved (with the help of one of my colleagues)! Simple error. I hadnt taken into account the fact that the order of attributes matters. Instead of: forward name=engineer-success path=/workSchedule.do?projectId=giantRobotSpaceLaser className=com.unist.plot.EvilActionForward/ I needed: forward

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Andrew Hill
Im using the location.replace() trick. Works ok though Id rather not have a back button at all! Id hate to think about doing it using jsp though.(or indeed any other serial rendering mechanism). One would need to replace every link with some custom tag - and where the links themselves are

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Andrew Hill
Nah. Some browsers may still send the request for the previous url instead of loading it from the cache. :-( -Original Message- From: Madhu Nair [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 16:51 To: Struts Users Mailing List Subject: RE: Is there a way to disable the

[OT] how to open Postscript file on windows

2003-09-03 Thread tarun.matai
Hi, Is there any way to open a Postscript file on windows in a readable format. Regards, Tarun DISCLAIMER: This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not

Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread Mark Lowe
That's great.. I'm running 1.1 , yes and the base tag renders as xhtml. I'll certainly be sleeping more soundly. I've just downloaded the latest stable release and as far as form elements are concerned it doesn't, either that or it just hates me. As I imagine you know, these changes are in

RE: Bars Graph

2003-09-03 Thread NYIMI Jose (BMB)
Thanks a lot to all of you for your interesting inputs. Now i have a starting point, it's time for me to have some reads from there. Thanks again, José. -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 9:24 PM To: Struts Users

usage of System property

2003-09-03 Thread Nimmagadda, Ravikumar (CORP, GEITC, Contractor)
Hi, Can i use System.setProperty to store the property file path... will there be any disavantages in using this... Regards Ravi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Select box: another q

2003-09-03 Thread Alen Ribic
Is it possible for a html:options/ to set the surrounding html:select/'s property to an non-string type like for instance my own reference type mypackage.Category? My issue is that I have an mypackage.Item object that has a setter for a particular category selected from the above list. I'm

Re: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Linus Nikander
I'm not quite sure what you are trying to achieve. Anyway, I think trying to disable the back-button (for whatever reason) is the wrong way to go about it. Simply put, any URL that the client visits, the client WILL be able to revisit. A simple cut / paste of the URL before / after the submit

Information about visitors using my portal

2003-09-03 Thread Stefan Trcko
Hello I want to get information of how many visitors is currently using my portal. When someone open url www.iz-fotelja.com I create a session, so I think that from all of the currently active sessions I can get this statistic. But I don't know how to implement it. Any suggestions? Best

RE: [OT] how to open Postscript file on windows

2003-09-03 Thread Hue Holleran
I think taglibs questions or general java would probably qualify for [OT] but Postscript - come on, get real. It irritates me even more that you obviously haven't even bothered to try google for this: http://www.google.com/search?q=windows+postscript+viewer -Original Message- From:

Re: Information about visitors using my portal

2003-09-03 Thread Andrew Kuzmin
hi, This should help: http://orionsupport.com/archive/clickstream/index.html -- Andrew Kuzmin http://www.java201.com/ - Original Message - From: Stefan Trcko [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 12:54 PM Subject:

RE: Display Taglib [Follow up]

2003-09-03 Thread Robert Taylor
Just to follow up on this issue and for anyone searching the archives and not getting the entire thread, below is a synopsis of the problem and a recommended solution: The problem boiled down to running a library compiled against JDK1.4 in a Java HotSpot(TM) Server VM 1.3.1_06; NOT a problem with

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Mark Galbreath
Set a token in request scope and use Struts logic tags to test is presence and value, then forward or not. Simple. Mark -Original Message- From: Jing Zhou [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 11:53 PM To: Struts Users Mailing List Subject: Is there a way to

RE: Information about visitors using my portal

2003-09-03 Thread Mark Galbreath
Jason Hunter explains how to do this in Java Servlet Programming, 2d ed. (O'Reilly 2002): Chapter 7. Mark -Original Message- From: Stefan Trcko [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 5:55 AM To: Struts Users Mailing List Subject: Information about visitors using my

RE: how many concurent users on the system

2003-09-03 Thread Yee, Richard K,,DMDCWEST
Rachid, If your application uses HttpSessions, then you can use the java.servlet.http.HttpSessionListener class to monitor the creation and destruction of HttpSessions. You need to configure the class that implements HttpSessionListener in the deployment descriptor of your web application. ex.

RE: Bars Graph

2003-09-03 Thread NYIMI Jose (BMB)
Any input about what tool/framework to use for parsing a given text file (not xml) ? I have seen JavaCC https://javacc.dev.java.net/doc/docindex.html Do i have other alternatives ? José. -Original Message- From: NYIMI Jose (BMB) Sent: Wednesday, September 03, 2003 11:16 AM To: Struts

RE: Information about visitors using my portal

2003-09-03 Thread Adolfo Miguelez
http://www.servlets.com/soapbox/filters.html From: Mark Galbreath [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Information about visitors using my portal Date: Wed, 3 Sep 2003 07:19:07 -0400 Jason Hunter

How can i simply show a form property as a simple text

2003-09-03 Thread Florent LOTHON
Hi In an editing form page How can i simply show a form property as a simple text (not in an html:xxx input tag). Flo -- Ce message est protege par les regles relatives au secret des correspondances ; il peut en outre contenir des informations a caractere

[OT] MVC2 Diagram

2003-09-03 Thread Jerry Jalenak
Does anyone have a simplified diagram of the MVC2 architecture? I'm needing to include one in a presentation that I am giving to a non-technical audience... and I either haven't had enough coffee this morning, or I've completely forgotten how to use google - I can't seem to find anything! :-)

RE: How can i simply show a form property as a simple text

2003-09-03 Thread Mike Jasnowski
bean:write/ -Original Message- From: Florent LOTHON [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 9:25 AM To: Struts Subject: How can i simply show a form property as a simple text Hi In an editing form page How can i simply show a form property as a simple text (not in

RE: Is there a way to disable the browser's Back button without sending an httprequest?

2003-09-03 Thread Brian Lee
You can also include a line like this in each jsp: window.history.forward(1); This will effectively negate the back button. BAL From: Mark Galbreath [EMAIL PROTECTED]To: Struts Users Mailing List [EMAIL PROTECTED], Jing Zhou [EMAIL PROTECTED] Subject: RE: Is there a way to disable the

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Andrew Hill
Not if your browser sends a new request for the previous page instead of using its cache, and that page crashes since the objects its expecting in various contexts arent there anymore... -Original Message- From: Brian Lee [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 September 2003 21:37

Re: [OT] MVC2 Diagram

2003-09-03 Thread Jeff Kyser
Try 'Model 2 Architecture Diagram' under advanced search for Google. There is a pdf document with a simplified diagram there. -jeff On Wednesday, September 3, 2003, at 08:30 AM, Jerry Jalenak wrote: Does anyone have a simplified diagram of the MVC2 architecture? I'm needing to include one in

Re: [OT] MVC2 Diagram

2003-09-03 Thread Jeff Kyser
The Chuck Cavaness (Jakarta Struts) book also has both Model 1 and Model 2 diagrams on page 7. -jeff On Wednesday, September 3, 2003, at 08:30 AM, Jerry Jalenak wrote: Does anyone have a simplified diagram of the MVC2 architecture? I'm needing to include one in a presentation that I am giving

How to automatically refresh a page after successfully executing a download in Struts

2003-09-03 Thread Samuel . Opoku-Boadu
I have a jsp page which displays a table of results. By a hitting a download button the some changes are made in the back-end database. which should be reflected in the current page. The problem with Struts is that after executing a download using an outputstream you can only return null in the

RE: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread iguane183
Maybe you could go from page to page with form method=post . the browser will have to sent the request again (because the page has expired) and then you can verify with a token what is happening. Gabriel K. At 21:44 03/09/2003 +0800, you wrote: Not if your browser sends a new request for the

RE: [OT] MVC2 Diagram

2003-09-03 Thread Jerry Jalenak
All - Thanks to everyone who replied either to the list or directly. Jeff - thank in particular for the link and the note on Chuck's book. Jerry Jalenak Team Lead, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] -Original Message-

RE: basic struts question...

2003-09-03 Thread Pady Srinivasan
I have exactly that. It doesn't work. I don't have the Action class. Could that be creating a problem ? I was expecting Struts to throw an error about the missing class. Anyways, I will create an Action class and see. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: David

RE: basic struts question...

2003-09-03 Thread Bradley Handy
First off, you don't configure the .do extension in the path attribute. You put it in the href attribute of your link in your web page, or the action attribute of your form tag. Secondly, you've got to be kidding me about not creating an Action class and then asking the list why your stuff isn't

RE: How can i simply show a form property as a simple text

2003-09-03 Thread Mark Galbreath
or bean:message/ -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 9:31 AM To: Struts Users Mailing List Subject: RE: How can i simply show a form property as a simple text bean:write/ -Original Message- From: Florent LOTHON

RE: Migrating to struts

2003-09-03 Thread Mainguy, Mike
If you are using scriptlets, move the scriptlet code to an Action class. Then link through the Action class to run that code first. If the code created scripting variables before, use request properties instead. Likewise, any place where you were using request parameters, start using request

RE: basic struts question...

2003-09-03 Thread Mainguy, Mike
It looks like your webapp is named taglib, if so, change your action mapping to 'path=/jsp/submit ' and all should be well. The action mapping path is relative to your webapp (or module, but, that's for a later date). -Original Message- From: Bradley Handy [mailto:[EMAIL PROTECTED]

RE: basic struts question...

2003-09-03 Thread Pady Srinivasan
As I said, I was NOT getting an error mentioning missing action class till now ( had to restart Tomcat ). Now I do get that error. So no more basic struts questions from me... Thanks for your patience... Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Bradley Handy

RE: basic struts question...

2003-09-03 Thread David Friedman
Pady, Every action should have an action class or some subclass made of it or one of the other actions subclasses. From what I understand, there is no default 'type' so leaving it out should have interesting (and unusual) consequences. Regards, David -Original Message- From: Pady

RE: How can i simply show a form property as a simple text

2003-09-03 Thread Slattery, Tim - BLS
From: Florent LOTHON [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 9:25 AM In an editing form page How can i simply show a form property as a simple text (not in an html:xxx input tag). Either the Struts bean:write ... tag or the JSTL c:out ... tag will do what you want.

Re: element filter in web.xml causes error

2003-09-03 Thread Jason Lea
Hi Jiri, Make sure you add the filter and filter-mapping in the correct order inside web.xml: icon?, display-name?, description?, distributable?, context-param*, filter*, filter-mapping*, listener*, servlet*, servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?, error-page*,

RE: How can i simply show a form property as a simple text

2003-09-03 Thread Chen, Gin
or c:out or a ton of other ways.. if you just RTFM. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 10:05 AM To: Struts Users Mailing List Subject: RE: How can i simply show a form property as a simple text or bean:message/

plugin init called twice

2003-09-03 Thread meissa . Sakho
Hi all, I've configured a plugin in my struts config xml file. I'm trying to understand why it's init method is called twice. this is very strange to me. can someone helps please. Meissa L'integrite de ce message n'etant pas assuree sur internet, Natexis Banques Populaires ne peut etre

Request variables and validation

2003-09-03 Thread Ryan
I am having trouble with request variables and validation. Before a page is called, I prepopulate a combo box with values from a database. When validation (dynaforms validate) finds errors on the form the bean that prepopulated the combo box is not in the request scope anymore. This was

Re: How can i simply show a form property as a simple text

2003-09-03 Thread Sloan Seaman
I'm got almsot the same question. I populate a form bean in an action and then display the page with the populated form bean. I want to use c:out to display one of the values in the form bean but I'm not sure where to look for the value. I have the action scope set to request and the bean name

Help!! Deployment issue

2003-09-03 Thread Joe Zendle
I know this belongs on the Tomcat user list but I am having trouble with it. Please help anyway!! I am about to deploy a struts app in production. I have been doing development using port 8080 and a Context path of /aup-reports and a docPath of aup-reports. My app uses BASIC authentication with a

Struts form validation of radio buttons and checkboxes

2003-09-03 Thread Greg Amaroso
I'm having trouble with the struts form validation framework when it comes to radio buttons and checkboxes. For some reason, I can validate any other type of field, but not radios/checkboxes. Here's where I seem to be having trouble: In the struts-config.xml file, should the form-property type

RE: basic struts question...

2003-09-03 Thread Mark Galbreath
Is that heroix.com or herion.duh? -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 10:00 AM To: Struts Users Mailing List Subject: RE: basic struts question... I have exactly that. It doesn't work. I don't have the Action class.

JSTL and Struts tag nesting?

2003-09-03 Thread Denis @ Betterway
Hey everyone, I have a problem where I want to use a map backed form and I basically want to do this: c:forEach items=${pDesc} var=prop tr bgcolor=#CC td align=left class=normal width=101 c:out

[ot]Re: Bars Graph

2003-09-03 Thread Mark Lowe
I'm not really sure you'd need a framework for this. Just a little bit of java, or even perl will do. They'll be lots of examples around, look for stuff aimed at DBA's, that sort of thing. Whatever you use you can then use cron to fireup your java util or perl script when you want. I wouldn't

RE: How can i simply show a form property as a simple text

2003-09-03 Thread Mike Jasnowski
c:out value=${formBean.property}/ should work for straight actionforms, dynaforms would be a bit different. In your example this should work: c:out value=${bitmap_form.FORMER_FILE_SRC}/ -Original Message- From: Sloan Seaman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003

[OT] RE: basic struts question...

2003-09-03 Thread James Childers
Must... resist... urge... to correct spelling... ARRRGH. -= J -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 10:14 AM To: Struts Users Mailing List Subject: RE: basic struts question... Is that heroix.com or herion.duh?

RE: Request variables and validation

2003-09-03 Thread Witbeck, Shane
Why don't you create a method that gets whatever data you need to populate the form and call it from the DispatchAction methods that need it? Shane -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 10:54 AM To: [EMAIL PROTECTED] Subject: Request

Action Problem

2003-09-03 Thread Ryan
I have implemented a workflow application and am having problems when the last page in the workflow fails validation. When it fails, the first page in the workflow is displayed. Here are my action mappings. !-- Action Mapping Definitions -- action-mappings action

Re: JSTL and Struts tag nesting?

2003-09-03 Thread David Graham
You can use the struts-el taglib in the contrib directory. That allows you to use EL in the Struts tags. David --- Denis @ Betterway [EMAIL PROTECTED] wrote: Hey everyone, I have a problem where I want to use a map backed form and I basically want to do this:

RE: basic struts question...

2003-09-03 Thread David Friedman
Pady, You didn't restart Tomcat or reload your application before this? How did you expect your changes to be incorporated? Automagically? The next time you change your application, rebuild classes, add libs, etc, (pretty much anything except for editing a jsp' contents) you should look into the

RE: How can i simply show a form property as a simple text

2003-09-03 Thread Chen, Gin
if bitmap_form is a dynaform it'll be the same construct but with map c:out value=${bitmap_form.map.FORMER_FILE_SRC}/ make sure that you have a getFORMER_FILE_SRC() method. on the off-note, you might think about renaming your attributes to more java-centric naming conventions. -Tim

Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread Marco Tedone
Well, I download the binaries of Struts 1.1 and the functionality is supported. Hope this will help, Marco ORIGINAL MESSAGE From: Mark Lowe [EMAIL PROTECTED] That's great.. I'm running 1.1 , yes and the base tag renders as xhtml. I'll certainly be sleeping more soundly. I've just downloaded

RE: basic struts question...

2003-09-03 Thread Pady Srinivasan
I have been reloading my app. Not sure why, but Tomcat was hosed. As I said before, I was expecting Struts to throw some kind of error/exception - which was not showing up in any of the log files. I found that strange. When I restarted Tomcat, now the ClassNotFoundException is there in

Re: Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread Mark Lowe
Thats strange.. I've done the same most things render as xhtml but not form elements. Its not a huge problem, either way. But its great that it is. Cheers Mark On Wednesday, September 3, 2003, at 06:24 PM, Marco Tedone wrote: Well, I download the binaries of Struts 1.1 and the functionality

Re: Action Problem

2003-09-03 Thread Ryan
My mistake, It wasn't reaching PageTwoAction. Ryan Ryan wrote: I have implemented a workflow application and am having problems when the last page in the workflow fails validation. When it fails, the first page in the workflow is displayed. Here are my action mappings. !-- Action Mapping

Re: Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread Mark Lowe
Ah.. It was kind of obvious on reflection. The xhtml rendering works fine as you said (it never really bothered be until the post came up yesterday and aroused my interest), but not with tiles. Any tiles containing form elements don't appear to render as xhtml. On Wednesday, September 3,

Re: Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread Mark Lowe
Re: my last post about not working with tiles. Seems to work fine if you place html:xhtml / in the tiles itself.. Nice.. On Wednesday, September 3, 2003, at 06:24 PM, Marco Tedone wrote: Well, I download the binaries of Struts 1.1 and the functionality is supported. Hope this will help, Marco

Re: Is there a way to disable the browser's Back button without sending an http request?

2003-09-03 Thread Jing Zhou
We use the POST method for almost every web form in wizard like applications with the internal forwarding mechanism. If the browser's Back button could be disabled for the next page, all bad things that destroy application states will be gone. Token mechanism had been carefully examined. But I am

Re: Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread jlord
My experience with the html/xhtml quandary is that if the html:xhtml / tag is used, then all the tags except form are valid xhtml 1.0+ dtd tags. This is because the form tag insists on using the 'name=foo' attribute. The name attribute has been deprecated in favor of id.

RE: Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread James Childers
Does this cause an html tag to be rendered in the output HTML for every html:xhtml / tag contained in a tile? -= J -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 1:11 PM To: Struts Users Mailing List Subject: Re: Subject: Re: Struts

RE: Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread David Graham
--- James Childers [EMAIL PROTECTED] wrote: Does this cause an html tag to be rendered in the output HTML for every html:xhtml / tag contained in a tile? No, it only turns on XHTML mode. http://jakarta.apache.org/struts/userGuide/struts-html.html#xhtml David -= J -Original

RE: Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread jlord
I can't imagine that it would, as the html:xhtml / tag is a boolean flag that forces closing tags and the other requirements of the xhtml specification. James Childers

Re: Subject: Re: Struts html tags and XHTML 1.0....Again

2003-09-03 Thread David Graham
--- [EMAIL PROTECTED] wrote: My experience with the html/xhtml quandary is that if the html:xhtml / tag is used, then all the tags except form are valid xhtml 1.0+ dtd tags. This is because the form tag insists on using the 'name=foo' attribute. The name attribute has been deprecated in

html error

2003-09-03 Thread Ryan
When I try and set the html error attribute property using a jsp expression nothing shows up. html:errors property='%= fieldSample + count %'/ Note: The variable count is just an integer that gets incremented each iteration of the loop. The property attribute that I want is fieldSample1 and

RE: html error

2003-09-03 Thread Slattery, Tim - BLS
When I try and set the html error attribute property using a jsp expression nothing shows up. html:errors property='%= fieldSample + count %'/ Note: The variable count is just an integer that gets incremented each iteration of the loop. An easy way out would be to use the html-el

Re: html error

2003-09-03 Thread Ryan
Thanks, that worked. Ryan Slattery, Tim - BLS wrote: When I try and set the html error attribute property using a jsp expression nothing shows up. html:errors property='%= fieldSample + count %'/ Note: The variable count is just an integer that gets incremented each iteration of the

[SCAFFOLD] AccessBase, createKey and ResultSetMetaData JDBC driver problems

2003-09-03 Thread aies22
Hi, When using the scaffold AccessBase.createKey() method, to get a simple integer field from the database, I get a java.lang.ClassCastException: java.lang.Long. Looking at the log file, I find the following error message: Driver doesn't support strong ResultSetMetaData, and PoolMan

How to forward back to including page

2003-09-03 Thread Siggelkow, Bill
I have an included page (included using c:import) that contains a form. If the form processes successfully I want to return back to the original including page. Is there a clean way of doing this? The problem I have is that my action for the included page does not know anything about the page

Re: How to forward back to including page

2003-09-03 Thread David Erickson
I'm a little confused, but when you submit the form the target should be an action and couldnt you just do the processing within that action and if its successful forward back to the page that includes the form? - Original Message - From: Siggelkow, Bill [EMAIL PROTECTED] To: [EMAIL

submit form values from a hyperlink...

2003-09-03 Thread Pady Srinivasan
I have a html form that has 2 hyperlinks which when clicked, I have to submit the form field values. Is there any way of achieving this besides using javascript to get the form values and building a URL ? ( like a GET method ) Thanks -- pady [EMAIL PROTECTED]

ExceptionHandler storing ActionErrors in session

2003-09-03 Thread Robert Taylor
I'm just starting to fiddle around with ExceptionHandlers and was wondering how and when ActionErrors are removed from session scoped if configured to be stored there. I took a look at the ErrorsTag and the MessagesTag (because I'm assuming these tags would be used to render the ActionErrors) and

Re: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
I don't believe there is currently a way to remove messages from the session. How would Struts know when to remove them? I have written a small subclass of ActionMessages that only returns its messages once. This allows me to store messages in the session without them being displayed multiple

Is nesting Tile layouts possible?

2003-09-03 Thread Rick Reumann
Pardon if this is a real stupid question and has been covered before (I have looked at some of the docs and didn't see this addressed but I've been known to easily miss the obvious:). Imagine you have a site that has a main layout: COMPANY LOGO DATE MAIN MENU {II. main content section}

Is nesting Tile layouts possible?

2003-09-03 Thread Rick Reumann
Pardon if this is a real stupid question and has been covered before (I have looked at some of the docs and didn't see this addressed but I've been known to easily miss the obvious:). Imagine you have a site that has a main layout: COMPANY LOGO DATE MAIN MENU {II. main content section}

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread Mike Jasnowski
What about adding a symmetrical removeErrors()/removeMessages() to Action? -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 5:21 PM To: Struts Users Mailing List Subject: Re: ExceptionHandler storing ActionErrors in session I don't

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread Robert Taylor
David, Thanks for responding. Yep. I ended up subclassing MessagesTag so that it removes any messages that might exist in the session once the message has been rendered. robert -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 5:21

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
--- Mike Jasnowski [EMAIL PROTECTED] wrote: What about adding a symmetrical removeErrors()/removeMessages() to Action? How would your Action know to call that? How would your app know which Action was executed after the one that generated the messages? David -Original Message-

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread David Graham
--- Robert Taylor [EMAIL PROTECTED] wrote: David, Thanks for responding. Yep. I ended up subclassing MessagesTag so that it removes any messages that might exist in the session once the message has been rendered. That's what I did too but changed to the ActionMessages subclass. I floated

Re: Is nesting Tile layouts possible?

2003-09-03 Thread Rick Reumann
On Wed, 2003-09-03 at 17:31, Rick Reumann wrote: Is what I'm looking for possible with tiles? I thought I tried this by extending the base defintion, but maybe I haven't worked with it enough, let me mess with it some more. Sorry for a possible 'too soon' post. -- Rick

RE: ExceptionHandler storing ActionErrors in session

2003-09-03 Thread Mike Jasnowski
How would your Action know to call that? How would your app know which Action was executed after the one that generated the messages? I would expect the same way an Action determines that it needs to call saveErrors(), if there are errors in the collection. The Action makes the determination on

Re: Is there a way to disable the browser's Back button withoutsending an http request?

2003-09-03 Thread Adam Hardy
Hi Jing, surely it is possible to solve your state problems with server-side checks? Each page can set a control mechanism with a value in the user's session when the page is displayed. Any submission from any page in your wizard app is either allowed or disallowed by referencing the info

Custom Validator and File Upload

2003-09-03 Thread Octavia Yung
Hi Everyone, I am currently trying to create a custom validator for a file upload form and am unclear as to how to retrieve the value of the File field. I would like to have the object as a FormFile so that I can perform further checks on the file. Are there any examples available to peruse?

Re: submit form values from a hyperlink...

2003-09-03 Thread Adam Hardy
You could set them as hidden fields as well as links. Then cause the onclick event to submit the form and return false so that the link is not followed. adam On 09/03/2003 11:00 PM Pady Srinivasan wrote: I have a html form that has 2 hyperlinks which when clicked, I have to submit the form

How to write HTML label text

2003-09-03 Thread Srinivas Gunturu
Hi All, I want to display an uneditable text value on the page showing the name of the person who entered the order. The name is stored in a bean inside my ActionForm and I do know how to display it in a text box using html:text tag. However, I would prefer to show it as strait html and not

Re: Is nesting Tile layouts possible?

2003-09-03 Thread Rick Reumann
I'm still stumped even working with extending definitions on how to accomplish this. A friend in #struts_users was helping as well and his solution is good, but still seems like a lot of work. I posted the idea below this post... On Wed, 2003-09-03 at 17:31, Rick Reumann wrote: Pardon if this is

  1   2   >