Re: LookupDispatchAction and submit

2003-09-26 Thread Jan Van Stalle
Hello, did you try putting a hidden input in your form with the name actionType and a default value (which would map to one of your methods). Jan Lars Bergström [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi everyone, I have a html:form in which i have several buttons like

Re: how to submit a action form using a javascript(pop-up).

2003-09-26 Thread Jan Van Stalle
to submit your form using javascript, do something like document.forms[0].submit(); Jan Nisith Dash [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I have a problem and need you help for resolution.I have a JSP struts page with an action form with typically save,delete

struts menu

2003-09-26 Thread Jan Van Stalle
Hello, Lately I saw a reference to struts menu on this newsgroup; tried to use it but it seems complicated to put the bits and pieces together (classes, js files, ...) Does anyone have a link to documentation, besides the one which comes with the war file ?? Thanks, Jan

Re: DynaActionForm and disabled textfield.

2003-09-26 Thread Jan Van Stalle
Hello, in IE disabled controls are not submitted (I don't know if this is browser dependent); you might make a workaround by writing a small javascript which enables you controls when the user submits the form. Jan Kazda Juraj [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello

Re: forward question

2003-09-25 Thread Jan Van Stalle
Set up security in your web.xml; when the server encounters a request for a protected url and there is no session, it will redirect the request to a form defined in your security and then display the requested url. Your form should post to j_security_check with inputs name j_username and

Re: Different Workflow for Business Functions

2003-09-25 Thread Jan Van Stalle
Günter, I don't know if there is any standard support for navigation bars as you describe. I made a similar functionality; As you mention yourself (business function context) navigation is part of the business logic; so I made a navigation object which is maintained in my action classes; the

Re: Redisplaying of entered form fields

2003-09-09 Thread Jan Van Stalle
Rodney, I had similar problems with a DispatchAction. The problem is, when the validation fails, it does not come into your action class; the good news is that you can define an 'input' attribute in your actionmapping (struts-config.xml) which will be used when your validation fails; I had put a

Re: populating Drop down -pls help

2003-09-04 Thread Jan Van Stalle
Hello, I always use the html:options tag and it works fine; try the following: (there is a type error in your example) html:select property =gender html:option value=mm/html:option html:option value=ff/html:option /html:select ofcourse, in the database you should have the values f or m

Re: logic:equal Tag

2003-09-04 Thread Jan Van Stalle
Manglu, it must be something like logic:equal value=ttt name=id scope=request / where id should be the name which you pass to request.getAttribute(id) Jan manglu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I noticed that a lot of tags support only the request parameters