Re: why doesnt iterator tag provide 'next'

2009-05-30 Thread Musachy Barroso
duh..I sometimes read the whole email, believe me :). I have had a couple of scenarios where break would be nice, but I always go around it using "if", same thing for "next", just more often. musachy On Sat, May 30, 2009 at 8:10 PM, Bhaarat Sharma wrote: > Musachy, > > I think you have the wrong

Re: why doesnt iterator tag provide 'next'

2009-05-30 Thread Bhaarat Sharma
I have not started on it yet. Dave, how would you do it with OGNL? can we write our own? I have something like this in mind ...how would you do it? On Sat, May 30, 2009 at 8:34 PM, Dave Newton wrote: > Bhaarat Sharma wrote: > >> This is not a 'break' tag...this would work

RE: error validation error

2009-05-30 Thread Martin Gainty
Paul we will need to see web.xml struts.xml struts-default.xml need to determine which action class '/login' is maps to then we'll need to see your java action class as well thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de dén

Re: why doesnt iterator tag provide 'next'

2009-05-30 Thread Dave Newton
Bhaarat Sharma wrote: This is not a 'break' tag...this would work same as in iterator tag BUT would also have a functionality where the user can go to the next element within the iteration. IMO depending on ordering within a collection is an accident waiting to happen, but the functionality it

Re: why doesnt iterator tag provide 'next'

2009-05-30 Thread Bhaarat Sharma
Musachy, I think you have the wrong impression. This is not a 'break' tag...this would work same as in iterator tag BUT would also have a functionality where the user can go to the next element within the iteration. Thanks On Sat, May 30, 2009 at 11:46 AM, Musachy Barroso wrote: > I will take

Re: error validation error

2009-05-30 Thread coolsayan
<%...@page contentType="text/html"%> <%...@page pageEncoding="UTF-8"%> <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %> http://www.w3.org/TR/html4/loose.dtd";> Login

Re: why doesnt iterator tag provide 'next'

2009-05-30 Thread Musachy Barroso
I will take a look at it when I have a chance, this would be very easy to implement. musachy On Sat, May 30, 2009 at 11:45 AM, Musachy Barroso wrote: > I would suggest you to write a new tag, as a patch to struts core > (look at the other tags, all you need is 2 classes and a couple of > annotat

Re: why doesnt iterator tag provide 'next'

2009-05-30 Thread Musachy Barroso
I would suggest you to write a new tag, as a patch to struts core (look at the other tags, all you need is 2 classes and a couple of annotations). What this "break" tag would need to do is find the parent "iterator" tag, and somehow let it know that the iteration is over. musachy On Sat, May 30,

Re: convention plug-in question

2009-05-30 Thread Wes Wannemacher
I'd have to test to be sure but I don't thinl the plug in cares about the method. It will do action-return.jsp the way it does for normal processing. On 5/29/09, Jim Collings wrote: > So if I use dynamic method invocation, like so: > > /admin/change-wingding!change > > How will the result urls fo

RE: why doesnt iterator tag provide 'next'

2009-05-30 Thread Martin Gainty
Bharaat did you get a change to read musachy's tag developer guide http://struts.apache.org/2.0.14/docs/tag-developers-guide.html ? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertra

RE: [s2] strange (for me) OGNL behavior

2009-05-30 Thread Martin Gainty
WEB-INF/classes/struts-default.xml dojo\..*,^struts\..* add exclude param after ^struts\..* e.g. ^struts\..*,name does this help? Martin _

Re: why doesnt iterator tag provide 'next'

2009-05-30 Thread Bhaarat Sharma
I actually would like to make a custom tag out of this as I think it might be helpful to others as well. However, I cant find any good documentation on how to create one. I have 'Struts2 web 2.0 projects' book by Ian Roughly and it does not show how to create your own custom tags. I believe If I

Re: error validation error

2009-05-30 Thread Dave Newton
Martin Gainty wrote: please view this comprehensive explanation of dojo mapped functions by Ted http://struts.apache.org/2.1.6/docs/developing-ajax-widgets.html Wrong thread. Dave - To unsubscribe, e-mail: user-unsubscr...@st

Re: error validation error

2009-05-30 Thread Paul Benedict
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: error validation error

2009-05-30 Thread Martin Gainty
please view this comprehensive explanation of dojo mapped functions by Ted http://struts.apache.org/2.1.6/docs/developing-ajax-widgets.html hth Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht

RE: why doesnt iterator tag provide 'next'

2009-05-30 Thread Martin Gainty
Good Morning Bharaat struts tags have an extensible design which can be expanded for future requirements can you suggest a testcase to implement this functionality? thanks, Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de co

Re: error validation error

2009-05-30 Thread coolsayan
please specify the taglib syntax. newton.dave wrote: > > coolsayan wrote: >> what to change please be specific > > The taglib URIs. > > Dave > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional

Re: [s2] strange (for me) OGNL behavior

2009-05-30 Thread Martin Kindler
Musachy, that sounds interesting. Can you tell me where I find information about configuring (in struts-config.xml? or programmatically?) the interceptor? Thanks Martin Musachy Barroso schrieb: You can configure the params interceptor to ignore those params. musachy On Fri, May 29, 2009 a