Mail Archive Home | exoplatform List | May 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
Hello,
Thanks it works now
Abdel
pham vu xuan hoa wrote:
>
> red wrote:
>> Hi All,
>>
>> By use the framework functionalities (interfaces), if there is an
>> exception
>> a stack trace will be arise. Is there any UI error component to use? It's
>> better for the end user.
>>
>> Thanks
>> Abdel
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx
>> mailing list.
>> To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
>> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>
> You can use ExoFacesMessage component to display error message. To use
> this component, you can see in any ActionListener calss in any UI
> component. example like that
>
> /static public class AddFolderActionListener extends ExoActionListener {
> public void execute(ExoActionEvent event) throws Exception {
> UIFolderForm uicomp = (UIFolderForm) event.getSource();
> Information iprovider = findInformationProvider(uicomp);
> ResourceBundle res = getApplicationResourceBundle() ;
> try{
> //to do something
> }catch(Exception e) {
> //iprovider.addMessage(new
> ExoFacesMessage(FacesMessage.SEVERITY_ERROR,
> res.getString("resourceKey")+e.getMessage()) ;/
> / }
> }
> }
> /...
>
> --
> Best regard,
> Hoa Pham - eXoplatform Viet Nam's team
> Ha Noi - Viet Nam.
>
> Email:hoa.pham@xxxxxxxxxxxxxxx
> YM: phamvuxuanhoa
> Skype:phamvuxuanhoa
>
>
>
>
> --
> You receive this message as a subscriber of the exoplatform@xxxxxxxxxxxxx
> mailing list.
> To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
--
View this message in context:
http://www.nabble.com/Is-there-any-UI-Error-component-tf3826375.html#a10850444
Sent from the eXo Platform mailing list archive at Nabble.com.
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.