Html option:collection error

2006-09-28 Thread mosho
Hello Everyone, I have weird problem with tag. I am trying to populate the mutli select box using collection. It works some times and some times I get this exception: [ServletException in:/wspb_drivers.jsp] Failed to obtain specified collection' If I start the project again,I don't get this ex

Re: Question about session time-out using Listener

2006-09-25 Thread mosho
filter-mapping? > > Just after the filter element you declared you should have: > > > SessionInactivityFilter< /filter-name> > /* > > > This is the first think I can think of. > > If you think that you got that right it would be good if I could see

Re: Question about session time-out using Listener

2006-09-25 Thread mosho
ntry*, ejb-ref*, ejb-local-ref*)> > > So try to have the declaration of the filter and filter-mapping just > before > the listener elements or the servlet element if you don't have any > listeners declared. > > Please don't hesitate to contact us if you ha

Re: Question about session time-out using Listener

2006-09-25 Thread mosho
ter/SessionInactivityFilter.html > > JWP Home Page: > http://javawebparts.sourceforge.net/ > > Good Luck, > > Tamas > > > > > http://javawebparts.sourceforge.net/javadocs/javawebparts/filter/SessionInactivityFilter.html > > On 9/25/06, mosho <[EMAIL PROTECTED]> wrote: >

Re: Question about session time-out using Listener

2006-09-24 Thread mosho
do you have any example to do this? Thanks. Li-3 wrote: > > you can create a taghandler, much simpler and flexible > > On 9/25/06, mosho <[EMAIL PROTECTED]> wrote: >> >> >> >> Hi All, >> >> When session times out I want to forward a r

Question about session time-out using Listener

2006-09-24 Thread mosho
Hi All, When session times out I want to forward a request to another page.Is it possible to do it with HttpSessionListener? How can I get response object so that I can redirect to another page? Thanks for your help! -- View this message in context: http://www.nabble.com/Question-about-sess

Re: Question about Lookup dispatch action

2006-08-23 Thread mosho
Hey Scott FINALLY! It works !!! Including xml tag in my javascript is the solution for me. THANKS ! Scott Van Wart-2 wrote: > > mosho wrote: >> Hi Scott, >> >> I added a unspecified() method in my action class and it works now. >> I am not able to under

Re: Question about Lookup dispatch action

2006-08-23 Thread mosho
unspecified method, for that value as it would have done if value is null. I am assuming it is calling unspecified() because it is not able to find the key name {submitText} Any idea? Thanks, you have been very helpful. Scott Van Wart-2 wrote: > > mosho wrote: >> Yes, that's exactly

Re: Question about Lookup dispatch action

2006-08-23 Thread mosho
m. Thanks! Scott Van Wart-2 wrote: > > mosho wrote: >> Request[/planName] does not contain handler parameter named navigation >> > > In your struts-config.xml, are you including 'parameter="navigation"' in > your action mapping?

Re: Question about Lookup dispatch action

2006-08-22 Thread mosho
Thanks for your help guyz. It doesn't seem to work. The value of submitText is not passed to the hidden.value The form gets submitted but gives an error Request[/planName] does not contain handler parameter named navigation I am pasting my code below. function onClick

Re: Question about Lookup dispatch action

2006-08-18 Thread mosho
Hi Scott, It doesn't seem to work. My submit buttons look like this:     Now, if I have a link, how can I set the property navigation for it. " onClickSubmit() pic.gif " Scott Van Wart-2 wrote: > > Christopher Goldman wrote: >> On Thu, 2006-

Question about Lookup dispatch action

2006-08-17 Thread mosho
Hi All, I have multiple buttons on my form and I am using LookUpDistpatchAction to submit the form depending on which button is clicked. I have another requirement now, I have multiple images that are going to be links. I need to submit the form using onclick. So in my javascript, I will have t

RE: How to set tiles attribute dynamically?

2006-08-03 Thread mosho
Neil, I am trying to do same thing my page_title comes from the db and it depends on the parameter. I fail to understand, how are you doing it? Do you have some example code. You are creating another class as MyController? Thanks -- View this message in context: http://www.nabble.com/How-to-

how to pass attribute values from bean in tiles

2006-08-03 Thread mosho
Hi, I have property pageTitle in my java bean. How can I pass that value to tile attribute? i have xml file, where I am defining my tile definitions. For example, if I include Thanks -- View this message in context: http://www.nabble.com/how-to-pass-attribute-values-from-bean-in-tiles-tf20

how to call other tiles from baselayout

2006-07-31 Thread mosho
I have a problem. I am using tiles for my layout. I have a baselayout.jsp where I am inserting all my header, body and footer tags. I want to insert another attribute called breadcrumbs which have some insert statements. for example, my tile definition is: Can i do this

Re: Question regarding getRequestURI()

2006-07-31 Thread mosho
Thanks for your replies. This solution works for me, mapping.getpath(). -- View this message in context: http://www.nabble.com/Question-regarding-getRequestURI%28%29-tf2016924.html#a5576221 Sent from the Struts - User forum at Nabble.com. --

Question regarding getRequestURI()

2006-07-28 Thread mosho
Hi All, I am using struts 1.1 I need to get the process.do from the url. For example if I have http://11.1.30.222:1001/testproject/process.do By using getRequestURI(), I can get /testproject/process.do but I just need process.do. Is there any way to get this? Thanks -- View this message in

Re: Valdator - RequiredIf doesn't work for IE

2006-07-19 Thread mosho
Thanks Adam. I got it working now -- View this message in context: http://www.nabble.com/Valdator---RequiredIf-doesn%27t-work-for-IE-tf1968272.html#a5403936 Sent from the Struts - User forum at Nabble.com. - To unsubscribe, e

Valdator - RequiredIf doesn't work for IE

2006-07-19 Thread mosho
Hi all, I am using struts 1.1 version. I have set up validator framework. I am using requiredIf rule, it works perfectly in Mozilla Firefox but it doesn't work in Internet Explorer version 6.0. Is there any reason for it? Is it not supported on IE. Thanks -- View this message in context: h

html link tag to call action forward

2006-07-18 Thread mosho
Hi all, I am struts 1.1. My requirement is to have links which will call one action and each link will have unique identifier to get data. For example, something lilke this: home.do?action=link1 action parameter will keep changing. How can I do this? I would like to use one action class for all

Re: Does validator work with Lookup dispatch action

2006-07-13 Thread mosho
I have two submit buttons previous and next. I need to validate only when I hit next button. I can control this by using page attribute in valdation.xml. This works for server-side. It doesn't work for client side validation. How can I do client side validation only when i hit next button. Is th

Re: Does validator work with Lookup dispatch action

2006-07-12 Thread mosho
Hi Wendy, As per my requirement, I need to validate only when next button is hit. I can validate manually for server-side validation, it is working. How do I control for clients-side validation? If I include javascript tag in my jsp, it is going to validate even if I hit previous or next button.

RE: Does validator work with Lookup dispatch action

2006-07-12 Thread mosho
I have another question, I was just trying to use LookupDispatchAction. It looks like if I am extending LookupDispatchAction, I don't have to use excute method. Is that right? I can do all the processing in the respective previous and next methods. Previous methods looks like ..for ex: public

RE: Does validator work with Lookup dispatch action

2006-07-12 Thread mosho
e and use client side script to set the page request parameter. I am new to this, all your help is appreciated. Mosho -- View this message in context: http://www.nabble.com/Does-validator-work-with-Lookup-dispatch-action-tf1931125.html#a5290199 Sent from the Struts - User forum at Nabbl

Does validator work with Lookup dispatch action

2006-07-12 Thread mosho
to validate only when next button is hit, is that possible? Is there any tutorial avialable for using lookup dispatch action. Thanks Mosho -- View this message in context: http://www.nabble.com/Does-validator-work-with-Lookup-dispatch-action-tf1931125.html#a5289472 Sent from the Struts - User

RE: Question about Struts validator

2006-06-28 Thread mosho
David, Thanks a lot! I understood the whole concept now. It's working perfectly!!! Thanks again! Rosh -- View this message in context: http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5089649 Sent from the Struts - User forum at Nabble.com. --

RE: Question about Struts validator

2006-06-28 Thread mosho
I really appreciate all your help. David, I want to use struts validator and just control validation manually. Why do I need saveErrors() method and what does it do? Isn't the validator does all that. I am little confused. I am pasting my execute method below, please let me know what should I

RE: Question about Struts validator

2006-06-27 Thread mosho
Thanks David and Wendy for your help but it doesn't seem to work. I added manually validate in my execute method. It still validates if I directly enter the url. I am pasting part of my code for you to take a look and let me know where I am going wrong. Thanks again! --Struts config part--

RE: Question about Struts validator

2006-06-27 Thread mosho
Thanks David and Wendy for your help but it doesn't seem to work. I added manually validate in my execute method. It still validates if I directly enter the url. I am pasting part of my code for you to take a look and let me know where I am going wrong. Thanks again! --Struts config part--

RE: Question about Struts validator

2006-06-27 Thread mosho
Thanks David for your reply. If I call validate method manually, can I still use validator framework and use the input attribute in the config file to display the errors? I need to validate only if form is submitted by clicking on a button. If, yes can you show me with an example how to call val

Question about Struts validator

2006-06-26 Thread mosho
Hi All, I want to validate a form by using struts validator, it is working fine. It validates the form if I click submit button, and it also validates the form if I pass it as a url for example: http://111.22.80.244:8989/eNOI/test.do I want to validate the form only if I hit submit button not by