Tuesday, January 31, 2012

Execute DML Statements in cordys

String querytxt="---DELETE or Update query-- ";
DMLStatement dml = new DMLStatement(querytxt);
dml.execute();

Friday, January 20, 2012

how to fetch data from xml in java

String xyz= Node.getData(Node.getFirstChild(XPath.getFirstMatch(
".//ABC", null, searchReqXML)));

Tuesday, January 3, 2012

how to configure debugging in eclipse

go to WsApp service container JRE config
---------------------------------------------------
add
-Xdebug
-Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,address=8510,suspend=n
----------------------------------------------------
go to Ecllipse
Debug configuration
go to remote java application add the class
then configure acc to post
----------------------------
set break point and test web service from cordys end

how to reduce publish time

go to ..\\Cordys\cordysInst\components\cws\config and write

development.publish.to.psl.enabled=false

Compact css

/* this does not make whole form with compact layout */
.compactize .h_layout{
margin: 4px;
}
.compactize .v_layout{
margin: 4px;
}
.compactize .v_layout_i{
margin: 4px;
}
.compactize .f_layout{
margin: 1px;
position: relative;
}
.tabcontent > .simplecontainer{
padding:0 1% !important;
}
.maincontainer{
padding:0 1% !important;
}
/* Compact controls end */