Struts2 portlets

2008-11-06 Thread Pierre Goupil
Hello all, I'm currently evaluating Struts2 Vs. Wicket as a Web framework in a portlet environment. I'm using eXo WebOS as a portal. My question is : what's the status of portlet support in Struts2 ? I don't really care about portlet 1.0 or 2.0 but I'm looking for a fairly robust and easy-to-go

Struts GA Maven

2008-10-28 Thread Pierre Goupil
Hello all, It looks like the latest production quality release of Struts 2 is 2.0.12. I would like to use it in a new Maven project but I can't find what I need in my default repository. Could anyone please tell me in which Maven repository i can find : - Struts 2.0.12 - Struts-Spring plugin for

Re: How do I create a conditionally disabled button?

2008-08-28 Thread Pierre Goupil
Hello, You should try something like this : td align=center form name=Next action=%=request.getContextPath()%/manageUsers.do input type=submit name=next disabled=%= String d =

Re: [S2] autocompleter action extension

2008-06-29 Thread Pierre Goupil
to figure out how to prevent Dojo template requests from being treated as action requests. L. Pierre Goupil wrote: Hello all, I would like my S2 project to be mapped to .html actions, so I have set this up : - struts.action.extension=html in my struts.properties - constant name

[S2] autocompleter action extension

2008-06-25 Thread Pierre Goupil
would like to be able to use whatever extension I wish to. A clue, anyone ? Thanx in advance, Pierre GOUPIL - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Streaming Video?

2007-09-30 Thread Pierre Goupil
Hello, I once used this page : http://rainbow.arch.scriptmania.com/scripts/music/video.html This is not Struts-related but this is not hard to adapt it. I even used it in response to an AJAX call. HTH, Pierre 2007/9/30, Muhammad Momin Rashid [EMAIL PROTECTED]: Hello Everyone, Can

Re: Streaming Video?

2007-09-30 Thread Pierre Goupil
/View.action?videoId=12, and I am having trouble streaming video using a sturts 2 action. Regards, Muhammad Momin Rashid. Pierre Goupil wrote: Hello, I once used this page : http://rainbow.arch.scriptmania.com/scripts/music/video.html This is not Struts-related but this is not hard

including a JavaScript present on my hard disk

2007-08-01 Thread Pierre Goupil
Hello all, I have a very simple question to ask : how do I include a JavaScript file in a Struts JSP ? I mean : I know how to include it from the Web but I would like to download it and include it from my hard disk, the first reason of this being that I'm using SSL. Here is my code : script

Re: including a JavaScript present on my hard disk

2007-08-01 Thread Pierre Goupil
It works ! Thank you very much. As we would say in french : simplicity is the highest of smartness. ;-) Regards, Pierre 2007/8/1, Hassan Schroeder [EMAIL PROTECTED]: On 8/1/07, Pierre Goupil [EMAIL PROTECTED] wrote: I have a very simple question to ask : how do I include a JavaScript

Re: I still cannot run a basic struts2 app on tomcat55

2007-07-21 Thread Pierre Goupil
Definitely, it's a Tomcat security manager problem. Can't you just deactivate it ? As it is for learning purposes, this shouldn't be a great concern. My 2 cents, Pierre -- Si le sang ne coule pas assez chaud dans tes veines, je le répandrais sur le sable pour qu'il bouille au soleil.

Re: S2: YUI plugin and autocompleter

2007-07-18 Thread Pierre Goupil
I'm not sure but maybe its due to a bug in IE. See : http://developer.yahoo.com/yui/autocomplete/ and look for the use iframe parameter. Which give this : myAutoComp.useIFrame = true; My 2 cents, Pierre Goupil 2007/7/18, Scott Nesbitt [EMAIL PROTECTED]: Using the YUI plugin

browser caching

2007-06-26 Thread Pierre Goupil
Hello, I'm trying to avoid browser caching in my webapp since I've only got dynamic pages. I'm trying the Apache mod_expires stuff. I've set it to : ExpiresActive On ExpiresDefault now But unfortunately, it doesn't work : my HTTP header is set to Cache-Control: max-age= 0 actually but the

Re: Making Fields editable depending on role

2007-06-25 Thread Pierre Goupil
Thanks a lot ! -- Mon horizon était désormais les pétales courbés, Ma nouvelle demeure resplendissait de flèches d'herbes folles Et d'oreillers de pollens odorants. (Naïmah, le philosophe Fémereif)

Re: Making Fields editable depending on role

2007-06-24 Thread Pierre Goupil
Hello, This tool looks great. But can you use it for links too ? I mean, to display or hide a link (or anything else) depending upon the role of the user ? I've browsed through the doc and it doesn't seem clear. Cheers, Pierre 2007/6/24, Archer [EMAIL PROTECTED]: Thank you very much for

Re: [S2] Exporting to CSV and Excel

2007-06-19 Thread Pierre Goupil
Hello ! You were talking about the DisplayTag library. It looks great for what I presently need : to export my JSPs as Office files. But still three questions remain : - only being able to export my Excel data on a table-per-table basis looks maybe a bit poor to me : the pages I want to export

Re: how to check if page has been displayed (rendered) by the browser

2007-06-01 Thread Pierre Goupil
Hello ! 2007/5/31, Raghupathy, Gurumoorthy [EMAIL PROTECTED]: Put your javascript at the last ... so you are sure that my the time your javascript is being executed your html is rendered Unfortunately, this doesn't work this way : you have no guarantee that your page has finished

Turning JSPs into Excel files

2007-06-01 Thread Pierre Goupil
Hello, all ! I have a webapp with different views managed by JSP. Now, I need to turn some into Excel files. Is there an handy way to do so in Struts ? Struts 1.3, Tomcat 5.5 Java 5 are used. Cheers, Pierre -- Mon horizon était désormais les pétales courbés, Ma nouvelle demeure

Re: Turning JSPs into Excel files

2007-06-01 Thread Pierre Goupil
Do you mean that the only way is to generate a file by hand ? No help from Struts ? Pierre -- Mon horizon était désormais les pétales courbés, Ma nouvelle demeure resplendissait de flèches d'herbes folles Et d'oreillers de pollens odorants. (Naïmah, le philosophe Fémereif)

Testing Struts

2006-12-20 Thread Pierre Goupil
Hello, listers ! I'm getting used to Struts, now. And I must admit it's really a great tool ! I'm going to give Spring a try, but I don't think I'll drop Struts for that. It seems that they both integrate seamlessly. But there's still one thing I really can't figure out : how do you test a

Displaying a JSP in a pop-up window

2006-12-06 Thread Pierre Goupil
Hi, all ! wilson wong xrote : can you simply use javascript window.open(your_url_for_jsp) ? Yes, it does work. But I realize that my problem is a bit more complicated. I would like to : - open a popup when clicking on a link into a JSP (done) - which would give, as a link parameter, a

more than one parameter in a link

2006-12-05 Thread Pierre Goupil
Hi again ! Yes, of course, but it seems that doign things this way, you loose all other parameters of the request like, in particular, the jsessionid. Am I right or wrong ? If right, is there a workaround ? Regards, Pierre eg: c:url=myAction.do var=myLink c:param name=type

more than one parameter in a link

2006-12-05 Thread Pierre Goupil
Hi all again, and thank you for the fast support ! ^ ^ jsp:useBean id=map class=java.util.HashMap / c:set target=${map} property=key1 value=value1/ c:set target=${map} property=key2 value=value2/ html:link action=/action name=maplink/html:link Ho yes ! Here's

Displaying a JSP in a pop-up window

2006-12-05 Thread Pierre Goupil
Hello, Strusters ! My question is quite simple. As you should have guessed : is there a way, in Struts / Tomcat to display a JSP, not in the main browser window but rather in a pop-up window ? This would but great for confirm requests, errors displaying and such. Regards, Pierre -- L'une

more than one parameter in a link

2006-12-04 Thread Pierre Goupil
Hi, Strutsers ! For my first question here, I would like to know how to make an html:link which would contain more than one parameter without having to use a bean property. For example, I would like to be able to generate such a link : http://localhost/myApp/myAction.do?type=2id=12 Of course,