How to use HTML or XML described visual forms for data entry in Java app?

Hi,
We are considering to use HTML as a mean of configuration for visual content and layout of data entry dialogs in our Java GUI applications. Java program will need to be able to populate/collect data into/from dialog controls. I am guessing that JEditorPane and FormView classes could be used for this but I have not figured out yet how to do this.
I would really appreciate any help you could provide with respect to this. Please share any tips, utilities, references, etc. Maybe one can suggest non-HTML (e.g. XML, UIML, ...) way to achieve the same requirements and recommend some utilities respectively.
Thanks.
-Vitaly

Just to clarify, we need a solution for Java application (no applet, no web server, no servlets, no JSPs, no EJBs).
-Vitaly

Similar Messages

  • Do I need to have the SDK to update a PDF form using an HTML form for data entry?

    I would like to update as many PDF forms as possible based on
    the users initial log-in information so that they are not
    constantly , and repetitively entering basic information.
    Can this be done using Javascript and does it require the SDK
    to perfom?
    I would appreciate your help with this real-world scenario.
    Thanks

    Hello
    I am using Web Client with the DownLoadFile() option to download files from a site.  If too many requests come in too fast it will banned that address for 24 hours.  (A DDOS security measure) I need to have the program wait until the file
    is downloaded before making the next request but be running in the background so not to freeze the application.  A progress form will allow the user to know the status of the downloads. 
    I see something about asynchronous downloads but do not seem to understand how I would make use of it or if it is the method I want to use.
    If someone could point to or give a good example of what I need to do, it would be most welcome.
    David Edwards
    David,
    There are two ways which come to mind here, both using the WebClient:
    The first is that in a BackgroundWorker, you use the synchronous download method. The synchronous method is a blocking call so obviously it can only get one at a time, and when that one is completed, the loop then starts the next.
    The second way - also in a BackgroundWorker - is to use the asynchronous method. The reason for this is because only the asynch method provides events to monitor progress and know when the file has completed. This gets a bit more involved because you're
    still processing them in a loop, but it's definitely something that can be done - I've done it several times.
    You haven't really given many details, so beyond this general conceptual description there's not a lot more that can I can explain, but your goal definitely can be achieved using a WebClient.
    I hope this helps. :)
    Still lost in code, just at a little higher level.

  • How to select a single row in a report for data entry?

    Hello All, and Greetings.
    I am a newcomer, with no experience in Apex, and in need of help.
    I have to generate a report with some read-only columns and two write columns. These will be the result of a SQL query.
    For the sake of robustness in data entry, a row has to be selected prior to data update. The document specifies that a radiobutton for each row be present, and the corresponding row selected accordingly by clicking its radiobutton. There could be any number of rows returned in the report, which means that the number of radiobuttons will vary dynamically according to the number of returned rows.
    1. So my question is, how do I construct the page to do this? Please remember I am a newbie, so detail will be appreciated.
    2. Another question is, how do I change the fonts and colours of the names displayed along with the listboxes?
    Thank you very much for your attention. Any help will be warmly received.
    With regards,
    Arindam.

    You may find this article useful: http://balusc.blogspot.com/2006/06/using-datatables.html
    P.S: please don't reply with "but I cannot read and write code, I can only drag'n'drop!".

  • How to use the validation.xml in struts validation?

    Can any one please help me, how to use the validation.xml in struts validation? possible please give me simple example.
    Edited by: SathishkumarAyyavoo on Jan 31, 2009 12:03 PM

    These 2 are the good articles for the beginners to do validation things in Struts. you can follow any one of them.
    1. [http://viralpatel.net/blogs/2009/01/struts-validation-framework-tutorial-example-validator-struts-validation-form-validation.html]
    2. [http://www.vaannila.com/struts/struts-example/struts-custom-validation-example-1.html]
    All the best.

  • How to use HTML Tags in Smartforms

    Hi,
    Can you please help me out in knowing how to use HTML tags in Smartforms,
    suppose i want to display some text in BOLD i should use the tag </b> as shown
    </b>  Header Information <b>
    regards
    Ranveer

    Hi Ranveer ,
        check this following links,
      hope this wil helps you
    <a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/smartform%20in%20abap.pdf">check this link,to know abt HTML in smartforms</a>
    rgds,
    shan

  • How to use HTML Tags in webdynpro java

    Hi,
         Can any body tell me how to use HTML Tags in webdynpro java.
    If u provide me with sample code it will become more usefull.
    Thanks & Regards,
    SN

    HI,
    Please find the steps:
    Create a html file and store in your webdynpro project
    Add the html contents in your file
    & Create a IFRAME UI element and refer you html file
    Now you able to see the html in webdynpro
    Thanks & Regards,
    Ram

  • How to use Crystal Reports 11 with Visual C++ 2005 ?

    Post Author: compvis
    CA Forum: General
    Hello everyone !
    Plz tell me how to use Crystal Reports XI with Visual C++ 2005 ?
    Thank you so much !

    Moved to .NET SDK forum.
    Need more info, version of the assemblies you are using and the assembly file system version number ( not the same as what you see in the properties of the project.
    As well, what happens if you use OLE DB as a test?
    Thank you
    Don

  • How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ?

    Hiii all,
    How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ? In my case , i am researching and wanting to add,search,delete an user object request from Web Services Client to SPML webservice in VDS by SPML request. anybody has documents or tutorials please share to me.
    Thanks

    Hiii all,
    How to use SPML Webservice.xml template in VDS(Virtual Directory Server) ? In my case , i am researching and wanting to add,search,delete an user object request from Web Services Client to SPML webservice in VDS by SPML request. anybody has documents or tutorials please share to me.
    Thanks

  • How to use HTML in JavaFX controls?

    Does JavaFX support using HTML in JavaFX controls' text? For example, in Swing components:
    button = new JButton("<html><font face=arial size=16><center><b><u>E</u>nable</b></font><br>"
      + "<font face=cambria size=12 color=#ffffdd>middle button</font></html>");
    If no, could we find a workaround?

    Embedding a WebView in a Labeled for HTML Rendering
    A WebView is a node which displays HTML.
    Most controls implement Labeled, or have elements that are Labeled.
    A Labeled has a setGraphic(node) method which allows you to set the graphic attached to the labeled to any given node (including a WebView).
    For instance:
    WebView webview = new WebView();
    webview.getEngine().loadContent("<html><font face=arial size=16><center><b><u>E</u>nable</b></font><br><font face=cambria size=12 color=#ffffdd>middle button</font></html>");
    webview.setPrefSize(150, 50);
    Button buttonWithHTML = new Button("", webview);
    should create a button with html in it (I didn't actually try running the above example).
    Apart from the relatively slow startup time on first use and the overhead (which I can't quantify) of using WebView in this way, there are a couple of jira requests outstanding which make it a little bit of a nuisance.
    RT-25004 Allow for transparent backgrounds in WebView
    RT-25005 Automatic preferred sizing for WebView
    You can vote for the above jira requests or comment on them if such functionality is important to you.
    TextFlow/FXML/CSS Alternative
    Rather than using html in the Labeled, support for the TextFlow control was introduced in Java 8, so that could be used instead.
    TextFlow also works well with FXML and css if you prefer to have the stuff in the TextFlow managed via markup and a declarative styling language.
    Open Feature Request
    There is an open feature request RT-2160 HTML support for text which is currently scheduled for implementation in the initial Java 8 release.  I think the likelihood of it actually being included there is zero percent, though it may be considered for a future release.  You can vote for the issue or add comments to it, or provide an implementation if you are so inclined.
    Implementation Considerations
    A possible implementation would be something which parses the HTML then constructs a TextFlow the parsed HTML according to processing rules which are laid out in laborious mind-numbing detail in the HTML5 spec.
    You could use a relaxed HTML parser such as the validator.nu parser (though there may be others which would be a better fit). 
    A simple implementation would just be to use the parser in the jdk which is used for the swing controls, but that is hopelessly outdated.
    Perhaps, even simpler would to only accept strict html input and just use SAX to parse it out, though things like validator.nu are too difficult to work with.
    Then, for the limited number of parsed tags that you want to support (and you really don't want to support all of HTML5 for something like this - otherwise you would just use WebView), create your TextFlow from the DOM model that your parser has created.
    I wouldn't even both trying to handle most of the stuff in your html string in your implementation, stuff to do with styling, fonts, colors, etc. Those things were never any good in html anyway, and css is better for handling them, so just support stuff commonly used in usual modern day html (take a look at bootstrap html source as an example to see what that might be - if bootstrap doesn't use it, I don't think you should support it).  The stuff you will be supporting are things around document structure like lists, headings, etc. div blocks and span nodes - so only implement that important stuff and delegate everything else to css where it belongs.
    Also make sure your implementation fits in with FXML so that you can easily embed your html subset in an FXML doc.

  • How can I fix 'Can't Load Visual Basic for Applications' in Word 2011 for Mac?

    How can I fix 'Can't Load Visual Basic for Applications' in Word 2011 for Mac? I reinstalled Office after macbook was restored and now I've tried reinstalling twice but the same error turns up. There seems to be an associated error realted to the database, which send me to Database Utility. This turns up every time I open Word, then the VBA error message turns up 4 times, or if i click on Visual Basic Editor.

    in case it's useful to some other soul who searched Google in vain and found this page, I posted a fix that worked for me under https://discussions.apple.com/message/21732017

  • How to use the selection profile and status profile for production order?

    Hi expert,
       I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
      Please help me.
      thanks in advance.
      george.shi

    Hi George,
    There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
    We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
    In this status profile,
    1.We define the sequence in which user statuses can be activated,
    2.We define initial statuses
    3. Allow or prohibit certain business transactions.
    Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
    Regards,
    Raja.
    Edited by: Rajarao on Oct 30, 2008 6:21 AM
    Edited by: Rajarao on Oct 30, 2008 6:22 AM

  • How to use PO message type to output 'Form' as PDF file

    Dear experts,
      I am working for a topic of how to use PO message type to output 'Form' as 'PDF file', and save to external file system automatically.
      Any one familiar to this topic, please kindly give me some guide, thank you!
    Regards,
    Joyce

    Hi,
       Go through the program RSTXPDFT4 (Converting SAPscript (OTF) or ABAP List Spool Job to PDF), you will get some idea.  Using this program you can convert spool into PDF file.
    -Alpesh

  • How to use BAPI to add a new version for a claim number in WTY transaction.

    How to use BAPI to add a new version for a claim number in WTY transaction.
    I am using  function module " BAPI_WARRANTYCLAIM_ADD_VERSION ".
    It needs to copy all contents of previous version to a new version.
    While doing so i am unable to copy fields like valic valoc etc. Any ways by which  i can copy this values.
    WTY will update PNWTYH , PNWTYV and PVWTY tables.
    Thanking you,
    Lokesh.

    Hi Vishnu,
    You can do that through EEWB. Please go through SAP Note 484597. You would get the details of using Easy Enhancement Work bench.
    Rewards point if you think this info is useful
    Regards,
    Dipender Singh

  • HT1343 how to use the options with F10, F11, F11 for turning the sound up or down or mute?

    Hi, I'm Hannah. I'm using a Mac. Can you show me how to use the options with F10, F11, F12 for turning the sound up, or down or mute? Thank you very much

    Normally simply pressing them should do what you want, F10 to mute; F11 to decrease volume; F12 to increase volume. However, it's possible that you have a box ticked in Keyboard preferences which modifies the behaviour of the keys, requiring you to also hold down the Fn key (bottom left key on the keyboard) to enable the function.
    Check System Preferences>Keyboard to makes sure the box indicated in the image isn't ticked.

  • How to use buttons in hcm process and forms?

    Hi Experts,
    I want to know how to use buttons in HCM process and form.
    And when i click on the button it was validating all the fields and it was throwing an error ( complete SACHP fields) i am not using this filed in any where of my form.
    So, please help in getting out of this error. And help me with some document, which method will  trigger once we click on the button.
    Thanks & Regards,
    Rocky

    You do not need to add this field to your list. In the view V_T588MFPROPS (SAP delivered), this field is set as mandatory. In configuration, you must maintain the view V_T588MFPROPC (Customer area) and make sure the field is not set to mandatory. This will override the SAP delivered setting and the error message will be not be displayed.
    Derrick Banks
    Banks & Company, LLC

Maybe you are looking for

  • Attaching files to a PDF form and Submission.

    I'm pretty new to LC (hence the sn) and running into a little problem.  Currently, I have created a form that allows the attachment of files.  Everything is fine and dandy as I am able to ADD, OPEN and DELETE any file as I'm filling out the form.  Ho

  • Error to import  RFC (ABAP) service in CAF

    I am trying to import a ABAP service  (as an external service) BAPI_USER_GET_DETAIL and getting the following error after selecting  BAPI_USER_GET_DETAIL  checkbox cannot load R/3 descriptions. Env. - NetweSAP NetWeaver Developer Studio Version: 7.0.

  • Pricing condition is not displayed in the Condition tab

    Hi all, I replicted pricing condition from CRM to ECC along with Pricing procedure. I see that condition and pricing procedure in CRM system. When I create an order and go to Item condition tab then I don't see my replicated condition there (I expect

  • Can not take securitycheck with my iphone  my phone is not on the screen

    HI I couldnt get a security check  with itunes ,my iphone is not showing up in my  pc

  • How to publish all the services in sicf

    Dear All , I have installed SRM 5.0 (ABAP+JAVA) . I am new to SRM, please help me how to publich all the servers which are in ' sicf ' Also please let me know whether any exta steps need to do after SRM instalation. Is there any specific SAP doc. for