Re: version conflict?

2010-02-20 Thread Lukasz Lenart
2010/2/19 Bill Bohnenberger : > Struts 2 documentaion at * > http://struts.apache.org/2.x/docs/building-the-framework-from-source.html* > implies (at the bottom of the page) that only java 1.5 is required. But when > I deploy my app to a tomcat 5.5.27 server using jdk 1.5.0_20, I get the > Unsuppor

Re: Content DIV update strategy

2010-02-20 Thread Jose A. Corbacho
Finally fixed it as follows: In the main page: Links that have to display contents target "contenDiv" Thanks! On Sat, Feb 20, 2010 at 9:49 AM, Martin Gainty wrote: > > i would suggest including handler attribute e.g. > > > function handler(widget,node) { > node.inne

RE: Doubt in json response

2010-02-20 Thread Martin Gainty
i dont know if JSONObject can dynamically build an object graph..(members please please correct me if this functionality has been added) i would use AXIOM to add or replace elements to your Object Graph..and then use getChildren to acquire the iterator e.g. java.util.Iterator=ParentNode.GetChi

Re: how to eliminate time in

2010-02-20 Thread wild_oscar
Why bother with type conversion when all that it seems that is wanted is display the correct format? It seems to me that the s:date tag was built for that precisely (see http://cwiki.apache.org/WW/date.html ). It seems like reinventing the wheel. Andy Sykes wrote: > > You could write your own t

Re: how to eliminate time in

2010-02-20 Thread Andy Sykes
You could write your own type converter - see type conversion in the S2 docs for a good overview. It handles the conversion of any Java object in your model class to a String for use in the view, and converts any String field into a Java object in forms/GET parameters. That way you have total c

Doubt in json response

2010-02-20 Thread Karthik Screen
Hi guys I am very new to the forum i am providing a json response with recursive looping import org.json.simple.JSONObject; public class JsonClass { public static void main(String args[]) { System.out.println(call(5)); } public static int call(int i) { if(i==1) {

Re: how to eliminate time in

2010-02-20 Thread Juan Chung
maybe you can write a js function to format it or you rewrite your getter method of startDate, in this method you will first format it then return it. the latter requires all the other caller of the method getStartDate needs the same format. On Sat, Feb 20, 2010 at 12:09 AM, wild_oscar wrote: > >