Re: Loosely coupled pages and actions

2006-05-04 Thread Michael Jouravlev
On 5/3/06, Rob Manthey [EMAIL PROTECTED] wrote: Thanks Michael. I'm just picking my way through your answer ... Ok, the jsp:include bit is interesting ... and I'm going to consume that in detail later, that's a lesser case at present. One question on the non-include side ... - Michael

Re: Loosely coupled pages and actions

2006-05-04 Thread Rob Manthey
Michael Jouravlev wrote: First, about input=pagename bit. I personally believe that * input property should be deprecated * if it is not deprecated, then it should be at least renamed to error, because input is a misleading name input property is not an input page, it is the location where

Re: Loosely coupled pages and actions

2006-05-04 Thread Rob Manthey
Michael Jouravlev wrote: On 5/3/06, Rob Manthey [EMAIL PROTECTED] wrote: ... action knowing dynamically what jsp it's called from ... Despite that HTTP is stateless, the application has its state, which is defined by * state stored on the server, like session-scoped data * input data

Re: Loosely coupled pages and actions

2006-05-04 Thread Michael Jouravlev
On 5/3/06, Rob Manthey [EMAIL PROTECTED] wrote: If you care about where your action is called from, Only so much as to have a page for the server to send back to the user - ie: the page that they were on - not some other interim page. So we have two concepts: * A certain page sends request

Re: request scope paging

2006-05-04 Thread Rob Manthey
Dave Newton wrote: Kyle W. Cartmell wrote: I understand the concept behind this, but does anyone actually use this in production code? Seems more trouble than it's worth since the user could simply start multiple sessions. How? Isn't that browser-dependent? And no, I wouldn't bother

[shale][clay] commandLink in dataTable not working

2006-05-04 Thread Ian.Priest
This is driving me mad - can anyone see why my command link isn't working? I have a table that lists customers and has an action link in each row to view customer details. I build all my viws using clay. The clay components are: component jsfid=userSearchTable extends=dataTable allowBody=false

Re: [shale][clay] commandLink in dataTable not working

2006-05-04 Thread Alberto Molpeceres
I don't know if this applies since I've never used Clay, but when you have this lind of problem in JSF, 95% of the times if because you forgot to declare the form. CommandLinks doesn't work if not inside of a form. al. On 5/4/06, Ian.Priest [EMAIL PROTECTED] wrote: This is driving me mad -

RE: [shale][clay] commandLink in dataTable not working

2006-05-04 Thread Ian.Priest
Good guess, but unfortunately I have put the form tags in - here's an html snippet that might give everyone more info... body form table tr td id=menu valign=top

Re: Are throwing RuntimeExceptions in a struts app 'that evil'?

2006-05-04 Thread Adam Hardy
Rick Reumann on 03/05/06 23:40, wrote: Do I really want to have to wrap that with a try/catch or declare that it throws WhateverException? What does that really gain me? I guess this is religion/style thing. I would never return SQLwhatever exceptions to business/web layer, I would convert

Re: How to use Html:Select

2006-05-04 Thread Kjersti Berg
Try making the entire onchange one scriptlet like this: html:select property=accSubj_nc name=applicationItem indexed=true onchange='%= doSubmitWithIndex(this.form, + ApplicationAction.ACCSUBJ_CHANGE + , + index + ) %' /html:select Kjersti On 03/05/06, Joey Watson [EMAIL PROTECTED]

RE: [OT] Re: Please help

2006-05-04 Thread Meenakshi Singh
Thanks Dave, I'll take care for the subject line in future, however, I am unable to find a group r list for windows CE that is why I posted my query in this knowledgiable group, hoping that sometime might be able to trow some light. or atleast suggest me the right group or list for the same.

RE: [OT] Re: Please help

2006-05-04 Thread Meenakshi Singh
Would u suggest any? Thanks Regards, MS -Original Message- From: Roy, Ansuman [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 5:08 PM To: Struts Users Mailing List Subject: RE: [OT] Re: Please help why not try microsoft pocket pc forums. as this is a microsoft product. you

RE: [OT] Re: Please help

2006-05-04 Thread Roy, Ansuman
c'mon dont be lazy why dont you try googling yaar. -Original Message- From: Meenakshi Singh [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 5:16 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Re: Please help Would u suggest any? Thanks Regards, MS -Original

Re:[OT] calling js function with list backed form value

2006-05-04 Thread vijay venkataraman
In your JS function can you add 'this' as one of the parameter. Then in your js function you can get the value from the element. Like input type=text onclick=return someFunction(this)/ which implies the element on which the event occured. Note: I have never used bean:xxx tags and don't know

RE: [OT] Re: Please help

2006-05-04 Thread Meenakshi Singh
I am not the one who would be asking for help without trying. Though I would be trying again for it, I asked for that thinking you know any of them. Thanks Regards, MS. -Original Message- From: Roy, Ansuman [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 5:19 PM To: Struts Users

Re: [OT] calling js function with list backed form value

2006-05-04 Thread siva sajja
Hi Here you are using a normal input tag from html which has no knowledge of any of the struts functionalities(mapped back properties). Use html:text instead Cheers, Siva. Shoukat, Faisal wrote: Hi, I have a list backed action form and want to call a javascript function with one of the

???en_GB. in errors

2006-05-04 Thread Shoukat, Faisal
Hi, I throw a application exception back to the web layer and catch it in my action class. I then create a errors object with the exception as follows: errors.add(errors, new ActionMessage(e.getCause().getMessage())); saveErrors(request, errors); When it displays the error on the jsp it

Re: ???en_GB. in errors

2006-05-04 Thread Emmanouil Batsis
Shoukat, Faisal wrote: Hi, I throw a application exception back to the web layer and catch it in my action class. I then create a errors object with the exception as follows: errors.add(errors, new ActionMessage(e.getCause().getMessage())); You need to add false as a second param to the

Conditional validation

2006-05-04 Thread Mulligan, Scott H
I just started playing with the commons-validator and came across a problem with how I have my Struts application structured. I am using dispatch actions that have load and save methods. In the load I retrieve the reference data needed to build the page and then forward to the jsp page. In the

RE: [OT] calling js function with list backed form value

2006-05-04 Thread Shoukat, Faisal
If I use the html; text property the only diff would be html:text property=%=benefits[+index.intValue()+].value% size=20 onblur=%=jsFunction%/ I still have the same problem. If I put this in then the value becomes [object] Thanks -Original Message- From: vijay venkataraman

RE: Are layers 'that evil'?

2006-05-04 Thread George.Dinwiddie
It seems to me that the problem Paul Reedman describes isn't that of building layers on top of frameworks, but of building frameworks on top of frameworks. I find that I often build an adapter layer around third-party subsystems to create an interface written specifically in the terms of my

Re: [OT] calling js function with list backed form value

2006-05-04 Thread siva sajja
Hi Try replacing the code javascript:calculate('%=benefits[ + index.intValue() + ].value%',...with javascript:calculate('%= benefits[index.intValue()].value%',... (removing the string concatenation) Hope this will help Cheers, Siva. On 5/4/06, Shoukat, Faisal [EMAIL PROTECTED]

RE: [OT] calling js function with list backed form value

2006-05-04 Thread Shoukat, Faisal
Unfortuately as before it just prints out benefits[index.intValue()].value and not the actual value. -Original Message- From: siva sajja [mailto:[EMAIL PROTECTED] Sent: 04 May 2006 15:12 To: Struts Users Mailing List Subject: Re: [OT] calling js function with list backed form value Hi

Re: Conditional validation

2006-05-04 Thread James Mitchell
The newest version of the Struts mailreader sample app shows a best practices approach to just what you describe. Take a look at that and see if you might be able to do the same. (Specifically, look at the paths for Edit* and Save*) HTH -- James Mitchell On May 4, 2006, at 9:40 AM,

RE: [shale][clay] commandLink in dataTable not working

2006-05-04 Thread Ian.Priest
No-one else got any ideas about this? Does anyone which classes get invoked on an action click - maybe I can debug a handler somewhere to try and see what's happening? -Original Message- From: Ian.Priest [mailto:[EMAIL PROTECTED] Sent: 04 May 2006 09:49 To: Struts Users Mailing List

Re: Conditional validation

2006-05-04 Thread Adam Hardy
In the last couple of days someone said that they separated the two flows using GET and POST - or at least I thought so. It sounded interesting but on looking at the struts-config DTD, there seems no way to do this. I can't find the thread in the archive now. Did I misread that previous

Re: ???en_GB. in errors

2006-05-04 Thread Bart Busschots
Hi, You are supposed to pass in a key for an entry in application_resources.properties and you are instead passing in the message you want. Struts is not finding the 'key' you are looking for in the language you are using en_GB and so it is doing what it always does when it can't find a

RE: ???en_GB. in errors

2006-05-04 Thread Mulligan, Scott H
If your web site needs to be multi-lingual you should place your message in the Resource bundle. If your message isn't predefined, you could set up a general error message in your resource bundle that takes an argument: error.general={0}. Then you just create an ActionMessage using a key of

Re: How to use Html:Select

2006-05-04 Thread Joey Watson
Thanks Kjersti. ur code works. but I am just thinking. is it a best way? coz it seems little bit hard to read. On 5/4/06, Kjersti Berg [EMAIL PROTECTED] wrote: Try making the entire onchange one scriptlet like this: html:select property=accSubj_nc name=applicationItem indexed=true

Re: Migration Path

2006-05-04 Thread Don Brown
Yes, if you pick up WebWork 2 today, you will be much better prepared for Struts Action 2 in the future. Currently, we are working on getting a release out that is pretty much a renamed WebWork 2 with a few minor improvements, but if you are on the dev list, you'll see there is a lot more

Re: [shale][clay] commandLink in dataTable not working

2006-05-04 Thread Gary VanMatre
From: Ian.Priest [EMAIL PROTECTED] This is driving me mad - can anyone see why my command link isn't working? I have a table that lists customers and has an action link in each row to view customer details. I build all my viws using clay. The clay components are: [snippet] The

Re: Migration Path

2006-05-04 Thread Vinny
This is still a few months down the line, no? If I use WW Actions in my struts 1.29 webapps and keep the the respective Views in their own corners, I shouldn't have to worry about a Clash of Controllers , right? On 5/4/06, Don Brown [EMAIL PROTECTED] wrote: Yes, if you pick up WebWork 2

Re: Conditional validation

2006-05-04 Thread Adam Hardy
Could be easily overlooked, I agree - but is it even possible? I don't think it is possible to configure on the action mapping level. James Mitchell on 04/05/06 17:43, wrote: I don't think that would be the best solution (but that's just my 2c) -- I would opt for the declarative approach, with

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Michael Jouravlev
Dispatching action. Do not use old and crusty DispatchAction. See these links: http://wiki.apache.org/struts/EventActionDispatcher http://wiki.apache.org/struts/DataEntryForm Michael. On 5/4/06, Joey Watson [EMAIL PROTECTED] wrote: hello everybody. When I was working a big project. I

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Jakub Milkiewicz
THe gold rule use interface to encapsulte behaviour 2006/5/4, Michael Jouravlev [EMAIL PROTECTED]: Dispatching action. Do not use old and crusty DispatchAction. See these links: http://wiki.apache.org/struts/EventActionDispatcher http://wiki.apache.org/struts/DataEntryForm Michael. On

Re: Conditional validation

2006-05-04 Thread Jakub Milkiewicz
Hi Can you point it where i can find it Thanks 2006/5/4, James Mitchell [EMAIL PROTECTED]: The newest version of the Struts mailreader sample app shows a best practices approach to just what you describe. Take a look at that and see if you might be able to do the same. (Specifically, look at

Re: Conditional validation

2006-05-04 Thread Michael Jouravlev
On May 4, 2006, at 11:27 AM, Adam Hardy wrote: In the last couple of days someone said that they separated the two flows using GET and POST - or at least I thought so. It sounded interesting but on looking at the struts-config DTD, there seems no way to do this. I can't find the thread in

How to manually force the use of an ApplicationResources.properties??

2006-05-04 Thread Inandjo Taurel
hi, I'm using struts 1.2.8 along with JSPs in an application. As at now for the internationalization, I'm just using the normal mechanism just by specifying the path to the resources file in my struts config file, and getting bean:message key=../. Now, I need to be able to switch from one

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Joey Watson
Thanks Michael. I will study it. On 5/5/06, Michael Jouravlev [EMAIL PROTECTED] wrote: Dispatching action. Do not use old and crusty DispatchAction. See these links: http://wiki.apache.org/struts/EventActionDispatcher http://wiki.apache.org/struts/DataEntryForm Michael. On 5/4/06, Joey

highligt errors

2006-05-04 Thread Jakub Milkiewicz
Hi I would like to highlight - change style of, labels associated with an html input elements, i.e html:text or html:select. These tags have errorStyle attribute so changing style for a given input is not a big deal, but in addition i would like to change style of label which is situated next to

Make base Action class a dispatch action

2006-05-04 Thread Michael Jouravlev
What we has been brought from the stone ages: * Base Action class does not dispatch events * DispatchAction and its flavors do, but they do not allow a user to derive an action class from some another user's base action What we got now in 1.2.9 and 1.3.1+ : * ActionDispatcher resolves the

Re: Make base Action class a dispatch action

2006-05-04 Thread Don Brown
I like it, although you should probably bring this over to the dev list. :) Don On 5/4/06, Michael Jouravlev [EMAIL PROTECTED] wrote: What we has been brought from the stone ages: * Base Action class does not dispatch events * DispatchAction and its flavors do, but they do not allow a user to

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Michael Jouravlev
Code-wise: one action class per one logical web resource seems more natural to me. Say, Employee. I would have one EmployeeForm, one EmployeeAction and several JSP pages for different modes. All compact and observable with as little stuff in config file as possible. But this is just a

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Frank W. Zammetti
On Thu, May 4, 2006 1:59 pm, Michael Jouravlev said: Code-wise: one action class per one logical web resource seems more natural to me. Say, Employee. I would have one EmployeeForm, one EmployeeAction and several JSP pages for different modes. All compact and observable with as little stuff

Re: Conditional validation

2006-05-04 Thread Dave Newton
Adam Hardy wrote: In the last couple of days someone said that they separated the two flows using GET and POST - or at least I thought so. It sounded interesting but on looking at the struts-config DTD, there seems no way to do this. I can't find the thread in the archive now. Did I misread

RE: How long does it take the message to appear on the list.

2006-05-04 Thread Vikas Phonsa
Hi Everybody, How long does it take the message to appear on the list? I posted a message about 2 hrs ago but haven't seen it yet on the list. Thanks Vikas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: How to create a Waiting Page for long requests?

2006-05-04 Thread Jakub Milkiewicz
NP 2006/5/4, Ed Griebel [EMAIL PROTECTED]: Great link, thanks!! -ed On 5/3/06, Jakub Milkiewicz [EMAIL PROTECTED] wrote: Hi I think JMS is only valid , i.e. following specification solution. Take a look at:

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Dave Newton
Frank W. Zammetti wrote: I.e., you want /showAccount.do accessible to the AccountManager and Customer roles, but you only want /updateAccount.do accessible to the AccountManager role? As I understand it, you would have something like /accountResource.do, and dispatch to a particular

[OT] RE: How long does it take the message to appear on the list.

2006-05-04 Thread DGraham
H...Probably best handled by your local BOFH. But then, he'll probably just blame /twirl increase solar flare activity. =) -Dennis Vikas Phonsa [EMAIL PROTECTED] 05/04/2006 02:14 PM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing

indexed property validation

2006-05-04 Thread Carl Smith
I have an indexed property which is a tipical list of textboxes, I have a requirement to validate that the user need to at least enter values into one text box. How can you configure this using Struts required validator? Thanks in advance. -

Re: Make base Action class a dispatch action

2006-05-04 Thread Dave Newton
Michael Jouravlev wrote: * Stick dispatching features in base Action, thus making all actions to be dispatch actions. Minor drawback: * only one dispatching behavior can be chosen. Thoughts? Objections? Suggestions? Works for me, with the following commentary (some of which may be

Re: Securing DispatchActions (was: How to avoid lots of if else in Action class.)

2006-05-04 Thread Frank W. Zammetti
Didn't want to hijack a thread, so... On Thu, May 4, 2006 2:21 pm, Dave Newton said: Frank W. Zammetti wrote: I.e., you want /showAccount.do accessible to the AccountManager and Customer roles, but you only want /updateAccount.do accessible to the AccountManager role? As I understand it, you

Re: How long does it take the message to appear on the list.

2006-05-04 Thread Craig McClanahan
On 5/4/06, Vikas Phonsa [EMAIL PROTECTED] wrote: Hi Everybody, How long does it take the message to appear on the list? I posted a message about 2 hrs ago but haven't seen it yet on the list. One possible explanation for this behavior would be if you posted the message from an email

[OT] Re: How long does it take the message to appear on the list.

2006-05-04 Thread Dave Newton
Vikas Phonsa wrote: How long does it take the message to appear on the list? Depends. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Conditional validation

2006-05-04 Thread Adam Hardy
Dave Newton on 04/05/06 19:13, wrote: Adam Hardy wrote: In the last couple of days someone said that they separated the two flows using GET and POST - or at least I thought so. It sounded interesting but on looking at the struts-config DTD, there seems no way to do this. I can't find the

OT: Bespoke

2006-05-04 Thread Vinny
bespoke. Wow. Please setlle this bet among our dev team that you _must_ be Brittish. On 5/4/06, Adam Hardy [EMAIL PROTECTED] wrote: - you would have a bespoke exception superclass -- Ghetto Java: http://www.ghettojava.com

Change Input parameter at run time

2006-05-04 Thread Troy Bull
Greetings I have an application i have inherited. There is a situation where 2 jsp's submit to the same action with the same form bean. In the validation function inside the form bean if there is one type of error I want to set the input parameter to /jsp1.jsp and put an ActionError on the

Re: Securing DispatchActions

2006-05-04 Thread Dave Newton
Frank W. Zammetti wrote: What if you simply are not allowed to include security mechanisms in your application? (configuring groups isn't considered in the application). Not allowed? Don't tell 'em ;) Well, I can kind of answer my own question... of course we *are* allowed to see what

Re: OT: Bespoke

2006-05-04 Thread Adam Hardy
Vinny on 04/05/06 19:31, wrote: bespoke. Wow. Please setlle this bet among our dev team that you _must_ be Brittish. On 5/4/06, Adam Hardy [EMAIL PROTECTED] wrote: - you would have a bespoke exception superclass Yes I am British! I get all my bespoke exceptions made on Saville Row,

Re: Change Input parameter at run time part 2...

2006-05-04 Thread Troy Bull
I found mapping.setInput but i get an error when i try to change it telling me java.lang.IllegalStateException: Configuration is frozen How do u temporarily unfreeze my configuration so I can change my input ?? thanks troy Troy Bull said the following on 5/4/2006 1:37 PM: Greetings I

Re: Securing DispatchActions

2006-05-04 Thread Frank W. Zammetti
On Thu, May 4, 2006 2:37 pm, Dave Newton said: Frank W. Zammetti wrote: What if you simply are not allowed to include security mechanisms in your application? (configuring groups isn't considered in the application). Not allowed? Don't tell 'em ;) I've done plenty of that :) Sometimes I

Re: Change Input parameter at run time part 2...

2006-05-04 Thread Michael Jouravlev
It is not possible (at least legally). You should create a new ActionMapping object. On 5/4/06, Troy Bull [EMAIL PROTECTED] wrote: I found mapping.setInput but i get an error when i try to change it telling me java.lang.IllegalStateException: Configuration is frozen How do u temporarily

Re: Change Input parameter at run time part 2...

2006-05-04 Thread Michael Jouravlev
Oh, and by the way, I suggest that instead of hacking input property you abandon it altogether as well as autovalidation. If you turn autovalidation off, your action.execute() method will always be called, so you can call actionform.validate() manually and then make a decision where to forward.

Validator stops when an error is encountered

2006-05-04 Thread Mulligan, Scott H
The validate javascript function that gets generated by the validator stops processing once one of the validation routines finds an error. Is there a way to override the with so that I can get all errors at once? If so, where would I do this? function validateSignIn(form) { if

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Frank W. Zammetti
On Thu, May 4, 2006 3:56 pm, Michael Jouravlev said: I see the value of a dispatch action primarily as input (post-, submit, accept) action, not as a render (pre-, setup) action. Your /showAccont.do mapping is a render action, therefore it will likely not be covered by dispatch action.

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Michael Jouravlev
My article is out: http://today.java.net/pub/a/today/2006/05/04/almost-portlets.html I bet you haven't read the draft that I've sent you :-) How's your book going? This [EMAIL PROTECTED] article took me almost a month. I updated it 15 times or so. The book... oh, this should be really tough :)

How to manually force the use of ApplicationResources.properties?

2006-05-04 Thread Inandjo Taurel
hi, I'm using struts 1.2.8 along with JSPs in an application. As at now for the internationalization, I'm just using the normal mechanism just by specifying the path to the resources file in my struts config file, and getting bean:message key=../. Now, I need to be able to switch from one

SAF 1.3.x, chain naming and arbitrary chains

2006-05-04 Thread Michael Jouravlev
chain-config.xml is not referenced in config files -- I look at the content of struts-cookbook-1.3.2.war right now. I see chain-config.xml file present, but it is not referenced anywhere in the config files. For ease-of-learning purposes I suggest

Re: SAF 1.3.x, chain naming and arbitrary chains

2006-05-04 Thread Michael Jouravlev
On 5/4/06, Michael Jouravlev [EMAIL PROTECTED] wrote: How exactly can I set the chain for a particular request? Stupid me, catalog and command attributes of action, of course. Still, this choice is made declaratively on a mapping level. What if I wanted to make it programmatically?

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Frank W. Zammetti
No, sorry, never did get around to reading it... I meant to, but the book is all I've had time for since pretty much January. I actually really can't wait to be done with it, at least the initial writing. There's so many things I'd like to be working on right now! The current project, while

Re: SAF 1.3.x, chain naming and arbitrary chains

2006-05-04 Thread Michael Jouravlev
On 5/4/06, Michael Jouravlev [EMAIL PROTECTED] wrote: On 5/4/06, Michael Jouravlev [EMAIL PROTECTED] wrote: How exactly can I set the chain for a particular request? Stupid me, catalog and command attributes of action, of course. Still, this choice is made declaratively on a mapping level.

Re: How to avoid lots of if else in Action class.

2006-05-04 Thread Michael Jouravlev
On 5/4/06, Frank W. Zammetti [EMAIL PROTECTED] wrote: No, sorry, never did get around to reading it... I meant to, but the book is all I've had time for since pretty much January. Yeah, yeah, yeah ;-) I actually really can't wait to be done with it, at least the initial writing. Will it be

Re: SAF 1.3.x, chain naming and arbitrary chains

2006-05-04 Thread Joe Germuska
Default command for ControllerConfig seem to be hardcoded - Now the interesting part: these strings are never referenced anywhere. The command is initialized in ControllerConfig class: protected String command = servlet-standard; It

What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Caroline Jen
There is a J2EE application I am working on. The application uses the Struts framework. Things are working fine. If users use the Close button that is provided by us (developers), the current web page closes and the previous web page is displayed orderly and properly. But, we are getting in

Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Rob Manthey
Caroline Jen wrote: ...etc... But, we are getting in trouble if users use the browser Back button. After several clicks on the browser Back button, we get system errors. What to do to handle the situation? ...etc... This must be one of the most frequently asked questions on this list. Is

Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Rob Manthey
Caroline Jen wrote: ... in trouble if users use the browser Back button. After several clicks on the browser Back button, we get system errors. What to do to handle the situation? have a look through some of these ... http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=back+buttonq=b try:

Two mysteries: ;jsessionid and bad img tag

2006-05-04 Thread Bryce Nesbitt
I've just been gifted with a struts application to maintain. Things are pretty good, but here are two little mysteries I need a little help on. The struts jsp looks like: tdhtml:link page=/html:img page=/images/logo.gif alt=XX width=326 height=111 hspace=0 vspace=0 border=0 //html:link/td And

Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Michael Jouravlev
On 5/4/06, Rob Manthey [EMAIL PROTECTED] wrote: Caroline Jen wrote: ...etc... But, we are getting in trouble if users use the browser Back button. After several clicks on the browser Back button, we get system errors. What to do to handle the situation? ...etc... This must be one of the most

Re: Two mysteries: ;jsessionid and bad img tag

2006-05-04 Thread Craig McClanahan
On 5/4/06, Bryce Nesbitt [EMAIL PROTECTED] wrote: I've just been gifted with a struts application to maintain. Things are pretty good, but here are two little mysteries I need a little help on. The struts jsp looks like: tdhtml:link page=/html:img page=/images/logo.gif alt=XX width=326

Re: Two mysteries: ;jsessionid and bad img tag

2006-05-04 Thread Michael Jouravlev
On 5/4/06, Bryce Nesbitt [EMAIL PROTECTED] wrote: I've just been gifted with a struts application to maintain. Things are pretty good, but here are two little mysteries I need a little help on. The struts jsp looks like: tdhtml:link page=/html:img page=/images/logo.gif alt=XX width=326

Re: Are layers 'that evil'?

2006-05-04 Thread Dakota Jack
Do you have a single example of this so that we can see you are at least talking about something in particular? On 5/3/06, Rob Manthey [EMAIL PROTECTED] wrote: I found this recent par on a local JUG resonated for me and had some theme parallels to Rick's current thread ... how much do we

Help me in configin easystruts plugin in Eclipse 3.1

2006-05-04 Thread Anil Kumar Pippalapalli
hi all, hope you are doing fine. i am unable to configure easystruts plugin in eclipse 3.1, Plz help me out. bye, anil. - Yahoo! India Answers: Share what you know. Learn something new. Click here

Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Frank W. Zammetti
Rob, might I suggest the Wiki? That's kind of the point of its existence :) Frank Rob Manthey wrote: Caroline Jen wrote: ...etc... But, we are getting in trouble if users use the browser Back button. After several clicks on the browser Back button, we get system errors. What to do to

Re: What To Do If Users Use the Browser Back Button?

2006-05-04 Thread Rob Manthey
Frank W. Zammetti wrote: Rob, might I suggest the Wiki? That's kind of the point of its existence :) good call. i'm off for the weekend now, so no more fun for me today ;) back for more on monday. cheers Rob - To

Waiting page Conflicts with Validator!

2006-05-04 Thread starki78
Hi I introduced a waiting page as discussed in the days before (http://wiki.apache.org/struts/StrutsPleaseWait?highlight=%28wait%29). It works excellent but not with the use of validator! Can someone tell me how to prevent this? I'm aware that this is a quite tricky problem! It only arises with

Re: [shale][clay] commandLink in dataTable not working

2006-05-04 Thread Ryan
I'm experiencing the same behavior, and I've built all my views in Clay as well. Here's an interesting behavior that I see in my Controller (extending the Shale Controller). I have Page A that displays a data table with image links throughout that link to an action, let's call it edit. This is

Re: Loosely coupled pages and actions

2006-05-04 Thread Rahul Krishnarao Patil
Hi all , I want to Configuring datasource with tomcat for oracle . But i am not able to find any proper document for this configuration. Can anybody help me out . I am using Tomcat 5.5.16 and oracle 9i. Thanks and Regards, Rahul Patil