Showing posts with label Technology. Show all posts
Showing posts with label Technology. Show all posts

Thursday, 9 May 2013

How to develop portal using Liferay

http://mrbool.com/how-to-develop-portal-using-liferay/27987


  • Before completing step(3) in above suggested url steps  MAKE SURE to follow the steps:

1 copy the build.properties file in same location inside sdk plugin folder of liferay
2. Rename to build.<USERNAME(name of the user operating the machine)>.properties
Ex- build.VHV.properties

3. Now change the argument:

app.server.dir=C:\liferay-portal-6.1.1-ce-ga2\tomcat-7.0.27 (path of Liferay tomcat folder)

4. Save
5.  Now install sdk in eclipse


  • Also change database as mysql for liferay after running on localhost

Wednesday, 10 April 2013

Create Desktop application in Java Using XML

http://stackoverflow.com/questions/5213838/java-create-a-gui-with-xml

1.There are some Java-based engines to render XUL (using Swing), but I'm not sure what state they are in.



I have had good experience with ANTForm: http://antforms.sourceforge.net/.
It generates Java Swing panels from XML. I have used it to build simple GUI apps that execute ANT targets.
Example of the XML declaration:
<antform title="Send Mail" 
    save="properties.txt"
    image="doc/images/testlogo.jpg">
    <label>To send a mail, use the following form. Pick a recipient,
 type a subject and a body...the script will do the rest.</label>
    <selectionProperty label="Recipient: " 
    property="recipient" 
    values="address1@somewhere.com; address2@somewhere.com; address4@somewhere.com" 
    separator=";"/>
    <textProperty label="Subject : " property="subject" />
    <multilineTextProperty label="Message body: "
        property="body"/>
    <booleanProperty label="Send immediately: " property="send"/>
</antform>
Example of what it produces:
enter image description here
share|edit
I used Apache Pivot http://pivot.apache.org/ and really liked it.

Create Desktop application in java using HTML

Using JavaFX
http://docs.oracle.com/javafx/2/swing/overview.htm
http://docs.oracle.com/javafx/2/webview/jfxpub-webview.htm