Hi Steve,

glad to hear that it worked. For completeness I just want to add that you can also use constraint groups for declaring submissions:

addGroup("editable")
    .addConstraint(new ConstrainedProperty(...

And then in the submission declaration:
<submission name="saveBean">
   <bean classname="com.midwinter.Bean" group="editable"/>
   <param name="comments"/>
</submission>

Take care,

Geert


On 20 Jun 2006, at 05:58, Steven Grimm wrote:

Hmm, that's strange. When I first tried editable(false) it didn't work, but I just tried it again and now it does. Sorry to waste your time. I will see if I can reproduce the earlier failure -- most likely something else I did in the process of trying to figure this out fixed a different problem that had the same symptom. Hopefully I can figure out what it was and warn others about it.

For the record, my submission is very simple, just the bean and an additional text field:

<submission name="saveBean">
   <bean classname="com.midwinter.Bean" />
   <param name="comments" />
</submission>

-Steve


Geert Bevin wrote:
Hi Steven,

how are you declaring your submission? Setting the editable constraint on the createdTime property to false, should exclude it from the submission, and hence also exclude it from fillSubmissionBean.

Best regards,

Geert


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users


--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to