Not sure which components its coming from. For example 404 error page is a default error page coming from UUF.
Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sat, Jan 21, 2017 at 10:18 AM, SajithAR Ariyarathna <[email protected]> wrote: > On Sat, Jan 21, 2017 at 6:20 AM, Danushka Fernando <[email protected]> >> wrote: >> >>> Hi All >>> I found that default error pages like 404 error page which comes from >>> UUF doesn't use app's basic layout. And I couldn't find a way to override >>> it. Is there a way of achieving this. >>> >> Are you referring to the error pages comes from > "org.wso2.carbon.uuf.common.foundation.ui" component? > > On Sat, Jan 21, 2017 at 8:49 AM, Danushka Fernando <[email protected]> > wrote: > >> Nisala >> This means we have to write whole error page right? But what if we need >> just layout to be changed. Isn't there an option other than duplicating? >> Because we will change basically the header and footer only. >> >> Thanks & Regards >> Danushka Fernando >> Senior Software Engineer >> WSO2 inc. http://wso2.com/ >> Mobile : +94716332729 <+94%2071%20633%202729> >> >> On Sat, Jan 21, 2017 at 8:12 AM, Nisala Nanayakkara <[email protected]> >> wrote: >> >>> Hi Danushka, >>> >>> You can define your own error pages and its' layout as follows. As an >>> example you need to add below configuration to app.yaml. >>> >>> *errorPages: * >>> *404: "/foundation/error/404"* >>> * default: **"/foundation/error/default**"* >>> >>> Please find related app.yaml[1] and the error pages here[2]. >>> >>> [1] - https://github.com/wso2/carbon-uuf/blob/master/samples/apps/ >>> org.wso2.carbon.uuf.sample.pets-store.app/src/main/app.yaml >>> [2] - https://github.com/wso2/carbon-uuf/tree/master/samples/compo >>> nents/org.wso2.carbon.uuf.sample.foundation.ui/src/main/pages/error >>> >>> Thanks, >>> Nisala >>> >>> >>> >>> On Sat, Jan 21, 2017 at 6:20 AM, Danushka Fernando <[email protected]> >>> wrote: >>> >>>> Hi All >>>> I found that default error pages like 404 error page which comes from >>>> UUF doesn't use app's basic layout. And I couldn't find a way to override >>>> it. Is there a way of achieving this. >>>> >>>> Thanks & Regards >>>> Danushka Fernando >>>> Senior Software Engineer >>>> WSO2 inc. http://wso2.com/ >>>> Mobile : +94716332729 <+94%2071%20633%202729> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Nisala Niroshana Nanayakkara,* >>> Software Engineer >>> Mobile:(+94)717600022 >>> WSO2 Inc., http://wso2.com/ >>> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Sajith Janaprasad Ariyarathna > Software Engineer; WSO2, Inc.; http://wso2.com/ > <https://wso2.com/signature> >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
