Re: Dynamic Tree in JSP

2008-01-19 Thread naveen k
Thanks friend for ur kind reply. Do you have any idea of any third party taglibs that generate Dynamic tree. If u have information, u can share with me please. Naveen On Jan 19, 2008 4:05 AM, Laurie Harper [EMAIL PROTECTED] wrote: naveen k wrote: Hi, I am developing web

Cos multipart plugin, where is it?

2008-01-19 Thread deepak aggarwal
I have been trying out various file upload plugins that struts2 supports. I could find jakarta (included with struts distribution) and pell (included in struts2-pell-multipart-plugin-2.0.9.jar) plugins, but nowhere could I find cos plugin. I was browsing through various sites and saw on one of the

Re: Cos multipart plugin, where is it?

2008-01-19 Thread Don Brown
It was pulled due to lack of license compatibility. It had a special license that required every member of your development team to buy a copy of Jason Hunter's Servlets book if you used it in a production system. Don On Jan 19, 2008 10:11 PM, deepak aggarwal [EMAIL PROTECTED] wrote: I have

Re: Cos multipart plugin, where is it?

2008-01-19 Thread Don Brown
Yep, we can't have any code that depends on that library in any ASF-sponsored release. You should be able to take the code as it existed in WebWork 2.2 and port it to Struts 2, using the pell file upload plugin as an example. Then, put the code up somewhere like Google Code and register your

Re: Cos multipart plugin, where is it?

2008-01-19 Thread deepak aggarwal
Thanks Don. I am willing to buy his book but still there seems to be an issue. cos.jar distribution on Jason's website is from Nov.2002 and when I downloaded the source, it didn't compile with JDK 1.5 ( because it used classes like Enumeration and Servlet 2.3 api and we are using servlet api 2.4).

Re: REST vs Original

2008-01-19 Thread Frans Thamura
On Jan 19, 2008 7:28 AM, Jeromy Evans [EMAIL PROTECTED] wrote: Hi Frans, Unfortunately at the moment you can't mix conventions within the same Struts2 webapp. hi there so what should i do if I am intersting with REST, but have a hugh code using S2 old way. i think that is not good to rewrite

Re: Cos multipart plugin, where is it?

2008-01-19 Thread deepak aggarwal
That sounds good. I will make the necessary code changes and try to register with Struts2 repository. There is one feature that I want to add to cos file upload - make the file upload interruptible. Large file uploads can sometime take a lot of time and you want transaction to timeout gracefully

Slow AJAX response for a page that contains tabbed panel

2008-01-19 Thread ricky lomanta
Here is the code in one of my page: ... s:url id=editUrl action=edit s:param name=attributeA value=attributeA / /s:url s:a href=%{editUrl} id=a_%{attributeA} theme=ajax targets=editDivEdit/s:a ... The edit action will load a page that contains tabbed panel into a div tag. The first

Cos Multipart Plugin - Feature enhancement

2008-01-19 Thread deepak aggarwal
I am toying with the idea of using cos multipart plugin in my app. Of course, based on Don's replies in another thread, I'll have to make some code changes to make it compatible with JDK 1.5 and I can also probably register with struts2 plugin registry. There is one feature that I want to add to

Re: STRUTS2 and Spring2

2008-01-19 Thread Dave Newton
--- Niral Trivedi [EMAIL PROTECTED] wrote: We are trying to have Spring manage all the value objects and action objects. And so followed steps in Struts document to add struts2-spring plugin jar and made necessary changes but getting errors when try to create a bean in session scope. Following

Re: Struts2 and Spring2 with session scoped beans

2008-01-19 Thread Dave Newton
See my reply to your first message. d. --- Niral Trivedi [EMAIL PROTECTED] wrote: Hi All, We've are trying to use Struts2 with Spring2 on Webspher 6.1 and JDK 1.5. Basically we are trying to use session scoped beans from Spring applicationContext in to Struts2 using Spring DI. but running

Re: STRUTS2 and Spring2

2008-01-19 Thread Niral Trivedi
Hi Dave, I have looked up api and spring doc for both the listeners. But I was trying to say, if I add RequestContextListener then Struts2 plugin gives error saying that You have to add ContextLoaderListener. And if I add ContextLoaderListener, spring gives error saying add

Re: REST vs Original

2008-01-19 Thread Martin Gainty
SmartURLs..Are there situations where using action-name based results are preferable over a declared result? Where can I get the source for org.texturemedia.smarturls.SmartURLsConfigurationProvider? Thanks Martin - Original Message - From: Jeromy Evans [EMAIL PROTECTED] To: Struts Users

Re: STRUTS2 and Spring2

2008-01-19 Thread Dave Newton
--- Niral Trivedi [EMAIL PROTECTED] wrote: I have looked up api and spring doc for both the listeners. But I was trying to say, if I add RequestContextListener then Struts2 plugin gives error saying that You have to add ContextLoaderListener. And if I add ContextLoaderListener, spring gives

Re: REST vs Original

2008-01-19 Thread Dave Newton
--- Martin Gainty [EMAIL PROTECTED] wrote: SmartURLs..Are there situations where using action-name based results are preferable over a declared result? Sure, if you don't want to configure a result manually. Where can I get the source for

Re: [struts] REST vs Original

2008-01-19 Thread Dale Newfield
Jeromy Evans wrote: Unfortunately at the moment you can't mix conventions within the same Struts2 webapp. The trouble is the REST plugin overrides a lot of the default behaviour rather than augmenting it. Right now if your commit to REST conventions it'll apply to the entire webapp. With

Re: REST vs Original

2008-01-19 Thread mgainty
Thanks for the link dave If anyone knows how to get Signore Pontarelli I have a *working* build script for the smarturl project Ciao Martin - Original Message - Wrom: BLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBD To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, January 19,

Re: REST vs Original

2008-01-19 Thread Frans Thamura
hi all is there a plan for REST, so we can mixed all become one, SmartURL, original method and new REST model i have hugh code and love to try REST F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: REST vs Original

2008-01-19 Thread Jeromy Evans
Yes and no. Yes: The REST plugin uses CodeBehind. If appropriate, CodeBehind will be replaced by the Convention plugin. SmartURLs is being merged into the Convention plugin. That's a nice convergence. No: REST involves more than URL mapping. However, it's not unreasonable that a single

Re: using YUI with struts 2

2008-01-19 Thread Jeromy Evans
Hi Ravi, YUI doesn't require any specific tags. AFAIK, they're all plain old valid html. It can't get much better than that. ie. this is a TabView: div id=demo class=yui-navset ul class=yui-nav li class=selecteda href=#tab1emTab One Label/em/a/li lia href=#tab2emTab Two

using YUI with struts 2

2008-01-19 Thread ravi_eze
hi, i want to use YUI library (http://developer.yahoo.com/yui/) with struts2. The problem is that YUI requires YUI specific tags while struts generates html tags. so, can we write themes(ftls etc similar to xhtml etc) which would generate YUI tags instead of HTML? would this bring in new