Re: actions help

2008-01-25 Thread Ingo Villnow
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 session scope? so you

Re: actions help

2008-01-25 Thread Ingo Villnow
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: Re: actions

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,

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 html:javascript/ tag with 'formName'

Re: logic:iterate question

2007-11-26 Thread Ingo Villnow
The class Book must have the getter-function getTitle() Minghui Yu schrieb: in Action: ... SetBook books=bdao.findAllBooks(); request.setAttribute(books, books); ... In JSP: logic:present name=books All Books:br/br/ logic:iterate id=book name=books bean:write

Re: what login securityencription 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.

Re: what login securityencription 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

dynamic use of uiwidgets:swapper and struts bean:write

2007-11-08 Thread Ingo Villnow
Hello, i want to use the swapper with dynamic filled values, like this: uiwidgets:swapper id=swapper boxWidth=150 divStyle=border:2 solid #017fff; boxStyle=color:#ff; logic:iterate id=element name=databean property=employeevector option value=TESTbean:write name=element

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: html:form action=type in your action styleId=projectForm html:text property=begin / html:button property=beginbutton value=calendar

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 html:select field changes. I want to fill my html:form with the data provided by the action. Any ideas? I don't know a lot of javascript :-( thanks greetings from Berlin

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 html:select field changes. I

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Ingo Villnow
/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 Villnow wrote: i want to call an action by javascript, when

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

2007-10-31 Thread Ingo Villnow
, 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 Villnow wrote: i want to call an action by javascript, when a value in a html:select field changes. I want to fill my html:form with the data

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=updateajax=getEmployee then there comes an error message The reference to entity ajax must end with the ';' delimiter. Ingo Villnow schrieb: Hello, now i am using

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

2007-10-31 Thread Ingo Villnow
error, so I'm guessing Struts, but I don't recall ever seeing that before. You know what... what happens if you remove the ?xml and !DOCTYPE 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