Re: disable enter key functionality

2006-10-27 Thread Richard Yee
Fea, You need to add this javascript function to your form jsp files (or template) function noenter() { return !(window.event && window.event.keyCode == 13); } and then add an onkeypress attribute to your text input fields that looks like this: onkeypress="return noenter();" -R fea j

Session tracking in struts?

2006-10-27 Thread Mallik
HI friends In my application i want to test session valid or not before affaring any service to the user. that means, once the user logon, i will maintain a session and for any request thenafter upto logout i need to test that session is valid, otherwise i need to display sessionExpire page and re

Include oscore.jar in Struts 2 distribution?

2006-10-27 Thread wolverine my
Hi! http://cwiki.apache.org/WW/simple-setup.html listed the minimum set of libraries and configuration files. I can find almost all the libraries in struts-2.0.1-lib.zip except oscore.jar. Do you think we should bundle oscore.jar into Struts 2 distribution file as well?

Re: Reload MessageResources

2006-10-27 Thread Laurie Harper
[EMAIL PROTECTED] wrote: Hello, I'm developing a struts (1.2) application and wanted to add some administration tasks. One that I'd like to have is the possibility to reload MessageResources. I already defined my own MessageResourcesFactory and PropertyMessageResources but I can't figure out h

Re: Retain Form Bean

2006-10-27 Thread Laurie Harper
Puneet Lakhina wrote: hi, I have the following scenario. I have a form that takes certain input. This in effect goes through certain validations. Now what I want to do is in case of validation errors a seprarte page is displayed that lists all the errors, and asks the user to continue submittin

Re: Several inputs for an action

2006-10-27 Thread Laurie Harper
Joel Espinosa wrote: Hi, I'm usign struts 1.2 and I want to use validator framework for and action that makes the CRUD operations for a bean, I want to know if its possible to have 2 or more input forms for this action, that's beacuse I want to personalise the HTML code of each input form but

Re: getting the values of Textfields without Struts

2006-10-27 Thread Laurie Harper
starki78 wrote: Ciao, I've a jsp with text-fields (having the same name) which shall be filled and submitted to the same jsp again. Now we cannot use struts, with it's html:hidden and ActionForms feature but we ask how to access the values of these input-fields (e.g. getting the values in a St

Re: Too many moving parts in Tiles

2006-10-27 Thread Laurie Harper
All I can tell you is I prefer not to have 2-line JSPs, that Tiles+Struts supports putting the equivalent definitions into tiles-defs.xml instead and pointing an action at the appropriate definition, and that I've done it that way in every Struts app I've ever built using Tiles. Here's an exa

RE: DisplayTag Library

2006-10-27 Thread David Friedman
Take a look at this example where the displaytag table at the bottom of the page shows you just type it in there: http://demo.appfuse.org/appfuse/demos/users-edit.jsp In case you were wondering, I used the words "displaytag editable table" in a search engine to find the page (but yes, I had a head

Re: Download Struts 2 distribution?

2006-10-27 Thread Wendy Smoak
On 10/27/06, wolverine my <[EMAIL PROTECTED]> wrote: May I know where to download Struts 2 distribution? I'm having difficulty to download Struts 2. .. Did I miss out anything? Just the untimely demise of a server. We haven't quite recovered yet. Ted mentioned earlier this week that he put

Download Struts 2 distribution?

2006-10-27 Thread wolverine my
Hi! May I know where to download Struts 2 distribution? I'm having difficulty to download Struts 2. The Struts 2 tutorial points me to the download page at http://struts.apache.org/downloads.html. However, the page does not seem to have any link for Struts 2 (?) except the snapshot builds of Str

DisplayTag Library

2006-10-27 Thread Uday Karrothi
Hi guys, I am not sure if a similar discussion was ever held. What is the verdict on DisplayTag library. *http://displaytag*.sourceforge.net Can it be easily modified to include buttons and checkboxes etc instead of jsut tables. I am really keen on using the paging functionality. But the grid sho

Re: JDeveloper-EJB Verifier

2006-10-27 Thread Martin Gainty
yep..was there in 9 but not in 10 as a consolation you can validate your ejb-jar.xml at http://www.w3.org/2001/03/webdata/xsv#hlp-check did you ask the folks at oracle ? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the desig

Re: Struts2 Basic Questions

2006-10-27 Thread Ted Husted
The wiki's up now (thanks Don!) But, * http://cwiki.apache.org/WW/migration-guide.html was also available throughout the outage. This link goes to the real-time export of the wiki, which we prefer people refer to first, for scalability reasons. -Ted. On 10/27/06, Wesslan <[EMAIL PROTECTED]> w

JDeveloper-EJB Verifier

2006-10-27 Thread Daniel Chacón Sánchez
Someone can tell me how use the EJB Verifier in JDeveloper 10.1.3.0.4, I used that in previous versions but I didn´t found how to used that facility in this version. In previous versions you right click the EJB and then click on "Verify Bean", but now how can I do that??

Strecks (Struts extensions for Java 5) version 1.0 released

2006-10-27 Thread Phil Zoio
I'm pleased to announce the release of Strecks 1.0. Strecks is a set of Java 5-specific extensions to the original Struts framework. Making heavy use of Java 5 annotations, it adds a number of modern features to Struts-based applications, including POJO actions, dependency injection, declarati

Tomcat logger class

2006-10-27 Thread Ping Yu
People in the list, What is the name of the logger class in Tomcat? Is it org.aparche.catalina, or something else? Thank you! I have a path called /movieEditActions in the struts.xml, but I didn't have corresponding webpage to it. When I request it, an exception happens, shown belo

RE: On enter from input field getting: does not contain handler parameter error

2006-10-27 Thread fea jabi
Here is the solution for this. http://frustratedprogrammer.blogspot.com/2004/07/ie-bug-and-struts-forms-with-one-input.html Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: On enter from input field getting: does not conta

Re: ActionMessage and severity level

2006-10-27 Thread Niall Pemberton
On 10/27/06, Zmitko, Jan <[EMAIL PROTECTED]> wrote: Hi, I´ll implement handling of messages which allowes me to differ beetween miscellaneous kinds of message types. An example for an application is, that these different kind of messages should have different varying format in the GUI. Becau

ActionMessage and severity level

2006-10-27 Thread Zmitko, Jan
Hi, I´ll implement handling of messages which allowes me to differ beetween miscellaneous kinds of message types. An example for an application is, that these different kind of messages should have different varying format in the GUI. Because the struts framework doesn´t provide this feature,

[OT][Friday] Free Struts Seminar with James Holmes

2006-10-27 Thread Lauren Clegg
[OT][Friday] Free Struts Session - London Skills Matter, the Open Source Technology training company, is hosting a free In-the-Brain session featuring James Holmes, Struts project committer, creator of Struts Console and author of Struts: The Complete Reference Guide. During this session Ja

Re: Struts 1.3.5 build

2006-10-27 Thread Martin Gainty
Hi Sean Re-factoring a pom into build.xml? From what Ive seen thus far maven2 treats ant tasks as throwaway tasks 'wrapped' as a plugin there also seems to be a bit of a wrestling match with respect to handling the number of repository configurations with respect to repositories such as localRep

Re: Struts 1.3.5 build

2006-10-27 Thread Li
you can build with ant ... maven 2 is easier On 10/27/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 10/27/06, O'Shea, Sean wrote: > Is it possible to build the struts core package using ANT? I'd prefer to > stay with ANT rather than introduce Maven 2 into my build. I haven't tried to use the

Re: Struts 1.3.5 build

2006-10-27 Thread Wendy Smoak
On 10/27/06, O'Shea, Sean wrote: Is it possible to build the struts core package using ANT? I'd prefer to stay with ANT rather than introduce Maven 2 into my build. I haven't tried to use the files it generates, but Maven can generate Ant build files: $ mvn ant:ant Maybe that will get you s

Struts 1.3.5 build

2006-10-27 Thread O'Shea, Sean
Hi there, I'm investigating into how I can migrate from struts 1.2.9 to struts 1.3.5. I've checked out the release notes at http://struts.apache.org/1.x/userGuide/release-notes.html and I notice that the entire struts distribution is now built using Maven 2. I was previously using ANT to build st

Re: URL-Rewriting suddenly doesn't work any more

2006-10-27 Thread Martin Gainty
Andreas- Set to true if you want cookies to be used for session identifier communication if supported by the client (this is the default). Set to false if you want to disable the use of cookies for session identifier communication, and rely only on URL rewriting by the application. --so when

Re: Tags nested

2006-10-27 Thread Ed Griebel
Or in a JSP 1.0 environment, use the EL Struts libraries: wrote: Juanjo Cuadrado wrote: > > > I think that JSP spec firbids this. The inner ${dataQueries.name} -- Mikolaj Rydzewski <[EMAIL PROTECTED]> - To unsubscr

Re: Tags nested

2006-10-27 Thread Mikolaj Rydzewski
Juanjo Cuadrado wrote: I think that JSP spec firbids this. The inner ${dataQueries.name} -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature

On enter from input field getting: does not contain handler parameter error

2006-10-27 Thread fea jabi
type="org.apache.struts.validator.DynaValidatorForm"> redirect="false"/> redirect="true"/> IN JSP:

Tags nested

2006-10-27 Thread Juanjo Cuadrado
Hi, Can`t I use this?

RE: Struts2 Basic Questions

2006-10-27 Thread Wesslan
The switch from Webwork 2.2 to Struts 2 is almost painless. Have a look at http://cwiki.apache.org/confluence/display/WW/Migration+Guide (seems to down for the moment) or http://forums.opensymphony.com/thread.jspa?threadID=44773 for the steps involved. I know/guess you haven't an application that u

[STRUTS2] XSLTResult ERROR

2006-10-27 Thread Kimus Linuxus
Hi, I'm using the xslt resut type and I cant use xsl:include, xsl:import, or document()! I have a main,xsl file that includes another xsl in the same directory. And gives me the following error: ERROR: '/home/share/software/develop/eclipse/variables.xsl (No such file or directory)' FATAL ERROR:

Re: Struts2 Basic Questions

2006-10-27 Thread Ted Husted
Yes. The exact changes between WW2 and S2 are detailed in the Struts 2.0.0 release notes. -T. On 10/27/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: So basically not to beat a dead horse ...if I learn WebWork2 and get through the WebWork in Action then I should easily be able to pick up on Strut

Re: Struts2 Basic Questions

2006-10-27 Thread Jim Reynolds
So basically not to beat a dead horse ...if I learn WebWork2 and get through the WebWork in Action then I should easily be able to pick up on Struts2 without much issue? On 10/26/06, Don Brown <[EMAIL PROTECTED]> wrote: Correct on all accounts :) Don On 10/26/06, Mark Menard <[EMAIL PROTECTE

URL-Rewriting suddenly doesn't work any more

2006-10-27 Thread Andreas . Hartmann
Hello! I've got a very strange problem: I have activated URL-rewriting in webapps/application/META-INF/context.xml with . This has been working fine until today. Suddenly, the server doesn't rewrite the URL's no more - there is no jession-id sent with the URL. Does anybody have a hint where to l

Re: unit testing struts actions

2006-10-27 Thread Ted Husted
On 10/26/06, Asthana, Rahul <[EMAIL PROTECTED]> wrote: We are thinking of designing a unit test plan for our struts based application. We have found in past that Junits for struts action are cumbersome to write and difficult to maintain.Any other suggestions? Winrunner? First, push as much bu

RE: ITERATOR

2006-10-27 Thread Juan Espinosa
I could do the task i use -Mensaje original- De: James Mitchell [mailto:[EMAIL PROTECTED] Enviado el: Viernes, 27 de Octubre de 2006 08:43 a.m. Para: Struts Users Mailing List Asunto: Re: ITERATOR What tag library are you using? "s:" could be anything. -- James Mitchell 678.910.

Re: ITERATOR

2006-10-27 Thread James Mitchell
What tag library are you using? "s:" could be anything. -- James Mitchell 678.910.8017 On Oct 25, 2006, at 3:12 PM, Juan Espinosa wrote: hi anyone know how to iterato over a object that is in the application object (not in the session) im using s:iterate, im searching for a parameter like

Retain Form Bean

2006-10-27 Thread Puneet Lakhina
hi, I have the following scenario. I have a form that takes certain input. This in effect goes through certain validations. Now what I want to do is in case of validation errors a seprarte page is displayed that lists all the errors, and asks the user to continue submitting the data ignoring the e

Re: Struts1.3.5 error

2006-10-27 Thread Phil Zoio
I saw this problem too - I think the package of the UseAttributeTei changed. I fixed it by using following prefix in your page: <%@ taglib prefix="tiles" uri="http://struts.apache.org/tags-tiles"; %> [EMAIL PROTECTED] wrote: Hi, I was using struts1.2.9 previously , every thing worked fine.

RE: How to make dropdown box editable.

2006-10-27 Thread zhang xiao
I think you should use it with javascript From: <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: Subject: How to make dropdown box editable. Date: Thu, 26 Oct 2006 18:59:39 +0530 Hi all, I have requirement where in I want drop down box to be editable. Is this possible using st

getting the values of Textfields without Struts

2006-10-27 Thread starki78
Ciao, I've a jsp with text-fields (having the same name) which shall be filled and submitted to the same jsp again. Now we cannot use struts, with it's html:hidden and ActionForms feature but we ask how to access the values of these input-fields (e.g. getting the values in a String array) in java

Re: help integrating struts and spring 2

2006-10-27 Thread James Mitchell
Perhaps you skipped a step. Scroll up that page a bit to the section "15.2. Common configuration". Do that and try it again. -- James Mitchell 678.910.8017 On Oct 25, 2006, at 12:49 PM, Doug Tangren wrote: Hi. I have been using Struts 1.2.9 for a while and just started using Spring 2