romaframework-development Mailing List for Roma Framework (Page 6)
Brought to you by:
lvca
You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(201) |
Jun
(22) |
Jul
(23) |
Aug
(6) |
Sep
(24) |
Oct
(3) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(7) |
Feb
(4) |
Mar
(14) |
Apr
(3) |
May
(13) |
Jun
(3) |
Jul
(3) |
Aug
(3) |
Sep
(1) |
Oct
(18) |
Nov
(15) |
Dec
|
| 2008 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2010 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: SourceForge.net <no...@so...> - 2006-09-05 01:10:45
|
Feature Requests item #1549980, was opened at 2006-08-31 16:46 Message generated for change (Comment added) made by lvca You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1549980&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: JDO-JPOX-PersistenceAspect Group: None >Status: Closed Priority: 4 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Using JDO 2 Fetch plan Initial Comment: Hi, why don't generalize the JDO Fetch plan concept in ROMA? It could be VERY useful in quey optimization/tuning... Ciao, Luca ---------------------------------------------------------------------- >Comment By: Luca Garulli (lvca) Date: 2006-09-05 03:10 Message: Logged In: YES user_id=75115 SVN Revision: 499 ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-09-05 03:10 Message: Logged In: YES user_id=75115 Resolved. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1549980&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-09-05 01:09:07
|
Feature Requests item #1549953, was opened at 2006-08-31 16:07 Message generated for change (Comment added) made by lvca You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1549953&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Echo2-ViewAspect Group: None >Status: Closed Priority: 4 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: New List/Detail desktop Initial Comment: We need a new Desktop implementation that inherit the behaviour from SimpleDesktop, but that contain a "detail" panel on the right. It could be useful for CRUD that wants to display details nor in popup, neither by replacing current view but just in the right panel. Ciao, Luca ---------------------------------------------------------------------- >Comment By: Luca Garulli (lvca) Date: 2006-09-05 03:09 Message: Logged In: YES user_id=75115 SVN revision: 498 ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-09-05 03:09 Message: Logged In: YES user_id=75115 Resolved. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1549953&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-09-04 12:46:32
|
Feature Requests item #1551955, was opened at 2006-09-04 14:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1551955&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Echo2-ViewAspect Group: None Status: Open Priority: 5 Submitted By: Gennaro Leo (genleo) Assigned to: Luca Garulli (lvca) Summary: Messages' internationalization Initial Comment: Hi Luca, could you internationalize messages about data input validation such as Error in validation of fields values. One or more fields contain errors. Please check the fields listed below and correct its values. in EntityForm class? Thanks, Gennaro ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1551955&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-08-31 14:46:36
|
Feature Requests item #1549980, was opened at 2006-08-31 16:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1549980&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: JDO-JPOX-PersistenceAspect Group: None Status: Open Priority: 4 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Using JDO 2 Fetch plan Initial Comment: Hi, why don't generalize the JDO Fetch plan concept in ROMA? It could be VERY useful in quey optimization/tuning... Ciao, Luca ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1549980&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-08-31 14:07:13
|
Feature Requests item #1549953, was opened at 2006-08-31 16:07 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1549953&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Echo2-ViewAspect Group: None Status: Open Priority: 4 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: New List/Detail desktop Initial Comment: We need a new Desktop implementation that inherit the behaviour from SimpleDesktop, but that contain a "detail" panel on the right. It could be useful for CRUD that wants to display details nor in popup, neither by replacing current view but just in the right panel. Ciao, Luca ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1549953&group_id=162641 |
|
From: Luca G. <l.g...@pr...> - 2006-08-24 09:13:09
|
Hi to all, There are many news in the Roma development. Waiting the next release you can update your SVN repository. Below the main news: - Full working USERS module to profile users and let to ROMA to hide/show properties and actions the user can see - CRUD modul now is integrated in the core - CRUD now are much more light since there is just one class <Entity>Instance.java that handle the Creat/Read/Update concerns of CRUD. Old system is mantained, but deprecated. You can continue to use for much time but I encourage to use new CRUD mode for new CRUDs... Just use the generateCrud and...that's all. - Error management: new layout and finally if you set the attribute applicationDevelopment=3Dtrue (by Spring on object 'RomaApplicationContext'), any errors will be sent to the user with full stack trace. - New html rendering mode. Just define a field with render=3D"html" and y= ou can write anything in HTML language - Table and List components now are able to use CRUD instance if any - Table now is able to render a List<Object[]> to create table on the fly without write a POJO. Enjoy!!! bye, Luca Garulli Blogging on: http://zion-city.blogspot.com http://www.RomaFramework.org - The new way to build Java applications http://www.Pro-Netics.com (member of Orixo.com - The XML business allianc= e) http://www.OrienTechnologies.com - Light ODBMS, All in one JDO solution |
|
From: SourceForge.net <no...@so...> - 2006-08-21 13:41:42
|
Feature Requests item #1543947, was opened at 2006-08-21 15:41 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1543947&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: None Status: Open Priority: 7 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Customize components behaviour Initial Comment: We need a much finer control on components, specially on complex components. We should find a way to customize the behaviour. In ListBox components, by example, I should change what operation to display: - View - Add - Remove - Update - SelectAll - Deselect All - Others? Let's find a way to customize, in elegant and efficient way, the component behaviour. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1543947&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-08-18 10:58:19
|
Feature Requests item #1542535, was opened at 2006-08-18 12:46 Message generated for change (Settings changed) made by lvca You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1542535&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: ViewAspect Group: None >Status: Closed Priority: 5 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Get the index of selection Initial Comment: Hi, we need to know the index of selection in select, list, etc. In this way can be more easy to create selection component binded to integer/short/byte values. Example: public class BaseProfile { @ViewField(label = "Mode", render = "select", selectionField = "mode", selectionMode = ViewFieldFeatures.SELECTION_MODE_INDEX) public String[] getModes() { return MODES; } @ViewField(visible = AnnotationConstants.FALSE) protected byte mode; public static final byte MODE_ALLOW_ALL_BUT = 0; public static final byte MODE_DENY_ALL_BUT = 1; public static final String[] MODES = { "Allow all but", "Deny all but" }; } This allows to view to the user a select containing values in MODES and on selection to bind the index in mode property. Note the new view aspect feature selectionMode = ViewFieldFeatures.SELECTION_MODE_INDEX. By default is equals to ViewFieldFeatures.SELECTION_MODE_VALUE since it copy the value selected in the field defined in selectionField feature. ---------------------------------------------------------------------- >Comment By: Luca Garulli (lvca) Date: 2006-08-18 12:58 Message: Logged In: YES user_id=75115 SVN Revision: 390 ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-08-18 12:58 Message: Logged In: YES user_id=75115 Resolved. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1542535&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-08-18 10:46:17
|
Feature Requests item #1542535, was opened at 2006-08-18 12:46 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1542535&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: ViewAspect Group: None Status: Open Priority: 5 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Get the index of selection Initial Comment: Hi, we need to know the index of selection in select, list, etc. In this way can be more easy to create selection component binded to integer/short/byte values. Example: public class BaseProfile { @ViewField(label = "Mode", render = "select", selectionField = "mode", selectionMode = ViewFieldFeatures.SELECTION_MODE_INDEX) public String[] getModes() { return MODES; } @ViewField(visible = AnnotationConstants.FALSE) protected byte mode; public static final byte MODE_ALLOW_ALL_BUT = 0; public static final byte MODE_DENY_ALL_BUT = 1; public static final String[] MODES = { "Allow all but", "Deny all but" }; } This allows to view to the user a select containing values in MODES and on selection to bind the index in mode property. Note the new view aspect feature selectionMode = ViewFieldFeatures.SELECTION_MODE_INDEX. By default is equals to ViewFieldFeatures.SELECTION_MODE_VALUE since it copy the value selected in the field defined in selectionField feature. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1542535&group_id=162641 |
|
From: Luca G. <l.g...@pr...> - 2006-07-31 13:32:18
|
Hi, before holidays I've posted the last version of Roma Meta Framework Proje= ct. Resolved many bugs and introduced some new features: - RichText area component - Enriched Domain-Users module - New Query filtering system - Inserted database-cp-cp30 optional module to use connection pooling embedded in Roma's web application - Created first version of JasperReports module (in alpha) Enjoy! bye, Luca Garulli Blogging on: http://zion-city.blogspot.com http://www.RomaFramework.org - The new way to build Java applications http://www.Pro-Netics.com (member of Orixo.com - The XML business allianc= e) http://www.OrienTechnologies.com - Light ODBMS, All in one JDO solution |
|
From: David B. <dbe...@be...> - 2006-07-28 20:57:47
|
Hi Luca, >in Tomcat environment the System property java.class.path is not >valued. For this reason you should specify the path where find >descriptors in the applicationConfig.xml in >the bean >SchemaClassResolver: It appears that java.class.path is set but it may be used differently. I used SuperSnoop (http://office.bensoft.com/SuperSnoop.zip) to output the following: java.class.path = C:\Program Files\Apache Software Foundation\Tomcat 5.5/bin/bootstrap.jar;C:\jdk1.5.0_04/lib/tools.jar Which doesn't look application specific at all. I don't like the idea of hard-coding the deployment path into applicationConfig.xml. Can't getServletContext().getRealPath("/WEB-INF/classes") be used somehow? --Dave |
|
From: Luca G. <l.g...@pr...> - 2006-07-28 07:08:05
|
Hi, The Forum hosted in SourceForge seems to be the preferred way to post comments, help and suggestions... I'd like to have a unique point for discussions (The Mailing List), but it seems not working. However I must admit the Forum approach has some advantages against the ML. Before holidays, if you have a freshmeat account please vote Roma Framework project (http://freshmeat.net/projects/romaframework/) on: http://freshmeat.net/rate/59912/ bye, Luca Garulli Blogging on: http://zion-city.blogspot.com http://www.RomaFramework.org - The new way to build Java applications http://www.Pro-Netics.com (member of Orixo.com - The XML business allianc= e) http://www.OrienTechnologies.com - Light ODBMS, All in one JDO solution |
|
From: SourceForge.net <no...@so...> - 2006-07-27 18:26:49
|
Feature Requests item #1528454, was opened at 2006-07-25 17:48 Message generated for change (Comment added) made by lvca You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1528454&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Generic Aspect Group: None Status: Open Priority: 5 Submitted By: Massimo Losco (maxlos) Assigned to: Nobody/Anonymous (nobody) Summary: Roma + SHARK Initial Comment: Hi all, ROMA Framewrok should operate with Shark (Work Flow engine). ---------------------------------------------------------------------- >Comment By: Luca Garulli (lvca) Date: 2006-07-27 10:52 Message: Logged In: YES user_id=75115 Yes it should :-) What do you think to commit the first alpha versione? bye, Lvc@ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1528454&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-07-25 15:48:27
|
Feature Requests item #1528454, was opened at 2006-07-25 15:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1528454&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Submitted By: Massimo Losco (maxlos) Assigned to: Nobody/Anonymous (nobody) Summary: Roma + SHARK Initial Comment: Hi all, ROMA Framewrok should operate with Shark (Work Flow engine). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1528454&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-07-25 15:45:02
|
Feature Requests item #1528450, was opened at 2006-07-25 15:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1528450&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: None Status: Open Priority: 5 Submitted By: Massimo Losco (maxlos) Assigned to: Luca Garulli (lvca) Summary: Manage user Role Initial Comment: Hi all, ROMA Framewrok should manage all role user and all the permissions on the functionalities of the system for every user role. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1528450&group_id=162641 |
|
From: Luca G. <l.g...@pr...> - 2006-07-24 23:19:37
|
Hi,
in Tomcat environment the System property java.class.path is not valued.
For this reason you should specify the path where find descriptors in the
applicationConfig.xml in the bean SchemaClassResolver:
<bean class=3D"org.romaframework.core.schema.SchemaClassResolver"
id=3D"SchemaClassResolver"
singleton=3D"true">
<property name=3D"classpaths">
<list>
<!-- ADDITIONAL PATHS TO DISCOVER SCHEMA CLASSES -->
<value>C:\Programmi\Apache Software Foundation\Tomcat
5.5\webapps\CreditRescue\WEB-INF\classes</value>
<value>C:\Programmi\Apache Software Foundation\Tomcat
5.5\webapps\CreditRescue\WEB-INF\lib\*</value>
</list>
</property>
</bean>
This feature is not yet documented, I know... I'll update the WiKi ASAP.
bye,
Luca Garulli
Blogging on: http://zion-city.blogspot.com
http://www.RomaFramework.org - The new way to build Java applications
http://www.Pro-Netics.com (member of Orixo.com - The XML business allianc=
e)
http://www.OrienTechnologies.com - Light ODBMS, All in one JDO solution
On Tue, July 25, 2006 0:27, David Bennett said:
> After going through the tutorial, I am receiving the following error
> when deploying the tutorial 'blog' app to Tomcat 5.5...
>
> 17:19:23,084 ERROR [[FEServlet]] Servlet.service() for servlet
> FEServlet threw exception
> org.romaframework.core.exception.ConfigurationNotFoundException: Clas=
s
> HomePage
> at org.romaframework.core.schema.SchemaClass.<init>(Unknown Source)
> at org.romaframework.core.schema.SchemaManager.createClassInfo(Unknow=
n
> Source)
> at org.romaframework.core.schema.SchemaManager.getClassInfo(Unknown
> Source)
> at org.romaframework.core.schema.SchemaManager.getClassInfo(Unknown
> Source)
> at org.romaframework.core.flow.ObjectContext.show(Unknown Source)
> at org.romaframework.core.flow.ObjectContext.show(Unknown Source)
> at
> com.bensoft.romablog.CustomApplicationConfiguration.startUserSession(Cu=
s
> tomApplicationConfiguration.java:29)
>
> My CustomApplicationConfiguration is as follows:
>
> 1 package com.bensoft.romablog;
> 2
> 3 import org.romaframework.aspect.view.Desktop;
> 4 import org.romaframework.aspect.view.echo2.desktop.BasicDesktop=
;
> 5 import org.romaframework.core.config.ApplicationConfiguration;
> 6 import org.romaframework.core.flow.ObjectContext;
> 7
> 8
> 9 public class CustomApplicationConfiguration implements
> ApplicationConfiguration {
> 10 public void startup() {
> 11 // INSERT APPLICATION STARTUP HERE
> 12 }
> 13
> 14 public void shutdown() {
> 15 // INSERT APPLICATION SHUTDOWN HERE
> 16 }
> 17
> 18 /**
> 19 * Return initial desktop.
> 20 */
> 21 public Desktop getDesktop() {
> 22 return new BasicDesktop();
> 23 }
> 24
> 25 /**
> 26 * Callback called on every user connected to the applicatio=
n
> 27 */
> 28 public void startUserSession() {
> 29 ObjectContext.getInstance().show( new
> com.bensoft.romablog.view.domain.HomePage() );
> 30 }
> 31 }
>
> I have tried with both the import and the fully qualified class name.
>
> Any ideas?
> --Dave
>
>
>
> -----------------------------------------------------------------------=
--
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
> _______________________________________________
> RomaFramework-development mailing list
> Rom...@li...
> https://lists.sourceforge.net/lists/listinfo/romaframework-development
>
|
|
From: David B. <dbe...@be...> - 2006-07-24 22:27:26
|
After going through the tutorial, I am receiving the following error
when deploying the tutorial 'blog' app to Tomcat 5.5...
17:19:23,084 ERROR [[FEServlet]] Servlet.service() for servlet
FEServlet threw exception
org.romaframework.core.exception.ConfigurationNotFoundException: Class
HomePage
at org.romaframework.core.schema.SchemaClass.<init>(Unknown Source)
at org.romaframework.core.schema.SchemaManager.createClassInfo(Unknown
Source)
at org.romaframework.core.schema.SchemaManager.getClassInfo(Unknown
Source)
at org.romaframework.core.schema.SchemaManager.getClassInfo(Unknown
Source)
at org.romaframework.core.flow.ObjectContext.show(Unknown Source)
at org.romaframework.core.flow.ObjectContext.show(Unknown Source)
at
com.bensoft.romablog.CustomApplicationConfiguration.startUserSession(Cus
tomApplicationConfiguration.java:29)
My CustomApplicationConfiguration is as follows:
1 package com.bensoft.romablog;
2
3 import org.romaframework.aspect.view.Desktop;
4 import org.romaframework.aspect.view.echo2.desktop.BasicDesktop;
5 import org.romaframework.core.config.ApplicationConfiguration;
6 import org.romaframework.core.flow.ObjectContext;
7
8
9 public class CustomApplicationConfiguration implements
ApplicationConfiguration {
10 public void startup() {
11 // INSERT APPLICATION STARTUP HERE
12 }
13
14 public void shutdown() {
15 // INSERT APPLICATION SHUTDOWN HERE
16 }
17
18 /**
19 * Return initial desktop.
20 */
21 public Desktop getDesktop() {
22 return new BasicDesktop();
23 }
24
25 /**
26 * Callback called on every user connected to the application
27 */
28 public void startUserSession() {
29 ObjectContext.getInstance().show( new
com.bensoft.romablog.view.domain.HomePage() );
30 }
31 }
I have tried with both the import and the fully qualified class name.
Any ideas?
--Dave
|
|
From: SourceForge.net <no...@so...> - 2006-07-23 22:25:08
|
Feature Requests item #1527489, was opened at 2006-07-24 00:23 Message generated for change (Comment added) made by lvca You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1527489&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: JDO-JPOX-PersistenceAspect Group: None >Status: Closed Priority: 5 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Complex nested QueryByFilter usage Initial Comment: Let's consider to query for any practices with a debtor with an address in a range of ZIP codes... This is the requirements of a real world application. Avoiding the use of JDOQL directly we can use the QueryByFilter in much more advanced mode: nesting it! ;-) COOOOL In this way you can query inside relationships (1-many, many-to-many) and however inside collections. Something like: @Override public void search() { QueryByFilter dynaFilter = new QueryByFilter(Practice.class); if (getFilter().getEntity().getDebtor() != null) dynaFilter.addItem("debtor", QueryByFilter.FIELD_EQUALS, getFilter().getEntity().getDebtor()); QueryByFilter capFilter = null; if (getFilter().getCapFrom() != null && getFilter().getCapFrom().length() > 0 || getFilter().getCapTo() != null && getFilter().getCapTo().length() > 0) capFilter = new QueryByFilter(Address.class); if (getFilter().getCapFrom() != null && getFilter().getCapFrom().length() > 0) capFilter.addItem("zip", QueryByFilter.FIELD_MAJOR_EQUALS, getFilter().getCapFrom()); if (getFilter().getCapTo() != null && getFilter().getCapTo().length() > 0) capFilter.addItem("zip", QueryByFilter.FIELD_MINOR_EQUALS, getFilter().getCapTo()); if (capFilter != null) dynaFilter.addItem("debtor.addresses", QueryByFilter.FIELD_CONTAINS, capFilter); searchByFilter(dynaFilter); } ---------------------------------------------------------------------- >Comment By: Luca Garulli (lvca) Date: 2006-07-24 00:25 Message: Logged In: YES user_id=75115 Implemented using CONTAINS JDOQL operator. Works very well with arbitrary complex clauses SVN revision: 375 ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-07-24 00:25 Message: Logged In: YES user_id=75115 Resolved. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1527489&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-07-23 22:23:19
|
Feature Requests item #1527489, was opened at 2006-07-24 00:23 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1527489&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: JDO-JPOX-PersistenceAspect Group: None Status: Open Priority: 5 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Complex nested QueryByFilter usage Initial Comment: Let's consider to query for any practices with a debtor with an address in a range of ZIP codes... This is the requirements of a real world application. Avoiding the use of JDOQL directly we can use the QueryByFilter in much more advanced mode: nesting it! ;-) COOOOL In this way you can query inside relationships (1-many, many-to-many) and however inside collections. Something like: @Override public void search() { QueryByFilter dynaFilter = new QueryByFilter(Practice.class); if (getFilter().getEntity().getDebtor() != null) dynaFilter.addItem("debtor", QueryByFilter.FIELD_EQUALS, getFilter().getEntity().getDebtor()); QueryByFilter capFilter = null; if (getFilter().getCapFrom() != null && getFilter().getCapFrom().length() > 0 || getFilter().getCapTo() != null && getFilter().getCapTo().length() > 0) capFilter = new QueryByFilter(Address.class); if (getFilter().getCapFrom() != null && getFilter().getCapFrom().length() > 0) capFilter.addItem("zip", QueryByFilter.FIELD_MAJOR_EQUALS, getFilter().getCapFrom()); if (getFilter().getCapTo() != null && getFilter().getCapTo().length() > 0) capFilter.addItem("zip", QueryByFilter.FIELD_MINOR_EQUALS, getFilter().getCapTo()); if (capFilter != null) dynaFilter.addItem("debtor.addresses", QueryByFilter.FIELD_CONTAINS, capFilter); searchByFilter(dynaFilter); } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1527489&group_id=162641 |
|
From: Valerio De C. <val...@gm...> - 2006-07-05 20:14:05
|
MjAwNi83LzQsIEx1Y2EgR2FydWxsaSA8bC5nYXJ1bGxpQHByb25ldGljcy5pdD46Cj4KPiBIaSB0 byBhbGwhCj4gU29tZSBkYXlzIGFnbyBSb21hIHdhcyB0aGUgMzTCsCBwcm9qZWN0IGluIHRoZSBy YW5raW5nIG9mIFNvdXJjZUZvcmdlLgo+IExldCdzIHNjYWxlIHVwIHRoZSByYW5raW5nIHRvIGJl IHRoZSBwcm9qZWN0IG9mIHRoZSBtb250aCEgOy0pCgoKVmVyeSB3ZWxsLCBMdWNhIQoKSSBob3Bl IHRvIHNlZSBSb21hIGluIHRoZSB0b3AgMjUgbGlzdC4uLiEKTWF5YmUsIHRoZSBpbmNyZXNpbmcg bnVtYmVyIG9mIGRvd25sb2FkcyBjYW4gaGVscCB1cyEgOikKCkJ5ZXoKCi0tIAoiVG8gZXJyIGlz IGh1bWFuLCBidXQgZm9yIGEgcmVhbCBkaXNhc3RlciB5b3UgbmVlZCBhIGNvbXB1dGVyLiIKCmh0 dHA6Ly92ZGVjYXJvbGlzLmJsb2dzcG90LmNvbQpodHRwOi8vdmFsZXJpby5kZWNhcm9saXMuZ29v Z2xlcGFnZXMuY29tCnZhbGVyaW8uZGVjYXJvbGlzQGdtYWlsLmNvbQo= |
|
From: SourceForge.net <no...@so...> - 2006-07-05 17:09:21
|
Feature Requests item #1509436, was opened at 2006-06-20 18:46 Message generated for change (Comment added) made by lvca You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1509436&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: ViewAspect Group: None >Status: Closed Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Luca Garulli (lvca) Summary: Group components Initial Comment: Hello, very nice product! But...I'd like to group components together by defining something like: <field name"birthDate"> <aspects> <aspect> </aspect> <view group="born" /> </aspects> </field> Roma should layouts component following group definition. In this way I can display my component in separate grid containers rather than just one and playing with size/layout/graphic/etc. Is it too much difficult to achive this? Sincerely, David ---------------------------------------------------------------------- >Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:09 Message: Logged In: YES user_id=75115 Implemented! Just set layout="block:pippo" to group all component in the group named "pippo". Cool ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:09 Message: Logged In: YES user_id=75115 Resolved. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1509436&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-07-05 17:04:39
|
Feature Requests item #1499861, was opened at 2006-06-03 01:11 Message generated for change (Comment added) made by lvca You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1499861&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: JDO-JPOX-PersistenceAspect Group: None >Status: Closed Priority: 5 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Tuning for queryByExample Initial Comment: We need a finer control on the powerful but simple query-by-example pattern. Now an invisible field doesn't partecipate in filter. We need sometinghs like this: <field name"status"> <aspects> <persistence queryEnvolve="or" queryOperator="like" /> </aspects> </field> Where: - queryEnvolve specify how it's envolved in query. Specifiying something will be forced also in case the field is invisible. Values can be: OR/AND/etc. - queryOperator specifyies the operator used: =/!=/</>/LIKE/etc. ---------------------------------------------------------------------- >Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:04 Message: Logged In: YES user_id=75115 Resolved by using QueryByFilter pattern (and class). See the how-to. ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:04 Message: Logged In: YES user_id=75115 Resolved. ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-06-20 00:33 Message: Logged In: YES user_id=75115 Partially implemented by programmatic APIs (QueryFilter and QueryFilterItem). Now it's missed just the XML description AND annotations, of course ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1499861&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-07-05 17:03:23
|
Feature Requests item #1517041, was opened at 2006-07-04 18:35 Message generated for change (Comment added) made by lvca You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1517041&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Closed Priority: 5 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Add C3P0 connection pool module Initial Comment: Add the connpool-c3p0 module ---------------------------------------------------------------------- >Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:03 Message: Logged In: YES user_id=75115 Created new module 'database-connpool-c3p0' that uses the C3P0 library for Connection Pooling. Inserted also the JPOX C3P0 plugin. SVN revision: 367 ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:03 Message: Logged In: YES user_id=75115 Resolved. ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:02 Message: Logged In: YES user_id=75115 Created new module 'database-connpool-c3p0' that uses the C3P0 library for Connection Pooling. Inserted also the JPOX C3P0 plugin. SVN revision: 367 ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:02 Message: Logged In: YES user_id=75115 Resolved. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1517041&group_id=162641 |
|
From: SourceForge.net <no...@so...> - 2006-07-05 17:02:06
|
Feature Requests item #1517041, was opened at 2006-07-04 18:35 Message generated for change (Comment added) made by lvca You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1517041&group_id=162641 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Priority: 5 Submitted By: Luca Garulli (lvca) Assigned to: Luca Garulli (lvca) Summary: Add C3P0 connection pool module Initial Comment: Add the connpool-c3p0 module ---------------------------------------------------------------------- >Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:02 Message: Logged In: YES user_id=75115 Created new module 'database-connpool-c3p0' that uses the C3P0 library for Connection Pooling. Inserted also the JPOX C3P0 plugin. SVN revision: 367 ---------------------------------------------------------------------- Comment By: Luca Garulli (lvca) Date: 2006-07-05 19:02 Message: Logged In: YES user_id=75115 Resolved. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=824593&aid=1517041&group_id=162641 |
|
From: Valerio S. <val...@gm...> - 2006-07-04 15:47:14
|
Me and Alessio we'll branch it in our spare-time. anyone else? On 7/4/06, Luca Garulli <l.g...@pr...> wrote: > > Yes, it could be the best approach to follow in. But now I'm very busy for > the release of 1.0 alpha. Who want to create the branch and follow > evolution/build/etc? > > If we reach a stable-full-working maven2 version of the build system we > can release it in place of current ANT version for the 1.0. > > How many volounteers? Not more than 10 please... :-D > > On Tue, July 4, 2006 17:34, Valerio Schiavoni said: > > a possible 'parallel' development of the maven2ization could be carried > on > > branching for a while the main romaframework svn trunk repository. so > that > > we can discuss about possible modularizaton, and related stuff. > > > > a possible approach could be 'ala cocoon-2.2' : it was recently ported > to > > maven2, and the same code organization can be used as possible > > guideline. > > > > what do you think? > > > > cheers, > > valerio > > > > On 7/4/06, Luca Garulli <l.g...@pr...> wrote: > >> > >> Hi, > >> yes, maven2ization is too much important for Roma... > >> > >> Release 1.0 alpha should be appears at the begin of September ;-) > -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni |