Re: actions help

2008-01-25 Thread Ingo Villnow
-Original Message----- From: Ingo Villnow [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 1:08 PM To: Struts Users Mailing List Subject: Re: actions help where in your jsp do you want to use your action? can you use your action to put your returning object into the request or ses

Re: actions help

2008-01-25 Thread Ingo Villnow
c-tags i am telling according struts 1 Lalchandra Rampersaud schrieb: Yes, something like that except that it returns a list or an object. -Original Message----- From: Ingo Villnow [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 12:28 PM To: Struts Users Mailing List Subject: R

Re: actions help

2008-01-25 Thread Ingo Villnow
Do you mean something like this? you can use actions to get data as a stream, for example to use it with the img-tag /action/ public class DiagramGanttAction extends DownloadAction { protected StreamInfo getStreamInfo(ActionMapping mapping, ActionForm form, HttpServletR

Re: Problem using client side form validation feature. Friends, please help!!!

2008-01-09 Thread Ingo Villnow
I think it's quite normal that the whole javascript code is generated in the HTML output when you use client-side validation or are my thoughts wrong? sai reddy schrieb: I'm using struts 1.2.7 version. I wanted to validate a form client side. I used tag with 'formName' attribute set to the

Re: logic:iterate question

2007-11-26 Thread Ingo Villnow
The class "Book" must have the getter-function "getTitle()" Minghui Yu schrieb: > in Action: > ... > Set books=bdao.findAllBooks(); > request.setAttribute("books", books); > ... > > > In JSP: > > > All Books: > > > > > --

Re: what login security&encription are good for struts...?

2007-11-13 Thread Ingo Villnow
Hi, A salt value is a random value that will combinated with a password, so both can be encrypted encrypt(salt+password) = hash Please read: http://en.wikipedia.org/wiki/Salt_%28cryptography%29 You don't have to decrypt any passwords. Yes, 'I am using hibernate to read/write on my database. Gre

Re: what login security&encription are good for struts...?

2007-11-12 Thread Ingo Villnow
Hello, i had the same task and I did the following: - my loginAction starts a method loginService. My service method calls the dao (for example userDAO) to get the encrypted password, which is saved in the database. Now my service method calls a method to encrypt the form given password (i take t

Re: ajax integration with struts

2007-11-08 Thread Ingo Villnow
I would suggest you to view the "javawebparts" tools (http://javawebparts.sourceforge.net/) After integration, you can render a calendar like this: Greetings, Ingo Lalchandra Rampersaud schrieb: > I am making a calendar so I just want to update parts of the page. >

dynamic use of and struts

2007-11-08 Thread Ingo Villnow
Hello, i want to use the swapper with dynamic filled values, like this: Now i want to fill the "TEST"-value dynamically from a JavaBean. Is there any way, for example: ?? Any ideas? Thank you very much. Ingo from Berlin --

Re: struts 1.2: calling an action by ajax (javawebparts)

2007-10-31 Thread Ingo Villnow
> You know what... what happens if you remove the and > tags? Does it work then? > > Frank > > Ingo Villnow wrote: >> ok, the Text in the index-result is working now, but i want to use the >> actions and when i use parameters like >> "/employee.do?task=upda

Re: struts 1.2: calling an action by ajax (javawebparts)

2007-10-31 Thread Ingo Villnow
ok, the Text in the index-result is working now, but i want to use the actions and when i use parameters like "/employee.do?task=update&ajax=getEmployee" then there comes an error message "The reference to entity "ajax" must end with the ';' delimiter."

Re: struts 1.2: calling an action by ajax (javawebparts)

2007-10-31 Thread Ingo Villnow
/Presentations/Husted_Ted_RetrofittingStruts.pdf > > I'm not quite sure how long they will stay posted there though, so get it > while it's hot :) > > Frank > > On Wed, October 31, 2007 10:48 am, Frank W. Zammetti wrote: > >> On Wed, October 31, 2007 1

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Ingo Villnow
s/Presentations/Husted_Ted_RetrofittingStruts.pdf > > I'm not quite sure how long they will stay posted there though, so get it > while it's hot :) > > Frank > > On Wed, October 31, 2007 10:48 am, Frank W. Zammetti wrote: > >> On Wed, October 31, 2007 10:19 am, Ingo

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Ingo Villnow
Thank you, I am going to use the javawebparts.ajaxparts taglib in any way, now i try to find the cook book :-) thanks Frank W. Zammetti schrieb: > On Wed, October 31, 2007 10:19 am, Ingo Villnow wrote: > >> i want to call an action by javascript, when a value in a >> field

struts 1.2: calling an action by javascript

2007-10-31 Thread Ingo Villnow
Hello, i want to call an action by javascript, when a value in a field changes. I want to fill my with the data provided by the action. Any ideas? I don't know a lot of javascript :-( thanks & greetings from Berlin - To unsubs