Sorry this question might look a bit vague. But my problem description is I want to build an xForm editor (preferably in GWT). I would be very grateful if someone can suggest me some hints, links or material that I should be looking into to answer my following questions.
How I can generate the equivalent xml code as I drag and drop the controls in the editor?
And then how to ensure that this generated xml adheres to the xforms schema definition?
You can see how Orbeon Form builder works and if you think you want to develop something similar to that, then try looking at the code. Since Orbeon is open source developed on Java/J2EE you can get the source code. This would be a good starting point.
Cheers.
Related
I tested on hiding the entire design of Notes and XPages application with Replace Design (Hidden formula and script option). As a result, some XPages processes don't work.
If any tool, please suggest in details.
I did as you suggested in above blog post (Wissel,net). But I encountered same as the last comment of it (Stefan Zehnder). I tested by opening a XPage in which some custom controls as referred to a jar file (custom controls class in xsp package). As a result, I cannot see them in the xPage. Maybe the “composite-file” property in the xsp-config file (in WEB-INF) points to the wrong file or class. If you have any idea, please kindly help.
If I understand your question correctly, then I would suggest looking at the responses to a similar question HERE
Also, the following blog post by Stephan Wissel might give you some ideas?
I'm looking forward to create a Domain Specific Language editor in java.
I'm just starting up so i'm here to get some ideas where to start.
What i want is to create an interface like for my editor may be like eclipse (IDE) and i want it to work like eclipse but for my language as eclipse do for java.
auto completion, spell checking, highlighting text auto end braces etc.
I've Goggled about the topic and i got this:
XTEXT
"Building your own domain-specific languages has never been so easy.
Just put your grammar in place and you not only get the working parser
and linker but also first class Eclipse support."
As it says first class Eclipse support, i don't want eclipse support but i want a complete new interface for this. can i perform what i want using XTEXT or i should use something else?
Please guide me, do tell me if i'm wrong at some point here.
Thanks alot.
I've copied all the code from here but instead of looking like the sample it looks like the below screenshot. Obviously I'm missing something fundamental but being completely green in Java, GXT, and web development I'm unsure where to start. Any pointers gratefully received.
Are you using GXT 2 or 3?
Check to ensure the gxt-all.css file is loading correctly. I'm assuming you copied the gxt resources in to your project, and you're referencing their CSS file in your host/entry point page.
for a gxt development i sugest to use eclipse. i dont know which editor you are using. did you delete some image.
Ext Gwt 2.0: Beginner's Guide the best bookk for beginers please follow each steps. it is really easy to learn. cheerssssss
I have a maven project imported into Eclipse. I'm trying to understand the code pattern (architecture). What is the best way to do this?
will use any UML Eclipse plugin help on this?
will use sequence diagram, help on this?
what plugins should I use?
Please share your opinion.
When I am working with a open source project/codebase I get a high-level view and focus on the core code/logic by checking the package names and structure. I then typically determine how the API works by looking at any example code / documentation contained in the project. If I still need some more help I will draw up some inheritance diagrams, print out interesting classes that I may need to make significant changes to, and try to find more examples of the code being used elsewhere.
I am biased and have been using our recently launched Architexa Eclipse plugin to accomplish the above. I am sure there are others available that do something similar.
I guess you will find some pointers in this SE-Radio podcast: Episode 148: Software Archaeology with Dave Thomas.
Of course, UML can help, but on the other side, it might not as well. For reverse engineering, there is the MoDisco project in Eclipse, which might be useful.
I'm trying to find a solution to highlight part of a text file in Java.
Basically, what I'm doing is lexing and parsing a text file respecting a certain grammar, storing some information related to the various elements of this file and then logging the information to a database.
I would like to have something more visual like a representation of the text file with some parts highlighted (and an index of the various colors used) - or even better with some context-sensitive information attached to a particular token.
Is there an easy way to do so? Basically what I would like to have, in terms of features, is a really primitive Eclipse plugin for a particular language and stand-alone. Maybe there's a framework to build DSL editors, something like that.
Hope it is clear...
Thanks
I think Xtext is just what you are looking for, it generates an Eclipse editor and more from a grammar.
Although not for Eclipse, there's MPS by JetBrains (the makers of the now open source IntelliJ IDEA) which may be worth taking a look at:
http://www.jetbrains.com/mps/