Catching url for action not defined

2010-03-10 Thread Saeed Iqbal
Hi Guys How would I do http://localhost/some_name where some_name is a random name and not defined as an action in struts.xml I would like your input on this please. Thanks, -saeed -- Saeed Iqbal Independant Consultant J2EE - Application Architect / Developer

Re: FW: Type conversion for Date in es_CL Locale

2010-03-10 Thread Sundar Sankar
More info on this! Looks like just for locale es_CL. OGNL is trying to find setXXX(String) and for locale en_US and es etc, it does figure out the setXXX(Date) Not sure why this is happening. Should i create a jira for this? Is there a work around that I may use.. Any info on this is appreciated A

Re: basic struts application

2010-03-10 Thread tesla
thanks for reply i saw this example in the website struts tutorial and there is no code in action mappings ? İ can't understand what am i write to the action mappings? Paweł Wielgus wrote: > > Hi, > in action-mappings there is no result defined for your action, > is it on purpose? > > Best gre

Re: StrutsUtil

2010-03-10 Thread Lukasz Lenart
2010/3/10 CRANFORD, CHRIS : > Any reason why moving from Struts 2.1.6 to 2.1.8.1 that the > /struts/utils.js javascript file isn't being returned to the browser? Maybe it's a problem with static content for your servlet container? Did you specify /struts as a static content? The file is there, you

StrutsUtil

2010-03-10 Thread CRANFORD, CHRIS
Any reason why moving from Struts 2.1.6 to 2.1.8.1 that the /struts/utils.js javascript file isn't being returned to the browser? Chris - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-ma

Struts2 tabbedpanel tab style

2010-03-10 Thread Helen Shen
I am using Struts2 v2.1.8 and need some help use the ajax tag tabbedpanel. The tabbedpanel code below generates a blue rounded tabs using the images. Is there any way to overwrite the style just to do the simple tab w/o images or use different images since blue is not the color theme of my site? T

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-10 Thread Lukasz Lenart
2010/3/10 Oscar : > I've changed my appengine-web-app as you said but i still get the same > error. You can see it here (in a new application): What version of Struts 2 are you using? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-10 Thread Oscar
I've changed my appengine-web-app as you said but i still get the same error. You can see it here (in a new application): https://anicetoapp3.appspot.com/ Regards 2010/3/10 Lukasz Lenart > 2010/3/10 Oscar : > > Do you mean in web.xml right? Well, no. This is the web.xml as you can > see: > > N

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-10 Thread Lukasz Lenart
2010/3/10 Oscar : > Do you mean in web.xml right? Well, no. This is the web.xml as you can see: No, in appengine-web.xml, as below http://appengine.google.com/ns/1.0";> gruuf-done 2 true Regards -- Łukasz http://www.lenart.org.

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-10 Thread Oscar
Do you mean in web.xml right? Well, no. This is the web.xml as you can see: struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 */** 30 index.jsp And thanks for answering. R

Re: Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-10 Thread Lukasz Lenart
Did you specify /struts/* as a static content? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-ma

Problem with freemaker, basic Struts2 app in Google App Engine

2010-03-10 Thread Oscar
Hi to all, i'm testing Google App Engine uploading a basic Struts2 application (without hibernate, spring or something like that) and i have an error concerning freemaker when i use struts tags. My index.jsp is the next: <%...@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib prefix="

RE: Upgrade 2.1.6 to 2.1.8.1

2010-03-10 Thread CRANFORD, CHRIS
I did have my filters defined as: struts2-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp struts2-prepare org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter struts2-execute org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter I had used this before as I had a technot

Re: Upgrade 2.1.6 to 2.1.8.1

2010-03-10 Thread Lukasz Lenart
2010/3/10 CRANFORD, CHRIS > > When upgrading Struts from 2.1.6 to 2.1.8.1; I found that for some > reason my application isn't actually loading struts.  Did anyone > experience this problem when they upgraded?  Is there something specific > I should check or be aware of? > > It is as if the framew

Upgrade 2.1.6 to 2.1.8.1

2010-03-10 Thread CRANFORD, CHRIS
When upgrading Struts from 2.1.6 to 2.1.8.1; I found that for some reason my application isn't actually loading struts. Did anyone experience this problem when they upgraded? Is there something specific I should check or be aware of? It is as if the framework just isn't being loaded via web.xml.

Type conversion for Date in es_CL Locale

2010-03-10 Thread Sundar Sankarnarayanan
Hi We use Struts2 in conjunction with ext-js and our home grown ajax framework. Am having this weird problem that I cant figure out and am hoping I can get some advice from the experts. I have a which is used for an ext-js date picker component. The date format are checked for based on

Re: basic struts application

2010-03-10 Thread Saeed Iqbal
Check startsoft on google code. On 3/10/10, Paweł Wielgus wrote: > Hi, > in action-mappings there is no result defined for your action, > is it on purpose? > > Best greetings, > Paweł Wielgus. > > 2010/3/10 tesla : >> >> from a few days i'm working on struts and i'm trying to develop an simple >>

Re: basic struts application

2010-03-10 Thread Paweł Wielgus
Hi, in action-mappings there is no result defined for your action, is it on purpose? Best greetings, Paweł Wielgus. 2010/3/10 tesla : > > from a few days i'm working on struts and i'm trying to develop an simple web > application. > i cant see the elements of my array(bookList) on jsp page when i

Changing locale and retaining previous query url params

2010-03-10 Thread Alex Rodriguez Lopez
Hi! I have the following code in a tile I use on nearly every page of my app: "> " />

Re: About the better way to implement a JSP in read/edit mode

2010-03-10 Thread Frederik Minatchy
many thanks :) I appreciate your response --- En date de : Mer 10.3.10, Alex Rodriguez Lopez a écrit : > De: Alex Rodriguez Lopez > Objet: Re: About the better way to implement a JSP in read/edit mode > À: user@struts.apache.org > Date: Mercredi 10 mars 2010, 10h24 > I do tend to think tha

Re: About the better way to implement a JSP in read/edit mode

2010-03-10 Thread Alex Rodriguez Lopez
I do tend to think that the less files the better. Here it's the same with the number of files for actions/jsp, one can use more actions, ore less actions but more methods inside. Same with jsp, I do think it's better with less files, but a colleague here also thinks the opposite, sometimes wit

How to deploy struts on tomcat

2010-03-10 Thread abhishek jain
Hi friends, I have developed a struts 1 application, i need to know what are the ways and means to deploy a struts application, if i just copy and paste the war application, will it be the correct way? Also if i have myeclipse can it directly deploy on the remote server via FTP(on linux), and is

Re: About the better way to implement a JSP in read/edit mode

2010-03-10 Thread Frederik Minatchy
I think I will think about that during my next Struts2 project :) But about my question "Do I have to develop several interfaces with the same fields in read mode and edit mode?" Does this mean that I should use the same JSP to do both? (that's already what I have done... but a colleague thinks

Re: About the better way to implement a JSP in read/edit mode

2010-03-10 Thread Angelo zerr
Hi Frederik, FormView can works with any HTML or JSP Taglib. It update HTML switch configuration and state of your HTML field. Formview works with Struts 1.x to use information about validation.xml (like required, date...). I don't know how works Struts 2.x validation but I think it's possible to

Re: About the better way to implement a JSP in read/edit mode

2010-03-10 Thread Frederik Minatchy
Hello... Thank you for your answer... Your tag seems usefull.. but it seems to have been developped for Struts 1.x --- En date de : Mar 9.3.10, Angelo zerr a écrit : > De: Angelo zerr > Objet: Re: About the better way to implement a JSP in read/edit mode > À: "Struts Users Mailing List" > Da

Re: About the better way to implement a JSP in read/edit mode

2010-03-10 Thread Frederik Minatchy
Yes I know.. And this is what I made... The readonly parameter is set dynamically by the Action class --- En date de : Mar 9.3.10, Paweł Wielgus a écrit : > De: Paweł Wielgus > Objet: Re: About the better way to implement a JSP in read/edit mode > À: "Struts Users Mailing List" > Date: Mardi