Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on JBoss5.1.0: workaround ?

2009-11-08 Thread Lukasz Lenart
2009/11/8 Celinio Fernandes : > I am facing the same problem as described in this JIRA issue : > http://issues.apache.org/struts/browse/WW-2948 I tested that with JBoss 5.0.1 GA and I used example application based on new struts2-archetype-convention archetype. I didn't spot any problems. > If i

RE: sx:div and executeScript

2009-11-08 Thread Martin Gainty
Irene- the standard onLoad="javascript:function" doesnt seem to work (in IE at least) so use this document.write to replace __ie_onload /*information courtesy of dean edwards*/ http://dean.edwards.name/weblog/2006/06/again/ <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s"

RE: advice on building front-end rapidly

2009-11-08 Thread Farshad Rabbani
Thanks Bill, I will definitely look into it! > I use Eclipse enterprise edition: > > http://eclipse.org/home/categories/index.php?category=enterprise > > - Bill > > On Sun, Nov 8, 2009 at 1:32 PM, Farshad Rabbani > wrote: > > > > > > > Hi Dave, > > > > > > > Why?! At the very least why would

Re: struts 2 helloWorld example not properly working in tomcat 5.5

2009-11-08 Thread reason
many thanks for both responses. the web.xml looks as follows: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> helloStruts

Re: advice on building front-end rapidly

2009-11-08 Thread Bill Bohnenberger
I use Eclipse enterprise edition: http://eclipse.org/home/categories/index.php?category=enterprise - Bill On Sun, Nov 8, 2009 at 1:32 PM, Farshad Rabbani wrote: > > > Hi Dave, > > > > Why?! At the very least why wouldn't you use something that can edit and > > understand JSP, custom tags, etc.

Re: sx:div and executeScript

2009-11-08 Thread irene zeller sancho
Yes, it is basically to give style to the table. this.tablecloth = function(){ // CONFIG // if set to true then mouseover a table cell will highlight entire column (except sibling headings) var highlightCols = false; // if set to true then mouseover a table cell will highlight e

RE: advice on building front-end rapidly

2009-11-08 Thread Farshad Rabbani
Hi Dave, > Why?! At the very least why wouldn't you use something that can edit and > understand JSP, custom tags, etc.? So, what would your recommend as something to edit and understand JSP, custom tags etc.? > That's what themes and templates are for. Do you have any specific re

Re: query regarding Input Validation

2009-11-08 Thread Dave Newton
gaurav nigam wrote: Do I need to add this interceptor for each action mapping? Is it possible to have only single entry of this interceptor in the struts.xml ? Make your own default interceptor stack, but it's already in the "defaultStack". Dave

Re: advice on building front-end rapidly

2009-11-08 Thread Dave Newton
Farshad Rabbani wrote: I am currently building all my JSPs using notepad. Why?! At the very least why wouldn't you use something that can edit and understand JSP, custom tags, etc.? It is a very slow and tedius process to get the struts tags to align and show exactly as I want and also to f

RE: sx:div and executeScript

2009-11-08 Thread Martin Gainty
can you display the function(s) inside tablecloth.js thx Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoe

Re: sx:div and executeScript

2009-11-08 Thread irene zeller sancho
This is the jsp I'm calling: <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> http://www.w3.org/TR/xhtml1/DTD

RE: sx:div and executeScript

2009-11-08 Thread Martin Gainty
then the href should call the javascript function instead of the supplied URL please post the complete jsp (with the javascript function you want to call) Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Dies

Re: Blank archtype not working?

2009-11-08 Thread Lukasz Lenart
2009/11/7 Sanjaya Kumar Patel : > Need clue on creating a blank struts 2.1.8 maven project. You can try that way: mvn archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven/ I'm working on the rest and hopefully they will be released soon ;-) Regards -- Lukasz http://www.lenart.

Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on JBoss5.1.0: workaround ?

2009-11-08 Thread Celinio Fernandes
Can someone provide a patch for it asap ? http://jira.opensymphony.com/browse/XW-678 JBoss 5.1.0 GA users are stuck without it. Thanks in advance. From: Celinio Fernandes Subject: [Struts 2.1.8] Filter init parameter "actionPackages" fails on JBoss5.1.0: workaround ? To: "Struts Users Mailin

Re: sx:div and executeScript

2009-11-08 Thread irene zeller sancho
I'm using . Not theme="ajax", I think the last version does not support this theme. The href attribute points a working url, however Javascript is not executed when the ajax url is loaded. 2009/11/8 Martin Gainty > > assuming theme="ajax" > then the div href would be > > href >

Re: S2: how to deal with NULL value with s:text tag?

2009-11-08 Thread Burton Rhodes
Thanks for the reply. There should definately be some sort of enhancment to the tag. I found a more susinct solution with the tag - it doesn't display the "null" text if the value is null. Anyone know if there is a request to add a "null" feature to ? The tag handles "null" without displayin

[Struts 2.1.8] Filter init parameter "actionPackages" fails on JBoss5.1.0: workaround ?

2009-11-08 Thread Celinio Fernandes
Hi, this is my configuration : Struts 2.1.8 JBoss AS 5.1.0 GA jdk6 I am facing the same problem as described in this JIRA issue : http://issues.apache.org/struts/browse/WW-2948 I am stuck on this, can anyone suggest a work around ? This is the part in web.xml that causes the trouble :        

advice on building front-end rapidly

2009-11-08 Thread Farshad Rabbani
Hello: I am currently building all my JSPs using notepad. It is a very slow and tedius process to get the struts tags to align and show exactly as I want and also to format the page so it looks good. Is there a tool - something that will allow me to quickly build well-designed pages by pr

RE: sx:div and executeScript

2009-11-08 Thread Martin Gainty
assuming theme="ajax" then the div href would be href false false String The URL to call to obt

sx:div and executeScript

2009-11-08 Thread irene zeller sancho
Hi, I'm using sx:div for loading a content after the page is loaded. But, I have problems because Javascript is not working in the page linked by . I read about a solution with Struts2.1.2 (I'm using Struts2.1.8) in this page( http://mail-archives.apache.org/mod_mbox/struts-issues/200808.mbox/%3c2