Re: [ot] help on generics...

2007-09-27 Thread Giovanni Azua
how about: public static T T getInstance(ClassT aClass) { // TODO: } regards, Giovanni nicolas de loof wrote: Hello, my question is fully off topic, but Struts2 is the only java5 project I know. I'd like a method to return an instance of a class passed as parameter : public Object

autocompleter + optiontransferselect possible?

2007-09-26 Thread Giovanni Azua
hi, I would like to have the autocompleter working with optiontransferselect, is that possible? i.e. the user would select the right element from the autocompleter and add it to the items in the optiontransferselect control. If not possible any alternative way? regards, Giovanni

help with autocompleter ...

2007-09-25 Thread Giovanni Azua
hi all, I would like to display an autocompleter associated with a application-defined Javabean and have it picking up the right key and value out of the bean properties (getters). I have hard time following the examples as I cant find any that provides the code required on the Action side.

Re: help with autocompleter ...

2007-09-25 Thread Giovanni Azua
name=customer list=customers listKey=id listValue=name / /s:form regards, Giovanni Giovanni Azua wrote: hi all, I would like to display an autocompleter associated with a application-defined Javabean and have it picking up the right key and value out of the bean properties (getters). I

passing request param from struts.xml

2007-09-25 Thread Giovanni Azua
Hi all, I would like to pass a different request parameter to the same JSP depending on the Action e.g. Schedule PERMANENT job = set request parameter to 'permanent' = Display ScheduleJobForm JSP Schedule ONE-TIME job = set request parameter to 'onetime' = Display ScheduleJobForm JSP I

OT? tabletags AbstractPagerAction component ...

2007-09-25 Thread Giovanni Azua
Hi all, Would it be ok to discuss here about tabletags? I can't find any dedicated mailing lists for it. Please forgive the OT otherwise ... I just proposed a componentized AbstractPagerAction implementation under: http://code.google.com/p/tabletags/issues/detail?id=10 where basically the

question on autocompleter UI tag ...

2007-09-22 Thread Giovanni Azua
Hi all, I would like to use autocompleter but have it not to send the display string as request parameter but an underlying key e.g. suppose you have a list of type Customer (id, name) have autocompleter display name but send the id as parameter of the submit request. Is it possible to do this

Page-by-Page Iterator on S2

2007-06-14 Thread Giovanni Azua
Hi all, Can anyone please point me please in the S2 example applications to an implementation of the Page-by-Page Iterator pattern? any ideas otherwise whether there is a reusable interceptor/plugin/etc? TIA, regards, Giovanni

Re: can't build Struts 2 ...

2007-06-01 Thread Giovanni Azua
Hi! Indeed, I updated maven's settings.xml under conf with a full list of mirrors then it works :) happy building! regards, Giovanni - Original Message - From: Al Sutton [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Friday, June 01, 2007 12:33 PM

Re: can't build Struts 2 ...

2007-06-01 Thread Giovanni Azua
Hi! Thanks for the quick response! It does not help ... I still get: [INFO] Scanning for projects... Downloading: http://ftp.ggi-project.org/pub/packages/maven2/org/apache/apache/3/apache-3.pom [INFO] [ERROR] FATAL

can't build Struts 2 ...

2007-06-01 Thread Giovanni Azua
Hi all, After following the simple instructions under page: http://struts.apache.org/dev/builds.html I get the maven errors bellow. TIA, regards, Giovanni [INFO] Scanning for projects... Downloading: http://maven.opensymphony.com/org.apache.struts/poms/struts-master-4.pom Downloading:

Re: can't build Struts 2 ...

2007-06-01 Thread Giovanni Azua
Hi James, Yep I have Symantec Personal Firewall but it created rules automatically for java and should work. I also tried disabling it completely and still get the same maven errors ... I have: - Windows XP - java version 1.6.0_01 - Maven version: 2.0.6 - Used the

ValuesListHandler pattern a.k.a Pager

2007-05-30 Thread Giovanni Azua
Hi all, I would like to display a large result set using e.g. Top N query and was wondering whether Struts 2 out of the box includes such UI tag or special action/interceptor component implementing such requirement. The result type would not be so important assume JSP but I am open to use

<    1   2