Hello GWT Community,

I hope this message finds you well. I’m currently working on developing a 
mobile-friendly menu for a platform similar to App Inventor. Recently, I 
encountered an issue with the build menu, and my mentor provided a 
solution. I’d like to verify her approach with the community and also seek 
guidance on implementing a pop-up menu with a hamburger icon and 
accordion-style submenu items.
Context of the Issue

The problem involves the build menu in our application. my mentor explained 
that if the menu items are not present in the menu with the field name 
buildDropDown, the template fails to load and reverts to the 
"Classic(old/extended)" version interface. To resolve this, she suggested 
keeping the "Build" menu in the code but making it invisible (using 
visible="false"), while repeating the build options in a mobile-friendly 
"Settings" menu.
Her Solution

Here’s the approach she recommended, with the relevant code snippets:

   - 
   
   *XML (UiBinder):* Defines the toolbar with a hidden buildDropDown menu.
   - 
   
   *Java:* Binds the UI components, including the hidden buildDropDown.
   
You can view her complete code here: code <https://codefile.io/f/xgdzxxG5cG>
Verification Request

Could the community please verify if her approach—keeping the buildDropDown 
menu hidden but present in the code—is correct and a standard way to handle 
this issue in GWT? Are there any better alternatives or potential drawbacks 
to this method? Any insights would be greatly appreciated.
*Popup Menu Implementation*

I’m also looking to implement a popup menu with the following features:

   - 
   
   Triggered by clicking a hamburger icon.
   - 
   
   Displays all menu items, with submenus organized in an accordion style 
   (expandable/collapsible sections).
   
I’d be grateful for any guidance, examples, or resources on how to achieve 
this in GWT. If anyone has implemented something similar or can point me to 
relevant documentation, it would be a huge help.
Contact Information

If you have questions or need more details, feel free to reach out to me at 
[email protected].

Thank you in advance for your time and support. I look forward to your 
feedback and suggestions!

Best regards,
Divyanshu Kumar

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/google-web-toolkit/8ea42a3f-47f8-4280-ba9d-0102000381fan%40googlegroups.com.

Reply via email to