Tiles exception handling problem using controllerUrl

2004-03-25 Thread Paul Watson
the error) is loaded twice, instead of the error definition. Help! Paul Watson IT Consultant - ObjectLAB sagl [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Paul McCulloch
Something like Paul > -Original Message- > From: Marco Mistroni [mailto:[EMAIL PROTECTED] > Sent: 25 March 2004 16:03 > To: 'Struts Users Mailing List' > Subject: Struts tag problem (bean:message and bean:write) > > > Hi all, >

Re: Automatically detecting struts-config changes and reload app.

2004-03-24 Thread Antony Paul
reload it every time by pointing the browser to it. I want it to automatically detect the change and reload the context . What are other developers doing to reload the context on struts-config change ?. Antony Paul - Original Message - From: "Geeta Ramani" <[EMAIL PROTECTED]

RE: blocking bookmarked actions

2004-03-24 Thread Paul McCulloch
Actually, it's simpler than that (as I just saw on another thread). Just implement unspecified() in your action to override the default behaviour when no dispatch method is provided. Paul > -Original Message- > From: Paul McCulloch [mailto:[EMAIL PROTECTED] > Sent: 24 Ma

RE: blocking bookmarked actions

2004-03-24 Thread Paul McCulloch
ction class. Paul > -Original Message- > From: Mark Shifman [mailto:[EMAIL PROTECTED] > Sent: 24 March 2004 18:32 > To: Struts Users Mailing List > Subject: Re: blocking bookmarked actions > > > where do I do the blocking? The action I am having problems > w

RE: blocking bookmarked actions

2004-03-24 Thread Paul McCulloch
You code code your app to always use http POST, but block GETs. This may not be suitable if you've already written the app though! Paul > -Original Message- > From: Mark Shifman [mailto:[EMAIL PROTECTED] > Sent: 24 March 2004 18:17 > To: Struts Users Mailing List &g

Automatically detecting struts-config changes and reload app.

2004-03-24 Thread Antony Paul
Is it possible to automatically detect changes in struts-config.xml and reload the application ?. I know that Log4J(or Tomcat) detects changes to log4j.properties and reload the application. Antony Paul - To unsubscribe, e-mail

RE: Can validation.xml be modularized?

2004-03-18 Thread Paul, R. Chip
Isn't the validation.xml file defined in struts config? So you could just make separate files and include the appropriate one in each module's struts config. I haven't tried it but I imagine it would work. -Original Message- From: Chan, Jim [mailto:[EMAIL PROTECTED] Sent: Thursday, Marc

RE: Problem with

2004-03-18 Thread Paul, R. Chip
No, the ignore attribute means an exception won't get thrown if the tiles attribute is not present, as it would be if you left out the tag all together. It can't help that a valid attribute was specified that points to a nonexistant file. -Original Message- From: Scherger, Derek [mailto:

RE: Passing Value to Tile

2004-03-16 Thread Paul, R. Chip
More useful is another version of This gets a bean from the request scoped form, and passes it to the tile. As mentioned below you then use to get the bean back out of the tiles context and into the page. We use this to create "reusable components" out of our

[OT?] Integrating Multi-Module Struts Applications

2004-03-16 Thread Paul, R. Chip
tructure? Build a common structure for each build and then build that with Ant? Thanks in advance for advice, hopefully someone out there has had to endure this before and can at least give me some mistakes not to make =) Chip Paul Sr Software Engineer ComFrame Software Corporation   Listen.U

RE: error message display

2004-03-15 Thread Paul, R. Chip
There's also header and footer properties that you can set to avoid having this on every line. For instance in our project we display them as a list: errors.header= errors.prefix= errors.suffix= errors.footer= Header goes before the first error, footer after the last, and eac

RE: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Paul, R. Chip
On a more on-topic note, where can I get info on the new features / differences in Struts 1.1 and 2.0? This page http://jakarta.apache.org/struts/status.html has a small bit of info, but I wanted a bit more. Is there a page set up with all the info or is it just making rounds in the dev list? --

RE: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Paul, R. Chip
I guess the Nova is the antithesis of the Yugo? -Original Message- From: Andreas Solarik [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 8:47 AM To: 'Struts Users Mailing List' Subject: AW: [OT] Jericho == Struts 2.0? Yeah, you're right, its just a name. Something similar can be

RE: Validation failing when connected through Proxy???

2004-03-12 Thread Paul, R. Chip
--Original Message----- From: Paul, R. Chip [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 5:49 PM To: Struts User ([EMAIL PROTECTED]) Subject: Validation failing when connected through Proxy??? When testing our deployed app through a proxy server (clients -> Proxy with SSL, then throug

RE: [OT] Database password

2004-03-12 Thread Paul McCulloch
Why not put the file in area that is accessible only to the right users and have the app server run under a user account with the relevant privelages? Paul > -Original Message- > From: Guillermo Meyer [mailto:[EMAIL PROTECTED] > Sent: 11 March 2004 18:59 > To: 'Struts U

Validation failing when connected through Proxy???

2004-03-11 Thread Paul, R. Chip
ome things to double check? The app works fine for all users when not going through the proxy. Chip Paul Sr Software Engineer ComFrame Software Corporation   Listen.Understand.Innovate www.comframe.com - To unsubscribe, e

Re: How to make AND and OR conditions with logic struts tags

2004-03-11 Thread Paul-J Woodward
This may not work for your situation, but you could try: AND: stuff OR: stuff Paul Global Equity Derivatives Technology Deutsche Bank [/] "Julio Cesar De

RE: [OT]JSP Debugger

2004-03-10 Thread Paul-J Woodward
sorry - should have said a quick, dirty and very temporary solution. Paul Global Equity Derivatives Technology Deutsche Bank [/] "Larry Meadors" <[EMAIL PROT

RE: [OT]JSP Debugger

2004-03-10 Thread Paul-J Woodward
In some circumstances it can help to put a try/catch around the whole JSP and print the stack trace & error. Paul Global Equity Derivatives Technology Deutsche

Re: Newbie Q

2004-03-09 Thread Paul Stanton
yes, but theres no other way (without writing your own tag) to put "myProp" into the "href" attribute. Kunal H. Parikh wrote: Will try this, but doesn't having <%=myProp%> mean that I am using a scriptlet ? And, shouldn't our JSP not include scriptlets as far as possible ? ---

Re: [OT] Database locking and deadlock

2004-03-09 Thread Paul Thomas
close orphaned Statements and ResultSets. I suppose you need to consult your containers docs. -- Paul Thomas +--+-+ | Thomas Micro Systems Limited | Software Solutions for Business | | Computer Consultants

Re: question

2004-03-08 Thread Paul Stanton
the most simplest solution is often the best Au-Yeung, Stella H wrote: Paul wrote: labelProperty="name"/> No I don't know how to try yours because I don't see how the above statement tells it to compare "userId" with "person.id" and then

Re: question

2004-03-08 Thread Paul Stanton
the html:options tag handles this. Au-Yeung, Stella H wrote: Paul wrote: labelProperty="name"/> No I don't know how to try yours because I don't see how the above statement tells it to compare "userId" with "person.id" and then store th

Re: question

2004-03-08 Thread Paul Stanton
did you try mine? Au-Yeung, Stella H wrote: I got a compilation errror after I changed to using <%= %>: Here's my error: cannot resolve symbol probably occurred due to an error in /app/fdd/shopWorkOrder/CreateShopWorkOrder.jsp line 92: My actual segment of JSP: engi

Re: copyrighted documents in Struts package

2004-03-08 Thread Paul Stanton
the rss spec is owned by netscape. the dtds are therefore netscapes property - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: question

2004-03-08 Thread Paul Stanton
i think you are trying to do the following... this is assuming uList is a list of beans with id/name fields and your form has a userId field. Au-Yeung, Stella H wrote: Hi: I need to set a "pre-defined" option in using the "value=" attribute, I thought the following will work: I h

Re: Suggestion needed on good Struts book

2004-03-08 Thread Paul-J Woodward
Struts in Action - Manning Excellent book. Paul Global Equity Derivatives Technology Deutsche Bank [/] Janarthan Sathiamurthy <[EMAIL PROTECTED]> 08/03/2004 08:23

reloading i18n

2004-03-07 Thread Paul Stanton
anyone written code to reload the contents of their i18n file (aka application.properties)? it seems a little stupid to be reloading web applications because messages have been changed. - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: JSF RI Final is out!

2004-03-05 Thread Paul, R. Chip
About a month ago I picked up Java Server Faces Programming by Budi Kurniawan (McGraw Hill). I haven't read through it yet though, so I can't say if it's any good or not. It just showed up on that darned Amazon suggestion page and I picked it up. -Original Message- From: Craig R. McClana

Re: Problem in iterating

2004-03-04 Thread Paul Stanton
have you set an attribute called "wbs" on any scope? ie, is there an attribute called "wbs" on the request? pageContext? session? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Pls help on Javascript

2004-03-04 Thread Paul Stanton
i dont have weblogic installed, i dont know what you want to validate, and i have very little spare time. sorry. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Pls help on Javascript

2004-03-04 Thread Paul Stanton
you can use a struts plugin called validator.. or you can write for yourself. with validator you have to write your validation in xml. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem in iterating

2004-03-04 Thread Paul Stanton
actually, misread. ghandi's is for a print. if you need to use fields and write back to the form, you'll have to do what i said in the first place. i'm sure there a tut somewhere? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Problem in iterating

2004-03-04 Thread Paul Stanton
try ghandi's solution. if it works it will tidy up how i have been doing things. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem in iterating

2004-03-04 Thread Paul Stanton
you need to use an indexed getter and setter for the field. ie: if you have a 'public List getValues()' create a 'public Object getValue(int i)'. this is step 1. now in your logic iterate, create a string like "value["+i+"].fieldname" and put that in your property for your field ie "" Vishal A

Re: IndexedPropertyDescriptor has null readMethod/writeMethod

2004-03-04 Thread Paul Stanton
RC, that's what's causing the problem. I haven't seen this problem myself, just repeating what's been said here on the list. Check the archives and/or rename your accessors. --- Paul Stanton <[EMAIL PROTECTED]> wrote: hi. i am trying use work with an indexed property

Re: JSF RI Final is out!

2004-03-04 Thread Paul Stanton
for emphasis Daniel Joshua wrote: 1.0 *final* version Why are there '*'s around the word 'final' ? Regards, Daniel -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, 05 March, 2004 2:03 AM To: Struts Users Mailing List Subject: RE: JSF RI Final is out!

IndexedPropertyDescriptor has null readMethod/writeMethod

2004-03-04 Thread Paul Stanton
hi. i am trying use work with an indexed property in struts 1.1. i have set up my form bean as follows: code public class WelcomeForm extends ActionForm { List things = new ArrayList(); public List getThings() { return things; } public

Re: Text area in struts

2004-03-03 Thread Paul-J Woodward
If I understand you correctly, taking out the spaces should do it - everything inside the text area tag is included in the text area element. Paul Global Equity Derivatives Technology Deutsche Bank

RE: Viewing .pdf files usign struts frames work..

2004-03-03 Thread Paul-J Woodward
That would most likely be Microsoft incompetence... and the struts solution is much cleaner. Paul "Vasudevrao Gupta" <[EMAIL PROTECTED]> 03/03/2004 15:13 Please respond to "Struts Users Mailing List" To: <[EMAIL PROTECTED]>, <[EMAIL PROTE

Re: Viewing .pdf files usign struts frames work..

2004-03-03 Thread Paul-J Woodward
action to forward on to. Essentially just implement the code you already have in the service() method of a servlet. Paul Global Equity Derivatives Technology Deutsche Bank [/] Office +44 (0)20 754 55458 Mobile +44 (0)7736 299483 Fax +44

[OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))

2004-03-01 Thread Paul, R. Chip
I had been considering moving to MacOS X for a while now just because of general windows frustration. I was wondering how many issues, such as the one below, there are in developing on a mac? I've heard that Eclipse runs much faster in Windows than on a Mac as well, and I don't know if their Xcod

RE: FormBeans: A question of Style

2004-02-27 Thread Paul, R. Chip
Agreed. Consider these scenarios: A single form used with multiple actions (think view/edit/new) A tile that conforms to some interface implemented by multiple forms, that is used on different pages An action that manipulates data and forwards to multiple views (WML vs XML vs HTML, or maybe Table

RE: html:link action - how to append query string

2004-02-27 Thread Paul, R. Chip
You have I think three choices, in preferred order: 1. Use the paramName, paramScope, and paramProperty attributes of (see http://jakarta.apache.org/struts/userGuide/struts-html.html#link) This may not work with the page scoped variable defined the way you've done it, I don't know.

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Paul, R. Chip
Or use the Commons Collections LazyList which handles this problem automatically. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:09 AM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help shirish p

RE: need help converting from session to request scope

2004-02-26 Thread Paul McCulloch
;d have to run some pretty exhaustive tests in an environment close to your production one to determine which method is more efficient. Personally I'd just spend the money on a bit more ram instead of developer time... Paul > -Original Message- > From: Mark Lowe [mailto:[EMAIL

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Paul, R. Chip
:49 AM To: Struts Users Mailing List Subject: Re: Problem in nested tags- Very Urgent - Please Help wouldn't mind an example of how to use lazy list if you have one. On 26 Feb 2004, at 15:33, Paul, R. Chip wrote: > Or use the Commons Collections LazyList which handles this

RE: Problem in nested tags- Very Urgent - Please Help

2004-02-26 Thread Paul, R. Chip
Nice one.. For some reason i thought the Factory would involve more than it does, so i shied away from it. Cheers Mark On 26 Feb 2004, at 15:57, Paul, R. Chip wrote: > Note: I think this is likely different in current versions of the > commons > collections lib, but this works for th

RE: row counts in logic:iterate...

2004-02-26 Thread Paul, R. Chip
Shouldn't that be <%= index.intValue() + 1 %> instead of using indexId, since you set the index variable to be called "index" in the iterate tag? -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 11:15 AM To: Struts Users Mailing List; [EMA

RE: Implementing A Search Dialog - Struts

2004-02-25 Thread Paul, R. Chip
You might look at Struts Workflow for a wizard type application. I think you hit the two main methods for doing this. Personally I'd put it in the session and remove it when you finish the wizard. Struts Workflow does this session management automatically. Alternatively if space is truly an iss

RE: data transfer from Action class to jsp page

2004-02-25 Thread Paul, R. Chip
Your four choices are: place in session place in request place in Tiles context (if a tiles context exists) pass as request parameter (i.e. on the forward url) Sounds to me like placing this in the request via request.setAttribute(name, value) is what you want, but

RE: Bug in Validator javascript, not showing all errors?

2004-02-25 Thread Paul, R. Chip
There's a parameter or setting somewhere that controls whether to return only the first error, or all the errors in the javascript alert window. Sorry I don't have the exact name handy. Chip -Original Message- From: Mike Millson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 20

RE: Nested nest Tag

2004-02-25 Thread Paul McCulloch
That should be fine as well. I'd test that you can read the property first before trying to write it: Paul > -Original Message- > From: Daniel, Gillian [mailto:[EMAIL PROTECTED] > Sent: 25 February 2004 18:07 > To: Struts Users Mailing List > Subject:

RE: Nested nest Tag

2004-02-25 Thread Paul McCulloch
Have you tried using the LocDTO properties? I think it will just work - Struts uses bean utils which looks at the object you are trying to operate on, rather than the type it is declared as. Paul > -Original Message- > From: Daniel, Gillian [mailto:[EMAIL PROTECTED] > Sent: 25

RE: need help converting from session to request scope

2004-02-25 Thread Paul McCulloch
f the selected Person. So, that's my justification for using session scoped form beans. Any comments gratefully recieved. Paul > -Original Message- > From: Mark Lowe [mailto:[EMAIL PROTECTED] > Sent: 25 February 2004 11:36 > To: Struts Users Mailing List > Subject: Re:

RE: need help converting from session to request scope

2004-02-25 Thread Paul McCulloch
less there is a compelling reason not to - memory is pretty cheap, my time isn't. In my case my application tends to run out of CPU well before I run out of memory (dual processor box with 2Gb of RAM). Paul > In response to Paul: I would like to start storing things in > the request so &g

RE: need help converting from session to request scope

2004-02-24 Thread Paul McCulloch
ou are going to move to request scope (or take 'years' out of the form and put it in a session scoped attribute). Paul > -Original Message- > From: Janice [mailto:[EMAIL PROTECTED] > Sent: 24 February 2004 20:01 > To: [EMAIL PROTECTED] > Subject: need help

RE: ActionForward and onLoad()

2004-02-24 Thread Paul McCulloch
e user) So, I'm not really sure what yopu mean by 'the other way'. Up until that part you seemed to be describing a prettyu standard Struts app.. Sorry if I'm teaching you to suck eggs.. Paul ** Axios Email Confidentiality Footer Privileg

RE: ActionForward and onLoad()

2004-02-24 Thread Paul McCulloch
your jsp. It *sounds* like you could do with reading up on the basics of MVC in a web environment.. Paul > -Original Message- > From: Leticia Golubov [mailto:[EMAIL PROTECTED] > Sent: 24 February 2004 17:37 > To: Struts Users Mailing List > Subject: RE: ActionForward an

RE: Must have action="....." in tag?

2004-02-23 Thread Paul, R. Chip
here some reason why this has to be done via javascript? Chip -Original Message- From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 4:52 PM To: 'Struts Users Mailing List' Subject: RE: Must have action="." in tag? Paul and Hubert:

RE: Must have action="....." in tag?

2004-02-23 Thread Paul, R. Chip
You can't. Correct me if I'm wrong, but the property is what let's struts know which Form object to map your .jsp to. I'm don't think this will work for you unless all the possible urls you'd submit to share the same Form. What you may want to do instead then is look at something along the line

Form elements inside a Tile

2004-02-23 Thread Paul, R. Chip
oolean selected property. Is this just a bad idea or is there a good, clean way to do this? Chip Paul Sr Software Engineer ComFrame Software Corporation   Listen.Understand.Innovate www.comframe.com - To unsubscribe, e-mail: [

RE: How to create a "No Action" ActionForward for return from an Action's execute() ?

2004-02-19 Thread Paul McCulloch
I use a a Servlet Filter to achieve this. This filter intercepts request before Struts gets it's hands on the request. Paul > -Original Message- > From: James Adams [mailto:[EMAIL PROTECTED] > Sent: 19 February 2004 18:17 > To: [EMAIL PROTECTED] > Subject: How to

Re: 2 combo Box (drop down list)....

2004-02-19 Thread Paul-J Woodward
If you don't want to submit the form then this has to be done client side with Javascript, you will have to know all of the possible values of the 2nd box for each of the possible values of the 1st. Otherwise it can be done fairly easily using an action.

Re: [OT] making struts/tiles parse the output of a servlet

2004-02-18 Thread Paul-J Woodward
Noone know if this is possible? Thanks, Paul Global Equity Derivatives Technology Deutsche Bank [/] "Paul-J Woodward" <[EMAIL PROTECTED]> 18/02/2004 11:2

Re: Role based access?

2004-02-18 Thread Paul-J Woodward
If you override the RequestProcessor, I believe you will need to add this to the struts-confg.xml: Change it to suit your needs. Paul Global Equity Derivatives Technology Deutsche Bank

Re: Role based access?

2004-02-18 Thread Paul-J Woodward
You might want to do something similar to this on failure inaddition to code below: response.sendError( HttpServletResponse.SC_FORBIDDEN, getInternal().getMessage( "notAuthorized", mapping.getPath()

[OT] making struts/tiles parse the output of a servlet

2004-02-18 Thread Paul-J Woodward
to be able to create a page which consists of plain html into which I include various pre-defined JSP pages. Any ideas? Thanks, Paul Global Equity Derivatives Technology Deutsche Bank

RE: SecurityFilter with Struts quick and easy question

2004-02-17 Thread Paul McCulloch
Have a look at the Servlet spec. Paul > -Original Message- > From: Nathan Maves [mailto:[EMAIL PROTECTED] > Sent: 17 February 2004 19:09 > To: Struts Users Mailing List > Subject: Re: SecurityFilter with Struts quick and easy question > > > It does use a servl

RE: Could not find resource error

2004-02-17 Thread Paul McCulloch
gt; good "java > development environment issue" mailing lists? > > > -Original Message- > From: Paul McCulloch [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 17, 2004 10:26 AM > To: 'Struts Users Mailing List' > Subject: RE: Could not find resourc

Re: ui gen from db

2004-02-17 Thread Paul-J Woodward
more complicated, I ended up having a bit of a hack for this. Paul Global Equity Derivatives Technology Deutsche Bank [/] shankarr <[EMAIL PROTECTED]> 13/02/2004 12:43

Re: Subclassing DynaValidatorForm

2004-02-17 Thread Paul-J Woodward
ion, copy the fields from the request form to the session form if the user has permission to set them, otherwise ignore any changes to the field. Better still, do 2 and 3. I hope that give you some ideas, Paul Global Equity Derivatives

RE: Could not find resource error

2004-02-17 Thread Paul McCulloch
And this is struts related how? > -Original Message- > From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] > Sent: 17 February 2004 17:22 > To: 'Struts Users Mailing List' > Subject: Could not find resource error > > > Can't figure out why this code is giving me an error: > > > > impor

Re: Form Submission

2004-02-17 Thread PAUL BRANT
I use the EL and JSTL to accomplich the same thing: This creates a link for each person in a list that I iterate over using c:forEach. Paul >>> "Geeta Ramani" <[E

RE: html:select

2004-02-17 Thread Paul McCulloch
Surely your application is responsible for creating the options in the first place? Why not create a map of the key,value pairs at that time & refer to it later? Paul > -Original Message- > From: Gonzalez, Sergio Eduardo [mailto:[EMAIL PROTECTED] > Sent: 17 February 20

Re: Subclassing DynaValidatorForm

2004-02-17 Thread Paul-J Woodward
http://jakarta.apache.org/struts/api/org/apache/struts/validator/DynaValidatorForm.html The validate method has a request parameter, so I assume you just do request.getSession().getAttribute("..."), or I have I misread what you are trying to achi

Re: persistent data storage - the right way

2004-02-17 Thread Paul Thomas
resting and will read up on them. Both seem to have a good following on this list. Also read up on the relavent design patterns. -- Paul Thomas +--+-+ | Thomas Micro Systems Limited | Software Solutions for the Smaller Busi

RE: Problem Dynamically creating form properties

2004-02-17 Thread Paul-J Woodward
That sounds excellent, is it available for use? Paul Global Equity Derivatives Technology Deutsche Bank [/] "Guillermo Meyer" <[EMAIL PROTECTED]> 17/02/2

RE: ActionForward(mapping.getInput()) ....

2004-02-16 Thread Paul McCulloch
uot;/geral/gerallogin" Paul > -Original Message- > From: Daniel [mailto:[EMAIL PROTECTED] > Sent: 16 February 2004 13:20 > To: Struts Users Mailing List > Subject: ActionForward(mapping.getInput()) > > > I'm using Tiles for manager the layout o

Re: [OT] persistent data storage - the right way

2004-02-16 Thread Paul-J Woodward
Java object inspector: http://www.programmers-friend.org/JOI/ When you dbl-click on a result in hibern8ide it pops up a JOI window and you can check the values of every attribute in the object - very useful indeed! Paul Global Equity

Re: R: persistent data storage - the right way

2004-02-16 Thread Paul-J Woodward
JOI. Paul Global Equity Derivatives Technology Deutsche Bank [/] "Leonardo Francalanci" <[EMAIL PROTECTED]> 16/02/2004 09:46 Please respond to "

RE: Default locale gets intermixed with other locales

2004-02-16 Thread Paul McCulloch
roperties. hth, Paul > -Original Message- > From: Torsten Römer [mailto:[EMAIL PROTECTED] > Sent: 13 February 2004 20:57 > To: [EMAIL PROTECTED] > Subject: Default locale gets intermixed with other locales > > > Hello, > > I have made a quite simple web

Re: persistent data storage - the right way

2004-02-16 Thread Paul Thomas
ource plug-in if you feel that's the way to go but I think you'll find most people use JNDI and the container-supplied connection pool. -- Paul Thomas +--+-+ | Thomas Micro Systems Limited | Software Solutions for t

RE: Back to the originating screen...

2004-02-13 Thread Paul-J Woodward
o the prepare action. Paul Global Equity Derivatives Tech

RE: instead of

2004-02-13 Thread Paul McCulloch
I don't beleve this will submit the values in the form's input fields. I've achieved this functionality by having links which use javascript to set the dispatch form value & call submit. Paul > -Original Message- > From: Gopalakrishnan, Jayesh [mailto:[EM

RE: Passing an ArrayList

2004-02-09 Thread Paul McCulloch
next time it is called. I think you should look at indexed properties - I haven't used them myself. Paul > -Original Message- > From: Brian Ivey [mailto:[EMAIL PROTECTED] > Sent: 09 February 2004 17:44 > To: Struts - List > Subject: Passing an ArrayList > > > I&#x

RE: duplicate form object

2004-02-05 Thread Paul McCulloch
> --- I commented the "usebean" that was pointed out in prev. thread > > No you didn't - you commented out the result of the tag from the rendered html. You need to comment it out in the world of jsp <%-- --%> Paul > -Original Message- > From: r

RE: How to export the html table contents (records) to an Excel f ile.

2004-02-05 Thread Paul McCulloch
By default (no requestURI attribute) sorting just makes another request to the .jsp to do the work - the action isn't executed again. I tend to use a 'redraw' dispatch action so that every server request still goes through an action. Paul > -Original Message- &g

Re: Re-populating form after validate fails

2004-02-05 Thread Paul Barry
I finally figured this out. It was a stupid mistake. I had . The value="" overrides what was in the bean. Once I removed this, problem solved. Paul Barry wrote: If validate fails, your action won't even be processed. You can't use any of the forwards that you may se

RE: Can't make html:checkbox CHECKED by default

2004-02-05 Thread Paul McCulloch
The checkbox will display a value depending on the value of the 'foo' property of your form bean. To make the value checked set the value on the form bean before displaying the page. Paul > -Original Message- > From: otisg [mailto:[EMAIL PROTECTED] > Sent: 05 Febru

Re: Re-populating form after validate fails

2004-02-04 Thread Paul Barry
If validate fails, your action won't even be processed. You can't use any of the forwards that you may set up for your action, because your action never executes, you can't do a mapping.findForward("failure"). Once validate fails, it forwards to the input. The struts example has validate=false

Re: Re-populating form after validate fails

2004-02-03 Thread Paul Barry
I can't test this right now, but if I have an ActionMapping with validate="true" and no input, won't that result in an error when validate fails? My understanding is that if validate fails, the request processor forwards the request to the input. --

Re-populating form after validate fails

2004-02-03 Thread Paul Barry
I feel bad asking this question because I know it has been asked 1 million times in this group, but I still haven't found the answer so I am asking it again. How do you get a form to re-populate if validation fails? Here is what I am trying. I have 2 actions: So, the user goes to /myaccount

RE: stop user from clicking the submit button twice

2004-01-30 Thread Paul McCulloch
Here's a bit of JS to disable all the buttons etc on a form function disablesubmit (forma) { for (var frm = 0; frm < document.forms.length; frm++) { for (var i = 0; i < document.forms[frm].elements.length; i++) { thisform = document.forms[frm];

RE: session timeout --> time limit

2004-01-30 Thread Paul McCulloch
It's a setting in web.xml: 10 > -Original Message- > From: Oliver Thiel [mailto:[EMAIL PROTECTED] > Sent: 30 January 2004 10:31 > To: [EMAIL PROTECTED] > Subject: session timeout --> time limit > > > Hi all, > > > where can I s

RE: no process to read data written to a pipe ??

2004-01-29 Thread Paul McCulloch
where else in your browser. Paul > -Original Message- > From: Khalid K. [mailto:[EMAIL PROTECTED] > Sent: 28 January 2004 16:45 > To: Struts Users Mailing List > Subject: no process to read data written to a pipe ?? > > > If anyone has seen this error, your input

RE: Can i access session or request object from a bean which is A ctionform variable

2004-01-29 Thread Paul McCulloch
My base ActionFrom has a session attribute on it. In the base reset() method I set the ActionForm's session to the current session. I considered having a request attribute on the from bean, but that looked like a problem waiting to happen if I used session scoped forms. Paul > -

Re: Torque and Struts problem

2004-01-26 Thread Paul Daniell
From: "Kris Schneider" <[EMAIL PROTECTED]> > I suppose this could be a classloader issue. Are all your Struts, Torque, and > JSTL JAR files colocated? Yes. I am using Struts 1.1 rc1, Torque 3.0.2, and JSTL 1.0. > > Quoting Paul Daniell <[EMAIL PROTECTED]>

Torque and Struts problem

2004-01-26 Thread Paul Daniell
"value" with value "${comptest.name}": An error occurred while getting property "name" from an instance of class org.ttemplating.internal.dataobjects.Component (java.lang.IllegalArgumentException: object is

  1   2   3   4   5   6   >