Re: UpDownSelect & JPA

2010-11-04 Thread Li Ying
The struts2 document says: [The tag will pre-select multiple values if the values are passed as an Array or a Collection(of appropriate types) via the value attribute] see: http://struts.apache.org/2.2.1/docs/updownselect.html So maybe you need define the property in your action as an Array. Befo

Implmentation of RESfull ecache in S2-REST

2010-11-04 Thread Frans Thamura
hi all just got this http://ehcache.org/documentation/cache_server.html but i still dont get how to implement it in S2-REST anyone can share and help my stacked brain F

Roller's Memcached Plugins -> Struts

2010-11-04 Thread Frans Thamura
hi all we just success instal roller + memcached, and we just add roller-memcached, which containes roller memcached and java-memcache jars . anyone have idea to make the struts2 apps can benefit of this model? struts2-memcached. my code here 1. hibernate using ecached F

UpDownSelect & JPA

2010-11-04 Thread Nick Broadhurst
Hi All, I am using the struts2 updownselect for getting multiple selections from user. It is populated by a list and works great as long as only one item is selected. The datatype in mysql where the field is being persisted to is a string. If one item is selected, the ID (listKey) goes into the db

Re: DOJO Rendering

2010-11-04 Thread Dave Newton
Seems like this would be best asked on a Dojo list or by perusing their demos/ samples-- almost everything in Dojo is much different than it was in S2's old 0.4.3 version. Dave On Nov 3, 2010 5:37 AM, "Richard Sayre" wrote: > Due to the deprecation of the DOJO plugin I have been trying to > recr

Struts Validation with restful URL

2010-11-04 Thread Edward Seager
Hi all, I've just started using Struts 2.21 and I've wired up an action with RESTfulish way of calling different methods: /WEB-INF/jsp/internal/createPortalUserHome.jsp /WEB-INF/jsp/internal/createUser.jsp /WEB-INF/jsp/internal/createCustomer.jsp so I can p

Re: JfreeChart plugin and dynamic size of the images

2010-11-04 Thread Maurizio Cucchiara
Did you try to use dynamic variables inside your result declaration? Something like this: chart png ${width} ${height} 2010/11/4 mccorby : > > I forgot to tell the environment I'm working with: > - Struts2 2.2.1 > - struts2-jfreechart-plugin-2.2.1 > > > mccorby wrote: >> >> Hi all

Re: JfreeChart plugin and dynamic size of the images

2010-11-04 Thread mccorby
I forgot to tell the environment I'm working with: - Struts2 2.2.1 - struts2-jfreechart-plugin-2.2.1 mccorby wrote: > > Hi all, > I am using jfreechart plugin to display charts in the application. > Everything was ok until I found out that certain images were clipped. > This happens to charts