Re: Iterate tag with ResultSet Example

2003-01-05 Thread V. Cekvenich
If you want (updetable) multi row working sample, here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/portlets/cms/ContentApprovePortlet.jsp?rev=1.7content-type=text/vnd.viewcvs-markup Same link has the bean and dao and other common things. .V Mervin Williams

Re: Iterate tag with ResultSet Example

2003-01-05 Thread David Graham
ResultSet objects should never be passed to JSPs because they maintain an open database connection. Move your data to value beans or RowSet before passing to a JSP. David From: Mervin Williams [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Altering html:form focus property

2003-01-05 Thread David Graham
I don't understand the question. Have you checked the user's guide? http://jakarta.apache.org/struts/userGuide/struts-html.html#form David From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Altering html:form focus property Date:

What are the new feautures of struts-b3?

2003-01-05 Thread Zsolt Koppany
Hi, what are the new features in b3 since b2? I cannot find them in the release notes! -- Zsolt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: What are the new feautures of struts-b3?

2003-01-05 Thread Arik Levin ( Tikal )
Details of the changes in this release are available in the Release Notes, which can be found here: http://jakarta.apache.org/struts/userGuide/release-notes-1.1-b3.html -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 5:50 PM To: [EMAIL

a couple of questions

2003-01-05 Thread Yan Zhu
hey guys, using struts 1.1 beta 3 here with tomcat 4.1.18. pretty much a newbie with struts ... first of all, I am trying to use ActionError to create some error messages during validation. is there anyway to customize your error message instead of getting from the resource file?

B2 to B3 Upgrade

2003-01-05 Thread chris . cranford
We upgraded our instance from struts 1.1b2 to b3 and the SimpleLog logging we had turned on just stopped. Does anyone have any suggestions on what I should check or do to get it turned back on? Chris -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: What are the new feautures of struts-b3?

2003-01-05 Thread Zsolt Koppany
As far as I understand, the url below contains the changes since 1.0 and not since 1-1-b2. Am I right? Zsolt On Sun, 2003-01-05 at 16:57, Arik Levin ( Tikal ) wrote: Details of the changes in this release are available in the Release Notes, which can be found here:

RE: What are the new feautures of struts-b3?

2003-01-05 Thread Arik Levin ( Tikal )
Read it instead of all these questions... It says and I quotes: This section contains the release notes for nightly build of the Struts Framework, for changes that have taken place since Version 1.1 beta 2 was released... -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]

RE: What are the new feautures of struts-b3?

2003-01-05 Thread Arik Levin ( Tikal )
.. and there's more: ...The remainder of this document contains the release notes for nightly build of the Struts Framework, and covers changes that have taken place since Version 1.0.2 was released. The following sections cover New Features and Changes to Struts. Do you want me to stop?

Re: a couple of questions

2003-01-05 Thread Joseph Fifield
I extended the ErrorsTag to add a feature very similar to this, for a slightly different reason. I wanted to display all global errors at the top of the screen, and all field specific errors below it's respective form field. However, for this to look right, I needed a different set of prefixes and

RE: What are the new feautures of struts-b3?

2003-01-05 Thread Zsolt Koppany
Arik, I did find that section but that contains only three items under Beta Fixes and I thought more has been done since b2, because b2 was released a couple of months ago. Zsolt On Sun, 2003-01-05 at 17:18, Arik Levin ( Tikal ) wrote: .. and there's more: ...The remainder of this document

RE: What are the new feautures of struts-b3?

2003-01-05 Thread Arik Levin ( Tikal )
What exactly are you looking for, maybe I can help. You can also query http://issues.apache.org/bugzilla/query.cgi And find all the fixes. -Original Message- From: Zsolt Koppany [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 6:50 PM To: Struts Users Mailing List Subject: RE:

[ANNOUNCE] StrutsTestCase v1.9.5 Released

2003-01-05 Thread Deryl Seale
StrutsTestCase v1.9.5 improves support for Struts 1.1b3 (including support for testing Tiles and sub-applications), provides several requested enhancements, and fixes many reported defects. The project home page can be found here: http://strutstestcase.sourceforge.net Notes for this release

Validator with Map-backed forms

2003-01-05 Thread Max Kremer
Hi, I've asked this question before but so far haven't received any feedback on this subject: Is there any way to use the Validator with map-backed Action Forms? I'm currently using Map-backed forms to manage forms that are dynamically created from a database, where the number of fields, their

RE: Validator with Map-backed forms

2003-01-05 Thread Arik Levin ( Tikal )
Hi Max Kremer. How much you are willing to pay ;) -Original Message- From: Max Kremer [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 8:34 PM To: Struts Users Mailing List Subject: Validator with Map-backed forms Hi, I've asked this question before but so far haven't

Re: Validator with Map-backed forms

2003-01-05 Thread Max Kremer
I wish I could pay but I'm broke. However, if had the cash I would millions $$$ :-) But if you could help I would be most grateful. - Original Message - From: Arik Levin ( Tikal ) [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Sunday, January 05, 2003 1:50

Re: Tiles with Struts1.0.2

2003-01-05 Thread Cedric Dumoulin
Hi, You can use Tiles with Struts1.0.x. You need to download a jar file containing the Tiles and compiled with Struts1.0.x. You can find it in the tiles distribution from: http://www.lifl.fr/~dumoulin/tiles/ (mirror) http://www.geocities.com/cedricdumoulin//tiles/ The jar file is named

Re: line breaks

2003-01-05 Thread Max Kremer
I use SQL server to populate TEXTAREAs from the DB and update the DB as well. I'm using the html:textarea struts tag to accomplish this, and I'm not experiencing any problems. If I understand your message correctly you're saying that the string value is not coming directly from the DB but from

extending ActionMappings in Struts 1.1 ?

2003-01-05 Thread javaenterprisecoder [EMAIL PROTECTED]
How do i deploy an extended ActionMapping in Struts 1.1 ? i.e. a class derived from org.apache.struts.action.ActionMapping with additional fields for properties set by set-property/ tags in my struts-config.xml file. With Struts 1.0 this was working fine by declaring a init-param

getting a datasource in a bean

2003-01-05 Thread Nick Torenvliet
Hi, Just as in the examples on the struts site I've succesfully configured a mysql datasource and had it print the results of queries from out of an action class. I am using struts 1.1-b2. I want to replace my current dbpooling(I wrote last year)with the struts datasource and dbcp, I am having

Re: extending ActionMappings in Struts 1.1 ?

2003-01-05 Thread Max Kremer
Hi, In struts 1.1 its not longer a deployment descriptor in the web.xml, its configured as an attribute to the action-mappings element in the struts config file. Check the 1.1 docs, it should be in there - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday,

Re: getting a datasource in a bean

2003-01-05 Thread Max Kremer
You can just look up the JNDI datasource in your bean. - Original Message - From: Nick Torenvliet [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 05, 2003 4:51 PM Subject: getting a datasource in a bean Hi, Just as in the examples on the struts site I've succesfully

Re: Iterate tag with ResultSet Example

2003-01-05 Thread Craig R. McClanahan
On Sat, 4 Jan 2003, Mervin Williams wrote: Date: Sat, 4 Jan 2003 19:27:48 -0600 From: Mervin Williams [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Iterate tag with ResultSet Example Can someone please

DynaFormValidator Javascript Problem with multiple forms

2003-01-05 Thread Mark Chaimungkalanont
Hi all, I have 3 forms on my page each having a field that is required. The validation stores these fields in an that can be obtained by caliing by required(). Unfortunately, my 3 html:javascript formName=blah1/ html:javascript formName=blah2/ html:javascript formName=blah3/ produces 3

Re: getting a datasource in a bean

2003-01-05 Thread Nick Torenvliet
Sounds like a plan,I've never worked with javax.naming packages before though, I've got the following datasource data-source type=org.apache.commons.dbcp.BasicDataSource key=FIELDSTONE set-property property=autoCommit value=false/ set-property

Re: getting a datasource in a bean

2003-01-05 Thread Craig R. McClanahan
Using the data-source element in your struts-config.xml file does *not* support the use of JNDI to retrieve it. JNDI is only used for data sources managed by your container. For Tomcat 4.1, for example, see: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html

SSLext Struts-1.1-b2

2003-01-05 Thread Steve Vanspall
Hi there. I am going to be as precise as I can with this one. I have been having this problem for a while now, and as yet, no solution. I am converting my web-app to use SSL for some of the pages. I use Steve Ditlinger's SSL extension. I am using Struts 1.1 B2 and Tomcat 4.1.18 (just

SSLext Struts-1.1-b2 - Addition

2003-01-05 Thread Steve Vanspall
Just a quick add-on It seems the site remain secure even If I don't continue to use the sslext:form tag. I assume it is secure. New to ssl. As long as the little padlock in the corner appears locked (IE 5.x), does that mean the information sent and recevied is encrypted. Therefore, do I not

Re: line breaks

2003-01-05 Thread Affan Qureshi
No its coming from a DB. But the DB gets its values from Swing tool. The chain is: Swing-Oracle-XML-MySQL-WebApp (Struts) Thanks Affan - Original Message - From: Max Kremer [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, January 06, 2003 1:31 AM Subject:

ModelJ - open-source EJB/Struts code generator for JBoss 3.x released

2003-01-05 Thread Tom Tessier
http://modelj.sourceforge.net ModelJ is an open-source RAD (Rapid Application Development) tool that uses code generation to create complete J2EE applications using the Struts and EJB frameworks. With ModelJ, one is only a few steps away from a database-driven web site readily deployable to

ActionMapping, struts-config and custom attributes

2003-01-05 Thread Steve Vanspall
Hi there, Me again. Is there a way to set a custom attribute for an action mapping, then retrieve that attribute through the ActionMapping class? I am using Struts 1.1-b2 Regards Steve Vanspall -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

PrePopulation of FormBean Values

2003-01-05 Thread ashokd
Hi, How to propopulate the Form values in a Form (which is using the Struts FormBean) The scope of the FormBean is request. Please provide an example on this. Thanks in Advance, Ashok.D -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: ActionMapping, struts-config and custom attributes

2003-01-05 Thread David M. Karr
Steve == Steve Vanspall [EMAIL PROTECTED] writes: Steve Is there a way to set a custom attribute for an action mapping, then Steve retrieve that attribute through the ActionMapping class? Steve I am using Struts 1.1-b2 It appears there's two ways to do this. You can get a hint

Re: PrePopulation of FormBean Values

2003-01-05 Thread Affan Qureshi
This has been asked many times before as well. In Action before forwarding to the JSP: MyBean bean = new MyBean(); bean.setMyAttribute(my value from somwhere); request.setAttribute(formBeanNameInStrutsConfig , bean); - Original Message - From: ashokd [EMAIL PROTECTED] To: Struts Users

Setting chehckbox state for DynActionForm

2003-01-05 Thread Affan Qureshi
I want to set checkbox states for properties of a DynaActionForm. What values and types should I set for form bean defs in struts-config? What values should I get in Action after submitting the form? I have tried setting property types to java.lang.String, boolean and java.lang.Boolean type. It