Error Messges(Field Validator Type = regex)

2009-11-25 Thread taj uddin
Hi Friends,     I am using struts 2.1.6. Facing problem with error messages.  When i use 'regex' validator in validation.xml file than  1. when i clicked on submit button for the first time.    It is showing error messages like Customer name is required.  

How to hide a link

2009-04-30 Thread taj uddin
Hi In my application there is a need to hide a link. I have used the tag to generate a link and the necessity is to hide this link. can any one pls help out in this regard

help please

2009-07-07 Thread taj uddin
Hi all,  when I am trying to render my jsp I am getting the following error on my server console. Please help me in resolving this. The error is coming at xworks action class. I am unable to understand why this error is coming. Thanking you .   I hope the following code of jsp is giving this erro

Re: help please

2009-07-07 Thread taj uddin
sing? Are you extending the ActionSupport class? Also, if you are using a fairly recent version of Struts, you should use var rather than id on the s:iterator tag. -Wes On Tue, Jul 7, 2009 at 8:25 AM, taj uddin wrote: > Hi all, >  when I am trying to render my jsp I am getting the follo

Re: not displaying errors!

2009-07-12 Thread taj uddin
Hi Kavitha,      The action error message will not be carried to the JSP page if u r doing the redirect-action. The Message will be lost. If so, then u have to store the error message in the session and retrieve it in the redirected action class. In case, if u r not doing the redirect-action

Re: Migration from Struts1 to Struts2

2009-07-13 Thread taj uddin
I'm not sure but do pls check out by including the sitemesh-2.3.jar file and xwork-2.0.6.jar file in your library --- On Mon, 7/13/09, Lasantha Pambagoda wrote: From: Lasantha Pambagoda Subject: Migration from Struts1 to Struts2 To: user@struts.apache.org Date: Monday, July 13, 2009, 6:33 AM

How to define style for onselect attribute of tag

2009-07-14 Thread taj uddin
Hi All,     In my application, the JSP page displays a list of items with hyperlinks. When i select one particular item, then that item/element should be rendered according to the style being defined. Below is the code shown:   Home        User Manual                 Sup

How to define style for onselect attribute of tag

2009-07-14 Thread taj uddin
Hi All,     In my application, the JSP page displays a list of items with hyperlinks. When i select one particular item, then that item/element should be rendered according to the style being defined. Below is the code shown:   Home        User Manual                 Sup

How to define style for onselect attribute of tag

2009-07-14 Thread taj uddin
Hi All,     In my application, the JSP page displays a list of items with hyperlinks. When i select one particular item, then that item/element should be rendered according to the style being defined. Below is the code shown:   Home        User Manual                 Sup

how to use autocompleter tag?

2009-09-29 Thread taj uddin
Hi All,       I am working on web application using struts 2.0.12 version. In my application there is a need to replace the select tag with autocompleter tag. I tried many ways using the list which i obtain from the action class and also tested with static list values but not able to acheive

how to use autocompleter tag? Please......

2009-09-29 Thread taj uddin
Hi All,       I am working on web application using struts 2.0.12 version. In my application there is a need to replace the select tag with autocompleter tag. I tried many ways using the list which i obtain from the action class and also tested with static list values but not able to acheive

How to append a string to a label name?

2008-12-08 Thread taj uddin
Hi,   In my application, the textfield label name should be appended with "*". I tried to add the string (*) to my label name using labelSeparator attribute. In my eclipse it shows the warning as "unknown attribut name(labelSeparator). Can u pls help me out in this issue. here (*) was added to

How to make three text boxes appear in one row using struts2 tags?

2008-12-08 Thread taj uddin
Hi, First please go through the attachment in which the rquired GUI to be generated using struts2 tags was shown. In my application, the GUI should appear with three textfield boxes separated with hyphens(-), ("as shown in the attachment")where each textfield boxes has unique names. I'm working

Re: How to make three text boxes appear in one row using struts2 tags?

2008-12-08 Thread taj uddin
M --- On Mon, 12/8/08, taj uddin <[EMAIL PROTECTED]> wrote: > Thank u for ur suggestion. As given, the application is > able to display three boxes(textfields) in one row but how > to append label name( phonenumber)  and hyphens(-) b/w the > textfields(boxes). (1) Use the text

Re: How to append a string to a label name?

2008-12-08 Thread taj uddin
quot;true" than Struts will add the "*" automatically. BR, Andras. taj uddin wrote: > Hi, > > In my application, the textfield label name should be appended with "*". I tried to add the string (*) to my label name using labelSeparator attribute. In my eclipse

Re: How to make three text boxes appear in one row using struts2 tags?

2008-12-08 Thread taj uddin
build the rest of the form row manually. You'll need to do validation manually (which you'd probably want to do anyway for this composite field) and check for the presence of the "field" error manually. Dave --- On Mon, 12/8/08, taj uddin <[EMAIL PROTECTED]> wrote: > First

How to represent three textfield boxes in one row?

2008-12-08 Thread taj uddin
Hi, In my application, the GUI should appear with three textfield boxes separated with hyphens(-), where each textfield boxes has unique names. I'm working on the label PhoneNumber which displays three boxes(one for STD code, second and third for phone number prefix and suffix). Here three tex

How to make a textfiled label apper bold in GUI?

2008-12-09 Thread taj uddin
Hi, In my application the textfield label name should appear bold. If i wrap the textfield tag with the td tag, its not working. For Example, here is my code:                                   

Re: How to make a textfiled label apper bold in GUI?

2008-12-09 Thread taj uddin
ECTED] Date: Wednesday, December 10, 2008, 1:57 AM Should be pretty simple with some CSS: label { font-weight: bold; } Nils-H On Wed, Dec 10, 2008 at 7:28 AM, taj uddin <[EMAIL PROTECTED]> wrote: > Hi, > > In my application the textfield label name should appear bold. If

not able to send the message to jsp

2008-12-10 Thread taj uddin
Hi, In my application i have passed a message to the addActionMessage in my action class. Where the action class maps to the xyz.jsp on success. In the xyz.jsp file i have specified both the and tags. I was able to reach the xyz.jsp but without any message being rendered. So, can u pls figur

not able to send the message to jsp

2008-12-10 Thread taj uddin
Hi, In my application i have passed a message to the addActionMessage in my action class. Where the action class maps to the xyz.jsp on success. In the xyz.jsp file i have specified both the and tags. I was able to reach the xyz.jsp but without any message being rendered. So, can u pls figur

Error with adding the Action-validation.xml files to my app.

2008-12-10 Thread taj uddin
Hi,    In my application, I have added Action-validation.xml file and in the jsp page I set the attribute validate="true" in the s:form tag. After starting the server when i run the application this is the error( shown below) i'm facing. 12:16:21,462 ERROR [UIBean  

Problem with Action-validation.xml files

2008-12-11 Thread taj uddin
Hi,    In my application, I have added Action-validation.xml file and in the jsp page I set the attribute validate="true" in the s:form tag. After starting the server when i run the application this is the error( shown below) i'm facing. 12:16:21,462 ERROR [UIBean   

How to get the int value of current iteration

2008-12-15 Thread taj uddin
Hi, I'm working with an application where i should convert the code that written using (i.e struts 1.2) with (struts 2.1). Below i show the struts1.2 code and also the code which i replaced with tag Old code: //Sub Menu for 2nd Main Menu Item ("Admin"):   

what is the repalcement for saveErrors method?

2008-12-18 Thread taj uddin
Hi, I am working on a application where i would convert the code developed with struts1.2 to struts2.1 In my struts1.2 application ActionErrors were replaced with addActionMessage or addActionError methods in struts2.1 But what method should i use in struts2.1 if i have to replace saveErrors me

Re: what is the repalcement for saveErrors method?

2008-12-18 Thread taj uddin
Thanks Mr.Newton --- On Thu, 12/18/08, Dave Newton wrote: From: Dave Newton Subject: Re: what is the repalcement for saveErrors method? To: "Struts Users Mailing List" Date: Thursday, December 18, 2008, 6:42 AM --- On Thu, 12/18/08, taj uddin wrote: > I am working on a applic

How to convert output of into int?

2008-12-22 Thread taj uddin
Hi, In my application i should pass the output of tag into a method which accepts only int-type parameter. So, is there any scope to convert the output of tag(which is usually a String) into the int value. For ex:-In my application I'm passing the output of tag into a javascript's addIte

How to convert output of into int?

2008-12-22 Thread taj uddin
Hi, In my application i should pass the output of tag into a method which accepts only int-type parameter. So, is there any scope to convert the output of tag(which is usually a String) into the int value. For ex:-In my application I'm passing the output of tag into a javascript's addIte

Pls convert this code using struts2 tags

2008-12-22 Thread taj uddin
Hi I am working on application where i have to convert the code developed in struts1.2 to struts2.0. Here is the struts1.2 code:  //Sub Menu for 2nd Main Menu Item ("ABC"):     menus[1] = new menu(180, "vertical", 0, 0, -1, -1, "", "#ce122d

How to assign a index value of to a int variable.

2008-12-22 Thread taj uddin
Hi, In my application I want to assign the value of the status attribute of tag to the int variable. In clear(explanation):-I have the this code(below) I have tried to get the index value of the current iteration with the help of index() method. where #idx.index() gives the index value. N

How does setActionErrors Method works?

2008-12-24 Thread taj uddin
Hi, In my application I have passed the list of errors to the setActionErrors( ) method and in the resulting jsp page i have written the tag I have a doubt like will this tag get the list, which was passed to the setActionErrors( ) method, and display the errors? Pls help me out in this issue.

Re: How does setActionErrors Method works?

2008-12-26 Thread taj uddin
Hey, no ThanksI understood how the setActionErrors() method worksIt works just like addActionError() method except that it is adding a list of errors rather than a single error(String). --- On Thu, 12/25/08, Dave Newton wrote: From: Dave Newton Subject: Re: How does setActionErrors Me

How does null return type works?

2008-12-26 Thread taj uddin
Hi, I have a doubt like I am returning null result from my action class where as in my configuration file(i.e xml) file i have declared result types "success" and "failure". So, to which result does it map when i return null from my action class? Pls help me in this issue

Re: Message properties not displaying

2008-12-29 Thread taj uddin
Hi, Try using this code: --- On Tue, 12/30/08, Gordian Yuan wrote: From: Gordian Yuan Subject: Re: Message properties not displaying To: "Struts Users Mailing List" , cel...@yahoo.com Date: Tuesday, December 30, 2008, 1:26 AM Hi, Celinio do you declare or ? you can simple try On Sun, D

Pls covert this code to struts 2.1

2009-01-05 Thread taj uddin
Hi, My application was developed on struts 1.2 and i was struck up with a problem when i try to convert that code into struts 2.1 version. So, pls convert the code given below which was developed using struts 1.2 api into struts 2.1. The code is:   Select Where- documentTypes is a

How to work with back button using javascript?

2009-02-02 Thread taj uddin
Hi, In my application i tried using the back button with javascript but its not working and instead it was calling the action specified in the form tag.  IN Detail:    when i click the back button, it was not rendering the previous page..instead it was calling the xyz action. So, pls help me

Validate() method not working

2009-02-10 Thread taj uddin
Hi, In my application I have used the validate() method but to my surprise i found that validate method was not being called at all. What ever the code i have placed in the validate method was not being executed. I doubt there was some problem with the interceptors which i have included in the

problem with validate() method

2009-02-10 Thread taj uddin
Hi, In my application I have used the validate() method but to my surprise i found that validate method was not being called at all. What ever the code i have placed in the validate method was not being executed. I doubt there was some problem with the interceptors which i have included in the xm

how to navigate to another image from the existing image

2009-03-24 Thread taj uddin
Hi, In my application i am having Image in my jsp page with thumb nails. when i click at a particular area of an image it will call a javascript method which helps us in rendering a new jsp page. Below is the page source code for the situation i described above: