Re: [s1] Question on doEndTag

2006-09-12 Thread Paul Benedict
One thing I forgot to add: It's happening on a private variable. This variable is not exposed through any getter/setter on the tag library, and thus also not in the TLD. Paul Benedict wrote: To accommodate nesting, I moved the URL generating code from doStartTag() to doEndTag(). I don't kno

[s1] Question on doEndTag

2006-09-12 Thread Paul Benedict
To accommodate nesting, I moved the URL generating code from doStartTag() to doEndTag(). I don't know if this is related, but I noticed that one property is not being cleaned up from one instance to the next; that if I successively generated links within a page of varying properties, old valu

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread Don Brown
FWIW, I just fixed the duplicates issue so aggregation over multiple classloaders works better now. Don On 9/12/06, Don Brown <[EMAIL PROTECTED]> wrote: The ClassloaderUtils is set up to possibly aggregate over all classloaders, however, as you found, it needs some work, which is why aggregatio

Re: [s2] Aggregate Javadocs (was Re: svn commit: r441917 - /struts/struts2/trunk/core/pom.xml)

2006-09-12 Thread Ted Husted
OK, then it sounds like it's working as intended, at least for now. On 9/12/06, Don Brown <[EMAIL PROTECTED]> wrote: Yeah, my "fix" was to just look for a locally checked out xwork and include the source in the core's javadocs. The ticket aims for a better solution that doesn't require a checke

Re: CWIKI -> SVN

2006-09-12 Thread Ted Husted
Pursuant to this discussion, and others on infrstructure@, there is now a "asf-cla" group on our Confluence site. The role of the "asf-cla" group is to identify people that we know have CLAs on file with the foundation. The asf-cla group has create and edit permissions to the S2 Documentation sp

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread Don Brown
The ClassloaderUtils is set up to possibly aggregate over all classloaders, however, as you found, it needs some work, which is why aggregation is disabled. Besides the duplicate problem, it could have an adverse affect on performance, and its ultimate value is questionable. Still, I like wor

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread Don Brown
Yep, agreed. Ted Husted wrote: On 9/12/06, tm jee <[EMAIL PROTECTED]> wrote: 2] struts-plugins.xml /s/plugins/plugin Each xml would be dealing with a single plugin, n'est pas? -Ted. - To unsubscribe, e-mail: [EMAIL PROTECT

Re: [s2] Aggregate Javadocs (was Re: svn commit: r441917 - /struts/struts2/trunk/core/pom.xml)

2006-09-12 Thread Don Brown
Yeah, my "fix" was to just look for a locally checked out xwork and include the source in the core's javadocs. The ticket aims for a better solution that doesn't require a checked out xwork, and will aggregate javadocs from all the modules. Don Ted Husted wrote: I was thinking that Don kne

Re: [s2] Aggregate Javadocs (was Re: svn commit: r441917 - /struts/struts2/trunk/core/pom.xml)

2006-09-12 Thread Ted Husted
I was thinking that Don knew that, and it had been fixed. Perhaps I need to update a plugin? -Ted. On 9/12/06, Paul Benedict <[EMAIL PROTECTED]> wrote: We have an open ticket on this for Struts 1.3.6. Wendy can explain better, but the plugin doesn't aggregate correctly. We are waiting for the

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread Ted Husted
On 9/12/06, tm jee <[EMAIL PROTECTED]> wrote: 2] struts-plugins.xml /s/plugins/plugin Each xml would be dealing with a single plugin, n'est pas? -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread tm jee
Ah... i got it now. I am having aggregate=true, that's why its having duplicates. With aggregate=false, its working ok. - Original Message From: Don Brown <[EMAIL PROTECTED]> To: Struts Developers List Sent: Tuesday, 12 September, 2006 10:58:19 AM Subject: Re: [Proposal] Framework pl

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread Don Brown
Why would we get duplicates? ATM, we are only loading the resource from the first successful classloader, so we shouldn't get the same file multiple times. The FileManager keeps a list of loaded files to ensure we don't load one twice. Don tm jee wrote: I see, I think I might have misunder

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread faisal abdallah
Has anybody managed to unsubscribe from this list. I've tried hundred of times with no luck Rainer Hermanns <[EMAIL PROTECTED]> wrote: Really good idea, +1 > The way I propose to solve this problem is to implement "Framework > Plugins". A framework plugin is a jar that contains framework extensi

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread tm jee
Thx for the tips Antonio. Looks interesting. :-) I guess we might want to keep it simple for the time being as Don mentioned in the replying email. - Original Message From: Antonio Petrelli <[EMAIL PROTECTED]> To: Struts Developers List Sent: Tuesday, 12 September, 2006 10:29:23 AM S

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread tm jee
Thx for the reply Don. > Good point, let's do this. Cool. > Actually, that's the whole point :) In our case, we are using it to get > all the struts-plugin.xml files in all jars. This allows us to > dynamically discover new plugins without the need to "register" them > somewhere. It also m

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread Don Brown
tm jee wrote: Sounds cool. Just some thoughts. Maybe we could make the bootstrap struts xml "struts-default.xml" and the plugins xml "struts-plugin.xml" while those in the webapp "struts.xml". The bootstraping sequence would be 1] struts-default.xml 2] struts-plugins.xml 3] struts.xml Th

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread Antonio Petrelli
tm jee ha scritto: Another thing we might want to considered is the dependency of plugins. If say plugin A needs some stuff declared in plugin B, it might not work, depending on which gets loaded first in the classpath. Or would this make thing unnecessarily complicated? It seems that this

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread tm jee
Sounds cool. Just some thoughts. Maybe we could make the bootstrap struts xml "struts-default.xml" and the plugins xml "struts-plugin.xml" while those in the webapp "struts.xml". The bootstraping sequence would be 1] struts-default.xml 2] struts-plugins.xml 3] struts.xml This way its easie

Re: [s2] Aggregate Javadocs (was Re: svn commit: r441917 - /struts/struts2/trunk/core/pom.xml)

2006-09-12 Thread Paul Benedict
We have an open ticket on this for Struts 1.3.6. Wendy can explain better, but the plugin doesn't aggregate correctly. We are waiting for the next release. Ted Husted wrote: How do we enable the "optional" XWork sources? It seems to be generating the api docs for XWork but not aggregating the

Re: [s2] Aggregate Javadocs (was Re: svn commit: r441917 - /struts/struts2/trunk/core/pom.xml)

2006-09-12 Thread Ted Husted
If I include the XWork profile, the buid will include a set of XWork API docs in the docs folder, but it is not merging Struts Core, Struts Extras, and XWork into a single set of apidocs for me. In WW 2, we started merging the XW and WW apidocs together. Is that what we are suppose to be doing he

Re: [Proposal] Framework plugin architecture (was Re: [s2] Logging levels)

2006-09-12 Thread Ted Husted
On 9/11/06, Don Brown <[EMAIL PROTECTED]> wrote: The way I propose to solve this problem is to implement "Framework Plugins". A framework plugin is a jar that contains framework extension classes and configuration, which only need to be dropped into the classpath to be activated. +1 -Ted. --

Re: Alternative of session.getAttribute in Struts

2006-09-12 Thread Andrew Stepanenko
AFAIK, you can try this in JSP: ${sessionScope['username']} This question should probably be directed to Struts user list. Regards, Andrew Stepanenko On 9/12/06, ashishabrol <[EMAIL PROTECTED]> wrote: How can I write <% String userName = session.getAttribute("username") %> is Struts ? Thank

Alternative of session.getAttribute in Struts

2006-09-12 Thread ashishabrol
How can I write <% String userName = session.getAttribute("username") %> is Struts ? Thanks Ashish Abrol -- View this message in context: http://www.nabble.com/Alternative-of-session.getAttribute-in-Struts-tf2257427.html#a6261738 Sent from the Struts - Dev forum at Nabble.com. ---