[uberfire-dev] Uberfire Example - UI not displayed

Tubati, Ravindra Ravindra.Tubati at ihealthtechnologies.com
Wed Dec 11 03:21:14 EST 2013


I removed the scope of dependency uberfire-js but it did not work.
Unfortunately I could not debug JSEntryPoint, as I am building it from command prompt and copying war to jboss. I am not very sure on how to run the application in dev mode in eclipse.

Thanks.
Ravi

From: uberfire-dev-bounces at lists.jboss.org [mailto:uberfire-dev-bounces at lists.jboss.org] On Behalf Of Michael Anstis
Sent: Friday, December 06, 2013 7:07 PM
To: uberfire-dev at lists.jboss.org
Subject: Re: [uberfire-dev] Uberfire Example - UI not displayed

Hi,
Please accept my apologies; I only looked at a bit of your complete source code.
The event is fired from org.uberfire.client.JSEntryPoint.setup(). Can you put a break point in there to check the event is being raised?
I notice you mark dependency uberfire-js (where the above class resides) as "provided" in your pom. Have you tried removing the scope too?

With kind regards,

Mike



On 6 December 2013 12:12, Tubati, Ravindra <Ravindra.Tubati at ihealthtechnologies.com<mailto:Ravindra.Tubati at ihealthtechnologies.com>> wrote:
Thank you for reply.
My project has a class "TaskManager" as entrypoint. This class is a copy of "ShowcaseEntryPoint" in uberfire-webapp.
I have added Window.alert() in each method of the class. I observed startApp and hideLoadingPopup methods are getting called. However setupMenu method is not getting called. Am I missing something here?

Thanks,
Ravi

From: Michael Anstis [mailto:michael.anstis at gmail.com<mailto:michael.anstis at gmail.com>]
Sent: Friday, December 06, 2013 5:00 PM
To: Tubati, Ravindra
Subject: Re: [uberfire-dev] Uberfire Example - UI not displayed

Your application is incomplete.
Although you have defined a screen you still need to provide some bootstrap classes.

See ShowcaseEntryPoint.java, AppSetup.java and ApplicationScopedProducer.java in uberfire-webapp.
ShowcaseEntryPoint.setupMenu() @Observes the ApplicationReadyEvent event and then defines a menu and the default perspective to display: your screen will need to be contained in a perspective.

AppSetup clones an existing github repository - although this is optional.

ApplicationScopedProducer initialises the underlying VFS - optional if you don't need any persistence.

With kind regards,

Mike


On 6 December 2013 07:31, Tubati, Ravindra <Ravindra.Tubati at ihealthtechnologies.com<mailto:Ravindra.Tubati at ihealthtechnologies.com>> wrote:
Hi,

I am trying to build a simple web application using UberFire by taking UberFire Show case as reference.
Similar to ShowcaseEntryPoint I have TaskManager as an entrypoint. In my case I am not getting any menus displayed in the UI. I observed that setupMenu  method is not being called. Could you please help to let me know what is missing in my project? Attached is my project.

Thanks,
Ravindra Tubati
Senior Software Engineer, Global-IT | ravindra.tubati at ihealthtechnologies.com<mailto:ravindra.tubati at ihealthtechnologies.com>

iHealth Technologies, Inc.
My Home Hub, Block - II, 5th, 6th & 7th Floors, Madhapur, Hyderabad - 500081, A.P. India
310-448-2888  ext 834<tel:310-448-2888%C2%A0%20ext%20834> | +91-40-23682737<tel:%2B91-40-23682737> Direct

Corporate Office
The South Terraces, 115 Perimeter Center Place, Suite 700, Atlanta, GA 30346
(770) 379-2800<tel:%28770%29%20379-2800> Main | www.ihealthtechnologies.com<http://www.ihealthtechnologies.com/>


Email Confidentiality Notice: The information contained in this transmission is confidential, proprietary or privileged and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act (HIPAA). The message is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, distribution or copying of the message is strictly prohibited and may subject you to criminal or civil penalties. If you received this transmission in error, please contact the sender immediately by replying to this email and delete the material from any computer.
_______________________________________________
uberfire-dev mailing list
uberfire-dev at lists.jboss.org<mailto:uberfire-dev at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/uberfire-dev


Email Confidentiality Notice: The information contained in this transmission is confidential, proprietary or privileged and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act (HIPAA). The message is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, distribution or copying of the message is strictly prohibited and may subject you to criminal or civil penalties. If you received this transmission in error, please contact the sender immediately by replying to this email and delete the material from any computer.




Email Confidentiality Notice: The information contained in this transmission is 
confidential, proprietary or privileged and may be subject to protection under the law, 
including the Health Insurance Portability and Accountability Act (HIPAA). The message 
is intended for the sole use of the individual or entity to whom it is addressed. If you are 
not the intended recipient, you are notified that any use, distribution or copying of the 
message is strictly prohibited and may subject you to criminal or civil penalties. If you 
received this transmission in error, please contact the sender immediately by replying to 
this email and delete the material from any computer. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/uberfire-dev/attachments/20131211/ec07c2d8/attachment.html 


More information about the uberfire-dev mailing list