i'm moving my first steps with gwt to create a simple website. i'm trying to use gwt platform and the gwt designer to create the layouts. the site is so simple that lots of pages have the same layout and differ only for what's in the middle, so i had a "brilliant" idea: why don't u create a general layout in the form of a composite and add in the middle of this composite a simplepanel, so u can add what's different in each page just there. i created the composite and i put a simplepanel in it, but even if i exposed the widget the gwt designer does not let me add any other widget inside this panel when i'm creating the other ui-binder views. am i forgetting something? thx a lot
how to create a composite with a working pane in it
237 views Asked by user888284 At
2
There are 2 answers
0
milan
On
If you want to have a Composite used in UiBinder that behaves like a panel, you'll have to create a custom element parser for it, but the problem is that there's no public API for doing this in GWT (as of 2.4.0). Maybe gwt-customuibinder can help with that. The alternative is to implement HasWidgets since there's a built-in parser for that.
Related Questions in GWT
- When accessing the page with gwt it is blank, it does not load
- Encountering bindException when running CodeServer
- How to get variable from GWT Callback
- IntelliJ Idea won't stop on breakpoints while GWT debugging in Super Dev Mode
- How to debug GWT project in Idea
- [Resolved]How to set up gwt super dev mode with the new gwt maven plugin with a web application using Errai framework?
- Integrate DominoKit/-UI Elements Into Existing GWT Application
- Avro after upgrading to JDK 17
- Draw graph in GWT
- How do I stop maven-jetty-plugin jetty:run output warnings: scanned from multiple locations
- Type incoherence when compiling Java code through GWT
- Application not loading with new GWT Maven Plugin
- Getting the error while updating GWT 2.5.1 to 2.11.0 and sencha GXT 3.1.1 to 4.1
- Playing an audio in the front-end without storing any cache to avoid illegal downloading
- how to add a static value to a FlexTable in the ui.xml file GWT?
Related Questions in WIDGET
- I couldn't figure out why function does not work for a second time in Kivy
- Dropdown Values not change in Flutter Modal
- Widget APL Touch Component Advice
- QT-PyQt-PySide-Custom-Widgets error: No library called cairo was found
- Binding Panel DatetimeRangePicker to plot
- Jira helpdesk widget doesn't create an iframe when script is loaded dynamically
- In Google Dialogflow CX, how do I make sure that links are opened in a new tab?
- Countdown to varying payday in Javascript
- Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1Error:
- Unable to Group by Parent in Stacked bar chart - ADO Dashboard widget
- Read Access Violation when accessing a QBarDataItem in a loop in QLineEdit::editingFinished
- Jupyter Notebook not rendering report with pandas profiling
- WordPress widget deleted
- How to detect if a widget is visible or not in Flutter
- How to add haptics to Button in home screen widget (Glance API) in android
Related Questions in ADDITION
- Verilog Implementation: Detecting Overflow and Rolling Up Result
- How do I add 1 into a column of numbers and replace null value with 1 as well in python
- C# Project Coding
- Change add to cart button text on click event in Woocommerce on shop pages
- How can I change the label 'add to cart' to 'pre-order' when a product variant (size) is selected?
- How can just using the += "syntactic sugar" cause an infinite loop?
- Adding numeric values in one CSV to those in another CSV based on matching another value in the same row
- Overloaded function not outputting correct answer
- Sort a column automatically when an entry is added/deleted and directly create/delete a related row
- Adding together matrices of two different dimensions with column/row matching
- How to divide rows of data into separate groups based on the value of a column in the data set and calculate the total time of each group?
- Python, Magic Methods: cannot understand the task
- I have an issue with the result of additions and subtractions if the result is less than 5. Top many decimals
- How many additions operation can be performed instead of single multiplication in FPGA?
- How can we set new java parameters as default?
Related Questions in COMPOSITE
- Representing Composite Types under ''
- How to resolve Workday Composite Report error: Encountered unexpected error joiningBusinessObject cannot be null
- How to pass derived object as rvalue reference into base class pointer members using move constructor?
- Composite build: get parent plugin version
- I have created a composite template , if i am adding 2 documents then 2 same tabs for signing are added but I want one signing tab for each document
- Inspect object to get the entire composite object it belongs to
- Composite desing pattern with UI tree editor MVC
- When and where woocommerce_order_status_completed_notification hook is executed in WooCommerce?
- GridView inside Composite Server Control
- lavaan - sem composite second order - LVS?
- Using a decorator on a Composite object
- I want to display multiple modules in a project with a text box and browse button for selecting the input files
- How can I have a condition based input variable definition in a composite workflow
- While parsing a block mapping, did not find expected key. Failed to load github composite action.yml
- EF Core >= 7 : composite unique Index involving nested objects
Related Questions in GWT-DESIGNER
- GWT Designer doesn't work
- I install the Google Plugin 4.4 in my eclipse LUNA (version 4.40) , but I don't know it and which GWT Designer plug-in matching
- GWT Designer for eclipse not working
- Why does GWT 2.7 discontinue the GWT Designer?
- How do I tell GWT-Designer/windowBuilder where the UI is
- GWT Designer Eclipse
- Google Eclipse designer button not responding
- How to get GXT Pallette in Eclipse Kepler?
- "create new visual classes" button not clickable on eclipse
- GWT Designer can't find GWT module X in project
- Installation issue with GWT Designer
- GXT support for GWT designer
- GWT designer in eclipse 4.2.2 not working or workflow changed?
- GWT RequestFactory and GWT Designer compatibility issue
- GWT designer editor can't opened
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I'm not sure you should be going the route of trying to create your own
Compositewidget for this purpose. What you described is exactly whatDockLayoutPanelwas created for. Basically, you want a (relatively) constantnorth(probably logo, possibly navigation),south(footer of some sort), and maybeeast/westfor side bars or what have you, and acenterwhich changes to display the "current page". There are a great deal of examples ofDockLayoutPanelbeing used in this manner- even the Javadoc has a great one. You could easily add a panel to thecenter, and use that panel as your "main panel".If you want to create your own
Compositewidget which can have some arbitrary children widgets and be used by GWT Designer, you've got a lot of work ahead of you.