Bug in TilesRequestProcessor.doForward?

2002-05-22 Thread Mark Johnson
I've been having some trouble with tiles under both the 20020508 and 20020520 struts nightly builds. I believe that the problem may be that TilesRequestProcessor.definitionsFactory is declared private, but should instead be declared as protected. Here's why: My app has a login.jsp; upon

RE: multi page workflow

2002-05-22 Thread Lister, Tom (ANTS)
Thanks I'll go back and read your doco and decide our current validation pattern is to use the validate() method in the form to perform simple data checking anything that requires a database lookup we do in a postFormValidation method which is called as part of our custom CRUD action components

(error) tiles-blank-struts1-1.war

2002-05-22 Thread Mark Johnson
Has anyone successfully run this app? Tomcat-4.0.3 (with struts-20020520) said: javax.servlet.ServletException: Can't get definitions factory from context. at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463) at

Re: Help with JDBC Connection Pool

2002-05-22 Thread @Basebeans.com
Subject: Re: Help with JDBC Connection Pool From: Aslak Poppe [EMAIL PROTECTED] === Hi, I'm using struts 1.02 (which is the latest stabel release) and GenericDataSource is not depricated in this version. I have not looked in to the beta releases (which usually will get you more trouble than the

RE: Include-problem with .do

2002-05-22 Thread Ian Tomey
I saw no other way around it. Can anyone else suggest a way to include jsp:include page=/PanelDisplay.do/? can't be that difficult, it works in Tiles. some tiles are actions that forward onto jsps [EMAIL PROTECTED] 05/21/02 07:05pm I also had this problem. The error message given was to

CTLX - why do i have to be online

2002-05-22 Thread @Basebeans.com
Subject: CTLX - why do i have to be online From: Jeremy Scott [EMAIL PROTECTED] === Hi, im just getting started with struts and am using CTLX. I have had problems getting started because i have found that i have to be online for CTLX to access my local host. If i am not and i try to use a tag

RE: CTLX - why do i have to be online

2002-05-22 Thread Stephen . Thompson
Hello, It could be to do with your DNS resolution. You should have a file called hosts (btw what OS are you on) that contains a line localhost 127.0.0.1 If you are running on unix/linux you should have a file called /etc/host.conf. This file determines the order for looking up names. Hope this

Heads up on Struts validator that's in CVS

2002-05-22 Thread dion
Earlier today I committed the code and documentation for the Struts Plug-in for Maven. People who are building Maven from CVS can use this functionality now. Do an 'ant maven:site' to generate the docs until the site is updated. The Struts Plug-in currently has one target: validate-struts-war

disabling an html:text box

2002-05-22 Thread Tim Sawyer
Hello all, I have an html:text input box on a form on my page. I want to disable the box if the user is editing a record, or enable it if the user is creating a new record. What's the best way to do this? The disabled property is marked (RT Expr) which I presume means I can set it at

RE: disabling an html:text box

2002-05-22 Thread SATISH.T
Hi IT is possible to set the html: input property to disabled at run time by setting the property. But I doubt if it works in netscape. It did'nt when I used the disabled property for combo box. Instead you could try to make it read only as per ur conditions. Satish -Original Message-

Re: disabling an html:text box

2002-05-22 Thread Tim Sawyer
That's a much better idea, I'll have one of those please. I'll use the logic:present tag to decide which way to jump. Thanks all, Tim. [EMAIL PROTECTED] wrote : Why don't you make it a bean:write if the user is editing the record ? Jefferson Indrix.net - Mensagem Original -

RE: disabling an html:text box

2002-05-22 Thread Shishir Awasthi
U can try readonly=true or use javascript and based on the condition can change it to disabled =true/false. Eg.document.forms[0].myProperty.disabled=true; Hope it solves the problem -Original Message- From: Tim Sawyer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 5:06 AM

Struts plugin for IBM WSED

2002-05-22 Thread emmanuel.boudrant
Hello everybody, IBM is about releasing a Struts plugins for IBM WSED (Eclipse), here a applet demonstration, take a look http://www-3.ibm.com/software/ad/studioedm/demo/WSED_Visual_Builder_demo_4_30_02_viewlet.html good news ! -Emmanuel - Yahoo! Mail -- Une

Re: (error) tiles-blank-struts1-1.war

2002-05-22 Thread Cedric Dumoulin
Yes, me ;-) It looks like the definition factory has fail to load. May be a configuration problem ? Do other Tiles examples work ? Cedric Mark Johnson wrote: Has anyone successfully run this app? Tomcat-4.0.3 (with struts-20020520) said: javax.servlet.ServletException: Can't get

Re: Struts plugin for IBM WSED

2002-05-22 Thread @Basebeans.com
Subject: Re: Struts plugin for IBM WSED From: Pim [EMAIL PROTECTED] === Yeah!! Looking sexy as hell.. I read WSED is released Q3 2002, so we have to be patient. I hope the plugin is available for WSAD too.. Pim emmanuel.boudrant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...

Re: Struts plugin for IBM WSED

2002-05-22 Thread William W
Is it available for download ?? From: emmanuel.boudrant [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Struts plugin for IBM WSED Date: Wed, 22 May 2002 14:30:17 +0200 (CEST) Hello everybody, IBM is about

what do you think stxx

2002-05-22 Thread @Basebeans.com
Subject: what do you think stxx From: bingo [EMAIL PROTECTED] === hi: Stxx is a project based struts .you can get the information from http://sourceforge.net. bingo -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: Struts plugin for IBM WSED

2002-05-22 Thread emmanuel.boudrant
The applet ? yes ;) The plugins ? no William W [EMAIL PROTECTED] a écrit : Is it available for download ?? From: emmanuel.boudrant Reply-To: Struts Users Mailing List To: Struts Users Mailing List Subject: Struts plugin for IBM WSED Date: Wed, 22 May 2002 14:30:17 +0200 (CEST) Hello

RE: html taglib usage slooow

2002-05-22 Thread Kousek, Theron
We ran into the same problem in our application. We had more than 20+ html:text fields on our jsp pages. We ended up using input type tags rather than html:text and speed up our application by perhaps 1000%. We are still using html:select and have not noticed many problems with performance.

context properties

2002-05-22 Thread Mike Rose - Sun Microsystems
where can I find an example of setting/getting context properties in iws 4.1 so jsp pages can access the properties? thanks mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Multiple Data Sources

2002-05-22 Thread Régis Melo
Hi everybody, How can I set two datasources in the struts.config.xml and tell the datasource that i want do load dinamically? I´ve tried with the findDataSource(NameKeyDataSource) but its not working. I´m setting in the struts-config.xml. It goes like this: data-source

struts-bean.tld/Weblogic 6.1 problems

2002-05-22 Thread Rosenblum, Jason
All, I'm having problems with a Struts 1.0 webapp that i have deployed to Weblogic 6.1. When I load the index page I get an error complaining about problems with my bean:message tag. weblogic.servlet.jsp.JspException: (line 2): Error in using tag library uri='/WEB-INF/struts-1_0-bean.tld'

AW: problem diplaying on the fly generated PDF files within IE

2002-05-22 Thread Moritz Björn-Hendrik, HH
Martin, did you try to add a pageContext.getOut().flush(); after the line pageContext.getOut().print(ostr);? Maybe this solves your problem. Björn -Ursprüngliche Nachricht- Von: Martin Kuypers [SMTP:[EMAIL PROTECTED]] Gesendet am: Dienstag, 21. Mai 2002 20:09 An: Struts Users

Dynamic brand management and struts custom tags

2002-05-22 Thread Wojtek Rappak
I have a small problem: can't compile a dynamic expression inside a bean:message tag, and -- possibly -- a big problem: am I taking the right approach to solve the problem? My application provides a service to clients who want to put their own branding and look-and-feel around the service. This

Re: html taglib usage slooow

2002-05-22 Thread Jeff_Mychasiw
This topic comes up from time to time and it seems that I am never happy with the solution(s). There seems to be two main answers: 1 - do not use so many tags. 2 - find an Servlet Container that will handle tags in a speedy manner. Have I missed any? As for answer one - I am currently

Question about Templates with bean:write

2002-05-22 Thread Gary Bartlett
Question regarding the use of Templates: I am using templates to allow my application to have a consistent look and feel with a Header, Footer, and a variable Content Component. Everything is working well, except now I need to include a bean:write tag inside the jsp associated with the Header

Re: stuts-config.xml file

2002-05-22 Thread Ted Husted
You might want to consider rephrasing the question. http://www.tuxedo.org/~esr/faqs/smart-questions.html JM wrote: Can you help me with my struts-config? I'm trying to run this in VBA (Visual Basic for A##holes) actionpath=/editSubscription.aspx

NoClassDefFoundError WLS6.1

2002-05-22 Thread mhanel
I'm using struts1.0.2 and Weblogic Server 6.1. Almost everything in my small testpages works. Excep when I'm using the html:form tag. html:form action=loginAction.do method=GET ... /html:form when I'm opening this page on my browser I get an NoClassDefFoundError.

Re: Struts plugin for IBM WSED

2002-05-22 Thread William W
Is it available to buy ? :) From: emmanuel.boudrant [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts plugin for IBM WSED Date: Wed, 22 May 2002 15:59:04 +0200 (CEST) The applet ? yes ;) The plugins ?

Substitute struts:iterate and struts:property?

2002-05-22 Thread Hessing Ingo
Hello, within the description of struts.tld it says that among others the struts:iterate- and the struts:property-tags are now deprecated (Struts 1.0.2). That's why I'd like to substitute those tags in my application now. In this older example... struts:iterate id=cookie

Re: Struts plugin for IBM WSED

2002-05-22 Thread emmanuel.boudrant
No yet, we expected a release for Q3 2002. William W [EMAIL PROTECTED] a écrit : Is it available to buy ? :) From: emmanuel.boudrant Reply-To: Struts Users Mailing List To: Struts Users Mailing List Subject: Re: Struts plugin for IBM WSED Date: Wed, 22 May 2002 15:59:04 +0200 (CEST)

[ANNOUNCE] Struts Console v1.10

2002-05-22 Thread James Holmes
Struts Console version 1.10 is now available. http://www.jamesholmes.com/struts/ http://www.jamesholmes.com/struts/struts-console-1.10.zip This release adds more support for 1.1 config files and updates some of the help documentation. Changes with Struts Console v1.10 *) Added ability to

encoding

2002-05-22 Thread Nyári Gyõzõ
Hi! Can't set the page's encoding. I've already tried the %@ page contentType=text/html; charset=ISO-8859-2% and response.setContentType(text/html; charset=ISO-8859-2); Also the html:text can't deal with specific ISO-8859-2 characters. Although html:link seems to work... Anyone knows a work

RE: html taglib usage slooow

2002-05-22 Thread Wilson, Les J SI-FSIA
Hi Jeff, For what its worth, our experiences are a lot different to what have been mentioned. In one of our applications, we have an input jsp with around 50 (it varies per company) text input fields (all struts text tags displayed inside an iterate tag) and it displays in around a second -

Re: Struts plugin for IBM WSED

2002-05-22 Thread James Holmes
It's not available to buy yet or download. There is another product on the market now called Adalon from Synthis that seems to be an awesome tool for designing applications from a functional perspective. Adalon can then generate the basis for your application to run on Struts or other

RE: stuts-config.xml file

2002-05-22 Thread Soomar, Muki (R.)
..Anytime anyone wants to start work on a Struts 2.x specification that focussed on things like a class and element names and even overall infrastructure, I would be happy to post it on the Struts site for community review and improvement. .. Ted, It would be a great idea to start posting the

Multiple resources - how to configure

2002-05-22 Thread @Basebeans.com
Subject: Multiple resources - how to configure From: Uli [EMAIL PROTECTED] === Hi, I want to use multiple resource files in my web application but cannot find a way how to configure this. I can configure an application resource bundle in web.xml using an init-param to the action servlet but

RE: html taglib usage slooow

2002-05-22 Thread Greg.Reddin
Since this is your first Struts app, I suspect that you can't say for sure how it will perform on Tomcat or any other container. I'd suggest that you find out what your exact requirements are and then figure out what you'll need to properly address them. Here's the approach I would take: 1.

RE: Multiple resources - how to configure

2002-05-22 Thread Tero P Paananen
I want to use multiple resource files in my web application but cannot find a way how to configure this. To do something like this you could extend the org.apache.struts.util.MessageResources and org.apache.struts.util.MessageResourcesFactory classes and implement the functionality to read

Re: [ANNOUNCE] Struts Console v1.10

2002-05-22 Thread Cedric Dumoulin
Hello James, I have downloaded the previous version, and right now the latest one. I am interested to provide something similar to help Tiles design. Preferably in cooperation with existing tools like struts console ;-). Is there any plan to support Tiles ? If not, I am interested to try

RE: stuts-config.xml file

2002-05-22 Thread James Holmes
I think Ted was saying that if anyone would like to start working on 2.x spec that he would be happy to help by posting it to the website, etc. He is not saying that he is preparing one and posting it. Just so people don't get confused :) I would think that 2.x would likely be very influenced

RE: html taglib usage slooow

2002-05-22 Thread Jeff_Mychasiw
Thanks Les, That is reassuring, For your ammusment.. It was decided that was decided that the users would have the ability to create custom user levels and be able to control each data field and have it be edit/read-only or not shown. So all my fields will be duplicated and wrapped

RE: Multiple resources - how to configure

2002-05-22 Thread Galbreath, Mark
All I did to use multiple resource files was define them in struts-config: message-resources parameter=com.tessco.partner.vscon.web.ApplicationResources/ message-resources key=customerResources parameter=com.tessco.partner.vscon.web.CustomerResources / And identified them in the jsp by

Re: JSTL

2002-05-22 Thread Ted Husted
People are already using Struts with the JSTL, and many other JSP tag libraries. The great part about taglibs is that you can plug in whatever you need. Struts, JSTL, whatever. Its not an election of remedies. It's possible that we may need to expose some of the framework components

RE: html taglib usage slooow

2002-05-22 Thread Jeff_Mychasiw
Thanks Greg, I have begun the POC. The users want it as fast the power builder app that they are leaving behind, but know it will be a bit slower :-) Unfortunately, a profiler will not be an option here, so it will have to be System.currentTimeMillis() placed throughout. [EMAIL

Re: html taglib usage slooow

2002-05-22 Thread Ted Husted
Seems like I've seen posts where people say that switching to the IBM JVM can make a difference. [EMAIL PROTECTED] wrote: This topic comes up from time to time and it seems that I am never happy with the solution(s). There seems to be two main answers: 1 - do not use so many tags. 2 -

RE: html taglib usage slooow

2002-05-22 Thread Greg.Reddin
Unfortunately, a profiler will not be an option here, so it will have to be System.currentTimeMillis() placed throughout. I'd say that's acceptable. We do some of that as well. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Help: Problems attempting to migrate to nightly build from 1.0.2

2002-05-22 Thread Dan Rasmussen
Hi, We have been using Struts 1.0.2 for a while now without problem. Recently I decided I wanted to try the indexed tag for forms and found that I needed to use the nightly build to get this feature. I have attempted to install the nightly build in my application and ran into all sorts of

Re: Getting Weird Message From Application ResourcesProperties File

2002-05-22 Thread Yan Fei
i got same problem, don't know why. yan [EMAIL PROTECTED] 05/22/02 10:33AM For some reason when using the struts bean:message tag to get a message it then displays it on the screen has: null Test Message null It adds null to the start and end of my message ... Anyone else come across this

Re: Iterator Simple

2002-05-22 Thread Ted Husted
There is a bean:size tag that could help with this. But, it's possible that you might want to put any logic this complex into the object as a helper method. The object you are iterating should be able to tell you whether it is the last item or not and return that as a simple value you can test.

RE: Getting Weird Message From Application ResourcesProperties File

2002-05-22 Thread Homer, Christopher
I had this a while ago and think I fixed it by adding... errors.header= errors.footer= ...to the resource file. Chris -Original Message- From: Yan Fei [mailto:[EMAIL PROTECTED]] Sent: 22 May 2002 16:37 To: [EMAIL PROTECTED] Subject: Re: Getting Weird Message From Application

RE: Getting Weird Message From Application Resources Properties File

2002-05-22 Thread Knight, Digby
You need to add the following two lines to your applicationresources.properties file: errors.header=Text before error messages errors.footer=Text after error messages Digby -Original Message- From: Yan Fei [mailto:[EMAIL PROTECTED]] Sent: 22 May 2002 16:37 To: [EMAIL PROTECTED]

RE: [ANNOUNCE] Struts Console v1.10

2002-05-22 Thread Chappell, Simon P
I'm just about to try out the console, so I have no comments (yet! :-) on the functionality, but can I ask that you please put an extra directory level in the zip file so that when I unzip it, it goes into a directory under the current directory that I am in? All the Jakarta packages,

Re: Help: Problems attempting to migrate to nightly build from 1.0.2

2002-05-22 Thread Jonathan Fuerth
On Wed, May 22, 2002 at 08:35:12AM -0700, Dan Rasmussen wrote: I have attempted to install the nightly build in my application and ran into all sorts of problems that began with this message when I restart tomcat: MessageResourcesFactory.createFactory java.lang.ClassNotFoundException:

RE: [ANNOUNCE] Struts Console v1.10

2002-05-22 Thread James Holmes
Sounds fair enough. I was on the fence about this, because some people like to dictate their own destination directory instead of being *stuck* with the archive's chosen directory. However, I think you're right that most would probably prefer that I follow the Jakarta standard. I'll reupload

Re: ApplicationResources has gone missing

2002-05-22 Thread Jonathan Fuerth
On Tue, May 21, 2002 at 06:30:46PM -0400, Jonathan Fuerth wrote: But when we run the same codebase on: -Tomcat 4.0 with Sun JDK 1.4.0 on Sparc Solaris 8 We get the following exception: javax.servlet.jsp.JspException: Cannot find message resources under key

RE: [ANNOUNCE] Struts Console v1.10

2002-05-22 Thread Chappell, Simon P
Thanks. :-) While I catch you in a good mood ;-) ... have you thought of offering it in tar.gz format as well? We Unix/Linux heads like that. Simon - Simon P. Chappell [EMAIL PROTECTED] Java Programming

RE: encoding

2002-05-22 Thread CARDON Denis
Hi, Have you used the native2ascii tool on your ApplicationResource.properties file? See the following mail for more help: http://marc.theaimsgroup.com/?l=struts-userm=101619708011126w=2 Hope this solves your problem. Denis -Original Message- From: Nyári Gyõzõ [mailto:[EMAIL

RE: [ANNOUNCE] Struts Console v1.10

2002-05-22 Thread Soomar, Muki (R.)
James, I followed the instructions for plugging the tool into JBUILDER 5. However, dont have any instructions to use the tool as a Plug in. Do I have to open the struts-config.xml file in JBUILDER when the struts console will appear as a tab. I dont see that happening. Anything else I need to

Re: encoding

2002-05-22 Thread Nyári Gyõzõ
Thanks for the response but I take those data from DB, not from the ApplicationResource.properties file. Mojo CARDON Denis wrote: Hi, Have you used the native2ascii tool on your ApplicationResource.properties file? See the following mail for more help:

RE: Getting Weird Message From Application ResourcesProperties Fi le

2002-05-22 Thread Charlesworth, Chico
Cheers, works like a dream ... Chico. -Original Message- From: Homer, Christopher [mailto:[EMAIL PROTECTED]] Sent: 22 May 2002 16:40 To: 'Struts Users Mailing List' Subject: RE: Getting Weird Message From Application ResourcesProperties Fi le I had this a while ago and think I fixed

RE: html:text indexed gotcha

2002-05-22 Thread Galbreath, Mark
No, but it violates XHTML 1.0. BTW: I finally gave up on the indexed attribute of html:text and simply parse out the array elements in the action. It worked as far as outputting the textboxes and their respective values on the form, and gave each a unique name based on the iterator index, but

RE: Struts plugin for IBM WSED

2002-05-22 Thread Garg, Sanjay
Is the plugin going to be available for WSAD too. Are they going to integrate 1.1 version of Struts or 1.0.2 with the final release. Thanks, Sanjay -Original Message- From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 10:31 AM To: Struts Users Mailing List

html:options must be enclosed within html:select

2002-05-22 Thread dhay
Anyone know why this is the case - ie why html:options won't accept a regular html select tag to be enclosed in? Makes it very frustrating when you don't care about value of select when it's submitted, but want to use html:options for speed to display a collection. You have to add a dummy

Re: Help with JDBC Connection Pool

2002-05-22 Thread Mark Johnson
I had difficulty getting this working under 1.02, too, but now have it working with BasicDataSource under a nightly build. If you are interested, I can send sample config and code which works under struts-20020520. from [EMAIL PROTECTED]: Hi, I'm using struts 1.02 (which is the latest stabel

Re: (error) tiles-blank-struts1-1.war

2002-05-22 Thread Mark Johnson
Yes, struts-tiles.war runs fine. So does a little app I've written to study tiles; except I had to hack the problem I described (in a separate message) overriding TilesRequestProcessor. Although I haven't yet been able to get inheritance working in my little app ... Doesn't seem like it should

RE: Help with JDBC Connection Pool

2002-05-22 Thread Soomar, Muki (R.)
Mark, Can you post it or send it to me as well. I am looking for examples to do that as well. Thanks much. Regards, Muki Soomar -Original Message- From: Mark Johnson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: Re: Help with JDBC

RE: [ANNOUNCE] Struts Console v1.10

2002-05-22 Thread Soomar, Muki (R.)
James, Its working fine. Apologize for the false alarm. Will provide you my feed back. Thanks. Muki Soomar -Original Message- From: Soomar, Muki (R.) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 12:18 PM To: 'Struts Users Mailing List' Subject: RE: [ANNOUNCE] Struts Console

PLEASE HELP!!!

2002-05-22 Thread Juan Alvarado \(Struts List\)
Folks I know this is not that relevant to this list, but I am somewhat desperate and after looking everywhere, the last place I could turn to is this list. My problem is the following. I deployed a web app in iPlanet web server 6 and i've put my .properties files in WEB-INF/classes of my app.

RE: PLEASE HELP!!!

2002-05-22 Thread Galbreath, Mark
Did you try: http://softwareforum.sun.com/servlet/ProcessRequest?RHIVEID=181RPAGEID=2UC ATEGORY_0=_24UCATEGORY_S=0 ? iPlanet is now the Sun ONE Application Server. Mark -Original Message- From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 1:20

RE: PLEASE HELP!!!

2002-05-22 Thread Juan Alvarado \(Struts List\)
Yes, I tried that and there is already a posting about the same problem I am having. No reply though!!! To anyone who listens, I would highly recommend you NEVER go with iplanet. It is worthless. I am not just saying it because of this particular problem. We've had many others Thanks

RE: PLEASE HELP!!!

2002-05-22 Thread Galbreath, Mark
Sorry, dude...just trying to help. I don't know a thing about iPlanet. Mark -Original Message- From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 1:37 PM Yes, I tried that and there is already a posting about the same problem I am having. No

RE: PLEASE HELP!!!

2002-05-22 Thread Juan Alvarado \(Struts List\)
I'ts okay man don't worry about it. One thing you should know about iPlanet is: Don't use it :) ** Juan Alvarado Internet Developer -- Manduca Management (786)552-0504 [EMAIL PROTECTED] AOL Instant Messenger: [EMAIL PROTECTED] -Original

RE: PLEASE HELP!!!

2002-05-22 Thread Dan Cancro
Could you elaborate on the problems you've had? Thanks, Dan -Original Message- From: Juan Alvarado (Struts List) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 10:44 AM To: Struts Users Mailing List Subject: RE: PLEASE HELP!!! I'ts okay man don't worry about it. One

[ANN] Chapter 10 - Exception Handling posted on TSS

2002-05-22 Thread struts-user
I've posted Chapter 10, which covers exception handling within Struts applications, on theserverside.com. Although the next chapter should have been 7, I had written this one awhile back and decided to go ahead and get it posted. I should be finished with 7 this weekend and will post it

Struts + Tiles: Design Question

2002-05-22 Thread Sri Sankaran
Struts version: 1.0.2 Servlet engine: Tomcat 4.0.2 I am trying to build a wizard framework using Tiles. It follows the standard Windows wizard metaphor with a body panel and navigation buttons below. I am running into a problem and would like any opinions/suggestions. A logical use of Tiles

RE: html:options must be enclosed within html:select

2002-05-22 Thread JM
Have you looked at the source for OptionTag yet? The first thing it does is check for a SelectTag in the pageContext. I believe it is forcing this because it needs to know if it should render it as selected. If you need the functionality of Options, but need to write your own select, I would

Re: Struts + Tiles: Design Question

2002-05-22 Thread Graham Lounder
Just a quick suggestion. Couldn't you use javascript in your nav.jsp to submit the form in the intro.jsp? Or do you need form fields in the nav.jsp? Graham - Original Message - From: Sri Sankaran [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 22, 2002 2:53 PM Subject:

RE: PLEASE HELP!!!

2002-05-22 Thread Juan Alvarado \(Struts List\)
Folks I apologize. After looking at my own code carefully I realized my mistake: ResourceBundle res = ResourceBundle.getBundle(Trivia.properties); Shoud be: ResourceBundle res = ResourceBundle.getBundle(Trivia); Again I apologize to all those people who responded and offered help.

RE: [ANNOUNCE] Struts Console v1.10

2002-05-22 Thread James Holmes
I always encourage feedback and suggestions for new functionality and consider all ideas. Actually, I'm a UNIX/Linux person myself, but opted for the zip format since you can use it on many platforms. I just checked my hosting account and I have room to start hosting two versions. I'll put a

How do you handle multiple jsp directories?

2002-05-22 Thread andrew . cochrane
I have a very large system (170 jsps) and want to split the jsps into multiple directories for organization. This causes problems with the directory prefix of the current page being added to the path of the next page you're looking for. Is there a trick to setting up the struts-config file

RE: Struts + Tiles: Design Question

2002-05-22 Thread Sri Sankaran
Graham: JavaScript does present an alternative. The problem I have with JavaScript in the Struts context is that it tightly couples the contents of the struts-config to the JSP. For example, to submit the form, you have to know the name of the form (unless you have just one or can make

Struts 1.1 DB sample post

2002-05-22 Thread @Basebeans.com
Subject: Struts 1.1 DB sample post From: Vic C [EMAIL PROTECTED] === I have posted a upgraded Struts 1.1 DB sample at StrutsPlus.com. (also the host of news.baseBeans.com news groups) Changes to the webPIM app include: It uses new Struts jars, with patches to do Validation and multi row

RE: html:options must be enclosed within html:select

2002-05-22 Thread dhay
No, haven't looked yet. Problem with logic:iterate creating upwards of 1000 options is that it is VERY slow! Cheers, Dave JM [EMAIL PROTECTED] on 05/22/2002 02:00:22 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

html:submit causes errors with javascript form submit

2002-05-22 Thread Gary Bartlett
Just curious - does anybody use the html:submit tag, or do folks generally just use the standard input type=submit tag. The reason I ask is that html:submit does not allow you to specify the name of the button - and as a result all buttons generated with that tag are named 'submit'. This

Re: Multiple Data Sources

2002-05-22 Thread Adam Hardy
Hi Regis, I can't help but I'm curious about what you are doing with data-source tags in struts-config. What class is findDataSource on and what does this call return? Adam Régis Melo wrote: Hi everybody, How can I set two datasources in the struts.config.xml and tell the datasource that i

RE: html:submit causes errors with javascript form submit

2002-05-22 Thread Sri Sankaran
Whatever you set the 'property' attribute of the html:submit is translated to the 'name' attribute of the resulting input type=submit tag. Sri -Original Message- From: Gary Bartlett [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 3:17 PM To: StrutsUser Maillist Subject:

Re: Help: Problems attempting to migrate to nightly build from 1.0.2

2002-05-22 Thread Dan Rasmussen
--- Jonathan Fuerth [EMAIL PROTECTED] wrote: Some of the struts utility classes have been moved out of struts.jar ant into the commons-*.jar archives. Have you downloaded those and placed them in your WEB-INF/lib directory along with struts.jar? Yes, I grabbed all of the jar files from

RE: html:submit causes errors with javascript form submit

2002-05-22 Thread Gary Bartlett
Thanks, I didn't realize that property translated into the name attribute. GB --- Sri Sankaran [EMAIL PROTECTED] wrote: Whatever you set the 'property' attribute of the html:submit is translated to the 'name' attribute of the resulting input type=submit tag. Sri -Original

Re: problem diplaying on the fly generated PDF files within IE

2002-05-22 Thread Martin Kuypers
Björn it doesn't work i keep only getting the ascii output see a piece below Martin %PDF-1.3 %ª«¬­ 1 0 obj /Type /Catalog /Pages 2 0 R endobj 2 0 obj /Type /Pages /Count 7 /Kids [20 0 R 22 0 R 24 0 R 26 0 R 28 0 R 30 0 R 32 0 R ] endobj 3 0 obj /Type /Info /Producer (FOP 0.16.0 DEV)

RE: Multiple Data Sources

2002-05-22 Thread Zeltser, Mark
Do not use set property tag. Assign each value directly (e.g. key=ds1) Mark. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 3:19 PM To: Struts Users Mailing List Subject: Re: Multiple Data Sources Hi Regis, I can't help but I'm curious

RE: html:submit causes errors with javascript form submit

2002-05-22 Thread Steel, Toby
I think this is a result of browser confusion between an element named 'submit' (the element produced by an html:submit without a property attribute) and the function form.submit(); When using html:submit always specify a property. Then you can have a named request parameter to process.

jsp:include - Illegal to flush within a custom tag

2002-05-22 Thread mtStruts
Hi Struts Users, Why does the compiler think that my jsp:include is a custom tag? My include tag in the body of my JSP appears below: jsp:include page=/jsp/fileName.jsp flush=true jsp:param name=a value=0/ jsp:param name=b value=0/ /jsp:include I'm getting the Illegal to flush within

Java Script Reset

2002-05-22 Thread sanjeev_dutt
Hi All, I need some help in Java script. The situation is such that I need to reset a form using only Java Script. I am doing something like this: function fnResetFormAcct() { document.searchAcctForm.txtAcctIDAccountNo.value = ; document.searchAcctForm.txtAcctIDProduct.value = ;

Struts Checkbox

2002-05-22 Thread sanjeev_dutt
Hi All, I have a checkbox in my form : html:checkbox tabindex=38 property=chkAcctOldThan value=TRUE/nbsp;Show ALSO those accounts that are older than 10 days./td Can I reset this ( I mean uncheck , if it was checked ) using a Java Script function ? If yes, how ? TIA, Sanjeev -- To

Freeze configuration later?

2002-05-22 Thread @Basebeans.com
Subject: Freeze configuration later? From: Chris Seekamp [EMAIL PROTECTED] === The configuration is frozen as soon as the struts-config.xml is processed (when ActionServlet.initApplicationConfig finishes) . Since I think plugins are intended to allow you to extend Struts, I was wondering if it

RE: How do you handle multiple jsp directories?

2002-05-22 Thread andrew . cochrane
Hi Adam, I've got my jsps in the structure (relative to the root): /jsp/group1 group1jsp.jsp /jsp/group2 group2jsp.jsp !-- group 2 page action -- action path=/group2action type=com.telemac.advantage.taac.action.Group2Action name=group2Form input=/jsp/group2/group2jsp.jsp

RE: Struts Checkbox

2002-05-22 Thread Mannem, Taati
Sanjeev, Here is the code unction callme() { if(document.forms[0].checktest.checked) { document.forms[0].checktest.checked=false; } } html:checkbox tabindex=38 property=checktest value=TRUE/ onclick=callme() HTH Regards, Taati -Original Message- From: sanjeev_dutt [SMTP:[EMAIL

RE: Struts Checkbox

2002-05-22 Thread Mannem, Taati
An addendum script function callme() { if(document.forms[0].checktest.checked) { document.forms[0].checktest.checked=false; } } /script Regards, Taati -Original Message- From: Mannem, Taati [SMTP:[EMAIL PROTECTED]] Sent:

Re: How do you handle multiple jsp directories?

2002-05-22 Thread Adam Hardy
My action mapping is the same as yours - see the html:link though, perhaps you need the / before the *.do html:link page=/beginQuestionSet.do name=optionForm property=setListQueryString bean:message key=option.link.questionSet/ /html:link [EMAIL PROTECTED] wrote: Hi Adam, I've

  1   2   >