Re: [OT] Re: Is it post or get?

2008-02-20 Thread semaj.najraham
dave wrote: > > --- "semaj.najraham" <[EMAIL PROTECTED]> wrote: >> my point is if the user directly types >> ../myApp/viewUserDetails.do?methodToCall=edit&userid=1, it goes to Edit >> User page. >> >> Is this how it should behave even if it is POST or I am

Is it post or get?

2008-02-20 Thread semaj.najraham
This is a novice question about post and get form submission and I am confused. I really appreciate if you could help me. I have included some sample codes for explanation. I have following action mappings in struts-config file

Options Transfer and dynamically display textfields

2007-09-26 Thread semaj.najraham
Hi there, I need to create an interface where the user can transfer choices from one select box to another box and based on the selected items, I need to display the text fields where the user can enter some values and do the validation accordingly. The options for left select box will be populat

Add Web Service to Struts Web App

2007-08-10 Thread semaj.najraham
Hi, I've been googling and looking at the user mailing list if I add web service to a struts based application, but didn't find my answers. Currently I am developing a struts based application with Struts 1.3.8 with Struts validator framework. I've implemented business layer and data layer. In f

Re: Struts Url Validator

2007-08-09 Thread semaj.najraham
This is what I need in validation.xml file allowallschemes true All urls ending with .com or .net is validated while those not ending with .com or dot else is not working. Is this the limitation of struts validator? Jasper Floor wro

Re: Struts Url Validator

2007-08-08 Thread semaj.najraham
I can validate http://www.google.com, https://www.google.com, but not http://google Is this the limitation of struts url validator? I would really appreciate if someone would reply. Thank you, semaj semaj.najraham wrote: > > Does anybody know if I can use Struts Url Validator for in

Struts Url Validator

2007-08-08 Thread semaj.najraham
Does anybody know if I can use Struts Url Validator for intranet url? For exampe: http://intranet or http://localhost:8080 Thanks, semaj -- View this message in context: http://www.nabble.com/Struts-Url-Validator-tf4238692.html#a12060732 Sent from the Struts - User mailing list archive at N

Re: Using Nested tag and JavaScript

2007-08-06 Thread semaj.najraham
It works now.. Thanks.. semaj.najraham wrote: > > Hi Paul, > > I successfully copied the values from mailing address textfields to > billing address textfields using javascript (see below). However, the > billing address text fields values are not sent to the server

Re: Using Nested tag and JavaScript

2007-08-06 Thread semaj.najraham
Hi Paul, I successfully copied the values from mailing address textfields to billing address textfields using javascript (see below). However, the billing address text fields values are not sent to the server. They are empty!! If I directly type mailing and billing address, the values are sent t

Re: Using Nested tag and JavaScript

2007-08-03 Thread semaj.najraham
Thank you Paul.. you save my day!! Paul Benedict-2 wrote: > > Attach styleId to your fields. Then you can use JavaScript to manipulate > form fields by their id. use getElementById scripting method. > > semaj.najraham wrote: >> Hey guys, >> >> I need some

Re: Using Nested tag and JavaScript

2007-08-03 Thread semaj.najraham
Guys.. any ideas?? semaj.najraham wrote: > > Hey guys, > > I need some help using nested tag library and javascript. I have an > actionForm named RegistrationForm that has two AddressForm; mailing and > billing addresses. I need to implement a requirement if a user click

Using Nested tag and JavaScript

2007-08-02 Thread semaj.najraham
Hey guys, I need some help using nested tag library and javascript. I have an actionForm named RegistrationForm that has two AddressForm; mailing and billing addresses. I need to implement a requirement if a user clicks a checkbox say 'same as mailing', I need to copy the textfield values from m

Is there a way to remove browser cache once the user clicks the log out button?

2007-07-25 Thread semaj.najraham
Hi guys, Hope someone can reply me. I removed the browser cache in my application using a servlet filter so that if the user clicks the log out button (which invalidates the session), he/she cannot see the pages he visited using a browser back button. Of course, if I don't remove the cache, he/sh

Re: Display inline error message

2007-07-24 Thread semaj.najraham
r messages from Message Resources? For example: error messages in alert boxes. Regards, semaj pbenedict wrote: > > Inline error messages would be an ajaxian-like feature. The current > version of the validator does not support this. However, that is a good > enhancement request :-) &g

Display inline error message

2007-07-23 Thread semaj.najraham
Hi there, I'm using Validator framework with Struts 1.3.8. I would like to know if there is a way to display inline error messages (instead of alerts) during the client side validation? Thanks, semaj -- View this message in context: http://www.nabble.com/Display-inline-error-message-tf4132276.

Re: How to display message from resource bundle using Struts EL tags

2007-07-14 Thread semaj.najraham
dle. Do I need to mention anything there? Thanks, semaj nuwan chandrasoma-2 wrote: > > Hi, > > I think it should be like this. > > > > Thanks, > > Nuwan > > - Original Message - > From: "semaj.najraham" <[EMAIL PROTECTED]> > To:

Re: How to display message from resource bundle using Struts EL tags

2007-07-13 Thread semaj.najraham
ssing in the 'key' attribute > is evaluating to null or the empty string. Check how you're specifying > the key, and feel free to post a sample of the JSP markup you're using > if you still can't figure it out. > > L. > > semaj.najraham wrote: >&

Re: How to display message from resource bundle using Struts EL tags

2007-07-13 Thread semaj.najraham
a-2 wrote: > > key="${stringvar}"/>http://struts.apache.org/1.3.8/struts-el/index.html- > Original Message - > From: "semaj.najraham" <[EMAIL PROTECTED]> > To: > Sent: Friday, July 13, 2007 5:49 AM > Subject: Re: How to display message f

Re: How to display message from resource bundle using Struts EL tags

2007-07-12 Thread semaj.najraham
Any idea, guys!! semaj.najraham wrote: > > I have the following jsp: > > <%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean"%> > <%@ page import="com.messages.Constants" %> > > > > where Constants.

How to display message from resource bundle using Struts EL tags

2007-07-12 Thread semaj.najraham
I have the following jsp: <%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean"%> <%@ page import="com.messages.Constants" %> where Constants.java contains the following containts public static final String SECTION_TITLE = "section.title"; and key/value is defined in MessageReso