Re: Struts 2.0.11.1 problem

2008-04-24 Thread Raghavendra
I am using WebSphere Portal 6.1 This is the cause of the problem..Has anyone encountered this or know a way to fix this? Any help would be appreciated. [4/24/08 12:04:40:250 EDT] 0037 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: StrutsPo

Re: Struts 2.0.11.1 problem

2008-04-24 Thread Raghavendra
[4/24/08 12:04:40:250 EDT] 0037 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: StrutsPortlet. Exception thrown : java.lang.NullPointerException at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFacto

struts 2.0.9 velocity problem

2008-04-23 Thread Raghavendra
Hello, I am trying the struts 2.0.9 sample portlet and am seeing this problem when I use the "velocity" sample. Does anyone know how to fix this or if this is a known problem? ERROR [org.apache.commons.digester.Digester] Parse Fatal Error at line 1 column 1: Content is not allowed in prolog. or

Struts 2.0.11.1 problem

2008-04-23 Thread Raghavendra
Hello, I just installed the struts 2.0.11.1 sample portlet on WebSphere Portal Server and added the test portlets to a page, but when I try to view the portlet, the page displays with "This portlet is temporarirly disabled" message. I see the error show below in the logs. I do have org.spri

Struts 2.0.11.1 problem

2008-04-23 Thread Raghavendra
Hello, I just installed the struts 2.0.11.1 sample portlet on WebSphere Portal Server and added the test portlets to a page, but when I try to view the portlet, the page displays with "This portlet is temporarirly disabled" message. I see the error show below in the logs. I do have org.spri

RE: Is it Possible!

2005-11-15 Thread Raghavendra
Try like this it will work Here properties file or folder must be in root directory as MainFolder | Com.test.loadresource.file.java | resources | Resource file name Class file{ private static void loadConfiguration() { bundle = ResourceBundle.getBundle(

RE: How to create on-the-fly javascript code?

2005-09-14 Thread Raghavendra
Hi Dang try like the following any one, it will work. 1. var forward_details='' function f() { return forward_details; } or 2. function f() { return ''; }

RE: Need help in declaring resource file

2005-07-21 Thread raghavendra
Hey Swapnil Check the resource Folder path, I think it must be in the dir structure as Web project folder/Java Resource Folder/package folder(optional) /resources/...files In struts conf file would be as I think its works fine,try it. Good luck Bye... Hi, I am trying a sample struts

RE: Struts how initialises the value

2005-07-20 Thread raghavendra
Hi senthil Kumar See senthil Struts class exact to any other java class. All class level variables are takes default values. So not only in struts all java class in the following initializes are same. long productId; long productId = 0; Sting abc; Sting abc = null -Original Message- From

RE: Re: Dynamic from Elements Generation

2005-07-20 Thread raghavendra
Hi Amol Yadwadkar In u r approach u r not mention how u got data. I mean in logic:iterare u must give id value i.e u must set exact data format in any collection that will work fine. This my simple solution for your given information -Original Message- From: Amol Yadwadkar [mailto:[EMAIL

RE: JSP - Constant

2005-07-20 Thread raghavendra
I tested it worked fine the following code. Check in u system for paths of com.freescale.npidashboard.common.Constants.FormState.CREATE and styleClas -Original Message- From: Vijay K Anand [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 1:43 PM To: user@struts.apache.org Sub

RE: Problem in Struts Tags

2005-07-19 Thread raghavendra
it seems that having the " > fails for me too. The output html contains instead of . Doing the following worked: <% String val = (String) row.get("VALUE"); %> which will look in the bean exposed by the iterate tag and use its value property. Good luck. Paul Moody ---

RE: Problem in Struts Tags

2005-07-19 Thread raghavendra
n the bean exposed by the iterate tag and use its value property. Good luck. Paul Moody --- raghavendra <[EMAIL PROTECTED]> wrote: > Hi paulsmoody > > This just a sample program I know UI labels are not > good, Hard coded in > Action class. > Main problem is value="<

re: Problem in Struts Tags

2005-07-19 Thread raghavendra
r UI labels in your Action which is not best practice as far as I know. Hope this was of help. Paul Moody --- raghavendra <[EMAIL PROTECTED]> wrote: > > Please first under stand the problem, the problem in > jsp page. Why the > jsp page does't complile. Try the follo

RE: Problem in Struts Tags

2005-07-19 Thread raghavendra
the ArrayList with the contents of the HashMap. Try this: List shippers = new ArrayList(map); Instead of: shippers.add(map); And get rid of: ArrayList shippers = new ArrayList(); Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: raghavendra [mailto

Problem in Struts Tags

2005-07-19 Thread raghavendra
Hi All See the following code In action class I had written like ArrayList shippers = new ArrayList(); shippers.add(new LabelValueBean("UPS", "UPS")); shippers.add(new LabelValueBean("Federal Express", "FEDX")); shippers.add(new LabelValueBean("AirBorne", "AIRB")); request.se

Problem in Struts Tags

2005-07-19 Thread raghavendra
Hi All See the following code In action class I had written like ArrayList shippers = new ArrayList(); shippers.add(new LabelValueBean("UPS", "UPS")); shippers.add(new LabelValueBean("Federal Express", "FEDX")); shippers.add(new LabelValueBean("AirBorne", "AIRB")); request.setA

RE: Using struts forms as Value Objects: your opinion?

2005-07-11 Thread raghavendra
HI If u can use struts Validator or not here this is not matter. In Struts all in put text values takes Strings only. At the time of populating Action Form use the class org.apache.struts.util.RequestUtils class. In Struts all input values are String type, see the following code how to assign in