Re: svn commit: r551790 - in /struts/struts1/trunk/el/src/main: java/org/apache/strutsel/taglib/html/ELOptionTag.java resources/META-INF/tld/struts-html-el.tld

2007-06-28 Thread Paul Benedict
Thanks. Updates coming up. Niall Pemberton wrote: From a visual scan, theres a few things that don't look quite right to me. 1) setStyleIdExpr - this method is now duplicated - should have been renamed to setTitleKeyExpr when copy/pasting? Would have thought this doesn't compile - for me I wou

Re: name inconsistency

2007-06-28 Thread Paul Benedict
+1 for var. id is special and shouldn't be used -- it even has its own W3C spec. Martin Cooper wrote: On 6/28/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: What would be the best way to get to an agreement on this? cast a vote? I tend to feel that we're a bit too vote-happy around here, s

Re: svn commit: r551790 - in /struts/struts1/trunk/el/src/main: java/org/apache/strutsel/taglib/html/ELOptionTag.java resources/META-INF/tld/struts-html-el.tld

2007-06-28 Thread Niall Pemberton
From a visual scan, theres a few things that don't look quite right to me. 1) setStyleIdExpr - this method is now duplicated - should have been renamed to setTitleKeyExpr when copy/pasting? Would have thought this doesn't compile - for me I would have hoped the code had been tested before commit

Re: name inconsistency

2007-06-28 Thread Martin Cooper
On 6/28/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: What would be the best way to get to an agreement on this? cast a vote? I tend to feel that we're a bit too vote-happy around here, so I'd prefer to see us reach consensus instead, if we can. So far, I haven't heard anyone voice objectio

Re: name inconsistency

2007-06-28 Thread Joe Germuska
I'm going to be substantially offline for the next week. Count this a vote for "var." Joe On 6/28/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: What would be the best way to get to an agreement on this? cast a vote? musachy On 6/28/07, Martin Cooper <[EMAIL PROTECTED]> wrote: > > On 6/27/0

Re: name inconsistency

2007-06-28 Thread Musachy Barroso
What would be the best way to get to an agreement on this? cast a vote? musachy On 6/28/07, Martin Cooper <[EMAIL PROTECTED]> wrote: On 6/27/07, Joe Germuska <[EMAIL PROTECTED]> wrote: > > Sorry, I have been very absentee from Struts discussions, but I took a > minute to review this one... > >

javacript and logic:forward

2007-06-28 Thread thenameless20
What comes firsta documents or Is this browser dependent? For more backgound: The login for my site uses a cookie value, this cookie was created on the same domain but not in the java request, so if I'm correct javascript is probably the only solution I have to reading in this client's

Re: svn commit: r551067 - /struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/XhtmlTag.java

2007-06-28 Thread Martin Cooper
It probably is inconsistent now. At one point, I'm pretty sure the code was consistent in using a 'this.' prefix only when necessary (e.g. in setters, like "this.foo = foo"), but that's probably no longer true. Oh well. -- Martin Cooper On 6/28/07, Paul Benedict <[EMAIL PROTECTED]> wrote: Yes

Re: svn commit: r551067 - /struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/XhtmlTag.java

2007-06-28 Thread Paul Benedict
Yes, it is debatable. As I look through the Struts source code, I see this principle applied inconsistently. Sometimes qualified; others not. Otherwise, not a big deal. I could have not done it :-) On 6/28/07, Martin Cooper <[EMAIL PROTECTED]> wrote: The "best" part is debatable - it's certainl

Re: svn commit: r551067 - /struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/XhtmlTag.java

2007-06-28 Thread Martin Cooper
The "best" part is debatable - it's certainly not one that I favour. ;-) IMHO, it's redundant and clutters the code. -- Martin Cooper On 6/28/07, Paul Benedict <[EMAIL PROTECTED]> wrote: That's not why I added it. I added it out of best practice. On 6/28/07, Martin Cooper <[EMAIL PROTECTED]>

Re: svn commit: r551067 - /struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/XhtmlTag.java

2007-06-28 Thread Paul Benedict
That's not why I added it. I added it out of best practice. On 6/28/07, Martin Cooper <[EMAIL PROTECTED]> wrote: On 6/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Author: pbenedict > Date: Tue Jun 26 23:05:09 2007 > New Revision: 551067 > > URL: http://svn.apache.org/viewvc?view=rev&

Re: Collections problem

2007-06-28 Thread Aymeric Levaux
Hi, I faced the same problem and found the cause. Prior to Xwork 2.0.3 the objectTypeDeterminer property in XWorkConverter was initialised using the instance created by the static block in ObjectTypeDeterminerFactory. This static block determines which implementation of the ObjectTypeDetermin

Re: name inconsistency

2007-06-28 Thread Martin Cooper
On 6/27/07, Joe Germuska <[EMAIL PROTECTED]> wrote: Sorry, I have been very absentee from Struts discussions, but I took a minute to review this one... Acknowledging that consistency (between s:set, s:url, s:bean, etc) is good but that "id" has specific semantics for HTML markup, what about usi

Re: svn commit: r551067 - /struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/XhtmlTag.java

2007-06-28 Thread Martin Cooper
On 6/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Author: pbenedict Date: Tue Jun 26 23:05:09 2007 New Revision: 551067 URL: http://svn.apache.org/viewvc?view=rev&rev=551067 Log: STR-1175: Add instance qualification Why? There doesn't appear to be any local variable for this one to be