Recently posted RFE:  GUI XML configuration

libGlade style loading of GUI information from an xml
resource file.
Read over:
http://freshmeat.net/projects/libglade/?topic_id=58
Java code might look like this:
AutoSwing auto = new AutoSwing("foo.xml");
JFrame jf = ((JFrame)auto.get("myFrame"));
jf.show();
JButton jb =  ((JButton)auto.get("myFavoriteButton"));
jb.setText("Hello AutoSwing World!");
//etcMight be fun to discuss the possibilities of having a layout tool
... I know many developers would rather be doing Rapid Development than
detailed GUI work, at least for simple programs.
This would create an easy to use STANDARD, especially if
supported by the "Standard" Edition. Ideally a layout tool
would also ship with the Standard Edition.
So, what do you think?

u may also want to checkout
http://sourceforge.net/projects/xmlswing/

Similar Messages

  • Problem with XML configuration

    Hello gurus!
    I have a problem because I'm trying to get a value from the WF container to expose it through SWFVISU as a dynamic parameter. The way I tried to do this was to manipulate the UWL XML to create a custom attribute and declaring the value comes from the container, but since I modified this, anything in SWFVISU is not responding. Even if I delete the pcd of some task and then call this task, everything works normally and no changes are noticed. Somebody told me that I have to return to my original XML configuration and I deleted my new XML configuration, cleared cache and the problem persists. Any ideas on what am I missing about this?
    Regards IA

    Hi,
    >but since I modified this, anything in SWFVISU is not responding.
    What do you mean by this? Are you expecting that the changes you do in your XML would somehow appear in SWFVISU? (This will not happen.)
    Please upload the custom XML again to the portal (with priority medium or high). Refresh the cache, and log out from the portal. Log in again, and create new test case (=start new workflow). These are all just steps to ensure that the changes you have done to the XML will apply.
    What is the result? Is the custom attribute working? If it is not, I would check any examples that you can find in SAP Help or SDN about dynamic attributes, and compare them to your own XML. If you still cannot find the problem, post your XML task configuration here (and explain what you are trying to achieve), and probably someone will help you.
    Regards,
    Karri

  • XML Configuration or Annotations in Hibernate

    I have been kicking Hibernate around for a couple of days and would like y'alls 2 cents. A bean can have its metadata set up in a *.hbm.xml configuration file or the same can be done via annotations, what has worked best and what have been the disadvantages of each?
    I have used xml configuration in the past and having an xml file for each bean class got to be an annoyance once there were more then just a few beans to manage. With annotations the xml file would not be needed and the information would be in the bean class. I like this idea but since I have never used annotations extensively what issues have been encountered by y'all.

    There are issues are around transparency. The idea of a POJO was originally that the code wasn't coupled to a framework. Annotations effectively do couple you to the framework again, but you have to ask "is this actually a bad thing?". Unless you're in the habit of chopping and changing persistence frameworks, then it's not so bad. I had an issue recently whereby I was generating classes from XML schemas as part of the build process, and couldn't easily put Hibernate annotations onto the classes without a manual step. I did actually find a JAXB Maven plugin that did it, but I went with XML config for persistence anyway as it gave me some extra control that the generated code didn't, namely some properties were transient as regards persistence, but still necessary on the beans
    And there's the other reason you might not want to use annotations: when your DB schema changes, you have to recompile and re-deploy the code. How much of an issue that is, is entirely dependent upon your situation. It usually happens anyway

  • Tomcat 5 services-config xml configuration problem

    I bought a webhosting that contains among other options  a tomcat 5 server .
    I tried to make a simple blazeds application . on a tomcat that runs on my computer works. On the hosting it does not.
    I have acces only to public-html folder from the server. So there is a web-inf folder and an met-inf folder.
    Please advice me how to configure the xml-s from my project to be able to access. The error that i get in the flex project is that the endpoint cannot be found.

    i am posting the Car.xml which i created in
    /conf/catalina/localhost directory in Tomcat 5.5.7
    ?xml version='1.0' encoding='utf-8'?>
    <Context path ="/Car" docBase="C:\Program
    Files\Apache Software Foundation\Tomcat
    5.5\webapps\Car" debug="0" />Rather than have you working directory under webapps, you can have it elsewhere in your system and refer to it using the docBase attribute. For example, say you have your work directory in d:\work\car,
    then
    <?xml version='1.0' encoding='utf-8'?>
    <Context  path ="/Car" docBase="d:/work/car"  />would suffice.
    cheers,
    ram.

  • Issues with Indirect xml configuration using environment variable

    My package is not retrieving the the connection strings from the xml file setup through indirect configuration. It is using the connection string directly from the connection manager in the package. Steps below,
    Package-1 has Connection Manager with server : dev, database: Test
    Setup indirect xml configuration : XML file contains the connection string. Environment variable contains the path to the xml.
    Build and deploy on different server (prod).
    Create the same environment variable in prod server.
    Change conenction string in xml file.
    Run the package: package tries to connect to dev instead of prod.
    Change the connection string in the connection manager directly in the package. Build and deploy. Works now - connects to prod as expected.
    For some reason my package is not reading from the xml file.
    Anonymous

    You posted on this issue before and now again, why?
    The "It is using the connection string directly from the connection manager in the package" means the package fails to configure from the conn string in the env. variable.
    You may see it as a warning in the log if you have one enabled.
    The env variable should have the path to the config file, the config file should be parametrized to get the connection to it via the variable, this is the proper scenario.
    Arthur My Blog

  • User Page, Recent Posts by....

    User Page Recent Posts by priisaz dispays number of times a post is viewed, but when you select View all your posts, it does not. Could this field be added to the all posts view? And should I add this to Ideas page. You may move this there if you wish.
    Thanks

    I'll do some checking on this and get back with you.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer that solved your issue as the accepted solution.

  • How to generate an XML Configuration File for EBS Source Type

    Hi,
    We have installed SES, I want to integrate it to enable for searching repository contracts.
    In the sources I have selected oracle.apps.okc.repository.textsearch.server.RepHeaderSearchExpVO.
    For this source I need to specify the Configuration URL.
    Here I need to provide the path for configuration XML file. But before that I need to generate the XML Configuration file.
    Is there any steps on how we can create this XML file.
    like I would want to know how we can create the XML file and on which folder on the server should I be putting it
    Thanks

    Hi there,
    We are running into same issue and need the exact same information. Can someone help with this question on priority?
    Thanks,
    Darshan

  • JSF 1.2 web.xml configuration parameters

    Actually, I know these JSF 1.2 web.xml configuration parameters:
    javax.faces.CONFIG_FILES
    javax.faces.DEFAULT_SUFFIX
    javax.faces.LIFECYCLE_ID
    javax.faces.STATE_SAVING_METHOD
    Are there any more available?
    (I have to study its performance implications in conjunction with RichFaces ones).

    The JSF 1.2 specification document would contain the information you're looking for.

  • XML configuration file to link to frames in Flash - As2.0

    How can I set the url or link attribute from the XML configuration file to link to frames in my movie instead opening a HTML page? I am using Actionscript 2.0
    Thank you.

    What type of file is using this xml data?  If it is being read by the AS2 file, then your data should resemble either frame labels or frame numbers.

  • "Can't find recent OpenSSL libcrypto" error when configuring openssh 4.3p2

    This is being done on a new install of Solaris 9 (patched) with Studio 11 installed. I complied openssl 0.9.8a with the following:
    config --prefix=/usr/local shared
    openssl builds fine and the output of openssl version is Openssl 0.9.8a.
    When I try and run the configure script with openssh I get the can't find recent Openssl error before the configure script can continue. The config.log reports the following:
    "ld: fatal: library -lcrypto not found"
    At first I thought the problem was I had to explictly define where the libcrypto file was located so I modified the configure script and edited the -lcrypto line to point to /usr/local/lib/libcrypto.so. This didn't help. I have tried defining --with-ssl-dir but that doesn't help either. 
    Anyone ideas/suggestions would be appreciated.
    -- Chris

    Hi
    Not very pretty, and I don't know if autotools will undo it behind your back, but setting
    LD_OPTIONS="-R/usr/local/lib"
    might do the trick.
    Paul

  • HTTP POST Request with XML file in

    Hi @ all,
    I would like to send an HTTP Request with an XML File in the body to an SAP System
    I have the target URL and the a XML File.
    Now the question is. Is it possible to use something like the HTTP_POST FuBa to send an url post request with an xml file?
    If yes can anybody give me a hint?
    I have a php script which exactly do this coding. But to integrate it all in one system it is necessary to transform it into ABAP and call it there.
    // compose url and request and call send function
    function test($productID, $categoryID) {
         // create url
         $PIhost = "XXX.wdf.sap.corp";
         $PIport = "50080";
         $PIurl = "/sap/xi/adapter_plain";
         $PIurl .= "?sap-client=800";
         $PIurl .= "&service=XXX";
         $PIurl .= "&namespace=XXX";
         $PIurl .= "&interface=Frontend_Interface";
         $PIurl .= "&qos=EO";
         $PIurl .= "&sap-user=XXX";
         $PIurl .= "&sap-password=XXX";
         // create xml
         $request = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
         $request .="<n1:FrontendInbound_MessageType xmlns:n1=\"http://crmpiebay.com\">\n";
         $request .= "\t<FrontendInbound>\n";
         $request .= "\t\t<ProductName/>\n";
         $request .= "\t\t<ProductCategory>".$categoryID."</ProductCategory>\n";
         $request .= "\t\t<ProductID>".$productID."</ProductID>\n";
         $request .= "\t\t<MessageID/>\n";
         $request .= "\t</FrontendInbound>\n";
         $request .= "</n1:FrontendInbound_MessageType>";
         // send http request
         postToHost($PIhost, $PIport, $PIurl, $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"]."/".$_SERVER["PHP_SELF"], $request);
    // send post request to PI server
    function postToHost($host, $port, $path, $referer, $data_to_send) {
      $fp = fsockopen($host, $port);
      if($fp) {
           $res="";
           fputs($fp, "POST $path HTTP/1.1\r\n");
           fputs($fp, "Host: $host\r\n");
           fputs($fp, "Referer: $referer\r\n");
           fputs($fp, "Content-type: text/plain\r\n");
           fputs($fp, "Content-length: ". strlen($data_to_send) ."\r\n");
           fputs($fp, "Connection: close\r\n\r\n");
           fputs($fp, $data_to_send);
           while(!feof($fp)) {
               $res .= fgets($fp, 128);
           fclose($fp);
           return $res;
    Would be great if anybody could give me a hint how to solve such a HTTP Post request with XML body data.
    Thanks in advance.
    Chris
    Edited by: Christian Kuehne on Feb 26, 2009 4:32 PM

    hi friend could you please share your solution regarding this query if u got it already?

  • Log4j: XML configuration file problem

    Hello,
    I set up some logging in my existing application with log4j and an xml configuration file. Now I made some changes to my package structure, and some problems occured. So I thougt of setting the logging level of one of my loggers (named myapp.iointerface.DBAccess in the config file). So the only change I did was adding a <param name="Level" value="TRACE"/> to my logger. Now, log4j complains when it reads the configruation file:
    log4j:WARN Continuable parsing error 36 and column 11
    log4j:WARN The content of element type "logger" must match "(level?,appender-ref*)".My config file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration debug="false" xmlns:log4j="http://jakarta.apache.org/log4j/">
         <appender name="RootConsole" class="org.apache.log4j.ConsoleAppender">
              <param name="Threshold" value="DEBUG"/>
              <param name="Target" value="System.err"/>
              <layout class="org.apache.log4j.PatternLayout">
                   <param name="ConversionPattern" value="%d{dd MM yyyy HH:mm:ss} %p %C %nIn Zeile Nummer: %L %m %n%n"/>
              </layout>
         </appender>
         <appender name="LoginInfo" class="org.apache.log4j.FileAppender">
              <param name="Threshold" value="TRACE"/>
              <param name="File" value="${user.dir}/login_info.log"/>
              <layout class="org.apache.log4j.PatternLayout">
                   <param name="ConversionPattern" value="%d{dd MM yyyy HH:mm:ss} %p %C %nIn Zeile Nummer: %L %m %n%n"/>
              </layout>
         </appender>
         <appender name="DBConnectionInfo" class="org.apache.log4j.FileAppender">
              <param name="Threshold" value="TRACE"/>
              <param name="File" value="${user.dir}/db_connection.log"/>
              <layout class="org.apache.log4j.PatternLayout">
                   <param name="ConversionPattern" value="%d{dd MM yyyy HH:mm:ss} %p %C %n%m %n%n"/>
              </layout>
         </appender>
         <logger name="myapp.windows.MainFrameController" additivity="false">
              <appender-ref ref="LoginInfo"/>
         </logger>
         <logger name="myapp.iointerface.DBAccess" additivity="false">
              <param name="Level" value="TRACE"/>
              <appender-ref ref="DBConnectionInfo"/>
         </logger>
         <root>
              <param name="Level" value="DEBUG"/>
              <appender-ref ref="RootConsole"/>
         </root>
    </log4j:configuration>Does anybody know what's wrong with that? I don't understand and found nothing googling it netiher. The strange thing is, that logging messages with level TRACE are recorded in the destination file, but the level id DEBUG.
    Thx,
    Julien

    If you look at the error, the parser expects level and not Level
    So :
    <param name="Level" value="TRACE"/>should be :
    <param name="level" value="TRACE"/>Same goes for :
    <param name="Level" value="DEBUG"/>That will solve the problem (even though it is not a critical error)!

  • Is it possible to call a web service via UWL XML configuration?

    Hello
    Is it possible to call a web service via UWL XML configuration?
    If yes then an example would be great.
    Roy

    Hi Roy,
    Yes, yes it is possible.
    Yesterday only I came across the following document which will answer your questions:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6?overridelayout=t…
    ~Ashvin

  • ABAP Query on Recent Posting Date in G/L Account

    Dear All
    This is the new request that has come from the client. What they want to see is the G/L account and the most recent Posting Date. For eg Lets say that 220000 has 3 line items
    1000 in march 06
    2000 in april 06
    3000 in may 06
    End user wants to see Balance as 6000 and the most recent Posting date as may 06. If i Pull Accounting Doc # and Posting Date it will give me all the details and date which i dont really want. How do i do it ?
    Please help me
    Thanks
    Sameer

    Hi,
    try table GLT0 (for Rel. 4.6C)
    A.

  • Post Install Steps & Initial Configuration

    Hi,
    I want to confgure system monitoring on solution manager ehp1 Please tell Post Install Steps , Initial Configuration. to proceed
    Thanks,
    Shashi

    The transaction Solman_setup is not available before sp18.....it is available in EHP1 or SP18 onwards
    Hope it clarifies ur doubt
    Regards
    Prakhar

Maybe you are looking for

  • Help, i've upgraded my 4S to iO 7, but iTunes no longer sees the phone

    I have just upgraded to iOS 7, and now when i plug my phone into my Windows 7 laptop, iTunes (up to date) does not see the phone at all.   I can plug my iPod in and it is recognized just fine. I have told my phone several times i trust the laptop.  I

  • MB1B / Change profit center in Exit, Badi or Enhancement

    Hi guys, we're doing transfer postings in MB1B with reference to existing returns. In the return item a profit center different from the material master is entered. MB1B is creating the material document with the profit center from the materal master

  • Standard menu bar and title bar

    Hi to all I am developing a module pool program in which I have defined set pf status in PBO event. But while running the program that standard tool bar not working. Plz guide me.... Thanks & Regards Anubhav

  • Queries on OVS

    Hi I need pointers on follwoing: - Is there a way to change the search icon which comes with OVS functionality to some other icon? - Also, if i want to open up a new screen depending on the selection from the OVS o/p table, I had put the code in the

  • Automatic triggering of Xi...

    Hi... My requirement is to trigger an XI interface as soon as Good reciepts (GRC- MIGO) is done in SAP and the XI has to create a file at the reciever side. I want to know what should be the data flow for this scenario. Also, let me know if  there is