PDA

View Full Version : How to retrieve user response from UserInputRequest?



samwong
04-16-2003, 12:56 PM
Hi,

Can anyone show me how to retrieve user input from UserInputRequest? For example, in the install method of my productAction bean:

UserInputRequest uir = new UserInputRequest("my title", "my question", UserInputRequest.SWAP_MEDIA);
getServices().userInputRequested(uir);

This will pop up a dialog box prompting to input a directory path. What do I do to retrieve the path and use in my install method?

Thanks,

Sam.

samwong
04-16-2003, 09:07 PM
Got it! Just use the UserInputResponse object.