DOJO problem in struts 2.0.6

2007-07-20 Thread arvinder
I am trying a very simple Ajax call in jsp but I cannot get it to work I have in head and following in my jsp body loading content... My ajax action is spitting some static content, but I never get that on this page, but if I type in the action directly in bro

Re: [S2] FCKeditor

2007-07-20 Thread Mark P Ashworth
Good Day, I got the basic FCKEditor to work as a plug-in but the advance features like the templates and the styles did not want to resolve correctly from withi the jar. It is quite simple to use the editor using the javascript as a normal web resource. FCKEditor has many features that woud take

Re: Tiles with Struts 1.3.8

2007-07-20 Thread Paul Benedict
If you aren't using modules, get rid of the moduleAware property. Phillip Blevins wrote: Greetings!, I am trying to get tiles to work with struts 1.3.8. Specificly I would like my action mapping to foward to a tile definition. I have a tiles definition of I'm

Re: Not validating in IE 6

2007-07-20 Thread Paul Benedict
I'd like to know more about this. Do you have a sample app online that demonstrates this? Or an example war? Rodrigo Reyes wrote: Hi all. I am having a really annoying problem. I have Validation activated for a couple of my forms and it works great in Firefox. Still, for some reason I am not a

Re: [S2] onchange semantic mismatch for optiontransferselect

2007-07-20 Thread Dale Newfield
James Holmes wrote: You can make the changes against either, but making them against the STRUTS_2_0_X might be best. Done. (And more useful for me, because I was able to just start using the snapshot to test the added functionality.) If you make the patches against that branch I will take

Re: [S2] onchange semantic mismatch for optiontransferselect

2007-07-20 Thread James Holmes
You can make the changes against either, but making them against the STRUTS_2_0_X might be best. If you make the patches against that branch I will take care of forward porting them to the trunk (Struts 2.1). James On Fri Jul 20 17:35 , Dale Newfield <[EMAIL PROTECTED]> sent: >Dale Newfield w

Re: [S2] onchange semantic mismatch for optiontransferselect

2007-07-20 Thread Dale Newfield
Dale Newfield wrote: https://issues.apache.org/struts/browse/WW-2051 opened. I'll check out the SVN repository and start working on the patches tonight. Waitaminit... Should I be developing patches against http://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_0_X or http://svn.apa

Re: [S2] onchange semantic mismatch for optiontransferselect

2007-07-20 Thread Dale Newfield
James Holmes wrote: I ran into this issue as well and was thinking of implementing "onclick" attributes for each of the optionstransferselect buttons so that I could capture when one of the lists changes. That seems reasonable, more in line with the existing implementation, and potentially mor

Re: [S2] FCKeditor

2007-07-20 Thread florinmarcus
Hi Mark, Any news about FCKEditor Struts2 plug-in? Mark P Ashworth wrote: > > It will be a plug-in to the Struts 2 core. > I am very eager to see that happening. Is there any place from where to download the plug-in? Many Thanks Florin Marcus -- View this message in context: http://www.

Re: [S2] onchange semantic mismatch for optiontransferselect

2007-07-20 Thread James Holmes
Dale, I ran into this issue as well and was thinking of implementing "onclick" attributes for each of the optionstransferselect buttons so that I could capture when one of the lists changes. This would be similar to what you're doing, accept that it would require every button's onlick event to

Tiles with Struts 1.3.8

2007-07-20 Thread Phillip Blevins
Greetings!, I am trying to get tiles to work with struts 1.3.8. Specificly I would like my action mapping to foward to a tile definition. I have a tiles definition of I'm using the struts blank appication as a base install inside of struts config i uncomment th

jelly question - reading command line arguments

2007-07-20 Thread Greg Stasica
hi, sorry that it's a little bit out of group's main interest but could anybody tell me how to read command line arguments while running Jelly script in DOS terminal ? I came across something like this and althoug it works fine I'd like to know where does this "commandLine" come from? I could

[S2] onchange semantic mismatch for optiontransferselect

2007-07-20 Thread Dale Newfield
An optiontransferselect is composed on the page of a couple select boxes, and buttons to move items around in/between them. The semantic meaning of this collection of elements is a single selected and ordered list, and I would like to add an "onchange" javascript call for when the selected ite

RE: Don't expose .action to user?

2007-07-20 Thread Wesley Wannemacher
The only problem is that recent versions of Tomcat don't seem to support *.action to be directory index. I think it has come up on this list before, but unless there is a file named main.action, Tomcat will throw a 404 before allowing Struts to handle it. -Wes -- Discussion of Struts 2.x http://w

Re: Don't expose .action to user?

2007-07-20 Thread Kevin Lawrence
I have a solution that seems to work. Feedback on whether it is a good solution or rather, why it is not, would be wonderful. Executive summary: map *.action to struts filter add main.action as the first entry in web.xml's welcome list Have all user-visible urls look like directories: htt

Not validating in IE 6

2007-07-20 Thread Rodrigo Reyes
Hi all. I am having a really annoying problem. I have Validation activated for a couple of my forms and it works great in Firefox. Still, for some reason I am not aware of, in Internet Explorer it just goes through the validation process without actually executing the configured validations and th

[S2] add option to s:select

2007-07-20 Thread Filippo De Luca
Hello Struts users, I have my business pojo Class have a property "telefoni" instance of interface java.util.Set. Telefono is my class to store phone number. It have 3 properties (number, type, notes). I use a s:select to view this elements in a form. It is possible by javascript to add element t

How to do Server/Client Side Validation with a model object that has a list

2007-07-20 Thread Néstor Boscán
Hi I have a model object thas has a list containing a model object. How do I configure my Action-validator.xml file to validate each model inside the list? Regards, Néstor Boscán

Re: Don't expose .action to user?

2007-07-20 Thread Perssy Llamosas
You can't get rid of the ".action", at least in my tests I have not being able to map a clean url without the ".action". Even the Restful2ActionMapper requires a .action at the end. To make it work without the action you can always set the struts2 extension to "" and map the struts2 filter to

Re: Displaytag help in Struts 2

2007-07-20 Thread SethVIII
Like Kishan, I am unable to get the "row" to work... I never get anything back from #myrow.param, any suggestions? The rest of the table using pure displaytag works fine. I am using displaytag 1.1, my code is below.

Using Action-method-validator.xml with Client Side JavaScript

2007-07-20 Thread Néstor Boscán
Hi I have an Action that has many methods that are invoked and I just want some of them to be validated. Now I also want client side JavaScript validation. If I use the Action-method-validator.xml no validation is perform on the client side, only when I use Action-validator.xml it will generate t

Re: Need help: not parsed

2007-07-20 Thread orshoe
OK, finally... http://struts.apache.org/2.0.8/struts2-plugins/struts2-sitemesh-plugin/apidocs/org/apache/struts2/sitemesh/FreeMarkerPageFilter.html It has always been there, if I knew to pay attention. The issue here is that once you start defining your decorator file using FTL style syntax, it is

Re: Struts-config parsing exception on Sun Java System Application Server 8.2

2007-07-20 Thread Petr Jurak
Supplementation: I found the problem is caused by extending my custom form class, which extends Struts ValidatorForm class. My custom form class is located in some jar file in WEB-INF/lib. Problem is fixed if I only extend ValidatorForm. But it isn't a solution at all, because I want create an a

Problem with parameter conversion

2007-07-20 Thread Nicolás Pace
Hello list! I'm having the next problem: I'm using a for picking time :P the problem is that when i submit the form, apache throws Jul 20, 2007 10:42:37 AM org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk ignored. What does it mean? how can i solve it?

logic:present available in struts 2 ?

2007-07-20 Thread Adrian Ost
Hi all, can I still use the logic-taglib in struts 2? or is there any other way to ask for the correct role? ... some context thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Setting application properties

2007-07-20 Thread Richard Sayre
You could read the global properties from a file or DB when the application first loads into an object of your choice (A Map for Key,Value) . Then put this object in session. On 7/19/07, SimonK <[EMAIL PROTECTED]> wrote: Thanx for you reply. The 'problem' with this solution is that I then hav

Re: Setting application properties

2007-07-20 Thread bartlebooth
You could put a context parameter into your web.xml tmpDir /tmp/test If your action is ServletContextAware (you implement the setter public void setServletContext(ServletContext servletContext)), then you can access this parameter using servletContext.get

Struts-config parsing exception on Sun Java System Application Server 8.2

2007-07-20 Thread Petr Jurak
Hello to all, these days I'm trying to run my Struts webapp on Sun's AppServer 8.2. It runs on Java v1.5.0_11. My webapp is built on Struts v1.3.8. The first problem was to start ActionServlet because of missing method in Digester. I mean method parse(URL). But this problem I corrected using a hin