Difference between revisions of "Technical FAQ"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
(Add development questions)
m
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== RUN_Setup related ==
+
#REDIRECT [[HOWTOs_and_FAQs]]
 
+
=== Can't access <span class="plainlinks">http://server_name:8080</span> from clients ===
+
I've installed Adempiere and I'm not able to connect to it using a windows xp client.
+
From the server machine, going to <span class="plainlinks">http://server_name:8080</span> works and I see the webstart homepage. So does <span class="plainlinks">http://127.0.0.1:8080</span>. But wont work if you try to access <span class="plainlinks">http://192.168.0.103:8080</span>.
+
 
+
This problem can arise when the client can't resolve the name server_name.
+
Workaround:
+
Install RUN_Setup giving the IP address 192.168.0.103
+
 
+
 
+
== Development FAQ ==
+
 
+
=== Add an information message ===
+
 
+
ADialog.warn(WindowNo, new ConfirmPanel(),"Information message")
+
 
+
=== Where to put extensions ===
+
 
+
You should place your extensions in extend/src.
+
You should define at least this one as Java Sources directory. Others as well if you change standard classes.
+
+
For PO classes:
+
Then respect coding conventions that can be found in M_Table.getClass(String)
+
Basically : compiere.model.MThisIsMyTable for a table THIS_IS_MY_TABLE
+
+
For Validation classes:
+
Look at ModelValidationEngine()
+
+
Define in your Client the field ModelValidationClasses with you validation classes. They must implement ModelValidator.
+
Look at example MyValidator.
+
+
Make sure Eclipse is setup in Auto Compilation mode.
+
+
Anyway, all this is based on Reflection so the only thing to make it work is that Eclipse find the classes at the right place.
+

Latest revision as of 17:00, 5 January 2008

Redirect to: