You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "opensource@toolsmiths.se" <op...@toolsmiths.se> on 2006/08/26 11:22:38 UTC
Popup dialogs in JSF?
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
Re: Popup dialogs in JSF?
Posted by "opensource@toolsmiths.se" <op...@toolsmiths.se>.
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, opensource@toolsmiths.se <op...@toolsmiths.se> 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
>>
>
>
Re: Popup dialogs in JSF?
Posted by Matthias Wessendorf <ma...@apache.org>.
If you need a dialog framework für JSF, use
http://incubator.apache.org/adffaces/devguide/dialogs.html
-Matthias
On 8/26/06, opensource@toolsmiths.se <op...@toolsmiths.se> 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
>
--
Matthias Wessendorf
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
Re: Popup dialogs in JSF?
Posted by delbd <de...@oma.be>.
Have you tried the 'popup balloon' component?
https://blueprints.dev.java.net/complib/v2/popup-balloon.html
opensource@toolsmiths.se a écrit :
> 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