ActionForm could not use bean in another package?

2003-03-03 Thread NeilLee (Yuanta)
I have a ActionForm in the package sp.view. And It use Customer Bean in another package sp.model . When I run the jsp that use the form, I got a error. But if I move the Customer Bean to sp or sp.view package, Everything is fine. Have any idea? This is my ActionForm

trouble on my editing

2003-03-03 Thread Richard Raquepo
I am doing a webapp in struts... i'm using a sample program i found during my web searches. I was able to do fine, like saving and deleting but i always seem to get this error whenever i try to setting the form to the session. My code is: GetUserAccountService service = null;

Re: Http Status 500- No action instance for path /timeSearch could be created

2003-03-03 Thread Claude Betancourt
Make sure you've coded and defined (in struts-config.xml) the corresponding action and actionForm. Also, you do not need to specify the form name on the JSP html:form... tag, it'll be placed there by struts when the page is rendered. -c - Original Message - From: shashi_struts [EMAIL

What is the best struts plugin for Eclipse?

2003-03-03 Thread Alban Soupper
Hi all, With your experience can you tell me, wht is your favorite Struts plugin for Eclipse? I am most of all interested in the edition of the configuration file and graphical visualization of this file. Alban. ** This email

Re: processPreprocess hook

2003-03-03 Thread Alok Garg
Hello David, If I am not wrong I have read it on the site that Struts 1.1 is now migrated from MVC 1 to MVC 2 therefore there is a differentiation of Request and Response objects. Alok - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 03,

Re: What is the best struts plugin for Eclipse?

2003-03-03 Thread alexj
easy struts is the best :) -- Alexandre Jaquet - Original Message - From: Alban Soupper [EMAIL PROTECTED] To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:08 AM Subject: What is the best struts plugin for Eclipse? Hi all, With your experience

Re: trouble on my editing

2003-03-03 Thread alexj
Hi, Try to add : if (request.equals(mapping.getScope() )) { request.setAttribute(mapping.getAttribute(), form); } else { HttpSession session = request.getSession(); session.setAttribute(mapping.getAttribute(), form); } - Original Message - From: Richard Raquepo [EMAIL PROTECTED]

Re: What is the best struts plugin for Eclipse?

2003-03-03 Thread Dejan Krsmanovic
I use Easy Struts and it is very cool. You can download it from http://sourceforge.net/projects/easystruts Current version (0.63) does not work with Eclipse 2.1. Dejan - Original Message - From: Alban Soupper [EMAIL PROTECTED] To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED]

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Alban Soupper
That's my problem easy struts doesn't work correctly on the version of Eclipse that we use :( Another candidate? -Original Message- From: Dejan Krsmanovic [mailto:[EMAIL PROTECTED] Sent: lundi, 3. mars 2003 11:35 To: Struts Users Mailing List Subject: Re: What is the best struts plugin

Tiles Body question

2003-03-03 Thread James Prance
In a classic template, the header, footer and menu could be common across your application. However the body would likely change depending on the business process. Is there a way to alter the 'body' value dynamically? I'm a bit confused by this at the moment and my current understanding is that

Re: i18n in SimpleMenuItem

2003-03-03 Thread Cedric Dumoulin
Hi, The Tiles config files should contain the resource keys (put name=title value=a.key /). You use this keys in the jsp file in conjunction with tags accepting such keys: tiles:importAttribute / bean:write name=a.key /. You can implement your own SmartMenuItem, taking a key as input, and

Re: tiles insert in sub layout

2003-03-03 Thread Cedric Dumoulin
Hi, Have you tried to set flush=true in your insert tags ? Cedric Roland Berger wrote: Hi all tiles:insert does not insert the jsp page where it should. I have the following setup: In my master Layout (classicLayout.jsp) I have the tag: Code snippet start of

Re: What is the best struts plugin for Eclipse?

2003-03-03 Thread Dejan Krsmanovic
Struts Console. Try to download it from www.jamesholmes.com/struts/console I am not sure if it works with Eclipse 2.1 but I guess it does. It is not as well integrated as Easy Struts is but has support for editing validator and tiles config files Dejan - Original Message - From:

store the hashtable key value in html:multbox

2003-03-03 Thread shashi_struts
HI Could any body tell me how to store the hashtable key value in the html:multibox value. Regards shashi

RE: [update] nested tags...

2003-03-03 Thread Arron Bates
(I tried replying to this yesterday but the cheque was lost in the mail) Dropped connection or something must have killed the last jar. It's updated, give it another bash... http://www.keyboardmonkey.com/downloads/km-nested-v2.03.jar Arron. Arron: Can you please re-build the jar?

Re: [Tiles] Whay can't a controller be assigned in the put tag?

2003-03-03 Thread Cedric Dumoulin
A Tiles controller is associated to the tile being inserted. The controllers are called when a tiles is inserted. They are declared in the insert tag, or in the definition tag which is used by insert. The put tag is used to specify an attribute which is passed to the insert. So, the

RE: [HK] Resource substitution

2003-03-03 Thread James Mitchell
Yes, you could do something like this: bean:define id=licen bean:message key=license.name/ /bean:define bean:message key=license.text arg0=%=licen%/ -- James Mitchell Web Developer/Struts Evangelist http://jakarta.apache.org/struts/ People demand freedom of speech to make up for the freedom

[REPOST] Struts Validator Problem

2003-03-03 Thread Vedd Sampang
Hi I am trying to use the Validator. The validation works fine in one page. I have another page where the validation rules get fired when the page is loaded and not when it is submitted. So, the error messages for required fields are displayed as the page is loaded. It should be displayed when

html:link and javascript

2003-03-03 Thread shashi_struts

DynaBeans

2003-03-03 Thread Mark Lowe
Anyone got any cunning suggestions/workarounds as to change property type in a DynaBean? I'm attempting to replace an int that has been created from a ResultSetDynaClass with a DynaBean, or other useful object Anyone else had this sort of problem? thanks mark

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Alban Soupper
Console is not bad, but in fact I would like something that can graphically represent my pages interractions Because in a large application the actions, forms, jsp are very soon interlaced and the application behaviour is not really clear... -Original Message- From: Dejan

URL Rewrite Cookies

2003-03-03 Thread Jonathan
I'm still having problems with sessions here but I've kind of narrowed it down now. if I have a html:link tag in a page that is currently using Session A will it still use the same session if I use that link to get to another page? I'm assuming it uses URL rewriting instead when using html:link

Re: [struts-layout] struts 1.1 b3

2003-03-03 Thread Jean-Noel Ribette
Hi, struts-layout tries to be compatible with both struts 1.0 and 1.1, which causes the deprecated errors you got when compiling with struts 1.1. However, this should not prevent the use of strut-layout with b3. (unless you use the struts-layout plugin, which still use the b2 interface). Best

Re: Tiles Body question

2003-03-03 Thread Cedric Dumoulin
You can have a body acting as a body template which in turn insert other bodies ... Cedric James Prance wrote: In a classic template, the header, footer and menu could be common across your application. However the body would likely change depending on the business process. Is there a way

RE: Struts or DBCP?

2003-03-03 Thread David Haynes
My guess, without seeing exactly what you are doing, is that your code is checking whether it already has precompiled the statement and is attempting to re-use that statement without having the same database connection. During the re-use, the previous user is doing either a stmt.close() or

RE: Whoops! RE: ValidatorUtil.getActionError (RE: [Validator]Any one have a fields match rule?)

2003-03-03 Thread Raible, Matt
For a complete how-to on matching two fields, plus the JavaScript for validator-rules.xml, check out http://tinyurl.com/6jnv. HTH, Matt -Original Message- From: Brian Topping [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2003 6:41 PM To: Struts Users Mailing List Subject:

Accessing a variable inside logic:iterate

2003-03-03 Thread Jason Vinson
I am attempting to access a variable from an ActionForm that is nested in a logic:iterate tag, and I am getting this error: javax.servlet.jsp.JspException: Exception accessing property queueSelected for bean spgQueuesForm: java.lang.NoSuchMethodException: Unknown property 'queueSelected' I am

Rendering in XHTML

2003-03-03 Thread Josh Rayls
Hello, I'm having problems getting my browser to render the XHTML properly. My doctype is correct, and my page is well formed. For some reason, when I hit the page, the DOM is shown in IE 6.0. I'm running Struts 1.1 on Weblogic 7.0. Thanks in advance! -Josh

What does this erroe mean

2003-03-03 Thread Sloan Seaman
I keep getting: no input attribute found for path ... Everything looks good in my config files... what causes this error? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Html::textarea loses characters

2003-03-03 Thread Thomas Gourgon
Sakis, This looks like a browser issue to me. Did you try Netscape or Mozilla? I have had similar a problems with Japanese content(UTF-8) in IE for mac where '???' where showing on some form elements. I never found a solution around other than switching SHIFT-JIS character encoding so if you

RE: What does this erroe mean

2003-03-03 Thread Jarnot Voytek Contr AU HQ/SC
we'll need to see at least the relevant part of your struts-config.xml. Also, what's throwing the error? -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Sloan Seaman [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 8:27 AM To: Struts Users

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Joseph Fifield
http://www.improve-technologies.com/alpha/struts-config-editor/ I have not actually used it myself, so I can't say much about it. It does appear to have a graphical layout view though. Joe -Original Message- From: Alban Soupper [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003

RE: What does this erroe mean

2003-03-03 Thread James Mitchell
It means you did not specify an input attribute for the action with path '...' -- James Mitchell Web Developer/Struts Evangelist http://jakarta.apache.org/struts/ People demand freedom of speech to make up for the freedom of thought which they avoid. - Soren Aabye Kierkegaard (1813-1855)

Re: What does this erroe mean

2003-03-03 Thread Nicolas De Loof
I think you have set validate to true for this path, and not setted input attribute, so struts is not able to forward to input JSP when validation errors occurs. Nico. I keep getting: no input attribute found for path ... Everything looks good in my config files... what causes this error?

Re: processPreprocess hook

2003-03-03 Thread David Graham
Struts has always been based around a FrontController servlet, java action classes performing logic, and a view layer. This is MVC model 2 design; the RequestProcessor has nothing to do with that definition. David From: Alok Garg [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

Re: Rendering in XHTML

2003-03-03 Thread David Graham
I believe using the xhtml doctype puts IE 6 into strict mode. Try validating your page at the w3c.org validator site. David From: Josh Rayls [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED] Subject: Rendering in

Best place to syncronize within struts.

2003-03-03 Thread Simon Kelly
Hi, During my struts app I have to gather a large amount of data from an Oracle db (4-40MB each hit). I was wondering, as the site will be accessed at regular intevals of about 2-5 minutes by upto 50 people at a time, what would be the best place to sycronize the code to make sure that the

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Jacob Hookom
ANT -Original Message- From: alexj [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 4:11 AM To: Struts Users Mailing List Subject: Re: What is the best struts plugin for Eclipse? easy struts is the best :) -- Alexandre Jaquet - Original Message - From: Alban Soupper

RE: [struts-el] What's the benefits ?

2003-03-03 Thread p2 - apache
Some body don't want to see % %? Just a guess. -Original Message- From: alexj [mailto:[EMAIL PROTECTED] Sent: February 28, 2003 6:34 PM To: Struts Users Mailing List Subject: [struts-el] What's the benefits ? I didn't find the benefits of the use of jstl extention. Who can

RE: Best place to syncronize within struts.

2003-03-03 Thread Jacob Hookom
Synchronization should take place at the lowest denominator possible. The other thing to do is create a caching filter for your web content that stores the page for 2-5 minutes before it refreshes itself. -Original Message- From: Simon Kelly [mailto:[EMAIL PROTECTED] Sent: Monday, March

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Brandon Goodin
Easy Struts doesn't support tiles forwards in action mappings and it doesn't handle validation.xml and it doesn't handle tiles-defs.xml. It is still pretty immature. However, StrutsConsole handles everything really well. Usually I do a combo of normal text editing and struts console. Most of the

Re: Best place to syncronize within struts.

2003-03-03 Thread Simon Kelly
- Original Message - From: Jacob Hookom [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, March 03, 2003 3:55 PM Subject: RE: Best place to syncronize within struts. Synchronization should take place at the lowest denominator possible. By this I take it

Re: Best place to syncronize within struts.

2003-03-03 Thread Ivan N. Zhidov
You may consider using JCS, I've done some research into for a project but never actually used it. It's caching mechanism and it will allow you to specify the in-memory size and expiration on your data. Cheers, Ivan - Original Message - From: Simon Kelly [EMAIL PROTECTED] To: Struts Users

RE: [HK] Resource substitution

2003-03-03 Thread harish krishnaswamy
This was exactly what I was looking for although I don't quite understand how it works. Doesn't bean:message../ write the value to the jsp writer? --- James Mitchell [EMAIL PROTECTED] wrote: Yes, you could do something like this: bean:define id=licen bean:message key=license.name/

Re: [HK] Resource substitution

2003-03-03 Thread Nicolas De Loof
This was exactly what I was looking for although I don't quite understand how it works. Doesn't bean:message../ write the value to the jsp writer? tag write to the current ouputstream. Nested inside another tag, they write to the bodycontent buffered ouputstream. This way parent tag can use

Re: [HK] Resource substitution

2003-03-03 Thread harish krishnaswamy
A ha that makes sense. Thanks! --- Nicolas De Loof [EMAIL PROTECTED] wrote: This was exactly what I was looking for although I don't quite understand how it works. Doesn't bean:message../ write the value to the jsp writer? tag write to the current ouputstream. Nested inside another

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread David Graham
To be fair, Struts Console isn't really an Eclipse plugin. The plugin just launches the program external to Eclipse. For some reason, the menubar disappears when you do this so you may as well just launch the standalone Struts Console. David From: Brandon Goodin [EMAIL PROTECTED]

Re: What does this erroe mean

2003-03-03 Thread Sloan Seaman
But what is an input attribute? I've got a form with tons of input fields as well as a form-bean specified and an action for the path specified. Everything looks fine.. that is why I can't figure out what is wrong. What type of mis-configuraiton usually causes this issue? -- Sloan -

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Brandon Goodin
Agreed. I don't use it from within eclipse. I guess I really didn't answer the questtion then. Did I? :-D. Brandon Goodin Phase Web and Multimedia PO Box 85 Whitefish MT 59937 P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: David Graham

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread p2 - apache
Agree. It is a good product. Better launch it as standalone or inside Sun ONE Studio/NetBeans. -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: March 3, 2003 10:33 AM To: [EMAIL PROTECTED] Subject: RE: What is the best struts plugin for Eclipse? To be fair, Struts

Re: What does this erroe mean

2003-03-03 Thread Nicolas De Loof
in struts-config.xml, input attribute of a path element defines the JSP (or ohter ressource) that can be used to display errors and let the user update it's submited (and erronous) datas In general use, input value is the JSP that submitted to this path. Nico. - Original Message - From:

Re: What is the best struts plugin for Eclipse?

2003-03-03 Thread Vic Cekvenich
I use solar-eclipse plug in to edit ANY xml file and jsp. I also use a resin eclipse plugin if I need to debug JSP. (on resin home page) hth, .V p2 - apache wrote: Agree. It is a good product. Better launch it as standalone or inside Sun ONE Studio/NetBeans. -Original Message- From:

Nested Bug?

2003-03-03 Thread JONATHAN PHILIP HOLLOWAY
Could somebody tell me whether the followign line is an error for the indexed=true property of the nested tags? The number value seems to be outside the quotes, td input type=submit name=action[0] value=Edit /td td input type=submit name=action[0]

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread James Childers
Pshaw. Heathens, pagans, and troglodytes, all. I use vim for all my XML editing. Does quite nicely against struts-config, with code folding and syntax highlighting. Plus you are more manly if you can do stuff like :g!action/d to get a nice text list of all your Actions. I am SOOO much better

Re: What is the best struts plugin for Eclipse?

2003-03-03 Thread James Mitchell
LOLthanks for making my Monday a little bit better! -- James Mitchell Web Developer/Struts Evangelist http://jakarta.apache.org/struts/ People demand freedom of speech to make up for the freedom of thought which they avoid. - Soren Aabye Kierkegaard (1813-1855) - Original Message

How to reset checkboxes in session ActionForms?

2003-03-03 Thread Zsolt Koppany
If I'm right, reset is not called by ActionForms with scope session. How can I then reset my checkboxes? -- Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Clement, Stephen
i will have to side with Mr Childers, i'm afraid. these all you'll ever want and more editing tools tend to often just teach you how to read/work more slowly... Steve -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 10:50 AM To: Struts Users

Setting tiles attributes from a bean in different scopes

2003-03-03 Thread BaTien Duong
Hello Cedric and the group: Issue: need to retrieve properties of *myBean* in user session scope as values for tiles attributes in request scope. Solution from a scratch of my head: jsp:useBean id=myBean scope=session / tiles:useAttribute id=myAttribute name=myAttribute

Re: What does this erroe mean

2003-03-03 Thread Sloan Seaman
From further debugging I found that if I use pantryLoadingIntroChai as the name of my form-bean and also as the attribute name in my action tag it works fine. If I use: pantryLoadingIntroChain it does not work. The name is somehow clashing with another defined name of the same type somewhere

Re: How to reset checkboxes in session ActionForms?

2003-03-03 Thread Nicolas De Loof
reset is allways called in processPopulate(). Nico. If I'm right, reset is not called by ActionForms with scope session. How can I then reset my checkboxes? -- Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Alban Soupper
What is vim ? -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: lundi, 3. mars 2003 16:50 To: Struts Users Mailing List Subject: RE: What is the best struts plugin for Eclipse? Pshaw. Heathens, pagans, and troglodytes, all. I use vim for all my XML editing. Does

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Pani, Gourav
viMproved. -Original Message- From: Alban Soupper [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:17 AM To: 'Struts Users Mailing List' Subject: RE: What is the best struts plugin for Eclipse? What is vim ? -Original Message- From: James Childers [mailto:[EMAIL

[OT]: What is vim?

2003-03-03 Thread James Childers
Vim is a powermad text editor that allows you to do regular-expression based search and replace functions, syntax highlighting, moving around anywhere within a file in just a few keystrokes, and other niceties that developers tend to enjoy. http://www.vim.org It's not really a GUI editor, and

RE: Rendering in XHTML

2003-03-03 Thread Miller, Jason
I had a problem like that when I tried to name my file to something like .xhtml or .xml and serve it as an XHTML document. IE decided that rendering it would be too much trouble. I experimentally determined either the resource must have a .htm or .html extension, regardless of doctype, or the

RE: Rendering in XHTML

2003-03-03 Thread Miller, Jason
One other thing I forgot - the XML declaration also caused it to choke. Hello, I'm having problems getting my browser to render the XHTML properly. My doctype is correct, and my page is well formed. For some reason, when I hit the page, the DOM is shown in IE 6.0. I'm running Struts 1.1 on

Re: Setting tiles attributes from a bean in different scopes

2003-03-03 Thread Cedric Dumoulin
Hi, BaTien Duong wrote: Hello Cedric and the group: Issue: need to retrieve properties of *myBean* in user session scope as values for tiles attributes in request scope. You can't set the scope of a tiles attribute: a tiles attribute is defined with put nested in an insert. A tile attribute

AW: Tiles Body question

2003-03-03 Thread Roland Berger
Yes, that's exactly what I also want to do. But it seems that I missed the big picture. When I set flush=true I get a Illegal to flush error. If I set flush=false the tile I want to insert into the body template is inserted at the top of the page and not where the insert tag is. Can you give a

RE: Rendering in XHTML

2003-03-03 Thread Josh Rayls
Thanks. The declaration was choking it. :( That's pretty rediculous. -Original Message- From: Miller, Jason [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:31 AM To: 'Struts Users Mailing List' Subject: RE: Rendering in XHTML One other thing I forgot - the XML declaration

TILES - Network Traffic...

2003-03-03 Thread Puneet Agarwal
I am quite new to TILES and have a query abt the way it renders HTML pages. Does it embed the javaScript code into the HTML page itself or it has generic JavaScript Library files, and includes them using a JavaScript include directive in HTML for JavaScript file, so that it could be cached at

Re: TILES - Network Traffic...

2003-03-03 Thread David Graham
AFAIK, Tiles doesn't use any javascript. David From: Puneet Agarwal [EMAIL PROTECTED] Reply-To: Puneet Agarwal [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: TILES - Network Traffic... Date: Mon, 3 Mar 2003 16:44:54 - I am quite new to TILES and have a query abt

bean constructors and jsp:useBean

2003-03-03 Thread bobd
I have a JSP that is successfully creating an instance of a bean class in the session, but I'm failing to understand a problem with retrieving data from that bean. The bean's constructor (zero arguments) is apparently not executing defined routines. However, it can retrieve private data members

Re: AW: Tiles Body question

2003-03-03 Thread Cedric Dumoulin
The examples in struts-documentation use a master layout (classicLayout.jsp), and the body is often made of tiles inserted with another layout (like columnsLayout, vboxLayout, tabsLayout...). You can easily define your own layout with an insert. It is also possible to insert the definition

Problems with Struts 1.1 RC 1

2003-03-03 Thread Mervin Williams
I am receiving 2 errors with the Struts 1.1 RC 1. The errors are: (1) Error #: 300: variable Globals not found in... when compiling a line of code in my Action class that reads, DataSource dataSource = (DataSource)servlet.getServletContext().getAttribute(Globals.DATA_SOURCE _KEY); (2) At

Re: TILES - Network Traffic...

2003-03-03 Thread Cedric Dumoulin
Hi, Tiles doesn't use any javascript. It is a framework to build pages by assembling small pieces (tiles) on the server side. However, you can use your own javascript in tiles ... There was a discussion Sell me on tiles in the mailing list. Check the mailing list archive:

Setting ActionConfig Input At Runtime

2003-03-03 Thread Dan Hable
I'm in the process of moving an application from struts 1.0 to 1.1 and ran into a problem in the ActionForm bean class. In the validate method, the code is adjusting the state of the input method depending on the state of the object that the user would be editing. When I try the following code,

RE: Problems with Struts 1.1 RC 1

2003-03-03 Thread p2 - apache
Have you imported Globals which is a struts class? -Original Message- From: Mervin Williams [mailto:[EMAIL PROTECTED] Sent: March 3, 2003 12:16 PM To: [EMAIL PROTECTED] Subject: Problems with Struts 1.1 RC 1 I am receiving 2 errors with the Struts 1.1 RC 1. The errors are: (1)

RE: Setting ActionConfig Input At Runtime

2003-03-03 Thread p2 - apache
Use a different forward instead. -Original Message- From: Dan Hable [mailto:[EMAIL PROTECTED] Sent: March 3, 2003 12:20 PM To: Subject: Setting ActionConfig Input At Runtime I'm in the process of moving an application from struts 1.0 to 1.1 and ran into a problem in the ActionForm bean

My web application name

2003-03-03 Thread awc
Hi all, how do I get name of the web application a servlet execute on servlet spec 2.3. like in http://ww.mydomain.com/myapp/save.do from saveAction.class , how do I find out myapp part. the method servlet.getServletContext().getServletContextName() returns null. thanks for any info.

RE: My web application name

2003-03-03 Thread Raible, Matt
request.getContextPath() -Original Message- From: awc [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 10:36 AM To: Struts Users Mailing List Subject: My web application name Hi all, how do I get name of the web application a servlet execute on servlet spec 2.3.

Accessing the dynaform bean with RT expression

2003-03-03 Thread John C Cartwright
Hello All, I have a DynaActionForm bean defined and I'm trying unsuccessfully to access the properties using a RT Expression such as: %= mapserviceDetailForm.siteName % Here's the fragment from the struts-config: form-bean name=mapserviceSummaryForm dynamic=true

Tiles and Charactersets in Greeks

2003-03-03 Thread Jim Theodoridis
Hi. I use Struts 1.2b2 PostgreSQL 7.3 Win2K I use a database at UNICODE I have the file application_el_GR.properties seved as UNICODE I use Tiles to configure the display of the application and a page classicLayout.jsp if i use %@ page contentType=text/html; charset=UTF-8 % on classicLayout.jsp

RE: Problems with Struts 1.1 RC 1

2003-03-03 Thread Mervin Williams
Thanks. Importing the org.apache.struts.* fixed problem #1. However, problem #2 is still occurring. Please help. -Original Message- From: p2 - apache [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:27 AM To: 'Struts Users Mailing List' Subject: RE: Problems with Struts 1.1 RC

RE: What is the best struts plugin for Eclipse?

2003-03-03 Thread Ying
IBM WebSphere Studio Application/Site Developer (not free) has a struts plugin. It has a editor (Web Diagram Editor) that you can use for visualizing application flow, in addition to alot of other stuff. I can only find a tech preview blurb on it:

Java script with struts

2003-03-03 Thread Yaron Sela
Hi all. I store in the pageContext two ArrayList that contains different parameters. for example One contains priceses for sell and one contains prices for rent. on checkbox Click I want to change the content of a combobox. How can I do that? How can I get the page context to the Javascript?

Struts Validator and Oracle 9iAS

2003-03-03 Thread Meyers, Jason
Does anyone have experience using the Validator (struts 1.1b3) in Oracle 9iAS? I am able to run the struts-validator example webapp in Tomcat, but get the following error whenever I run it in 9iAS. java.lang.ArrayIndexOutOfBoundsException at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for

[Thanks] TILES - Network Traffic...

2003-03-03 Thread Puneet Agarwal
The mails were really useful. Thanks Regards Puneet - Original Message - From: Cedric Dumoulin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, March 03, 2003 5:15 PM Subject: Re: TILES - Network Traffic... Hi, Tiles doesn't use any javascript. It

ForwardAction with Tiles in 1.1b2

2003-03-03 Thread Steve Stair
Since I could not get a ForwardAction to work with Tiles, I created an entry action that did nothing but forward to success. action path=/setUpCreateUserAction type=us.tx.state.rrc.app.SetUpCreateUserAction forward name=success path=.app.CreateUser / /action action

RE: TILES - Network Traffic...

2003-03-03 Thread Hue Holleran
Please don't flame - I'm not trying to start a tiles vs frames debate. If bandwidth is absolutely critical then you may want to consider (shock! horror!) frames or use inline IFrames. Tiles is great but will produce a bit of extra output over frames as it will generally be used to render the

reading data from application.properties (Struts 1.1 RC 1)

2003-03-03 Thread k
Hi, I am having problem reading data in application.properties. Here is the structure of my struts folder inside tomcat4.1.8 %CATALINA_BASE%/webapps/myproject | - Some jsp files. - META-INF - WEB-INF | -some struts files as well as web.xml -lib -src

Re: Html::textarea loses characters

2003-03-03 Thread Sakis Chatzinikolaou
Hi Thomas, A friend (Hi Jim :))) advised me to use the Meta http equiv tag and not the java directive with the charset and it seems to work - Original Message - From: Thomas Gourgon [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, March 03, 2003 4:22 PM

need help validating two forms either field 1 must be filledor field 2 must be filled.

2003-03-03 Thread Scott Power
Hey guys, I am just learning my way around struts and I need some help validating a form. I have used validation before and I know how to do it for a single field and multiple fields. But now I am stuck, I have a form with two text fields for data to be entered and I want to validate them. I

RE: Problems with Struts 1.1 RC 1

2003-03-03 Thread p2 - apache
Not sure if you should call errors!=null !errors.isEmpty() Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Mervin Williams [mailto:[EMAIL PROTECTED] Sent: March 3, 2003 12:54 PM To: 'Struts Users Mailing List'

[ANNOUNCE] Struts Console v3.3

2003-03-03 Thread James Holmes
Struts Console version 3.3 is now available. http://www.jamesholmes.com/struts/ Download Now: http://www.jamesholmes.com/struts/struts-console-3.3.zip -- OR -- http://www.jamesholmes.com/struts/struts-console-3.3.tar.gz Struts Console is FREE software. This release fixes some bugs and adds a

Re: displaying \n in html?

2003-03-03 Thread dario
David Graham [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] LOL David yeah, right, i could have expected so. i sent about five questions to this mailing list and i never NEVER got an answer. and i don't think that the reason is i ask stupid questions, in fact most of the

Re: need help validating two forms either field 1 must be filled orfield 2 must be filled.

2003-03-03 Thread Jeff Kyser
How 'bout a requiredif rule for each field, where a value is required if the other field's value is null? See the stuff on the requiredif rule in the validator section of the user guide (online at the struts web pages). There's also been some recent discussion related to this - you coud probably

Re: Tiles: dynamically adding definitions

2003-03-03 Thread Jim Snyder
- Original Message - From: John Nikolai [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 27, 2003 2:24 PM Subject: Re: Tiles: dynamically adding definitions Thanks Cedric, I look forward to seeing the document. Is this a feature which may

RE: [OT] displaying \n in html?

2003-03-03 Thread Jarnot Voytek Contr AU HQ/SC
firstly, this is OT, secondly if you're using JDK 1.4, here's your one-liner (String in question is str): str = str.replaceAll(\\n, br); which is a short way of writing: Pattern.compile(\\n).matcher(str).replaceAll(br); also a one-liner... -- Voytek Jarnot Quidquid latine dictum sit, altum

RE: Setting tiles attributes from a bean in different scopes

2003-03-03 Thread BaTien Duong
Thanks Cedric. You save us a day! 3 more items to be sure: 1) Assuming we have *myAttribute* from *myBean* in user session myBean.getLevel2().getMyAttribute(). To use myAttribute as a JSP Java variable, we need: //set an attribute for tile insert tiles:insert attribute=myAttribute

AW: AW: Tiles Body question

2003-03-03 Thread Roland Berger
Hi Cedric Sorry, but I can not find the problem even with the examples. I belive I do it the same way as it is done there. May be you can have a look at the code below: *** tiles-defs.xml snippets *** definition name=.detailLayout path=/WEB-INF/common/layouts/detailLayout.jsp ...

Re: [OT]: What is vim?

2003-03-03 Thread Rick Reumann
On Mon, 3 Mar 2003 10:21:23 -0600 James Childers [EMAIL PROTECTED] wrote: But once the initial effort is made it is a huge timesaver. You just have to decide to learn it and stick with that decision. I'm forcing myself to use vim more (although I still use jEdit with some plugins to do just

  1   2   3   >