Action servlet becomes null in UNIX environment

2008-05-07 Thread Raghuveer Rawat
Hi, I have a problem with my application where actionServlet becomes null in UNIX environment and works fine in windows XP system. While saving data on test environment (UNIX) I am getting action servlet as null in My Action class. The jsp is built dynamically in as below *JSP code:* if

Re: Action servlet becomes null in UNIX environment

2008-05-07 Thread Raghuveer Rawat
a deprecated framework. -Original Message- From: Raghuveer Rawat [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 1:18 PM To: Struts Users Mailing List Subject: Action servlet becomes null in UNIX environment Hi, I have a problem with my application where actionServlet

Re: validation for s:select tag

2008-02-11 Thread Raghuveer Rawat
so the expression (user.country == '-1') must be valid for its type. Raghuveer Rawat wrote: Hi, I need help for mandatory field validation for s:select. I am trying to do client side xml validation. jsp code for country list: s:select name=user.country headerKey=-1 headerValue=Select

validation for s:select tag

2008-02-09 Thread Raghuveer Rawat
Hi, I need help for mandatory field validation for s:select. I am trying to do client side xml validation. jsp code for country list: s:select name=user.country headerKey=-1 headerValue=Select Country list=countryList listKey=code listValue=name required=true / I

How to Default a value in dynamic list (s:select)

2008-02-09 Thread Raghuveer Rawat
Hi, How to make a value as default value in a dynamic list s:select? Below code display a List of Countries sorted by Country Name so country name with letter a comes first but I want USA as default country. How to do that? s:select name=user.country headerKey=-1 headerValue=Select Country

s:property for s:textarea value

2008-02-05 Thread Raghuveer Rawat
Hi, I want to user to preview s:textarea value before sending to db. but when I am displaying s:textarea value using s:property it is not formatting it correctly and wrapping it. Is there anyone who faced this problem? Is this correct way to display Text Area value? s:textarea name=articleDesc

Re: s:property for s:textarea value

2008-02-05 Thread Raghuveer Rawat
Thanks Dave, i am sorry, I didn't explain it properly. Yes, you understood it correctly. I am submitting form and then displaying form values in new page. pre is working for me. Thanks once again. On Feb 5, 2008 10:08 PM, Dave Newton [EMAIL PROTECTED] wrote: --- Raghuveer Rawat [EMAIL PROTECTED

Re: [Struts2] Ajax anchor tag problem

2008-01-22 Thread Raghuveer Rawat
the js redirect the browser. script window.location='xxx'; /script 2008/1/21, Raghuveer Rawat [EMAIL PROTECTED]: Thanks Robi, I think you are right but how to come out of this ajax call if something goes wrong.sometimes I am getting some technical error and error page is also opening

[Struts2] Ajax anchor tag problem

2008-01-21 Thread Raghuveer Rawat
Hi, I have a requirement where only logged in users are allowed to put their comment. I have implemented that form with struts2 ajax theme...anchor has theme=ajax If logged in user puts his comment then everything works fine perfectly..I am able to see text message returned from action in

Re: [Struts2] Ajax anchor tag problem

2008-01-21 Thread Raghuveer Rawat
, as it was instructed.. but as I'm not an ajax guru, I could be wrong. Best regards. -- Robi Roberto Nunnari wrote: try this: result name=login type=redirect-actionlogin/result Best regards. -- Robi Raghuveer Rawat wrote: Hi, I have a requirement where only logged in users

Re: TabbedPanel question

2008-01-08 Thread Raghuveer Rawat
far, I only could paint all tabs with the same color (a different one from the original tabbedpanel). Thanks. Raghuveer Rawat escribió: You need to customize CSS for tabbbed panel... Have a look on below link.. http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core

Re: TabbedPanel question

2007-12-31 Thread Raghuveer Rawat
You need to customize CSS for tabbbed panel... Have a look on below link.. http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/templates/TabContainer.css?view=markup There is tabbed panel attribute for loading this

Re: Display tag and target div

2007-12-31 Thread Raghuveer Rawat
that... Thanks for help... On Dec 29, 2007 7:01 PM, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, Looks like this issue can be resolve with s:div tags listenTopics like below.. s:div href=%{recMessages} theme=ajax label=Received Messages id=1 listenTopics=/recMessagesNext /s:div

Re: problem in tab layout

2007-12-31 Thread Raghuveer Rawat
Probably a bug in tabbed panel... you can go though previous messages on tabbed panel... Some replied that this bug will be fixed in struts 2.1 What version are you using? On Dec 31, 2007 8:56 AM, Vidhyakar Kadarkarai [EMAIL PROTECTED] wrote: hi, i have a problem while using tabs. There two

Re: problem in tab layout

2007-12-31 Thread Raghuveer Rawat
-td12223500.html#a12223500 Thanks Raghu On Dec 31, 2007 9:01 AM, Raghuveer Rawat [EMAIL PROTECTED] wrote: Probably a bug in tabbed panel... you can go though previous messages on tabbed panel... Some replied that this bug will be fixed in struts 2.1 What version are you using? On Dec 31, 2007

Re: problem in tab layout

2007-12-31 Thread Raghuveer Rawat
information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. Raghuveer Rawat [EMAIL PROTECTED] 12/31/2007 07:45 PM Please respond to Struts Users Mailing List user

Re: Display tag and target div

2007-12-29 Thread Raghuveer Rawat
this issue then please let me know..how? Thanks Raghu On 12/27/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hello quinquin2209, Is this issue resolved for you? What was the solution? I am facing same issue as you have raised. I can see display table being populated correctly on page load

Re: Display tag and target div

2007-12-28 Thread Raghuveer Rawat
Looks like this is open issue... found something interesting in webwork forum http://forums.opensymphony.com/thread.jspa?messageID=116863#116863 On 12/27/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hello quinquin2209, Is this issue resolved for you? What was the solution? I am facing

Re: Display tag and target div

2007-12-27 Thread Raghuveer Rawat
Hello quinquin2209, Is this issue resolved for you? What was the solution? I am facing same issue as you have raised. I can see display table being populated correctly on page load but when I click on any sortable column or click on next page, its result is getting opened in new window. How to

Re: [Struts2] problem with s:select tag

2007-12-15 Thread Raghuveer Rawat
or if it's not in application or session scope it won't get automatically re-populated when you re-visit the page. d. --- Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, I have a getting problem in using s:select tag. Need some help if anyone used s:select before. This dropdown is populated

Re: Struts 2, file tag, accept attribute not working?

2007-12-12 Thread Raghuveer Rawat
I am facing same problem and was about to post this question. How to validate file content type in struts2? Thanks in Advance.. Raghu On Dec 12, 2007 5:48 AM, Amit Rana [EMAIL PROTECTED] wrote: Hi Anton, Were you able to finally get it to work? I am using 2.0.9 and accept just doens't

Re: [S2] Help for Ajax Tabbed Panel

2007-11-14 Thread Raghuveer Rawat
label=Shayaries/Ghazal theme=ajax href=%{shayariAction} loadingText=Loading My Shayaries /s:div /s:tabbedPanel On 11/13/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: I can see below message after execution in tabble panel.. *Couldn't load content:Unknown runtime error

Re: [S2] Help for Ajax Tabbed Panel

2007-11-13 Thread Raghuveer Rawat
, basti Raghuveer Rawat wrote: Hi, I am using Struts2, Tile2, Spring2, Display Tag. I am implementing tabbed panel and all the tabs make remote calls. Each Tab will contain a table which are implemented using DisplayTag. I am implementing this table in a separagte JSP and want its

Re: [S2] Help for Ajax Tabbed Panel

2007-11-13 Thread Raghuveer Rawat
configuration in struts.xml package name=article namespace=/article extends=struts-default action name=myArticles_* method={1} class= com.rawatsoft.write4smile.webapp.action.ArticleAction result name=success type=dispatcher /WEB-INF/jsp/MyArticlesDetail.jsp /result /action On 11/13/07, Raghuveer Rawat

[S2] Help for Ajax Tabbed Panel

2007-11-12 Thread Raghuveer Rawat
Hi, I am using Struts2, Tile2, Spring2, Display Tag. I am implementing tabbed panel and all the tabs make remote calls. Each Tab will contain a table which are implemented using DisplayTag. I am implementing this table in a separagte JSP and want its content to be added to tab in the main jsp

[Tile2] Help in Page Layout

2007-11-11 Thread Raghuveer Rawat
Hi, I have newbie in GUI design (Tiles/Menuing) etc. I need some urgent help in Page Layout Design using Tile2/Struts Menu. I am using below template for my page. Menu is very simple one so I have just anchor tags in Header.jsp definition name=.layout template=/WEB-INF/common/Layout.jsp

Re: Problem with Tiles decoration and struts2

2007-11-07 Thread Raghuveer Rawat
Amit, looks like problem is with your struts.xml. You have set Tiles Result but your result is jsp page. I think you need to change it to tile definition. Try below... struts.xml struts package name=default extends=struts-default result-types

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
Hi, still looking for help. On 10/31/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, I have form which allows user to invite other users. A user can invite a max of 10 users at a time. A row contain First Name, Last Name, and Email Address. How should I name these textfields (OGNL

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
automatically using reflection. On 11/1/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, still looking for help. On 10/31/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, I have form which allows user to invite other users. A user can invite a max of 10 users at a time. A row contain

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
Oh, Didn't notice that. Can this message be deleted? On 11/1/07, Dave Newton [EMAIL PROTECTED] wrote: --- Raghuveer Rawat wrote: I found an Article on this in Ian Roughley's book. Posting here if someone is implementing Tabular Data Entry support in their apps. You know it's

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
=firstName2 size=25 maxlength =20/ s:textfield name=firstName3 size=25 maxlength =20/ ... s:textfield name=firstName10 size=25 maxlength =20/ Struts fills action variables values automatically using reflection. On 11/1/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, still looking

Need Help Struts 2.0.8

2007-10-31 Thread Raghuveer Rawat
Hi, I have form which allows user to invite other users. A user can invite a max of 10 users at a time. A row contain First Name, Last Name, and Email Address. How should I name these textfields (OGNL expression) and how should I retrieve these values in Action Class? table tr tdFirst Name/td

Re: File Upload using Struts2

2007-10-16 Thread Raghuveer Rawat
. Regards, Rajagopal Y HCU-Consulting Enterprise Solutions. Phone: (C) +91-9886876114 / (W) 6658 3685. -Original Message- From: Raghuveer Rawat [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 10:31 AM To: Struts Users Mailing List Subject: Re: File Upload using

File Upload using Struts2

2007-10-15 Thread Raghuveer Rawat
Hi, I am trying to upload a jpg image using Struts2 but no luck till now. It will be great if someone could help me in moving further. I am using Struts 2.0.8 and i have commons-fileupload-1.2.jar and commons-io-1.3.2.jar in classpath My code looks like below. MyPhoto.jsp s:form method=post

Fwd: File Upload using Struts2

2007-10-15 Thread Raghuveer Rawat
Hi, I am new to sturts2. I am trying to upload a jpg image using Struts2 but no luck till now. It will be great if someone could help me in moving further. I am using Struts 2.0.8 and i have commons-fileupload-1.2.jar and commons-io-1.3.2.jar in classpath I put debug statement in setter methods.

Re: File Upload using Struts2

2007-10-15 Thread Raghuveer Rawat
: In general it's a good idea to include things like what is actually happening: what symptoms (besides the file isn't uploading :) are there? Is there anything in the logs? Are you including the context cleanup filter in your web.xml? d. --- Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, I am