<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/mach-ii-for-coldfusion</id>
  <title type="text">Mach-II for CFML Google Group</title>
  <subtitle type="text">
  Mach-II is a framework for developing object oriented MVC web-applications. The framework focuses on easing software development and maintenance. Mach-II was the first Object-Oriented framework for CFML and continues to mature as a strong and viable framework choice for developers.
  </subtitle>
  <link href="/group/mach-ii-for-coldfusion/feed/atom_v1_0_msgs.xml" rel="self" title="Mach-II for CFML feed"/>
  <updated>2009-11-22T21:53:33Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Peter J. Farrell</name>
  <email>pe...@mach-ii.com</email>
  </author>
  <updated>2009-11-22T21:53:33Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/33de1f01212be6cd?show_docid=33de1f01212be6cd</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/33de1f01212be6cd?show_docid=33de1f01212be6cd"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  Some other discourse on this is how to a value on a bean back to NULL -- &lt;br&gt; like I suggested: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://forums.adobe.com/thread/483080&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;.pjf
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter J. Farrell</name>
  <email>pe...@mach-ii.com</email>
  </author>
  <updated>2009-11-22T21:49:27Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/0407fcf6573c1e01?show_docid=0407fcf6573c1e01</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/0407fcf6573c1e01?show_docid=0407fcf6573c1e01"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  FYI, You could set a null by using the return void exploit from a &lt;br&gt; cffunction. Adobe CF is the only engine that works like this -- Railo &lt;br&gt; and Open BD work differently. &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.bennadel.com/blog/1654-Learning-ColdFusion-9-IsNull-And-Working-With-NULL-Values.htm&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;.pjf &lt;br&gt; &lt;p&gt;Sumit Verma said the following on 11/22/2009 03:00 PM:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Matthew Woodward</name>
  <email>m...@mattwoodward.com</email>
  </author>
  <updated>2009-11-22T21:27:29Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/190c0bd2c1e5d3d9?show_docid=190c0bd2c1e5d3d9</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/190c0bd2c1e5d3d9?show_docid=190c0bd2c1e5d3d9"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  It&#39;s interesting they phrased it that way--I&#39;d say the results are entirely &lt;br&gt; expected. Not what *should* happen in my opinion, but the results are &lt;br&gt; consistent and therefore aren&#39;t unexpected. &lt;br&gt; &lt;p&gt;Thank you for helping us think through this issue. Chances are we&#39;ll come up &lt;br&gt; with a solution for 1.9, and we&#39;ll definitely want everyone&#39;s feedback as we
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sumit Verma</name>
  <email>su...@blogonria.com</email>
  </author>
  <updated>2009-11-22T21:00:05Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/89151820af80b0de?show_docid=89151820af80b0de</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/89151820af80b0de?show_docid=89151820af80b0de"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  PK won&#39;t always be id, but I agree, exception to the normal rule is fine. &lt;br&gt; &lt;p&gt;Well, no null in Adobe CF :o) From javacast documentation: &lt;br&gt; &lt;p&gt;Note: Do not assign the results of JavaCast(&amp;quot;null&amp;quot;,&amp;quot;&amp;quot;) to a ColdFusion &lt;br&gt; variable. Unexpected results will occur. &lt;br&gt; &lt;p&gt;Thanks a lot you guys for being so responsive. Makes the learning curve much
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter J. Farrell</name>
  <email>pe...@mach-ii.com</email>
  </author>
  <updated>2009-11-22T20:25:38Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/eff19772d8c3df3b?show_docid=eff19772d8c3df3b</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/eff19772d8c3df3b?show_docid=eff19772d8c3df3b"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  Sumit Verma said the following on 11/22/2009 02:07 PM: &lt;br&gt; Well, over time your beans will be more than table definitions -- or &lt;br&gt; you&#39;ll have a pretty anemic domain model. I wouldn&#39;t worry about having &lt;br&gt; to define an occasional setter/getter/other method. No bean is going to &lt;br&gt; always be the same so an exception to the normal rules is fine. If your
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sumit Verma</name>
  <email>su...@blogonria.com</email>
  </author>
  <updated>2009-11-22T20:07:13Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/7ca0a35299c621f1?show_docid=7ca0a35299c621f1</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/7ca0a35299c621f1?show_docid=7ca0a35299c621f1"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  Yes, overriding the setter in the bean is an option. I was trying to not add &lt;br&gt; any method in the bean itself and keep only table definition, but I think &lt;br&gt; the setter for ID is needed. It will allow me to remove the check from the &lt;br&gt; constructor in base entity. &lt;br&gt; &lt;p&gt;From what I have tested so far, I don&#39;t think we can reset the ID in save
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter J. Farrell</name>
  <email>pe...@mach-ii.com</email>
  </author>
  <updated>2009-11-22T19:48:39Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/96a8b876795a1362?show_docid=96a8b876795a1362</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/96a8b876795a1362?show_docid=96a8b876795a1362"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  I think the easiest workaround is to just define a concrete setter in &lt;br&gt; your bean to override the generated setter. You would just not set a &lt;br&gt; value if the incoming argument is equal &amp;quot;&amp;quot; (basically ignoring the &lt;br&gt; setter call). &lt;br&gt; &lt;p&gt;&amp;lt;cfcomponent&amp;gt; &lt;br&gt; &lt;p&gt; &amp;lt;cfproperty name=&amp;quot;id=&amp;quot; ... yadda yadda ... /&amp;gt; &lt;br&gt; &lt;p&gt; &amp;lt;cffunction name=&amp;quot;setId&amp;quot;&amp;gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sumit Verma</name>
  <email>su...@blogonria.com</email>
  </author>
  <updated>2009-11-22T19:02:03Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/60045f8a1d63e03d?show_docid=60045f8a1d63e03d</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/60045f8a1d63e03d?show_docid=60045f8a1d63e03d"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  Hi Kurt, &lt;br&gt; &lt;p&gt;If we use the ignore option then we will have to put if/else logic in &lt;br&gt; listner to set the PK in case of &amp;quot;edit&amp;quot; forms. I will be happy to help test &lt;br&gt; and find the best solution. Let me know what you want me to do. Here is what &lt;br&gt; I ended up doing currently: &lt;br&gt; &lt;p&gt;I extend all my entity with base entity and perform the init in base entity.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sumit Verma</name>
  <email>su...@blogonria.com</email>
  </author>
  <updated>2009-11-22T18:53:56Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/0b3db18a9e3ae343?show_docid=0b3db18a9e3ae343</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/0b3db18a9e3ae343?show_docid=0b3db18a9e3ae343"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  Hi Matt, &lt;br&gt; &lt;p&gt;Yes, not the answer I wanted to hear, even though I knew that&#39;s what I will &lt;br&gt; get :o) I fully understand the reasoning as well. &lt;br&gt; &lt;p&gt;Few things for you guys to ponder: &lt;br&gt; &lt;p&gt;They way Hibernate works, you can&#39;t even default your primary key in &lt;br&gt; constructor. Any time you set the primary key after object creation,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kurt Wiersma</name>
  <email>kwier...@gmail.com</email>
  </author>
  <updated>2009-11-22T17:48:19Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/307ab0e7344d16c8?show_docid=307ab0e7344d16c8</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/307ab0e7344d16c8?show_docid=307ab0e7344d16c8"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  I haven&#39;t gotten a change to try out the new event-bean command with a &lt;br&gt; CF 9 ORM CFC yet, however, I think it will work just fine. Maybe today &lt;br&gt; I think throw a quick example together using AppBooster. &lt;br&gt; &lt;p&gt;There are a couple of ways that the primary key can be handled. The &lt;br&gt; first idea would be use the ability to ignore certain event args when
  </summary>
  </entry>
  <entry>
  <author>
  <name>Matthew Woodward</name>
  <email>m...@mattwoodward.com</email>
  </author>
  <updated>2009-11-22T17:29:38Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/84871b1695bd0e0e?show_docid=84871b1695bd0e0e</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/84871b1695bd0e0e?show_docid=84871b1695bd0e0e"/>
  <title type="text">Re: [Mach-II] Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  Unless I&#39;m misunderstanding, you&#39;re going to have this problem whether &lt;br&gt; you&#39;re using Mach-II or not because of the way CF handles nulls. Your safest &lt;br&gt; and easiest bet is to provide default values for all your bean properties so &lt;br&gt; things don&#39;t &amp;quot;disappear&amp;quot; if they&#39;re null. You could also not use event bean.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sumit Verma</name>
  <email>su...@blogonria.com</email>
  </author>
  <updated>2009-11-22T05:09:54Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/51ed717728b330f8?show_docid=51ed717728b330f8</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/d156ebb48ee378cd/51ed717728b330f8?show_docid=51ed717728b330f8"/>
  <title type="text">Re: Event-Beans and the Form tag</title>
  <summary type="html" xml:space="preserve">
  Hi Peter, &lt;br&gt; &lt;p&gt;So how will this work with ORM? I&#39;m using the same flow as yours but I &lt;br&gt; don&#39;t think it will work with ORM on the &amp;quot;Add New&amp;quot; forms. Since the &lt;br&gt; event-bean calls setter on primary key as well, which is of type &lt;br&gt; &amp;quot;generator&amp;quot;, entitySave() will always perform update instead of &lt;br&gt; insert. &lt;br&gt; &lt;p&gt;Ideally, I would like to keep it as simple as this:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Matthew Woodward</name>
  <email>m...@mattwoodward.com</email>
  </author>
  <updated>2009-11-21T17:52:45Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/600215515254eb1d/d8a2ea30b2447a4d?show_docid=d8a2ea30b2447a4d</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/600215515254eb1d/d8a2ea30b2447a4d?show_docid=d8a2ea30b2447a4d"/>
  <title type="text">Blog Post on OpenBD on GAE - Aaron Lynch</title>
  <summary type="html" xml:space="preserve">
  Apologize for the cross-posting if you&#39;re on the OpenBD mailing list as &lt;br&gt; well, but this is of interest to Mach-II users as well. &lt;br&gt; &lt;p&gt;Aaron Lynch has a nice blog post on running OpenBD on Google App Engine: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://ajlcom.instantspot.com/blog/2009/11/20/Coldfusion-on-the-Google-App-Engine-with-Open-BlueDragon&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Summer Wilson</name>
  <email>collecton...@gmail.com</email>
  </author>
  <updated>2009-11-20T22:19:29Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/ffb406537b2d93d6/75c2f3f08341272d?show_docid=75c2f3f08341272d</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/ffb406537b2d93d6/75c2f3f08341272d?show_docid=75c2f3f08341272d"/>
  <title type="text">Re: [Mach-II] Broken Docs?</title>
  <summary type="html" xml:space="preserve">
  Awesome, thanks! Now to look up that question I had :-) &lt;br&gt; ~~ Summer
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter J. Farrell</name>
  <email>pe...@mach-ii.com</email>
  </author>
  <updated>2009-11-19T22:58:48Z</updated>
  <id>http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/ffb406537b2d93d6/4ec121de34b31763?show_docid=4ec121de34b31763</id>
  <link href="http://groups.google.com/group/mach-ii-for-coldfusion/browse_thread/thread/ffb406537b2d93d6/4ec121de34b31763?show_docid=4ec121de34b31763"/>
  <title type="text">Re: [Mach-II] Broken Docs?</title>
  <summary type="html" xml:space="preserve">
  FYI, this issue has been resolved. &lt;br&gt; &lt;p&gt;Peter J. Farrell said the following on 11/19/2009 01:35 PM:
  </summary>
  </entry>
</feed>
