Pagination and s:subset

2009-03-20 Thread Andy Sykes
Hi list, After bodging my way through some pagination for a project I'm working on with a combination of OGNL expressions, s:subset and s:iterator, I was wondering if anyone had given any serious thought to the practicality of implementing displaytag-style pagination in S2 tags? Display t

Re: TextProvider issue upgrading from 2.0.14 to 2.1.6

2009-03-20 Thread ryangr
Apparently the code sample of the button got messed up...the actual code can be seen here: http://pastie.org/422358 -- View this message in context: http://www.nabble.com/TextProvider-issue-upgrading-from-2.0.14-to-2.1.6-tp22628594p22628675.html Sent from the Struts - User mailing list archive a

TextProvider issue upgrading from 2.0.14 to 2.1.6

2009-03-20 Thread ryangr
I have a subtoolbar with 6 options on it with the labels being pulled in from a message resource bundle. Each subtoolbar is defined like this (substituting Location/locations for each of the other categories): ../../images/icons/drive.png If you click on 3 of the 6 items to go to that respec

Form labels escaping HTML tags

2009-03-20 Thread Security Management
How can I tell my form labels not to encode <> tags as <>? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts2 + JQuery Plugin

2009-03-20 Thread Wes Wannemacher
On Fri, Mar 20, 2009 at 11:16 AM, Hemal Shah wrote: > When I am ready to help out what's best way to get in touch with you ? > By sending email in user list or dev list ? > Yes, and posting issues and patches into JIRA - https://issues.apache.org/struts/secure/Dashboard.jspa -- Wes Wannemache

Global tag settings?

2009-03-20 Thread clatasa
Hello, Is there any way to set common tag parameters like labelSeparator, labelposition etc.. in say the struts.properties file? I've tried struts.tag.labelposition, struts.ui.tag.labelposition. thanks, Carlo

Re: Jetty 6.x vs Tomcat 6.x

2009-03-20 Thread stanlick
Yeah, as it turns out, this was the culprit. Jetty 6.x had issues with the conditionality where TC 6.x did not.

Re: Jetty 6.x vs Tomcat 6.x

2009-03-20 Thread ChadDavis
On Thu, Mar 19, 2009 at 11:12 AM, Wes Wannemacher wrote: > In theory, an app should work on any app server, but from time to time > I've found out about incompatibilities the hard way. For instance, Similarly, I found incompatibility in JSP parsers in the past. My issue was moving from TC to Web

Re: Struts2 + JQuery Plugin

2009-03-20 Thread Hemal Shah
Thanks Wes and Dave for your inputs. I will try plugin from sandbox. I would love to contribute once my current work load comes back to normal. When I am ready to help out what's best way to get in touch with you ? By sending email in user list or dev list ? Thanks, Hemal Shah On Fri, Mar 20, 20

Re: REST Plugin only for some actions

2009-03-20 Thread Dale Newfield
Dave Newton wrote: Dale Newfield wrote: I built something I call NamespaceBasedActionMapper that allows you to specify different action mappers for different namespaces. If this is what you're looking for, let me know. Oh, that's kinda interesting--is it on Google code? Plugin? I offered t

Re: doubleselect doubleonchange and other doubleon methods not implemented

2009-03-20 Thread Dave Newton
sajidbigler wrote: i am sucessfully able modify doubleselect.ftl file as in attachment and make a jar.i got proper response for onBlur but other wont work..i.e doubleOnchange,...etc "Other won't work" doesn't really provide enough to go on. Dave --

Re: doubleselect doubleonchange and other doubleon methods not implemented

2009-03-20 Thread Dave Newton
sajidbigler wrote: Can some one give me where i can found latest release of struts2? > svn to do checkouts ? how to build all struts source to get binary > or how to set source of struts in eclipse with my application.. http://struts.apache.org/2.x/docs/building-the-framework-from-source.html

Re: File upload, validation and Preparable

2009-03-20 Thread Dave Newton
Greg Lindholm wrote: Same is true for both "paramsPrepareParams" stack and "defaultStack", the fileUpload is after the prepare interceptor (sorry, I didn't make it clear I was talking about paramsPrepareParams). Meh, my thinking was broken when I posted that anyway; I wasn't thinking about th

Re: struts 2.1.6 verbose logging

2009-03-20 Thread Musachy Barroso
yeah I was thinking about that when I was writing that email, you out there Matt? :) musachy On Fri, Mar 20, 2009 at 10:23 AM, Dave Newton wrote: > Musachy Barroso wrote: >> >> I didnt explain what the fix does, there is a new setting >> "struts.el.throwExceptionOnFailure" which when set  to tru

Re: REST Plugin only for some actions

2009-03-20 Thread Dave Newton
Dale Newfield wrote: Radoslav Krivak wrote: could someone advise me how to configure REST plugin so that only some actions will be "processed" by it. I do not want all actions to use REST url scheme and url->method mapping. I built something I call NamespaceBasedActionMapper that allows you

Re: struts 2.1.6 verbose logging

2009-03-20 Thread Dave Newton
Musachy Barroso wrote: I didnt explain what the fix does, there is a new setting "struts.el.throwExceptionOnFailure" which when set to true, will cause missing properties, or exceptions thrown from OGNL expression evaluations, to throw an exception and "break" the page. This will only happen in

Re: Struts2 + JQuery Plugin

2009-03-20 Thread Dave Newton
Hemal Shah wrote: Hi, I want to use JQuery with Struts 2. I did search and found jQuery plugin at http://code.google.com/p/s2jquery Don't use that one--it's not going to be developed and I'll remove it from Google Code. We (where I worked) ended up using straight JavaScript with jQuery. The

Re: doubleselect doubleonchange and other doubleon methods not implemented

2009-03-20 Thread sajidbigler
Hey i think its fix and its working fine... :) -- View this message in context: http://www.nabble.com/doubleselect-doubleonchange-and-other-doubleon-methods-not-implemented-tp22618980p22621090.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Greybox Ajax box with struts2

2009-03-20 Thread Greg Lindholm
foward wrote: > > Hello, > > I have one question :), I want to integrate the greybox ajax box ( > http://orangoo.com/labs/GreyBox/ http://orangoo.com/labs/GreyBox/ ) with > my webapp in struts2 but appears that in the webserver : > > There is no Action mapped for namespace /scripts/greybox

Re: Javatemplates Plugin ans XHTM Theme

2009-03-20 Thread Johannes Geppert
thats what i thought, but I becoume an Error that the xhtml theme is not found when I using theme="xhtml" in Tags. This site works with out Errors before I put the jar in the lib and I have added this two constants. Why struts can't find the theme? Best Regards Johannes Geppert ###

Re: doubleselect doubleonchange and other doubleon methods not implemented

2009-03-20 Thread sajidbigler
i am sucessfully able modify doubleselect.ftl file as in attachment and make a jar.i got proper response for onBlur but other wont work..i.e doubleOnchange,...etc Please Help! http://www.nabble.com/file/p22620259/doubleselect.ftl doubleselect.ftl -- View this message in context: http://www.nab

Re: File upload, validation and Preparable

2009-03-20 Thread Greg Lindholm
newton.dave wrote: > > Greg Lindholm wrote: >> I've discovered that in the standard interceptor stack "fileUpload" >> is after "prepare" interceptor. This means that the upload File, >> ContentType, and FileName setters have not been called before >> prepare() method runs. Is there a good reas

Re: Javatemplates Plugin ans XHTM Theme

2009-03-20 Thread Musachy Barroso
You can mix them, but understand that the simple theme and the java templates will not output the wrapping "tr"s and "td"s so it could mess up your layout. musachy On Fri, Mar 20, 2009 at 4:36 AM, Johannes Geppert wrote: > > Hello, > > i try to use the Javatemplates Plugin. > > On my page I have

doubleselect doubleonchange and other doubleon methods not implemented

2009-03-20 Thread sajidbigler
Hi Friends, Please help me to set fixed doubleselect.ftl in my application.i have replace this file from struts2-core-2.1.6\template\simple and used cmd to make jar again... jar -cvf struts2-core-2.1.6.jar . but above dint resolve my problem. :( http://translate.google.co.in/translate?hl=en&sl

Re: REST Plugin only for some actions

2009-03-20 Thread RadoK
Hi Dale. Thank you for your answer. NamespaceBasedActionMapper sounds good, certainly better than to have all actions mapped by REST plugin. But it isn't exactly what I am looking for. I was hoping that one could have Rest controllers and classic actions (mapped by convention plugin) living side

Re: Type conversion exceptions

2009-03-20 Thread musomesa
No problem -- I have learnt plenty from others too. Cheers Chris M. -Original Message- From: ryangr To: user@struts.apache.org Sent: Fri, 20 Mar 2009 5:12 am Subject: Re: Type conversion exceptions Well I'll be damned...it's working! It looks like the solution was to remove the *-con

Javatemplates Plugin ans XHTM Theme

2009-03-20 Thread Johannes Geppert
Hello, i try to use the Javatemplates Plugin. On my page I have a mix of forms in the simple theme and the XHTML Theme. The Simple Forms are no Problem they works fine. But on some Sites where I use the old xhtml forms they are not rendering becouse theme xhtml is not found. Can I not use the

RE: Use of JavaScipt in JSP pages using Struts2 tags

2009-03-20 Thread Muthu Velappan
I believe it depends on the nature of the project whether to use custom javascript validations or not. There is no hard and fast rule to avoid javascripts completely. As a standard, most of the struts2 project uses the in-built validation even if some cases are missing in the in-built validations w