Re: Struts2 on Websphere portal 6.1.0.0

2010-04-19 Thread Prabahar
I am facing an issue with Struts 2 portlet which uses Display Tag. I have implemented a code to display a list using Display Table and also implemented Sorting option. It is working fine with IBM WAS 7.0 and the same code is not working with IBM Portal Server 6.1 It is displaying the data, but

Re: packaging Struts 2 application and third party jars

2010-04-19 Thread Paweł Wielgus
Hi all, also there is a problem when You are migrating some of your apps from one tomcat to another, You have to assure that these libraries are there too, which can be not so easy if You don't own new tomcat. Best greetings, Paweł Wielgus. 2010/4/18 Cimballi cimballi.cimba...@gmail.com: Hi

URI mapper plugin for struts2

2010-04-19 Thread Unmesh joshi
Hi, I have been using struts for an year now and I always thought that expecting name and namespace of the action in URI is very limiting to application developers. It makes it very difficult to have actions mapping to UriTemplates like http://www.example.com/{foo}/{bar}/{baz}. Some times (as

Custom types and select lists

2010-04-19 Thread Lance Hill
I am trying to find an example of how to populate a select list of objects, show the correct item as selected, and if the selection is saved, properly update the object containing the item. In the example below, I would want to show a group of fields for Student information with a select list of

RE: Struts2 on Websphere portal 6.1.0.0

2010-04-19 Thread Griffith, Michael *
The problem is the URI parameter in your display tag table. This is how DT invokes the action/HTTP request that originally got the request for the table in the table. It should be something like: requestURI=search.action where the value is the action of the page. MG -Original Message-

OGNL to define readonly of form fields

2010-04-19 Thread Oscar
Hi to all, i have a doubt. I want to define via ognl if fields are normal or read only. To do that i do this: 1. In my action i set a request parameter named readonlyFields in this way: requestMap.put(readonlyFields, true); And in my jsp i have this (inside form): s:select name=codprv

Re: Using json in Struts 2.1.8.1

2010-04-19 Thread sharath karnati
Hi Dale,     Can you please send me sample example using AJAX in struts 2.1.8, where action method returns json list to a page.     Thanks in advance.   Regards, Sharath. --- On Fri, 4/16/10, Dale Newfield d...@newfield.org wrote: From: Dale Newfield d...@newfield.org Subject: Re: Using json

RE: Struts2 on Websphere portal 6.1.0.0

2010-04-19 Thread Struts Two
When you run struts 2 on Websphere 6.1, there are a few properties you need to add to your Server custom properties. Without these properties set, you will not be able to run struts2. IBM portal server is bacisally and enterprise file that runs on Websphere application server, and I think you

programatically add configuration

2010-04-19 Thread Bhaarat Sharma
ConfigurationManager ( http://struts.apache.org/2.0.11.1/struts2-core/apidocs/com/opensymphony/xwork2/config/ConfigurationManager.html) API provides a reload method that will reload the configuration settings. There is also a setConfiguration(Configuration configuration) method in there. Can

Re: Using json in Struts 2.1.8.1

2010-04-19 Thread Frans Thamura
what do u think if we using enunciate enunciate.codehaus.org/ http://enunciate.codehaus.org/F On Tue, Apr 20, 2010 at 1:14 AM, sharath karnati karna...@yahoo.com wrote: Hi Dale, Can you please send me sample example using AJAX in struts 2.1.8, where action method returns json list to a