Re: Convention without REST

2010-12-14 Thread Allen Lee
ere I would have wired up > XML glue.  I realize there is support for REST and wildcards, but I would > like to see if anyone can throw me a bone vis-a-vis the annotations plug-in > and support for methods beyond execute().  I realize I could have if/else > code in execute() that return

Re: How to download a file without creating it on a server

2010-09-15 Thread Allen Lee
8 optimized for Yahoo! JAPAN > http://pr.mail.yahoo.co.jp/ie8/ > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Allen Lee Center for t

Re: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-03 Thread Allen Lee
after quite some research efforts we were not be able to find anything > of help in the web. > > We are even not sure if this is more a Hibernate or a Struts2 problem. > > We'd be really grateful if someone could point us in the right direction. > Thanks in advance! > >

Re: result-type using annotations

2010-07-13 Thread Allen Lee
rom the struts.xml and do it via annotations > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Allen Lee Center

Re: Access Denied error with Struts 2.1.8

2009-10-02 Thread Allen Lee
It kind of looks like a security manager / policy permissions issue to me from the access denied message. Like your app server has a grant codebase set for the old struts jar but not the new one. I'm not sure how to set the grant codebase perms on Jetty though (jetty.policy?). On Thu, Oct 1, 200

dynamic collections as form inputs / tabular inputs

2009-10-01 Thread Allen Lee
Is it possible to have a list of lists as a form input? I've looked at http://struts.apache.org/2.x/docs/tabular-inputs.html and http://struts.apache.org/2.x/docs/tabular-inputs-with-hashmap.html but they aren't quite capturing my needs. I've got multiple tables of annotated data that I'd like to

Re: Using Map as option list source with tag

2009-08-18 Thread Allen Lee
defining a toString() method in the bean, but I wondered if > there's a cleaner way of doing this. > > Thanks, > Steve > > -- > Stephen Turner > Senior Programmer/Analyst - SAIS > MIT IS&T > > - > To unsubscrib

invoking methods with parameters within a FreeMarker template

2009-03-19 Thread Allen Lee
I can't seem to figure out how to invoke a method with a single parameter (declared in my action class) within a freemarker page in Struts 2. Is this possible? The issue I'm facing is that I need to iterate through a collection of elements and then dynamically generate some data based on each ele

Re: conventions @Result params support OGNL exprs

2009-02-15 Thread Allen Lee
esult(name="...", >location="...", >params={"resourceId", "${resource.id}"}) > > Does that jive with what you were saying? > > Dave > > > --------- > To unsub

Re: struts 2.1.6 conventions plugin questions

2009-01-29 Thread Allen Lee
created: https://issues.apache.org/struts/browse/WW-2971 On Thu, Jan 29, 2009 at 8:04 PM, Musachy Barroso wrote: > a ticket would be better. thanks > > musachy > > On Thu, Jan 29, 2009 at 8:51 PM, Allen Lee wrote: >> Ok, I just figured out the problem I think - it occurs

conventions @Result params support OGNL exprs

2009-01-29 Thread Allen Lee
Hi there, After saving a persistent resource I'd like to redirect after the post to a view page that views the resource. I'm trying to do something along the lines of: @Action(value="save", results={ @Result(name="success", type="redirect", location="view", params={"resou

Re: struts 2.1.6 conventions plugin questions

2009-01-29 Thread Allen Lee
work with the REST plugin > (sans Convention plugin?) Can you create a small-ish app that would make a > good test-case for a JIRA? I'd like to debug it and get to the bottom of it, > but I'm not really getting a sense of where it's going wrong. > > -Wes > > --

Re: struts 2.1.6 conventions plugin questions

2009-01-29 Thread Allen Lee
ll but still no luck... I'll continue removing any customizations we've made to see if I can isolate the problem. On Thu, Jan 29, 2009 at 1:52 PM, Allen Lee wrote: > Hi Wes, > > I have an AuthenticationInterceptor that checks for a Spring-injected > session scoped bean for authent

Re: struts 2.1.6 conventions plugin questions

2009-01-29 Thread Allen Lee
macher > Author - Struts 2 In Practice > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > http://www.manning.com/wannemacher > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.or

Re: struts 2.1.6 conventions plugin questions

2009-01-28 Thread Allen Lee
omething else configuration-wise while switching to the conventions plugin. Thanks for looking into this! Allen On Wed, Jan 28, 2009 at 6:08 PM, Wes Wannemacher wrote: > On Wednesday 28 January 2009 19:49:11 Allen Lee wrote: >> Thanks for the reply Musachy - has a fix for this been commited

Re: struts 2.1.6 conventions plugin questions

2009-01-28 Thread Allen Lee
Thanks for the reply Musachy - has a fix for this been commited to the xwork trunk? I pulled xwork 2.1.3-SNAPSHOT from svn, compiled it and threw it onto our snapshot maven repository but I'm still getting the same error. Could I somehow be subverting the type conversion process by using the wron

Re: struts 2.1.6 conventions plugin questions

2009-01-23 Thread Allen Lee
ook care of it. > > musachy > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: use

struts 2.1.6 conventions plugin questions

2009-01-22 Thread Allen Lee
ations.html has "InterfectorRefs" instead of "InterceptorRefs". Thanks again for all the work put into this release! -- Allen Lee Center for the Study of Institutional Diversity [http://csid.asu.edu] School of Human Evolution and Social Change [http://shesc.asu.edu] College of Libe

Re: Struts2: Handling a Missing Action (404)

2008-11-18 Thread Allen Lee
> > > > > > Thanks! > > -- delsvr > -- > View this message in context: > http://www.nabble.com/Struts2%3A-Handling-a-Missing-Action-%28404%29-tp20400822p20400822.html > Sent from the Struts - User mailing list archive at Nabble.com. > > >

html tags in a struts label

2008-10-09 Thread Allen Lee
Hey there, Is there a way to embed HTML in the label attribute of a struts tag? Right now it looks like it escapes everything and leaves everything there verbatim. I'd like to be able to embed hrefs and apply formatting to the labels in my struts forms (and get the benefit of the contextual vali

using CompositeActionMapper

2008-09-26 Thread Allen Lee
be the issue? Has anyone successfully gotten CompositeActionMapper to work and how? Thanks in advance! -- Allen Lee Center for the Study of Institutional Diversity [http://csid.asu.edu] School of Human Evolution and Social Change [http://shesc.asu.edu] College of Liberal Arts and Sciences Arizona State