Preload FormBean

2005-07-09 Thread Sagar Naik
Hi Struts has got the ability to get the data on the form into a bean Is the reverse possible ? Scenario is I have to edit some data in the form. So I have to load the text fields in the form with some data values from a Database Table Record. Can I do tht initializing the bean object and give it

Re: Our name has changed!! [struts-atlanta -> web-atlanta]

2005-07-09 Thread Vamsee Kanakala
John Henry Xu wrote: Once I worked with some developers in Banglore on web applications. The final product cannot handle more than 10 connections and we spend lots of time (more than the time they developed it) to fix it. It's changing. Real fast. Faster than you think. Vamsee. ---

Re: Rational 6.0 jsp error

2005-07-09 Thread Wendy Smoak
From: "Andrey Rogov" <[EMAIL PROTECTED]> <%@ taglib uri="struts-html-el.tld" prefix="html" %> the error JspCompile runtime: java.lang.NullPointerException. is appeared . That makes me think 'action' is probably null. What scope is it in, and how did it get there? Do you have a corresp

Re: Our name has changed!! [struts-atlanta -> web-atlanta]

2005-07-09 Thread John Henry Xu
"James Mitchell" wrote: > o September "Put up or shut up!"...> All results will be posted online, no > whining! That is really a good competition (maybe the first one?). James, will the final web application be load tested using Loadrunner? Once I worked with some developers in Banglore on we

Re: Bundle in Validation.xml

2005-07-09 Thread Niall Pemberton
Although the validator dtd has had a "bundle" attribute for a while(?), it was ignored by Struts until the latest release (version 1.2.7). If you want to use it then you need to upgrade to that version (and also validator 1.1.4, which is included with the Struts 1.2.7 download): Release notes for

Re: read init parameters in action

2005-07-09 Thread Tony Smith
Thanks. Could you show me how to write such plug-in? --- Borislav Sabev <[EMAIL PROTECTED]> wrote: > I think there are 2 cases: > 1. you need a param that is available to the Servlet > and is not uniquie > to any particular Action > for eample in my application users can uppload > images,

Nested Beans and Validation

2005-07-09 Thread Scott Purcell
Hello, I have been using struts for a bit now, and I am trying to see if the following situation is possible. In a merchant checkout situation, I would like to be able to create a bean that has nested beans inside. Eg: This will be a shopping cart checkout, and I have the need for an overall b

Re: two struts:logic and dynabeans questions

2005-07-09 Thread Wendy Smoak
From: <[EMAIL PROTECTED]> We're using Struts and Dynabeans to pass data from DB to the view tier. What Servlet container and version are you using? (The real question is, what version of the Servlet specification does it support?) It's becoming more and more important to state that up front.

RE: Message arguments referencing variables

2005-07-09 Thread Martin Gainty
Could we see The JSP HTML which is generated? It *Should'nt* make any difference but how about making sure your declaration starts on the next line .. Also could we take a look at any/all exceptions in the logs? Thanks, Martin Gainty __ Disclaimer

RE: Message arguments referencing variables

2005-07-09 Thread tarek.nabil
Sorry, that turned out to be a silly mistake :( -Original Message- From: tarek.nabil Sent: Saturday, July 09, 2005 4:39 PM To: Struts Users Mailing List Subject: Message arguments referencing variables Hi everyone, I'm using Struts 1.1B2 and the the validation framework. I'm trying to

[OT] Name On The Net in the UK

2005-07-09 Thread Mark Benussi
If you are a customer or know anyone who uses Name On The Net in the UK as their ISP please send an e-mail to [EMAIL PROTECTED] I have worked long and hard this week to get some answers and can provide them and, more importantly a simple solution. You can reply to this e-mail in relation to thi

Message arguments referencing variables

2005-07-09 Thread tarek.nabil
Hi everyone, I'm using Struts 1.1B2 and the the validation framework. I'm trying to use the "maxlength" validator that ships with Struts. According to chapter 12 in the "Struts in Action" book, one should do that following: maxlength 1000 Now, I tried this, and the key="${var:maxlength}"

two struts:logic and dynabeans questions

2005-07-09 Thread chhum
Hi, I’m sorry if these questions are a bit newbie. But then I am a newbie and I’m getting a bit desperate since I need to get a demo up and working this weekend and am, frankly, entirely stuck. The bit of the project I’m currently working on dynamically builds a multi-page form based on field

Validator Logs

2005-07-09 Thread tarek.nabil
Hi everyone, I'm using Struts 1.1 and log4j for logging. I'm setting the log level for the root logger to debug, and yet, I can not see the logs coming from the validation framework. I tried setting the log levels for the validation framework package explicitly and even the additivity but still I

Bundle in Validation.xml

2005-07-09 Thread Sagar Naik
Hi In struts-config.xml . . . ... In validation.xml I get the following error EVERE: Unhandled exception thrown during validation: No message resources found for bundle: org.apache.struts.action.MESSAGE java.lang.NullPointerException: No message resources found for bundle: org.apache.