ActionPerformedEvent not working on IzPack generated app

3 views
Skip to first unread message

Samar Ayesh

unread,
Feb 18, 2013, 5:39:04 AM2/18/13
to bungeni...@googlegroups.com, Ahmad Hajissa Hamo, Ashok Hariharan
I have two DatePickers where there's actionPerformedEvent to convert date from Georgian to Hijri Date .. 
It's working perfect on my editor but when I compile it to have install.jar by IzPack it's not working any more !!

Ashok Hariharan

unread,
Feb 18, 2013, 6:51:11 AM2/18/13
to Samar Ayesh, bungeni...@googlegroups.com, Ahmad Hajissa Hamo
Where are these events called ? (in which class ? ) ... IzPack doesnt change any code ... so i am guessing its a difference between the editor source you are using for development and the one you are packaging ..

Ashok

Samar Ayesh

unread,
Feb 18, 2013, 6:58:39 AM2/18/13
to bungeni...@googlegroups.com, Samar Ayesh, Ahmad Hajissa Hamo
Those DatePickers are in metadata panels .. in src.org.bungeni.editor.metadata.editors.ActSource ..
after I checked that every thing is running Ok, I did clean & build and copied dist folder to base folder and applied compile to generate install.jar ..
every thing is working fine but those DatePickers are not !!

Ashok Hariharan

unread,
Feb 20, 2013, 9:33:32 AM2/20/13
to bungeni...@googlegroups.com, Samar Ayesh, Ahmad Hajissa Hamo
I am just looking at your Act / Judgement metadata screens .. there seem to be compilation errors in them .. 

for e.g. ActMainMetadata has this code :

   private ComboBoxModel setActTypesModel() {
        DefaultComboBoxModel publicationTypesNamesModel = null;

        try {
            String sqlStm = "SELECT [LG_Type_ID], [LG_Type_Name], [LG_Type_Name_E], [LG_Type_Name_AN] FROM LG_Type";
            ResultSet rs = CommonConnectorFunctions.ConnectMMSM(sqlStm);

(Note in the above ConnectMMSM takes 1 parameter ) 
 
And when I look in CommonConnectorFunctions ConnectMMSM takes 2 parameters

 public static ResultSet ConnectMMSM(String dbName, String sqlStm) {
        String connectionUrl = "jdbc:sqlserver://l-share;databaseName="+ dbName+ ";selectMethod=cursor";

        // Declare the JDBC objects.
        Connection con = null;
        Statement stmt = null;
        ResultSet rs = null;

Also JudgmentMetadataExtra has code like this :

                    if (metadata.get(i).getName().equalsIgnoreCase("BungeniLanguageCode")) {
                        docMetaModel.setBungeniLanguageCode(metadata.get(i).getValue());
                    }
                    if (metadata.get(i).getName().equalsIgnoreCase("BungeniFamily")) {
                        docMetaModel.setBungeniFamily(metadata.get(i).getValue());

But these functions setBungeniLanguageCode, setBungeniFamily etc don't exist ... 

I think you have made an incomplete commit into SVN ? 

Ashok

--
You received this message because you are subscribed to the Google Groups "bungeni-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bungeni-edito...@googlegroups.com.
To post to this group, send email to bungeni...@googlegroups.com.
Visit this group at http://groups.google.com/group/bungeni-editor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Samar Ayesh

unread,
Feb 21, 2013, 7:14:17 AM2/21/13
to bungeni...@googlegroups.com, Samar Ayesh, Ahmad Hajissa Hamo
Yes svn commit is not complete .. There were some issues need to be fixed .. I'm committing now ....
Reply all
Reply to author
Forward
0 new messages