My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 7 days

  • Dec 29, 2009
    CrankCrudDesignDocs (Crank Crud Design Documentation) Wiki page commented on by cristian.chiovari   -   How active is this project ? I find it very interesting....nut no activity at least on this site...
    How active is this project ? I find it very interesting....nut no activity at least on this site...

Older

  • Nov 17, 2009
    issue 39 (Application behaves as if all foreign keys are required) commented on by wanrooij   -   For 1.0.4 in crank-jsf-support/src/main/java/org/crank/crud/jsf/support/EntityConverter.java change line 107/108 from throw new ConverterException(new FacesMessage("Required", "Required")); to return null;
    For 1.0.4 in crank-jsf-support/src/main/java/org/crank/crud/jsf/support/EntityConverter.java change line 107/108 from throw new ConverterException(new FacesMessage("Required", "Required")); to return null;
  • Jul 31, 2009
    CrankOnTheWeb (The most complete and up to date Crank Tutorial: webapplica...) Wiki page commented on by k.bendy   -   Hi everyone, The documnetataion is simply awesome. I am also getting this erroR while download EXCEL. com.sun.facelets.tag.TagAttributeException: /file:/E:/Task/workspace/blank-project/target/movie-demo/WEB-INF/lib/crank-jsf-support-0.15.jar!/META-INF/template/exportListing.xhtml @17,79 value="${crud:createLabel(detailController.name)}" Function 'crud:createLabel' not found Can you help me please ??
    Hi everyone, The documnetataion is simply awesome. I am also getting this erroR while download EXCEL. com.sun.facelets.tag.TagAttributeException: /file:/E:/Task/workspace/blank-project/target/movie-demo/WEB-INF/lib/crank-jsf-support-0.15.jar!/META-INF/template/exportListing.xhtml @17,79 value="${crud:createLabel(detailController.name)}" Function 'crud:createLabel' not found Can you help me please ??
  • Jul 21, 2009
    UsingDAO Wiki page commented on by jmfrancofraiz   -   Queries like "from Employee employee where employee.department.name=?" have always been illegal using Hibernate and they even throw a "dereferenced collection exception" from Hibernate 3.2. That query should be rewritten to something like this: {{{ from Employee employee join employee.department department where department.name=? }}}
    Queries like "from Employee employee where employee.department.name=?" have always been illegal using Hibernate and they even throw a "dereferenced collection exception" from Hibernate 3.2. That query should be rewritten to something like this: {{{ from Employee employee join employee.department department where department.name=? }}}
  • Jul 11, 2009
    ThinkingInGroovyPart2 (Working on a CodeGenerator in Groovy) Wiki page commented on by spoon.reloaded   -   {{{Enum.valueOf(RelationshipType.class, rel.@type.toString())}}} should be written shorter as {{{RelationshipType.valueOf(rel.@type.toString())}}}
    {{{Enum.valueOf(RelationshipType.class, rel.@type.toString())}}} should be written shorter as {{{RelationshipType.valueOf(rel.@type.toString())}}}
  • Jun 16, 2009
    issue 43 (Bind Variable issue in Criteria) reported by mahes97   -   What steps will reproduce the problem? 1. Write a simple finder method with criteria query to Query Employee Table 2. Introduce "or" condition employeeName = "X" or employeeName = "Y" employees=employeeDAO.find( or( eq("employeeName","X"), eq("employeeName","Y")) ); What is the expected output? What do you see instead? Expected output should return 2 Employee Object with X and Y. The actual outpur returns only Y. What version of the product are you using? On what operating system? Windows Please provide any additional information below. WE forsee this a bindvariable issue where the employeeName bindvariable is occuring twice and the last value is taken when the query runs. As we dont have control on bind variable this is critical.
    What steps will reproduce the problem? 1. Write a simple finder method with criteria query to Query Employee Table 2. Introduce "or" condition employeeName = "X" or employeeName = "Y" employees=employeeDAO.find( or( eq("employeeName","X"), eq("employeeName","Y")) ); What is the expected output? What do you see instead? Expected output should return 2 Employee Object with X and Y. The actual outpur returns only Y. What version of the product are you using? On what operating system? Windows Please provide any additional information below. WE forsee this a bindvariable issue where the employeeName bindvariable is occuring twice and the last value is taken when the query runs. As we dont have control on bind variable this is critical.
  • May 23, 2009
    issue 42 (composite panel fails in combination with detailListing) reported by m.schipperheyn   -   When I have a compositepanel in combination with a detaillisting, and call the page, I get an error with org.crank.core.CrankException: CrankUtils.getToolTip: Null arguments are not allowed clazz = null, propertyName = %first property in composite panel% If I remove the tag, load the page, see the listing, reinsert the tag and click edit, it works and the embedded fields show up. So it just seems to affect the listing view without the form visible. If I call the page without the detailListing it works also No clue why. But I'm a newbie. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="https://ajax4jsf.dev.java.net/ajax" xmlns:rich="http://richfaces.ajax4jsf.org/rich" xmlns:c="http://java.sun.com/jstl/core" xmlns:crank="http://www.googlecode.com/crank" > <ui:composition template="/templates/layout.xhtml"> <ui:define name="content"> <c:set var="crud" value="${cruds.offer.controller}"/> <c:set var="photoDetailController" value="${offerCrud.controller.children.photos}" /> <h:form id="usorForm"> <crank:ajaxForm crud="${crud}" propertyNames="id,title,description,hideAddress,offerType,price,URLPath" parentForm="offerForm" > <crank:compositePanel entity="${crud.entity.address}" name="address" propertyNames="street,houseNumber,houseNumberExt,zipCode,skype,phone,longitude,latitude"/> <crank:selectOneListing jsfSelectOneController="${categorySelectController}" propertyNames="label,parent,country,hidden" parentForm="offerForm" /> <crank:detailListing detailController="${photoDetailController}" propertyNames="filename,thumbnail,title" relationshipCollection="#{photoDetailController.model}" parentForm="offerForm" /> </crank:ajaxForm> <h4>${crud.name} Listing</h4> <crank:listing jsfCrudAdapter="${cruds.offer}" propertyNames="id,title,active,entryDate,changeDate,vendor,countrySite,views" pageTitle="User" crud="${crud}" parentForm="usorForm"/> </h:form> </ui:define> </ui:composition> </html>
    When I have a compositepanel in combination with a detaillisting, and call the page, I get an error with org.crank.core.CrankException: CrankUtils.getToolTip: Null arguments are not allowed clazz = null, propertyName = %first property in composite panel% If I remove the tag, load the page, see the listing, reinsert the tag and click edit, it works and the embedded fields show up. So it just seems to affect the listing view without the form visible. If I call the page without the detailListing it works also No clue why. But I'm a newbie. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="https://ajax4jsf.dev.java.net/ajax" xmlns:rich="http://richfaces.ajax4jsf.org/rich" xmlns:c="http://java.sun.com/jstl/core" xmlns:crank="http://www.googlecode.com/crank" > <ui:composition template="/templates/layout.xhtml"> <ui:define name="content"> <c:set var="crud" value="${cruds.offer.controller}"/> <c:set var="photoDetailController" value="${offerCrud.controller.children.photos}" /> <h:form id="usorForm"> <crank:ajaxForm crud="${crud}" propertyNames="id,title,description,hideAddress,offerType,price,URLPath" parentForm="offerForm" > <crank:compositePanel entity="${crud.entity.address}" name="address" propertyNames="street,houseNumber,houseNumberExt,zipCode,skype,phone,longitude,latitude"/> <crank:selectOneListing jsfSelectOneController="${categorySelectController}" propertyNames="label,parent,country,hidden" parentForm="offerForm" /> <crank:detailListing detailController="${photoDetailController}" propertyNames="filename,thumbnail,title" relationshipCollection="#{photoDetailController.model}" parentForm="offerForm" /> </crank:ajaxForm> <h4>${crud.name} Listing</h4> <crank:listing jsfCrudAdapter="${cruds.offer}" propertyNames="id,title,active,entryDate,changeDate,vendor,countrySite,views" pageTitle="User" crud="${crud}" parentForm="usorForm"/> </h:form> </ui:define> </ui:composition> </html>
  • May 20, 2009
    pn1 (One-sentence summary of this page.) Wiki page edited by RichardHightower
  • May 20, 2009
    pn1 (One-sentence summary of this page.) Wiki page added by RichardHightower
  • May 12, 2009
    issue 41 (Find by example query with missing getters) reported by vasil.kostov   -   What steps will reproduce the problem? 1. Create a JPA entity that has a parameter and a corresponding setter method but no getter method. 2. Use this object to create a query by example genericDao.find(like(exampleActivity)); 3. A NullPointerExeption gets thrown from org.crank.crud.criteria.Example generate() method line 101: Object value = pd.getReadMethod().invoke(example, (Object[]) null); This method expects that there will be a getter method for each PropertyDescriptor. I know that according to the Java Bean definition it is required that getters are provided but there are sometimes reasons for them not to be provided. The following check worked for me to avoid the error: if(pd.getReadMethod() == null) { log.debug("Excluding: " + name + " from the list of considered properties."); continue; } What version of the product are you using? On what operating system? 1.0.1 Windows XP
    What steps will reproduce the problem? 1. Create a JPA entity that has a parameter and a corresponding setter method but no getter method. 2. Use this object to create a query by example genericDao.find(like(exampleActivity)); 3. A NullPointerExeption gets thrown from org.crank.crud.criteria.Example generate() method line 101: Object value = pd.getReadMethod().invoke(example, (Object[]) null); This method expects that there will be a getter method for each PropertyDescriptor. I know that according to the Java Bean definition it is required that getters are provided but there are sometimes reasons for them not to be provided. The following check worked for me to avoid the error: if(pd.getReadMethod() == null) { log.debug("Excluding: " + name + " from the list of considered properties."); continue; } What version of the product are you using? On what operating system? 1.0.1 Windows XP
  • May 07, 2009
    issue 40 (Use of Aggregate functions and String functions in Criteria ...) reported by jano.peti   -   Problem: Example: List<Charger> chargerList = chargerService.getDao().find( join(joinFetch("o.chargerPointList",true,"cpl")), containsLike("cpl.cpNumber", true, "3222"), containsLike("lower(o.address.city)", true, "lower(oregon)"), containsLike("lower(o.address.street)", true, "lower(wallstreet)"), containsLike("o.address.streetNumber", true, "112")); Expected would be to get chargerList but I debugged it and the process of query creation is build without knowing of string functions or any other functions supported in jpql. The outcome is expected: 10:34:51,612 ERROR ErrorCounter : line 1:168: unexpected token: ( The generated query string: SELECT o FROM Charger o join fetch o.chargerPointList cpl WHERE cpl.cpNumber LIKE :cpl_cpNumber AND lower(o.address.city) LIKE :lower(o_address_city) AND lower(o.address.street) LIKE :lower(o_address_street) AND o.address.streetNumber LIKE :o_address_streetNumber The problem is this: :lower(o_address_city) it should be: lower(:o_address_city) What version of the product are you using? On what operating system? crank - 1.0.1 Windows XP SP2 Please provide any additional information below. I was looking through examples in crank-crud, but I didnt found any solution which would influence the query generation knowing about function. One solution would be to create NamedQueries but this solution is not suitable for filtering purposes. With 3 filter properties you would have to create 6 NamedQueries to cover all possibilities of user input. It would be very helpful to have this functionality because of crank's great criteria search, filtering and paging functionality. Thx
    Problem: Example: List<Charger> chargerList = chargerService.getDao().find( join(joinFetch("o.chargerPointList",true,"cpl")), containsLike("cpl.cpNumber", true, "3222"), containsLike("lower(o.address.city)", true, "lower(oregon)"), containsLike("lower(o.address.street)", true, "lower(wallstreet)"), containsLike("o.address.streetNumber", true, "112")); Expected would be to get chargerList but I debugged it and the process of query creation is build without knowing of string functions or any other functions supported in jpql. The outcome is expected: 10:34:51,612 ERROR ErrorCounter : line 1:168: unexpected token: ( The generated query string: SELECT o FROM Charger o join fetch o.chargerPointList cpl WHERE cpl.cpNumber LIKE :cpl_cpNumber AND lower(o.address.city) LIKE :lower(o_address_city) AND lower(o.address.street) LIKE :lower(o_address_street) AND o.address.streetNumber LIKE :o_address_streetNumber The problem is this: :lower(o_address_city) it should be: lower(:o_address_city) What version of the product are you using? On what operating system? crank - 1.0.1 Windows XP SP2 Please provide any additional information below. I was looking through examples in crank-crud, but I didnt found any solution which would influence the query generation knowing about function. One solution would be to create NamedQueries but this solution is not suitable for filtering purposes. With 3 filter properties you would have to create 6 NamedQueries to cover all possibilities of user input. It would be very helpful to have this functionality because of crank's great criteria search, filtering and paging functionality. Thx
  • Apr 22, 2009
    r2103 (Fix an issue where subform fields would not reset.) committed by wbogaardt   -   Fix an issue where subform fields would not reset.
    Fix an issue where subform fields would not reset.
  • Apr 22, 2009
    r2102 (Fix an issue where subform fields would not reset.) committed by wbogaardt   -   Fix an issue where subform fields would not reset.
    Fix an issue where subform fields would not reset.
  • Mar 25, 2009
    r2101 ([maven-release-plugin] prepare for next development iteratio...) committed by RichardHightower   -   [maven-release-plugin] prepare for next development iteration
    [maven-release-plugin] prepare for next development iteration
  • Mar 25, 2009
    r2100 ([maven-release-plugin] copy for tag crank-base-1.0.4) committed by RichardHightower   -   [maven-release-plugin] copy for tag crank-base-1.0.4
    [maven-release-plugin] copy for tag crank-base-1.0.4
  • Mar 25, 2009
    r2099 ([maven-release-plugin] prepare release crank-base-1.0.4) committed by RichardHightower   -   [maven-release-plugin] prepare release crank-base-1.0.4
    [maven-release-plugin] prepare release crank-base-1.0.4
  • Mar 25, 2009
    r2098 (Fixing this WOM-680. DMT: Created Date and Updated Date fil...) committed by RichardHightower   -   Fixing this WOM-680. DMT: Created Date and Updated Date filters should be THRU the end filter date
    Fixing this WOM-680. DMT: Created Date and Updated Date filters should be THRU the end filter date
  • Mar 25, 2009
    r2097 (Adding oracle script) committed by RichardHightower   -   Adding oracle script
    Adding oracle script
  • Mar 02, 2009
    r2096 (Add myself as a developer) committed by cagatay.civici   -   Add myself as a developer
    Add myself as a developer
  • Feb 19, 2009
    r2095 (removed credit) committed by okotovich   -   removed credit
    removed credit
  • Feb 15, 2009
    r2094 (XDocs bug fixing) committed by okotovich   -   XDocs bug fixing
    XDocs bug fixing
  • Feb 15, 2009
    r2093 (XDocs: finishing development of user' manual) committed by okotovich   -   XDocs: finishing development of user' manual
    XDocs: finishing development of user' manual
  • Feb 15, 2009
    r2092 (FOP commented out) committed by okotovich   -   FOP commented out
    FOP commented out
  • Feb 13, 2009
    r2091 ([No log message]) committed by okotovich   -   [No log message]
    [No log message]
  • Feb 12, 2009
    r2090 (Docs updates) committed by okotovich   -   Docs updates
    Docs updates
  • Feb 12, 2009
    r2089 (Bugfixing) committed by okotovich   -   Bugfixing
    Bugfixing
  • Feb 11, 2009
    r2088 ([No log message]) committed by okotovich   -   [No log message]
    [No log message]
  • Feb 11, 2009
    r2087 ([No log message]) committed by okotovich   -   [No log message]
    [No log message]
  • Feb 11, 2009
    r2086 ([No log message]) committed by okotovich   -   [No log message]
    [No log message]
  • Feb 11, 2009
    r2085 ([No log message]) committed by okotovich   -   [No log message]
    [No log message]
  • Feb 10, 2009
    r2084 ([No log message]) committed by okotovich   -   [No log message]
    [No log message]
  • Feb 10, 2009
    r2083 ([No log message]) committed by okotovich   -   [No log message]
    [No log message]
  • Feb 10, 2009
    r2082 ([No log message]) committed by okotovich   -   [No log message]
    [No log message]
  • Feb 06, 2009
    r2081 (Added case insensitive sort and filtering.) committed by RichardHightower   -   Added case insensitive sort and filtering.
    Added case insensitive sort and filtering.
  • Feb 06, 2009
    CaseInsensitiveSort (Just implemented Case Insensitive sort and filter) Wiki page added by RichardHightower
  • Feb 05, 2009
    r2079 (fixed to work with newest plugin) committed by RichardHightower   -   fixed to work with newest plugin
    fixed to work with newest plugin
  • Feb 05, 2009
    r2078 (fixed tables to map to long) committed by RichardHightower   -   fixed tables to map to long
    fixed tables to map to long
  • Feb 05, 2009
    r2077 (delete the files) committed by RichardHightower   -   delete the files
    delete the files
  • Feb 05, 2009
    r2076 (Refactor package structure) committed by RichardHightower   -   Refactor package structure
    Refactor package structure
  • Feb 05, 2009
    r2075 (Added bat) committed by RichardHightower   -   Added bat
    Added bat
  • Feb 05, 2009
    r2074 ([No log message]) committed by okotovich   -   [No log message]
    [No log message]
  • Feb 05, 2009
    r2073 (Fixed code generation after intergration testing wtih sample...) committed by RichardHightower   -   Fixed code generation after intergration testing wtih sample app.
    Fixed code generation after intergration testing wtih sample app.
  • Feb 05, 2009
    r2072 (XDocs initial implementation) committed by okotovich   -   XDocs initial implementation
    XDocs initial implementation
  • Feb 05, 2009
    r2071 ([No log message]) committed by okotovich   -   [No log message]
    [No log message]
  • Feb 05, 2009
    r2070 (Generation now works with Oracle style floats and doubles an...) committed by RichardHightower   -   Generation now works with Oracle style floats and doubles and Oracle style booleans. Sequence support in GUI, XML file and code generation.
    Generation now works with Oracle style floats and doubles and Oracle style booleans. Sequence support in GUI, XML file and code generation.
  • Feb 05, 2009
    r2069 (Generation now works with Oracle style floats and doubles an...) committed by RichardHightower   -   Generation now works with Oracle style floats and doubles and Oracle style booleans. Sequence support in GUI, XML file and code generation.
    Generation now works with Oracle style floats and doubles and Oracle style booleans. Sequence support in GUI, XML file and code generation.
  • Feb 04, 2009
    r2068 (Fixed up type mapping to closer match the way Qualcomm does ...) committed by RichardHightower   -   Fixed up type mapping to closer match the way Qualcomm does it already.
    Fixed up type mapping to closer match the way Qualcomm does it already.
  • Feb 04, 2009
    r2067 (Got it reversing correctly and generating code (well enough ...) committed by RichardHightower   -   Got it reversing correctly and generating code (well enough to run against MySQL DB) with Oracle. Now I just need to add sequence support.
    Got it reversing correctly and generating code (well enough to run against MySQL DB) with Oracle. Now I just need to add sequence support.
  • Feb 04, 2009
    r2066 (Fixed issue with libDirs not loading and causing error if li...) committed by RichardHightower   -   Fixed issue with libDirs not loading and causing error if lib dir was missing from the file system.
    Fixed issue with libDirs not loading and causing error if lib dir was missing from the file system.
  • Feb 04, 2009
    r2065 (Took out compile time dependency on Oracle.) committed by RichardHightower   -   Took out compile time dependency on Oracle.
    Took out compile time dependency on Oracle.
 
Hosted by Google Code