not displaying Action errors

2008-08-08 Thread Narasimha Raju Naidu
hi to all, im sending my code please check where i am doing mistake form.jsp --- <%@ taglib uri="/tags/struts-html" prefix="html"%> User Name Password - formbean ---

RE: problem with

2008-08-08 Thread Muralidhar Y
Thank you Dave Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60606 Confidentiality Note: - The information contained in this e-ma

RE: problem with

2008-08-08 Thread Muralidhar Y
Thank you so much. Warm regards, Muralidhar Y [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) India Main: +91 9949495511 India Fax: +91 9949495522 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60606 Confidentiality Note: - The information contained in this

Re: [S2] general question about cookies and namespace

2008-08-08 Thread Pierre Thibaudeau
I just tested my theory about namespaces: If I change the namespace of the login action to "/" rather than "/users", the auto-login interceptor (called by an action from the "/" namespace) reads it back without any problem. Is that Firefox being too strict (or is it "by the book" according to coo

[S2] general question about cookies and namespace

2008-08-08 Thread Pierre Thibaudeau
Struts: 2.1.2 browser: Firefox 3.0, with Firebug add-on Strange phenomenon involving cookies. I don't know who to blame: my code, Struts or Firefox... I am running a copy of my application locally on my own local Tomcat server (on localhost). After several operations on the webapplication (amo

Re: Popup window

2008-08-08 Thread Frans Thamura
On Sat, Aug 9, 2008 at 3:49 AM, Roger <[EMAIL PROTECTED]> wrote: > On Friday 08 August 2008 07:51:01 Frans Thamura wrote: > > On Fri, Aug 8, 2008 at 9:08 AM, mujoko mujoko > <[EMAIL PROTECTED]>wrote: > > > Dear Struts 2 users > > > > > > > > > I'm trying to create poup window in struts 2, > > > Co

Re: Popup window

2008-08-08 Thread Roger
On Friday 08 August 2008 07:51:01 Frans Thamura wrote: > On Fri, Aug 8, 2008 at 9:08 AM, mujoko mujoko <[EMAIL PROTECTED]>wrote: > > Dear Struts 2 users > > > > > > I'm trying to create poup window in struts 2, > > Could you please to give sample code for this task in struts 2? > > taka a look our

Re: Simple validation does not work

2008-08-08 Thread holod
If you are using IBM WebSphere 6.x, that's ok. I've faced the same problem: http://jira.opensymphony.com/browse/XW-651 So, I've simply checked out branch of x-work, packaged it using Maven and now stupid IBM App server allows me to use validation. Anyway, you you aren't WebSphere user, I suggest

Simple validation does not work

2008-08-08 Thread Anton Bashmakov
Hi, I have strange situation, here is my form : Here is the action : public class Colors extends ActionSupport { private String name; @Override public String execute() throws Exception { return SUCCESS; } publi

Problem executing scripts after AJAX request

2008-08-08 Thread oscar perez
Hi all, I am using struts 2.1.2 and I have a problem when I try to execute scripts in the returned content when using sx tags. The scripts do not seem to run even though executeScripts is set to true. This occurrs if I have sx tags within the return content. If I only have plain html and the scrip

Re: struts2 select onchange to trigger ajax call

2008-08-08 Thread Markus Doring
A little addition to my last post... It all seemed to work fine, but some of my html content that got back had | pipe symbols in image urls and Dojo did not seem to like that. My AJAX call was brining back statistics images based on Google Charts. And those URLs use | as dataset separators for la

RE: redirect does not work with Tiles.

2008-08-08 Thread Griffith, Michael *
Jeromy, Thanks for the replies. >>In cases where I've needed this behaviour I've referenced the JSP >>instead of a Tile. Do you mean your result redirects to a JSP instead of a struts action? MG -Original Message- From: Jeromy Evans [mailto:[EMAIL PROTECTED] Sent: Friday, August 08

RE: redirect does not work with Tiles.

2008-08-08 Thread Griffith, Michael *
Struts 2.0.11 Tiles 2.0.6 -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2008 1:37 AM To: Struts Users Mailing List Subject: Re: redirect does not work with Tiles. 2008/8/7 Griffith, Michael * <[EMAIL PROTECTED]>: > I cannot make result go

RE: problem with

2008-08-08 Thread Dave Newton
The extra markup is most certainly not coming from S2. I don't know what paradigm pop is, or myPoPProject, and paradigmpop.org doesn't respond, but your answer lies there. Dave --- On Fri, 8/8/08, Muralidhar Y <[EMAIL PROTECTED]> wrote: > From: Muralidhar Y <[EMAIL PROTECTED]> > Subject: RE:

Re: problem with

2008-08-08 Thread Nils-Helge Garli Hegvik
If "P_Search_Page" resolves to "search page | myPoPProject, by Paradigm PoP" then "search page" can't be the same resource, and therefore not from the same s:text. Are you using Tiles or SiteMesh or something? (Other filters?) Seems to me that there's some kind of templating going on, or you're not

RE: problem with

2008-08-08 Thread Muralidhar Y
Hi dave here is my complete jsp code <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib prefix="s" uri="/struts-tags"%> http://www.w3.org/TR/html4/loose.dtd";>

Re: prepare called before "setId"

2008-08-08 Thread Torsten Krah
nvm, did find the anwer myself, i need to use the paramsPrepareParamsStack interceptor stack instead of the default one. -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That wi

Re: configuration doc for struts 1.3,tiles with Rad 7.5

2008-08-08 Thread sam thothi
Can i get struts 1.3 configuration document list if anyone has it. On 8/7/08, sam thothi <[EMAIL PROTECTED]> wrote: > > Dave, > i have all the s1.3 dependencies. i have a question in the doctypes for > the strutscofig.xml > > Rightnow , i am running the application with the doctype in > struts

prepare called before "setId"

2008-08-08 Thread Torsten Krah
Hi. I am implementing Preparable Interface to prefill my form. But prepare gets called before the setter with the id needed is called. Paramaters should be set first (before prepare) call, shouldn't it? Is this a known bug - or did i missed something (using struts 2.0.11.2). -- Bitte senden Sie

Re: redirect does not work with Tiles.

2008-08-08 Thread Jeromy Evans
Griffith, Michael * wrote: Hello All, I cannot make result go to a new page. Chaining the result does work, but the response shows my entire tile set showing up in the inside tile, which is not what I want either. Assuming Struts2, the s:action tag can only execute an action and exe

Re: yikes! : net.sf.json.JSONException: There is a cycle in the hierarchy!

2008-08-08 Thread Jeromy Evans
John Moose wrote: Anyone know what this means?? How can I change the pre-configured STRICT strategy : net.sf.json.util.CycleDetectionStrategy$StrictCycleDetectionStrategy to LENIENT ?? and will that even help me here? Using Hibernate 3.1 with Struts 2.1.3 and the REST plugin. XML serializaion

action-param

2008-08-08 Thread Hrvoje Ban
something What is the use of param here? I thought it would call setSomething("something") on my action, but it won't. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem with

2008-08-08 Thread Dave Newton
--- On Fri, 8/8/08, Muralidhar Y <[EMAIL PROTECTED]> wrote: > when I use > > > > > it also adding a header in the body tag like > > > search page > I find it unlikely that the tag is adding an element to your body element. AFAIK the text tag has no ability to do this. I'd suggest post

Re: struts2 select onchange to trigger ajax call

2008-08-08 Thread Markus Doring
Thanks Dave, that works! I finally also found a working example here: http://javachamp.blogspot.com/2008/06/struts-2-ajax-drop-down-example.html You can actually get rid of any javascript functions and just publish the topic in the onchange and use die struts div tag to do the rest:

problem with

2008-08-08 Thread Muralidhar Y
Hi Friends, when I use it is taking the value from the properties file and showing title on the browser window. Until this it is fine but it also adding a header in the body tag like div class="header"> search page In the tag. I don't want this to happen. I jus