Thanks, just checking before I go off and test.

So if I add the new tomahawk libs and the latest trinidad jar my my projec and implement below I can easylly ask for a value?

in JSP:

<tr:inputListOfValues label="Pick a number:" value="(Empty)"
                               action="dialog:chooseInteger"
                               returnListener="#{backing.handleReturn}"
                               windowWidth="300" windowHeight="200"/>


in backing bean:

public void handleReturn(ReturnEvent event)
 {
   Object returnedValue = event.getReturnValue();
   // ... handle that return value as desired ...

 }



/anders

Matthias Wessendorf wrote:
If you need a dialog framework für JSF, use

http://incubator.apache.org/adffaces/devguide/dialogs.html

-Matthias

On 8/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,

I got a usscase where I want ask the user to "rename" an object so I
though about the traditional way to do it in java,
show a (non)modal dialog ontop of the main screen.

Is there any standardised way to do this in JSF, myfaces, tomahawk?

thanks
/anders




Reply via email to