Test post
This is a test post to see what has happened to the blogger layout.
It doesn't display in firefox properly - only 2 posts displayed in firfox - all posts displayes in IE6
This is a test post to see what has happened to the blogger layout.
normally remote desktop connects to a terminal session and not to the console. However if you run it from the command line tho you can specify that you want to connect to the console.
Not tried it yet, but looks interesting
If you get a problem like this
conf/server.xml has the following section, which can be uncommented to provide full access logging to all files (can be useful for debugging dojo problems etc.)
Appfuse defines window.onload in global.js and as this is usually includes by all jsps, its NOT a good idea to define <body onload="myOnLoadFunction()"> as this overrides the window.onload function set up by global.js
I discovered two ways of copying a row from one html table to another.
This is a nasty error to debug- all I got was this:
From files:
On remote machine (lets call it "shuttle")
see
language of calendar is defined by the lang library imported:
When selecting the ajax/dojo theme on a page you can specify debug=true to get dojo debug messages.
<fims:textfieldequipment fieldName="stockManagementQueryCriteria.equipmentNm" template="textequipmentwithpopup"/>
<script type='text/javascript'>
see http://www.p6spy.com/documentation/install.htm#unspec for more info
%{}
USeful to look inside an object:
(From http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseEclipse)
Labels: appfuse
moved the exports table context into the spring config file, so we don't need an exports table.
Added Company dao for suppliers and makers
appfuse standard sql maps such as defined in UserSQL.xml have semicolons ; on the end of every bit of SQL, this is unecessary/optional for postgres and illegal for derby. So its better to remove semicolons from the SQL in the iBatis sql maps.
http://www.jugsardegna.org/vqwiki/jsp/Wiki?action=action_view_attachment&attachment=Spring_iBatisJug28012006.pdf
To startup the derby network server you can put
<suppliers_for_parts supplier_id="3" part_id="4" currency_cd="EUR" supplier_ref="ENG-B12-AC-2.04" last_price="54000.00" last_price_dttm="2006-06-18 00:00:00.0"/>
for some reason appfuse defines the iBatis queries in a CDATA section.
ij> create table t1(c1 int generated always as identity, c2 int);
ij> create table t1(c1 int generated always as identity, c2 int);
displaytag http://displaytag.sourceforge.net/11/ gives you sortable pagable tables
C:\apps\apache-tomcat-5.5.20\conf\tomcat-users.xml
As i'm usng appgen still, I can't uninstall hibernate yet (as appgen requires it), but I think i can disable the hibernatedoclet task in the main build.
<ww:checkbox name="stockMaintenanceQueryCriteria.stockAlert" id="stockMaintenanceQueryCriteria.stockAlert" value="%{stockMaintenanceQueryCriteria.stockAlert}" fieldValue="true" theme="simple"/>
create search fields screen using appgen on a dummy table and use the generated "add" functionality to capture the fields.
http://archives.postgresql.org/pgsql-jdbc/2004-11/msg00075.php
1. Create the database with the proper encoding.
In our experience, the best thing to do is simply choose Unicode as the database's character encoding if you think there's a chance of storing Latin1 or other characters. You could choose Latin1, and this should work in most cases. However, there are times when normal-looking characters refuse to be stored in a Latin1 database, such as character 239, which is the same in Latin1 as it is is Utf-8. Rather than attempt to beat our heads against this wall, we went with Unicode because it will hold whatever we need to hold.
for struts dropdown see
rebuild your sample-data.xml file using ant db-export and then cp db-export.xml metadata/sql/sample-data.xml.
Labels: appfuse
1. Download p6spy (google it!)
Labels: appfuse p6spy
CREATE TABLE boat
tomcat-users.xml
Appfuse 1.9.4 already has dwr included:
public EmployeeList managers(EmployeeList emps) {
return emps.findAll(
new EmployeeFinder() {
boolean find(Employee emp) { return e.isManager; }
}
);
}
// Supporting EmployeeList class and EmployeeFinder interface required
public List Managers(List emps) {
return emps.FindAll(delegate(Employee e) { return e.IsManager; } );
}
def managers(emps)
return emps.select {|e| e.isManager}
end
=======================================================================
C# 2.0
int total = 0;
order.EachItem(delegate(Item item) {
total += item.Price;
}
Java
final int[] total = { 0 };I've used the java coverage tools emma and cobertura before although not in any great depth. JCoverage currently has way prettier reports, and Elliotte Rusty Harold seems to prefer cobertura over emma. So when I was looking to set up test coverage reports for JRuby, I thought I would try cobertura and forget all about emma.