Why is token checking only available when control has passed to the Actionclass?

2002-12-12 Thread Steve_Akins
Hi all, I have a fairly involved problem surrounding token checking for request reload management. There are various methods available in the Action class such as saveToken, resetToken and isTokenValid which are all very useful in helping manage reload requests. All these methods operate off a t

How to access CVS log information

2002-12-12 Thread Steve_Akins
I'm trying to get information from the Struts CVS repository which will tell me what changes have been made since the Struts 1.1b2 release. Does anyone know a way of getting this information ? I want to go through this to make sure that any of the problems fixed by these changes will not affect u

Re: How to access CVS log information

2002-12-12 Thread Steve_Akins
Thanks for that. Do you use anonymous CVS to connect to the Struts source code repository and if so how? We haven't been able to figure it out yet. We can do this for Jakarta commons but we seem to be having difficulty with the Struts repository. Regards, Steve Akins Team Leader, Frameworks, J

Does anyone out there use Scaffold?

2003-01-27 Thread Steve_Akins
We are currently developing Struts apps and incorporating Scaffold code into them. Firstly, I was wondering if anyone else out there is using Scaffold code and what comments they have on their success or otherwise with it? Secondly, with the latest release of Struts (1.1b3), Scaffold code has b

Re: Does anyone out there use Scaffold?

2003-01-28 Thread Steve_Akins
Thanks for your response Rob. I've downloaded the commons component of Scaffold from the sandbox and built it myself. It's interesting to point out that the Scaffold code is still pointing to Struts 1.0.x imports, you have to go through the code to change it to the 1.1 versions of these classes

Re: scaffold ProcessBaseBean and sessions

2003-03-25 Thread Steve_Akins
If you set up a userProfile form object in your struts config and store your user info in it, Scaffold will merge information coming from the request form and the userProfile form and pass them to the execute method. If you want to see how it works, have a look at the source for ProcessAction in

Re: scaffold ProcessBaseBean and sessions

2003-04-01 Thread Steve_Akins
Hi Kirby, You're right about the struts-user group, not much talk of Scaffold but we should try and change that. Another place to look is http://sourceforge.net/projects/struts/ I've been off the air for the last couple of days but will try to answer what I can when I can. This is what we d

Re: bean message as button label

2003-04-01 Thread Steve_Akins
Not sure if it makes a difference but we do this: And it works fine. Give it a try. Regards, Steve Akins Team Leader, Frameworks, J2EE Engineering Development Centre Financial Services Australia Technology ( +61 3 8641 2846 2 +61 3 8641 4152 : [EMAIL PROTECTED] National Australia Bank Li

Re: Using a model bean value in a

2003-04-03 Thread Steve_Akins
Give this a try: Looking at the code, if the 'value' attribute is null, then the 'name' and 'property' attributes are used to look up the value via the pageContext. This means that the 'property' value must be the same in

Can you use nested beans with Scaffold?

2002-09-30 Thread Steve_Akins
I was wondering if anyone has been able to use nested beans with Scaffolds? I've been trying to do this with no luck. It seems that when the form data is moved to the properties map it can't then be copied to the data bean. www.keyboardmonkey.com have an example of a form with nested beans and

Re: Is this possible??

2002-09-30 Thread Steve_Akins
Yes it is. Check out a tutorial by keyboard monkey at : http://www.keyboardmonkey.com/pilotlight/next/Tutorial_partTwo.jsp?content=yesplease Hope this helps. "

Re: Is this possible??

2002-10-03 Thread Steve_Akins
Yes it is. Check out a tutorial by keyboard monkey at : http://www.keyboardmonkey.com/pilotlight/next/Tutorial_partTwo.jsp?content=yesplease Hope this helps. Hello everyone, Just wondering if someone can tell me if this is possible and, if so, how this can be done? I've been banging my he

Problem with Global Forwards when using Scaffold FindForwardAction

2002-11-13 Thread Steve_Akins
Hi all, Was wondering if anyone has used FindForwardAction successfully with global forwards? I can't see how the current version can work, even if the commented code is uncommented. Any ideas? Steve Akins Team Leader, Frameworks, J2EE Engineering Development Centre Financial Services Australi

How do you map errors occuring in ProcessBean with fields on a screen?

2002-11-18 Thread Steve_Akins
Currently when using Scaffold Action classes and ProcessBean, messages can be added to the ProcessResult object. The BaseAction constructs ActionErrors using the messages in the ProcessResult object and ActionErrors.GLOBAL_ERROR as the property mapping. This means that you can't map an error di

BaseAction in Scaffolds does not seem to handle multiple messages beingreturned from ProcessBean very well.

2002-11-18 Thread Steve_Akins
When BaseAction gets around to merging the messages returned into the alerts, it treats the list as a single message with parameters and not a list of messages. I'm pretty new to the Struts/Scaffold world so I'm not exactly sure what to do. I can see the the FIXME note in the mergeAlerts metho