Re: struts2 interceptor session timeout with ajax

2016-03-29 Thread fea jabi
rror-handling-with-jquery/ so your interceptor must return 403 status code (it can return also an url to login page to redirect to) and you must handle redirect on client side Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2016-03-11 15:31 GMT+01:00 fea

Re: struts2 interceptor session timeout with ajax

2016-03-11 Thread fea jabi
Need help with this please. From: fea jabi Sent: Wednesday, March 9, 2016 10:51 AM To: user@struts.apache.org Subject: struts2 interceptor session timeout with ajax Have jquery tabbed panel in a jsp page which has a button to Save the form in the tabbed

struts2 interceptor session timeout with ajax

2016-03-09 Thread fea jabi
Have jquery tabbed panel in a jsp page which has a button to Save the form in the tabbed panel which is making an ajax call and is working fine. Now trying to implement the session management for all requests in the application and imlemented the new interceptor to perform the same. Having issu

RE: sj:grid --- action errors and highlight the row/row cell that failed validation

2015-10-12 Thread fea jabi
Thank you, for your response. I really appreciate it. I got it working. > From: mgai...@hotmail.com > To: user@struts.apache.org > Subject: RE: sj:grid --- action errors and highlight the row/row cell that > failed validation > Date: Fri, 9 Oct 2015 17:31:15 -0400 > > > > > > > From: zy...

RE: sj:grid --- action errors and highlight the row/row cell that failed validation

2015-10-09 Thread fea jabi
Still looking for help on this please... > From: zy...@hotmail.com > To: user@struts.apache.org > Subject: sj:grid --- action errors and highlight the row/row cell that failed > validation > Date: Fri, 18 Sep 2015 16:17:33 -0400 > > Trying to display action errors when trying to save a row in

edit inline control navigator buttons to display

2015-09-24 Thread fea jabi
Using the below sjg:grid with edit inline. This displays the edit navigator buttons Add New Row, Edit selected row, Save, Cancel row editing. I don't want to show the Add new row button in the navigator. How to do this?

sj:grid --- action errors and highlight the row/row cell that failed validation

2015-09-18 Thread fea jabi
Trying to display action errors when trying to save a row in a Is there an example I can follow? Followed https://code.google.com/p/struts2-jquery/wiki/EditGrid Simple Edit and wrote validate method which is returning the action errors. 1. How should be the struts.xml

sjg:gridcolumn validation and error display

2015-09-14 Thread fea jabi
The above has to be a 8,4 decimal number basically with 3 digit max number and 4 decimal places. how to set this rule in the grid column? Also, how is the recently edited row cell value is highlighted if any validation error when saving a row.

sjg:grid ----- Reload grid after form submit

2015-09-04 Thread fea jabi
Need to reload the sjg:grid on a click of submit button. How to do this? I tried the below JSP Has this   .. $(document).ready(function() { $.subscribe('onSearchSucessTopics', function(event) { ?Not sure how to trigger reload

RE: sjg:grid in modal window not getting displayed atall

2015-09-04 Thread fea jabi
I got this working. Thanks. > From: zy...@hotmail.com > To: user@struts.apache.org > Subject: RE: sjg:grid in modal window not getting displayed atall > Date: Fri, 4 Sep 2015 10:25:32 -0400 > > Adding one more action configuration to this of struts.xml > > > From: zy...@hotmail.com > > To: use

RE: sjg:grid in modal window not getting displayed atall

2015-09-04 Thread fea jabi
Adding one more action configuration to this of struts.xml > From: zy...@hotmail.com > To: user@struts.apache.org > Subject: sjg:grid in modal window not getting displayed atall > Date: Fri, 4 Sep 2015 09:53:36 -0400 > > I am trying to use sjg:grid in a modal window which is opened from a tabbed

sjg:grid in modal window not getting displayed atall

2015-09-04 Thread fea jabi
I am trying to use sjg:grid in a modal window which is opened from a tabbed panel. Have the below code. Everything seams right to me. The modal window opens and displays other stuff but the grid is not getting displayed atall. The getJSON() in the action class is never getting called. I di

Sjg:grid refresh of parent window from modal window

2015-09-03 Thread fea jabi
1. I have a web page which is having a 2. From this webpage I open a modal window which has a link to update the parent window grid information. 3. Once the modal window is done with it's work and closes. how to trigger the refresh the parent window grid ? Need help with this please.

RE: form submit on one tab should move to next tab

2015-09-01 Thread fea jabi
Still need help with this please. > From: zy...@hotmail.com > To: user@struts.apache.org > Subject: form submit on one tab should move to next tab > Date: Sat, 29 Aug 2015 12:54:38 -0400 > > Have a tabbed panel and in one of the tab have a form. > On submit of this form should move to next tab

RE: Textfield onchange --> handling ajax error response to show action errors

2015-09-01 Thread fea jabi
error response to show > action errors > To: user@struts.apache.org > > works on server side but JavaScript works on client > side - it isn't possible to join them. You can only mimic its > behaviour by adding the same html structure as does. > > 2015-08-28 17:14

form submit on one tab should move to next tab

2015-08-29 Thread fea jabi
Have a tabbed panel and in one of the tab have a form. On submit of this form should move to next tab. How to implement this. It is just forwarding to a jsp without a tabbed panels.

Textfield onchange --> handling ajax error response to show action errors

2015-08-28 Thread fea jabi
text-field onchange ---> making ajax call. onsucess ---> everything works fine as needed on failure - > like user entered wrong data ---> How to show the error messages in jsp. I added fieldError but not sure how to show it in jsp with the ajax stuff. In jsp

RE: dependable

2015-08-26 Thread fea jabi
Thanks, for trying to help me on this. I did add the subscribe java script functions as you've suggested. Still not working. Please need help. $(document).ready(function() { $.subscribe('autocompleteChange', function(event, data) { var ui = event.origi

RE: OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread fea jabi
> > private String[] publisherName; //why is this an Array of String instead of > > String publisherName; I had it as String but after seeing the error I modified it to String[] and tried that. > MG>where are you setting the publisherName?.. in constructor of > Action class? I

OGNL error --- Unexpected Exception caught setting ... on 'class.........

2015-08-26 Thread fea jabi
Have a Publisher class with attributes Publisher --->class name code Action class private String[] publisherName; List publishers= new ArrayList(); getters and setters for the same too in it. JSP When I don't select anything in autocompleter and submit the form seeing th

RE: dependable

2015-08-26 Thread fea jabi
I tried doing this onSelectTopics of first autocompleter to select value of the second autocompleter but didn't work. Any suggessions? First autocompleter Second autocompleter $.subscribe('publisherDescSelect', function(event, data) { var ui = event.originalEven

RE: dependable

2015-08-26 Thread fea jabi
As mentioned earlier have 2 autocompleters with same list of Managers. Only difference being the Manger.description is shown as drop down in one and Manager.code is shown in the drop down in another. In the first autocompleter when Manager.description is selected it should automatically selec

RE: Struts2 resource bundle labels not showing up

2015-08-25 Thread fea jabi
45:48 +0200 > > Subject: Re: Struts2 resource bundle labels not showing up > > To: user@struts.apache.org > > > > 2015-08-25 15:34 GMT+02:00 fea jabi : > > > I tried setting the default-action-ref in struts.xml as below. That > > > didn't work. Also, I

RE: Struts2 resource bundle labels not showing up

2015-08-25 Thread fea jabi
tried adding this in struts.xml Both didn't work. Am I missing something? > From: lukaszlen...@apache.org > Date: Tue, 25 Aug 2015 15:45:48 +0200 > Subject: Re: Struts2 resource bundle labels not showing up > To: user@struts.apache.org > > 2015-08-25 15

RE: Struts2 resource bundle labels not showing up

2015-08-25 Thread fea jabi
and outside as well. login > From: lukaszlen...@apache.org > Date: Tue, 25 Aug 2015 15:00:34 +0200 > Subject: Re: Struts2 resource bundle labels not showing up > To: user@struts.apache.org > > 2015-08-25 14:50 GMT+

RE: Struts2 resource bundle labels not showing up

2015-08-25 Thread fea jabi
org > Date: Tue, 25 Aug 2015 14:46:24 +0200 > Subject: Re: Struts2 resource bundle labels not showing up > To: user@struts.apache.org > > 2015-08-25 14:41 GMT+02:00 fea jabi : > > Need help with this please. > > Sure but can you answer my question I have sent yo

RE: Struts2 resource bundle labels not showing up

2015-08-25 Thread fea jabi
calling the same > action(login) to launch the page too. > > > > From: lukaszlen...@apache.org > > Date: Mon, 24 Aug 2015 15:24:47 +0200 > > Subject: Re: Struts2 resource bundle labels not showing up > > To: user@struts.apache.org > > > > 2015-08-21 8

dependable

2015-08-24 Thread fea jabi
I am new to struts2 and need help with the struts2 jquery autocompleter tag Have an object Publisher code description In Action getPublishers() I am trying to use 2 dependable sj:autocompleter tags. In both it should display the Publishers list but in one it should display th

RE: struts2

2015-08-24 Thread fea jabi
gt; The deprecated Dojo-based tags (which I would recommend against using in > fairly strong terms) or the S2 jQuery plugin? > > On Mon, Aug 24, 2015 at 10:33 AM, fea jabi wrote: > > > Using struts-core 2.3.24.jar > > > > > > > > I am trying to do 2 depe

struts2

2015-08-24 Thread fea jabi
Using struts-core 2.3.24.jar I am trying to do 2 dependable autocomplete drop downs and found an example here http://struts.fromdev.com/2009/10/struts-2-ajax-autocomplete-dropdown.html But getting error that as JSPG0046E: Unable to locate tagfile for tag autocompleter I did check t

RE: Struts2 resource bundle labels not showing up

2015-08-24 Thread fea jabi
t the labels when I load the page then? I am calling the same action(login) to launch the page too. > From: lukaszlen...@apache.org > Date: Mon, 24 Aug 2015 15:24:47 +0200 > Subject: Re: Struts2 resource bundle labels not showing up > To: user@struts.apache.org > > 2015-08-21

Struts2 resource bundle labels not showing up

2015-08-24 Thread fea jabi
Still need help with this please. > From: zy...@hotmail.com > To: user@struts.apache.org > Subject: Struts2 resource bundle labels not showing up > Date: Fri, 21 Aug 2015 02:17:08 -0400 > > > > Using struts2 in iRad > > > > 1. In src folder have package > com.xyx.actions > in this have

RE: Struts2 tabbed panel not working

2015-08-21 Thread fea jabi
hy are you using the long-deprecated Dojo tags? > > On Aug 21, 2015 2:06 AM, "fea jabi" wrote: > > > > > Using Struts2.3 . Using the below code to display the tabbed panel but > > > it's not working. What am I missing in this? All I see is some text of

RE: Struts2 tabbed panel not working

2015-08-20 Thread fea jabi
org > > Why are you using the long-deprecated Dojo tags? > On Aug 21, 2015 2:06 AM, "fea jabi" wrote: > > > Using Struts2.3 . Using the below code to display the tabbed panel but > > it's not working. What am I missing in this? All I see is some text o

Struts2 resource bundle labels not showing up

2015-08-20 Thread fea jabi
Using struts2 in iRad 1. In src folder have package com.xyx.actions > in this have LoginAction.java 2. Created "resources" -- > of type Source Folder in it I added a package com.xyx.actions > in this added LoginAction.properties I added couple of label and error propertie

Struts2 tabbed panel not working

2015-08-20 Thread fea jabi
Using Struts2.3 . Using the below code to display the tabbed panel but it's not working. What am I missing in this? All I see is some text of Tab1 Tab2 on screen. no css is applied. Have struts2-dojo-plugin in build path. What else do I need? Using struts2 tiles too. Any help is appreciated

label text align

2012-01-13 Thread fea jabi
I want to align the label to 'right'. How can I do this? Thanks.

struts & PDF

2010-04-13 Thread fea jabi
On click of a button I open a window and generating PDF in it as "inline" within that browser window. It works fine. I did set the http response header for the response with the file name. So, I am seeing the right PDF name in the open/save dialog of PDF. But when I click on the save bu

RE: html:link submit with request parameters

2009-11-14 Thread fea jabi
user@struts.apache.org > > Use javascript to get a reference to the form, and call its submit > method. > > EG > > > > > > function submit() { > document.getElementById("form").submit() return false; > } > > onclick="return submit

html:link submit with request parameters

2009-11-12 Thread fea jabi
I need to submit the form when the is clicked/pressed and also need to pass parameters. " transaction="true" > but this is not submitting the form. How can I submit the form and also pass the request params? Basically I want other values entered in the html form are set to

ActionRedirect

2009-11-04 Thread fea jabi
I am setting an list as a request attibute. I am creating a new ActionRedirect(...) and adding parameter to it. redirected action class is not having the request attribute list. request.setAttribute("EMPLIST", emplist ); AcitonRedirect redirect = new ActionRedirect(...) .

checkbox in table struts 1.2

2009-10-29 Thread fea jabi
I am trying to add checkboxes in table column and unable to do so. need to send a boolean value when the checkbox is checked otherwise false. * Created a bean for each row in the table Have a bean Employee firstName lastname . Bo

Get struts action class

2009-09-30 Thread fea jabi
In my method signature have ActionMapping mapping, ActionForm form, HttpServletRequest request I want to get the associated "Action". How to get the action class? I would appreciate your help. Thanks. __

set submit button focus

2009-09-28 Thread fea jabi
Have couple of submit buttons in my JSP All of them have the property as "method". When I try to set the focus for the html:form. how do I set to the focus to a certain submit button. I tried the above. we;ll it did not work. How to do this? your help is appreciated.

RE: submit button

2009-09-15 Thread fea jabi
may I know what the javascript will be? > Date: Tue, 15 Sep 2009 11:59:20 -0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: submit button > > fea jabi wrote: > > have a submit button which has the value of "Add Employee" &

submit button

2009-09-15 Thread fea jabi
have a submit button which has the value of "Add Employee" Add Employee but when submitted I want the property to be set to another value "add" in the request action="add" How can this be done? Thanks. _ Bing brin

action mapping parameter issue

2008-05-23 Thread fea jabi
We are getting the below error in production server for some of the users not all. Everything works fine on our local machines. What can we check to avoid the below issue. Any suggessions? javax.servlet.ServletException: Request[/DispatchOrdersAction] does not contain handler parameter named

RE: Progress Bar

2008-01-16 Thread fea jabi
code snipet would be helpfull. Thanks. > From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: Progress Bar> > Date: Fri, 11 Jan 2008 16:14:00 -0500> > > Working a process which would take > couple of mins to complete. Would like to use progress bar for this process.> > > How to use

Progress Bar

2008-01-11 Thread fea jabi
Working a process which would take couple of mins to complete. Would like to use progress bar for this process. How to use a progress bar? using 1.2. struts. Thanks. _ Share life as it happens with the new Windows Live. http://

usage of constant in validation-rules in custom validator

2007-02-12 Thread fea jabi
Created a custom validator. I have created a constant in validation-rules.xml alpha_num ^[a-zA-Z0-9]*$ Is it possible to use the this constant in my custom validator I created. If so, how to use it? Also, Is it possible to get message from the MessageResource.properties. If

RE: validation help

2007-02-09 Thread fea jabi
can someone help me with this please. thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: validation help Date: Thu, 08 Feb 2007 10:01:01 -0500 Have 2 radio buttons of ID and Name and an inp

validation help

2007-02-08 Thread fea jabi
Have 2 radio buttons of ID and Name and an input field to enter criteria. When the ID is selected the criteria the user entered should be numeric. Should display the user with the appropriate message that only int value is allowed. When the Name is selected the criteria the user entered shoul

session time out

2007-01-05 Thread fea jabi
When the session times out want to redirect to a session time out page. Is there an easier way to do this in struts? How can this be done? Thanks. _ Find sales, coupons, and free shipping, all in one place!  MSN Shopping Sales &

request values between actions

2006-12-27 Thread fea jabi
Have a Customer.jsp For this jsp, have a prepare action and dispatch action. In prepare action doing some process and creating an obj called Customer object. In this Customer JSP, have a table which displays some rows. One of the columns data i.e orderID is a link. On clicking it navigates to

Re: initial values and reset method relation

2006-11-27 Thread fea jabi
orry about setting checkbox values to false; most of the time you can leave this method unimplemented." Hubert [1] http://struts.apache.org/1.x/struts-core/apidocs/org/apache/struts/action/ActionForm.html On 11/27/06, fea jabi <[EMAIL PROTECTED]> wrote: Have t

initial values and reset method relation

2006-11-27 Thread fea jabi
Have the below in the form bean. public void reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request) { super.reset(mapping, request); set("empCost", Boolean.FALSE); set("orders", Boolean.FALSE); }

why/when to use redirect

2006-11-21 Thread fea jabi
I am not really clear when to use redirect=true. I am chaining actions. As I was doing this I had to use redirect=true to get the values that were set in one action to another. But the request attributes set in that action were lost when redirect is set to true. why is that? is there any way,

jsp page/actions design question

2006-11-13 Thread fea jabi
Using struts. Have a JSP cust.jsp In it half of it is very specific to that page only. other half is shown in this cust.jsp and another report.jsp too. want to implement this so that code can be re-used in the other one too. The way I have designed is for a jsp have a prepare action and dispa

Re: checkbox issue

2006-11-08 Thread fea jabi
tml:checkbox, which is probably what you want. (*Chris*) On 11/8/06, fea jabi <[EMAIL PROTECTED]> wrote: can someone help me with this please. Thanks. >From: "fea jabi" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" >To: user@stru

RE: checkbox issue

2006-11-08 Thread fea jabi
can someone help me with this please. Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: checkbox issue Date: Fri, 03 Nov 2006 17:30:09 -0500 struts-config The below form-bean is session sc

RE: checkbox issue

2006-11-06 Thread fea jabi
con someone help me with this please? thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: checkbox issue Date: Fri, 03 Nov 2006 17:30:09 -0500 struts-config The below form-bean is session sc

checkbox issue

2006-11-03 Thread fea jabi
struts-config The below form-bean is session scoped and hence using reset. ... public class CustForm extends DynaValidatorForm { public CustForm() { } public void reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request) {

Re: reset method with DyanValidatorForm

2006-11-01 Thread fea jabi
To: "Struts Users Mailing List" Subject: Re: reset method with DyanValidatorForm Date: Wed, 1 Nov 2006 15:35:44 + On 1/6/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 1/6/06, fea jabi <[EMAIL PROTECTED]> wrote: > So, I might have to reset the checkboxes now. > > Do,

Re: reset method with DyanValidatorForm

2006-11-01 Thread fea jabi
Great. thanks a lot for your help. From: "Wendy Smoak" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Re: reset method with DyanValidatorForm Date: Wed, 1 Nov 2006 08:21:41 -0700 On 11/1/06, fea jabi <

RE: On enter from input field getting: does not contain handler parameter error

2006-10-27 Thread fea jabi
Here is the solution for this. http://frustratedprogrammer.blogspot.com/2004/07/ie-bug-and-struts-forms-with-one-input.html Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: On enter from inp

On enter from input field getting: does not contain handler parameter error

2006-10-27 Thread fea jabi
type="org.apache.struts.validator.DynaValidatorForm"> redirect="false"/> redirect="true"/> IN JSP:

disable enter key functionality

2006-10-26 Thread fea jabi
Is it possible in struts to disable the functionality of the enter key which would usually execute the first submit button in the page. Can we do this at form level? If so how to do this? Thanks. _ Add a Yahoo! contact to Windows

display only mode using struts tags

2006-10-20 Thread fea jabi
Developed jsp using struts html tags. (html:text etc.) Now we have the requirement which should display the values only is display mode on a condition. user should not be able to edit any in some condition. Is there something in struts that can be used to get this functionality. I have se

validwhen for double value comparision

2006-10-16 Thread fea jabi
Need to check if the value entered is greater than zero. Tried the below using the validwhen test (*this* > "0.00") validation seams to be working right when entered 0,0.00,any string, any

date comparision using validwhen

2006-10-13 Thread fea jabi
can we use validwhen to do date comparision? we are using date pattern MM-dd-. the data type in form bean property is String. Thanks. _ Share your special moments by uploading 500 photos per month to Windows Live Spaces

RE: format/unformat of input values

2006-10-11 Thread fea jabi
My first was the same. Thanks, Dave for your response. From: "Dave Newton" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: RE: format/unformat of input values Date: Wed, 11 Oct 2006 09:47:08 -0400 Fro

format/unformat of input values

2006-10-11 Thread fea jabi
using fmt:Number as below and putting the value in the input field. currencySymbol="" var="rev"/> But, when form is submitted the value in the input field is comma separated. How to make this value unformatted when form is submitted? Is there something in JSTL that does this? Ofcourse can d

clear form bean properties

2006-10-03 Thread fea jabi
Which method is the better/preffered way to clear the form-bean properties. have form properties as ArrayList, String and Boolean in a DynaValidatorForm. when we have to clear the form bean we are trying to remove all the form properties i.e making form-bean with no properties in it. Other w

mapping forwards

2006-09-25 Thread fea jabi
In struts config have a Dynavalidator form-bean .. have prepare(Action) and dispath(LookupDispatchAction) actions for the jsp in the config which are session scoped. In the jsp have a submit button which dispatches to the dispatch action to

Re: form-property value set in dispatch action is lost

2006-09-21 Thread fea jabi
r your form if PrepareAction is called. On 9/19/06, fea jabi <[EMAIL PROTECTED]> wrote: In struts config have a Dynavalidator form-bean .. have prepare(Action) and dispath(LookupDispatchAction) actions for the jsp in the config which are session scoped.

Re: form-property value set in dispatch action is lost

2006-09-20 Thread fea jabi
Thanks for your responses. can someone help me with this please. Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: form-property value set in dispatch action is lost Date: Tue, 19 Sep 2006 16:

Re: form-property value set in dispatch action is lost

2006-09-19 Thread fea jabi
sorry, it was a typo. I have a rigt method 'calc' itself. From: "Wendy Smoak" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Re: form-property value set in dispatch action is lost Date: Tue, 19

Re: form-property value set in dispatch action is lost

2006-09-19 Thread fea jabi
sorry, it was a typo. I have a rigt method 'calc' itself. From: "Wendy Smoak" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: Re: form-property value set in dispatch action is lost Date: Tue, 19

RE: form-property value set in dispatch action is lost

2006-09-19 Thread fea jabi
frm ); } else if ( mapping.getScope().equalsIgnoreCase("SESSION")) { HttpSession session = request.getSession(); session.setAttribute( mapping.getName(), frm ); } } -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 19, 2006 3:44 PM To: user@s

RE: form-property value set in dispatch action is lost

2006-09-19 Thread fea jabi
I do have the dynamic="true" set too. .. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: form-property value set in dispatch action is lost Date: Tue, 19 Sep 2006 15:43:37 -0400 I

form-property value set in dispatch action is lost

2006-09-19 Thread fea jabi
In struts config have a Dynavalidator form-bean .. have prepare(Action) and dispath(LookupDispatchAction) actions for the jsp in the config which are session scoped. redirect="false"/> redirect="false"/> In the jsp have a submit button whi

form-bean is not getting updated with the values entered

2006-09-19 Thread fea jabi
Have an ArrayList in the form-bean This contains the list of row objects required for the below table. using displaytag to display the the list of elements. requestURI="PrepareAction.do" class="table1"> .. ... I tried using

LookupDispatchAction call - onchange of an input field

2006-09-12 Thread fea jabi
Have a html:text . onchange of the value entered in this field, have to submit the form. Using LookupDispatchAction.

conditional required in struts validator

2006-09-07 Thread fea jabi
Have a Drop down and an input field. When user selects "Type 1" from drop down only then the input field is required. otherwise it's not a required field. Looking at the validator guide in struts maybe I have to create a new validator rule which should check if drop down value "Type 1". But n

displaytag/ struts layout tag?

2006-09-05 Thread fea jabi
which one is preferable? When I posted here for pagination/sorting an year ago, I was pointed towards displaytag. I see that struts layout tag does these too. which one is preffered to use? Thanks. _ Get the new Windows Live Me

RE: validation of two form properties

2006-08-09 Thread fea jabi
can someone help me wih this please? Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: validation of two form properties Date: Tue, 08 Aug 2006 15:50:58 -0400 have form properties a and b have t

validation of two form properties

2006-08-08 Thread fea jabi
have form properties a and b have to validate that property b is an integer, greater than 0 and also greater than form property a. test ( (*this* >= 0) and (*this* >= a) ) trie

RE: validate integer with a comma thousands seperator using Validator

2006-08-04 Thread fea jabi
max9 Define the message in the resource file (errors.fmtLongRange): errors.fmtLongRange={0} must be a valid whole number between {1} and {2}. -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 10:01 AM To: user@struts.apache.org

RE: validate integer with a comma thousands seperator using Validator

2006-08-03 Thread fea jabi
can someone help me with this please? From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: validate integer with a comma thousands seperator using Validator Date: Wed, 02 Aug 2006 10:09:19 -0400 Using

validate integer with a comma thousands seperator using Validator

2006-08-02 Thread fea jabi
Using struts validator. have to validate the user entered value. The value entered should be a positive integer with a comma thousands seperator. the number need not be in thousands. I have as below to check for positive integer without comma seperator. but not sure how to validate if the us

RE: [OT]design help

2006-07-31 Thread fea jabi
can someone help me with this please? Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: [OT]design help Date: Fri, 28 Jul 2006 13:09:46 -0400 have String array's which have values in them.

[OT]design help

2006-07-28 Thread fea jabi
have String array's which have values in them. dbValues[] newValues[] Have an object Customer which has row obj in a table in jsp page. This row obj basically has dbValues[0] , newValues[0] .. etc. In Prepare Action. Creating the list of Customer obj's that is put in the form-bean. stru

Re: errorStyleClass not working

2006-07-24 Thread fea jabi
got this working too. bundle="${appbundle}"/> Thanks a lot David and Niall. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: errorStyleClass not workin

Re: errorStyleClass not working

2006-07-24 Thread fea jabi
t resolve this issue for you anyway - the only thing I know of is a small extension I wrote quite a while ago that can do this: http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html Niall I'm out of ideas at this point so good luck (Unles Niall has any ideas). Regards, David --

RE: errorStyleClass not working

2006-07-21 Thread fea jabi
xed properties. I'm out of ideas at this point so good luck (Unles Niall has any ideas). Regards, David -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 9:13 AM To: user@struts.apache.org Subject: RE: errorStyleClass not working I think the

RE: errorStyleClass not working

2006-07-21 Thread fea jabi
lk about ERRORS and MESSAGES being saved under different keys, as I've mentioned in my previous posts: http://struts.apache.org/1.x/struts-core/apidocs/org/apache/struts/action/Ac tion.html Regards, David >On 7/19/06, fea jabi <[EMAIL PROTECTED]> wrote: >>Yah, in the JSP where th

Re: errorStyleClass not working

2006-07-20 Thread fea jabi
hy have two JSP tags that do the same job?": http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html ..and follow the link to the Wiki regarding ActionErrors/ActionMessages: http://wiki.apache.org/struts/ActionErrorsAndActionMessages Niall On 7/19/06, fea jabi <[E

RE: errorStyleClass not working

2006-07-19 Thread fea jabi
right. When to use the ActionMessages and when to use ActionErrors. Thanks a lot for your help. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: RE: errorStyleClass not working Date: Wed, 19 Jul 2006 15

RE: errorStyleClass not working

2006-07-19 Thread fea jabi
ted String message = null; public MessagesPresentTag() { name = Globals.ERROR_KEY; } // ... End of snippet, lots cut but you get the idea that // you are changing the keys to NOT use the Globals.ERROR_KEY // that I believe errorStyleClass is using. } Regards, David -O

RE: errorStyleClass not working

2006-07-19 Thread fea jabi
using? Accoring to the release notes, only versions 1.2.7 and above have the errorStyleClass attributes in them. Are you sure your version supports errorStyleClass? And we ARE talking the output of your html:text tag on a page which also shows the actual errors, via the html:errors tag, right?

  1   2   3   >