[Fornax-developer] Sculptor Newbie - can't build HelloWorld!

2009-09-18 Thread greatfooty
I've followed Installation and HelloWorld Tutorial instructions but am having problems as below dragging in some org.eclipse dependencies. After running this one: mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create \ -DarchetypeGroupId=org.fornax.cartridges \

Re: [Fornax-developer] Sculptor Newbie - can't build HelloWorld!

2009-09-18 Thread greatfooty
Ok got past this problem by manually downloading the stuff needed. Eventually found it inside fornax repo - and still unsure why its there and not inside http://repo2.maven.org/eclipse ?? Not being a maven person I found this fairly tricky to track down so if possible I'd suggest the docco on

[Fornax-developer] maven-jar-plugin:2.3-SNAPSHOT?

2009-10-03 Thread greatfooty
Patrik Nordwall wrote: The eclipse jars are located in several maven repositories. Some are unfortunatly wrong. The ones in fornax repository are correct. I just tested with an empty local repository and everything works fine. Maybe this can happen if you had some wrong jars in your local

Re: [Fornax-developer] maven-jar-plugin:2.3-SNAPSHOT?

2009-10-04 Thread greatfooty
Thanks for your help Patrik I did get past that problem by nuking my maven repo as you'd suggested previously but now getting a no. of things missing mvn install of simple -web project as per running the archetype tutorial See this post for more info:

Re: [Fornax-developer] Running sculptor 'out of the box'

2009-10-04 Thread greatfooty
Many thanks for this Patrik - I'm still coming to terms with Maven and I can see now as you mention in the -parent pom the list of repos that are needed. We had configured a Nexus repository manager during past week to try avoiding the repeated download of same artefacts by different people and

Re: [Fornax-developer] IllegalAccessError creating entityManagerFactory ?

2009-10-27 Thread greatfooty
Folks Just as a followup to this one I'm currently presuming the cause of this problem relates to the use of an IBM created JDK - I'm running same project using regular SUN JDK and all works fine. Easy for me to switch to the SUN JDK so I'll just assume thats the cause and move on -- View this

[Fornax-developer] Setting 'DefaultValue' in Sculptor?

2009-10-27 Thread greatfooty
I'm looking for ability to define default values for some attributes of entities within the Sculptor DSL ( in a similar way to would be possible when using UML ) My apologies if this is documented somewhere but I've checked thru the docco and can't see any mention of it -- View this message in

[Fornax-developer] Any features providing 'Data Level Security'?

2009-10-27 Thread greatfooty
Another requirement I'm needing to satisfy is 'role based operation upon specific entities'. I can understand some ways I might model that onto each entity which needs it (something like AccessRole.canRead; AccessRole.canWrite; AccessRole.canDelete etc) - but I'm interested to know if there's

[Fornax-developer] Sculptor CRUD GUI for custom List methods?

2009-11-02 Thread greatfooty
Guys I'm now getting into generating GUI and neat how much gets created for very little effort but I'm wondering is there a way to generate a ListTask based on a searchWith method that has parameters? Or does that Task really need handwritten code? -- View this message in context:

Re: [Fornax-developer] Sculptor CRUD GUI for custom List methods?

2009-11-04 Thread greatfooty
Andreas Källberg-2 wrote: Hi, No current support at the moment I'm sad to say. Though, we have it in our backlog, it hasn't been prioritized yet. If you need, we'll pull it from the backlog. .../Andreas Thanks Andreas that'd be good and I'll look forward to it though for now I'm keen

[Fornax-developer] Sculptor WAR generation for Tomcat

2009-11-04 Thread greatfooty
Just a couple of notes that might be useful to add to Part 7 (Developers Guide) of the Sculptor Docco in the section titled Deployment in Tomcat. a) I was able to generate war and run in tomcat doing crud updates etc without any need for step #3 (inclusion of JTA). Maybe I'm missing the point

[Fornax-developer] Re -ordering a related List of entities?

2009-11-10 Thread greatfooty
Guys Not sure if this is possible using sculptor but I'm trying to figure neatest way to do re-ordering of a List of EntityB where it participates in a many-to-many relationship with EntityA. So say for example I've defined as follows: Entity EntityA { String name key - List@EntityB

[Fornax-developer] [Sculptor] Archetype broken?

2009-11-15 Thread greatfooty
Guys I've just tried using archetype butgot a dud POM generated for the -web project - seems there's an extra /dependency added at line 111 project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: [Fornax-developer] DDL generation error on 1.6?

2009-11-15 Thread greatfooty
Yeah that error msg would suggest that 1-1 relationship is fine. I can't try it myself right now as hitting some other issues but I looked thru the DDDSample dsl and interestingly found this: Entity Cargo { - @TrackingId trackingId key - @Location origin required

Re: [Fornax-developer] [Sculptor] CGLIB2 for webapp?

2009-11-16 Thread greatfooty
Andreas thanks for your reply i do have a business tier but no cglib dependency seems be in there I do notice this in the pom of the business tier though ie. explicit exclusion?: dependency groupIdorg.codehaus.castor/groupId

Re: [Fornax-developer] [Sculptor] Archetype broken?

2009-11-16 Thread greatfooty
Andreas when you say 'trunk' should i be getting that via use of 'snapshot' OR should i be requesting a fixed version? ie. I've just tried running sculptor archetype using docco as at http://fornax.itemis.de/confluence/display/fornax/4.+Archetype+Tutorial+(CSC) Copy of the execution as

Re: [Fornax-developer] [Sculptor] CGLIB2 for webapp?

2009-11-16 Thread greatfooty
Thanks thats done the trick for this one -- View this message in context: http://old.nabble.com/-Sculptor--CGLIB2-for-webapp--tp26367197s17564p26368982.html Sent from the Fornax-Platform mailing list archive at Nabble.com.

Re: [Fornax-developer] [Sculptor] Archetype broken?

2009-11-16 Thread greatfooty
ok thanks i understand now re trunk note though i still get a problem when i remove the extra tag. output is as below: [INFO] Building Web project for testlibrary-web [INFO]task-segment: [clean, install] [INFO] [INFO]

Re: [Fornax-developer] [Sculptor] Archetype broken?

2009-11-16 Thread greatfooty
Thanks I'll give those jars a try - note can confirm the workflow-gui.oaw is missing - in fact there's nothing in the web project except the POM -- View this message in context: http://old.nabble.com/-Sculptor--Archetype-broken--tp26367036s17564p26369795.html Sent from the Fornax-Platform

Re: [Fornax-developer] [Sculptor] Archetype broken?

2009-11-16 Thread greatfooty
Thanks Andreas those jars worked well -- View this message in context: http://old.nabble.com/-Sculptor--Archetype-broken--tp26367036s17564p26385589.html Sent from the Fornax-Platform mailing list archive at Nabble.com.

[Fornax-developer] [Sculptor] Default GUI generation for Adv Tutorial?

2009-11-17 Thread greatfooty
To better understand how GUI generation works I've used the sample 'library' dsl listed in the advanced tutorial at http://fornax.itemis.de/confluence/display/fornax/3.+Advanced+Tutorial+(CSC) to generate the webapp. I can see a swag of UI gets generated when scaffold has only been spec'd within

[Fornax-developer] [Sculptor] Enum labels ingenerated gui?

2009-11-17 Thread greatfooty
I'm getting default generation of enum labels with values like: ???model.DomainObject.MyEntity.enumType???: Obviously I could edit this into the messages.properties file but it looks to me like a generation problem ie. looking for the wrong tag when it should be looking for

[Fornax-developer] [Sculptor] missing eclipse dependencies?

2009-11-19 Thread greatfooty
Guys, I'm just now getting this below note i can see they're not sculptor jars missing but dependencies from1.7 snapshot -should i normally need to include other repositories for routine checking or are these ones that you guys wouldtypically copy into the fornax repos? If i shoulddownload them

Re: [Fornax-developer] [Sculptor] missing eclipse dependencies?

2009-11-19 Thread greatfooty
Thanks patrick - deleting the two sub-dirs of org.eclipse did the trick No problem to do that in future (and happy toknow it wasn't me that screwed it up) .. but just annoying that maven gets itself in a muddle likethat -- View this message in context:

[Fornax-developer] [Sculptor] How to do ListTask involving hierarchy of entities?

2009-12-03 Thread greatfooty
Can you let me know if there's an easy way to do this OR if not, whats the easiest approach for handling this given the default architecture of a sculptor generated app. Say we have a hierarchy of entities like this: Entity A { String name - Set @B setOfB - ownerA } Entity B { String

[Fornax-developer] [Sculptor] Specifying PagedResult for a service operation?

2010-01-07 Thread greatfooty
Guys I'm not sure if this is due to v1.7 being pending but I'm trying to specify a Service operation to have a result-type for a paginated query. I'm hand-coding the Service operation to use a findByQuery thats spec'd on the repository as follows: findByQuery(PagingParameter pagingParameter);

Re: [Fornax-developer] [Sculptor] Injecting tablenames from web tier?

2010-01-17 Thread greatfooty
Thanks Patrick a solution like that would be ideal and very clean but for these apps the hosting provider is restricting access to just one mysql database (without a big hike in rates). I'm no mysql guru but fairly sure in mysql database equates to schema. Thats why i'd originally thought to

Re: [Fornax-developer] [Sculptor] Injecting tablenames from web tier?

2010-01-17 Thread greatfooty
Thanks Patrick - after seeing your latest post I sat and pondered the single db approach again and agree the custom AccessImpls and the @PrePersist would remove a lot of the angst i had - esp re handling that column in the webapp but trying to again go back to the mainstream and I'm now

Re: [Fornax-developer] [Sculptor] Injecting tablenames from web tier?

2010-01-20 Thread greatfooty
Thanks Patrick thats so obvious - i was looking for some complex solution when it was right in front of me! -- View this message in context: http://old.nabble.com/-Sculptor--Injecting-tablenames-from-web-tier--tp27195699s17564p27250295.html Sent from the Fornax-Platform mailing list archive at

Re: [Fornax-developer] Question on Iterative builds and DDLs

2010-01-26 Thread greatfooty
Guys, I haven't yet seen a tool that can do any reliable automation for the migration you're talking about - would be good if someone does know of any. Its still a sore point for RAD development and argued that this is magnified for RAD compared to more traditional approaches that usually

[Fornax-developer] [Sculptor] Spring WebFlow

2010-02-08 Thread greatfooty
My apologies for posting this question here as its only mildly related to sculptor but guessing no-one will mind me asking this here :working:. I've been trying to figure how to configure springwebflow so that url includes default path other than /spring/ For example say i wanted it to be

Re: [Fornax-developer] [Sculptor] Spring WebFlow

2010-02-09 Thread greatfooty
Thanks Andreas, after i tried changing it for the dispatcher and found the urls were still using the original value I presumed it was a default somehow derived so poured across all spring docco i could find to try figuring the answer. I'm contracted to a firm who are specific re wherever

[Fornax-developer] [Sculptor] Including custom spring webflow?

2010-02-16 Thread greatfooty
I've created some extra (handcrafted) webflows that i need to use within a sculptor generated app - but I can't figure how to have them 'registered' as is done for all the generated ones inside generated/config/webflow-config.xml ? Obviously i can't include them directly into that file as it

Re: [Fornax-developer] [Sculptor] Including custom spring webflow?

2010-02-18 Thread greatfooty
Thanks Andreas - very obvious now i see that! Andreas Källberg-2 wrote: They work because they are given a specific id, i.e.: webflow:flow-location path=generated/flows/media/createLibrary/createLibrary-flow.xml * id=media/createLibrary*/ .../Andreas -- View this message in

[Fornax-developer] [Sculptor] detached entity passed to persist?

2010-02-18 Thread greatfooty
I'm having problems with the following btdesign : Application MyApp { basePackage=org.testsculpt Module seqitem { Entity ItemSet { scaffold String name key - Bag@SequencedItem seqItems orderby=sequence asc

Re: [Fornax-developer] [Sculptor] detached entity passed to persist?

2010-04-15 Thread greatfooty
Patrik Nordwall wrote: I think the solution for this problem is to use cascade=none for the item reference in SequencedItem. ValueObject SequencedItem { - @ItemSet itemSet - seqItems Integer sequence range=min=1 - @Item item cascade=none

Re: [Fornax-developer] [Sculptor] detached entity passed to persist?

2010-04-15 Thread greatfooty
rsmith wrote: I ran into this as well and this solution worked. Would it make sense to add a model validation that would look for the condition and generate an error? Does the problem arise when referencing an aggregate root without cascade=none? Probably would make sense to have

[Fornax-developer] [Sculptor] Gap classes auto-cleaned within eclipse!

2010-04-15 Thread greatfooty
I've setup auto-creation of gap classes by doing generate.gapClass=true This works fine when running commandline mvn install but the autobuild ('build automatically') within galileo is removing these classes from the various /src/main/java directories .. that is, apart from any classes that

Re: [Fornax-developer] [Sculptor] Gap classes auto-cleaned within eclipse!

2010-04-17 Thread greatfooty
Just tried grabbing latest galileo (3.5 sr2), re-doing xtext, sculptor 1.8 and m2eclipse 0.10, did sculptor generation from 1.8 archtetype and unfortunately still getting the same behaviour. I've found m2eclipse really useful in the past but this is frustrating - seems maybe its a 0.10 issue OR

Re: [Fornax-developer] [Sculptor] Gap classes auto-cleaned within eclipse!

2010-04-18 Thread greatfooty
For anyone interested, only practical workaround I've found (so far) for this (assuming retained use of m2eclipse) is to manually include all filenames into the sculptor file .ignore-checksum.txt (as per description at

Re: [Fornax-developer] [Sculptor] Gap classes auto-cleaned within eclipse!

2010-04-19 Thread greatfooty
Patrik thanks heaps for this. I hadn't realised there was a changed maven (v3) provided with galileo so I've now configured galileo to by default use standalone maven (in my case 2.2.1) and the problem has gone away. Thanks again! Patrik Nordwall wrote: If checksum-plugin is causing problem

Re: [Fornax-developer] [Sculptor] Spring WebFlow

2010-04-19 Thread greatfooty
Andreas I've just tried this with 1.8.1-SNAPSHOT and the property isn't causing the new functionality - can you confirm this has made it into 1.8.1? Note I've specified the property as below Andreas Källberg-2 wrote: Ok, no probs. I've fixed it in trunk, so by the next snapshot release

Re: [Fornax-developer] [Sculptor] Spring WebFlow

2010-04-20 Thread greatfooty
Thanks Patrick I've just tried it with that but still i get this in the web.xml when i've specified property gui.springServletMapping=swf inside sculptor-gui-generator.properties: !-- Map all /spring requests to the Dispatcher Servlet for handling -- servlet-mapping

[Fornax-developer] [Sculptor] Multiple UI tasks per 'task-type'?

2010-04-21 Thread greatfooty
I'm playing with setup of a sculptor site to contain multiple versions of various UI task-types (these to be invoked depending on auth role of the user). For example I'd want to define a 'public' ListTask for Person like this: ListTask for Person { name.first

Re: [Fornax-developer] [Sculptor] Multiple UI tasks per 'task-type'?

2010-04-21 Thread greatfooty
discussed If you feel it is something we should consider, think it through and add a suggestion in the tracker. .../Andreas On Wed, Apr 21, 2010 at 1:31 PM, greatfooty greatfo...@gmail.com wrote: I'm playing with setup of a sculptor site to contain multiple versions of various UI task-types

Re: [Fornax-developer] [Sculptor] Multiple UI tasks per 'task-type'?

2010-04-22 Thread greatfooty
I'd think being able to name the tasks and have them generated discretely would be ideal. That way multiple combinations of them could be assemble din various menus (either manually or via generation) to suit different 'roles' of users Patrik Nordwall wrote: In the gui meta model, both gui

Re: [Fornax-developer] [sculptor] Aggregates?

2010-04-22 Thread greatfooty
This is important stuff wrt overall ease of use for Sculptor - from a newbie/novice viewpoint I'd say this is one (rare) area where the docco is a little light on, maybe because initially it was expected to be simple - i'd think we should have all scenarios identified (maybe in a table),

Re: [Fornax-developer] DSL Syntax diagrams

2010-05-06 Thread greatfooty
These are great thank Pavel PaloT wrote: Hello, on following page http://fornax.itemis.de/confluence/display/fornax/DSL+language+syntax you can find full description of DSL language together with syntax diagrams. Enjoy Pavel -- View this message in context:

Re: [Fornax-developer] Site design

2010-05-15 Thread greatfooty
That already looks better than the current confluence page. Just need some work to visually partition stuff so the user can easily focus on parts of the page. I'd also think maybe try to feature the statue (the thinker?) more in the design .. its a great logo -- View this message in context:

[Fornax-developer] [Sculptor] Best approach for handling 'multiple' creates or updates?

2010-05-15 Thread greatfooty
I'm playing with a richfaces file upload control and wondering what would be best approach to effect multiple updates in situation where i allow say 5 files to be uploaded concurrently. The present generated sculptor ui uses an approach where a ui action works upon just one entity (or at most

Re: [Fornax-developer] [Sculptor] Best approach for handling 'multiple' creates or updates?

2010-05-16 Thread greatfooty
Andreas Källberg-2 wrote: Do you have an example model to show? What if you model it with an 'artificial' container? Container { ... - List@File files } File { String name ... } .../Andreas Many thanks Andreas that approach seems so obvious :thinking: .. and might

[Fornax-developer] [sculptor]How to change generation of xhtml views?

2010-09-22 Thread greatfooty
I'm still very much novice with xtend and maybe on the wrong track but hoping someone can point me in the right direction ... i'm needing make a change to generation of crud xhtml files, specifically to use a different jsf component set for some page controls (such as a html editor to be included

Re: [Fornax-developer] [sculptor]How to change generation of xhtml views?

2010-09-22 Thread greatfooty
Thanks Patrick - i'd looked at a few in that folder but mistakenly presumed that one was relating somehow to webflow. :blush: -- View this message in context: http://old.nabble.com/-sculptor-How-to-change-generation-of-xhtml-views--tp29777660s17564p29778109.html Sent from the Fornax-Platform

Re: [Fornax-developer] [sculptor]How to change generation of xhtml views?

2010-09-23 Thread greatfooty
So took a plunge at this, gungho with xtendxpand ! ... but now bombing during generation. Created this in extensions/WebSpecialCases.ext (intent to just have an extra bit for custom type BigText): import sculptormetamodel; extension extensions::guihelper; around

Re: [Fornax-developer] [sculptor]How to change generation of xhtml views?

2010-09-24 Thread greatfooty
@lists.sourceforge.net Datum: torsdag 23 september 2010 14:51 One thing, you need to import sculptorguimetamodel in your modifications. Andreas On Sep 23, 2010 2:23 p.m., greatfooty wrote: ... -- View this message in context: http://old.nabble.com/-sculptor-How-to-change-generation-of-xhtml

Re: [Fornax-developer] Move Fornax Forum to Google Groups?

2010-09-24 Thread greatfooty
i'm a 'yes' vote for that Patrik Nordwall-2 wrote: Hi, we are not very satisfied with the Old Nabble service. Delayed/missing notifications. Now and yesterday the web ui has been unavailble. Shall I create a Google Group instead? /Patrik