cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@d-haven.org>
Subject Re: Bean Binding and Repeaters...
Date Fri, 12 May 2006 14:38:00 GMT
Simone Gianni wrote:
> Hi Berin,
>
> Berin Loritsch wrote:
>
>   
>> I've got the CForm displaying the information in the database--even
>> though the <fd:booleanfield/> doesn't display checked if Tag.isHotTopic
>> is true.
>>     
>
> I know it seems strange, but try to convert it/add a getter getHotTopic.
> I couldn't determine why, but sometimes JXPath does not read from "is"
> getters.
>   
:/  Not JavaBean compliant?  Ok, I'll try that.

>> When I click the submit button for the form, I get an exception in the
>> part where CForms is supposed to save back to the object:
>>
>> Factory
>> org.apache.cocoon.forms.binding.JXPathBindingBase$BindingJXPathFactory@1b2b10a
>>
>> could not create an object for path: /terms
>>     
>
> Is there a setTerms? is getTerms a collection or what? It would be
> useful if you could post the binding file and at least the interfaces of
> your business objects.
>   

There is.

CountryHotTopics
--------------------
List<Term> getTerms(); // Term == Tag for this discussion
setTerms(List<Term>);
List<Term> getHotTopics();

The terms (tags) is a collection.

Attached is my Model and Binding.

-- 
*Berin Loritsch*
Owner 	

*Work:* 571-215-7708
	*Email:* bloritsch@d-haven.com <mailto:bloritsch@d-haven.com>
*IM:* bloritsch@d-haven.org (MSN)
*http://www.linkedin.com/in/bloritsch
*
* * 		*D-Haven* <http://d-haven.org>
20044 Great Falls Forest Dr.
<http://maps.google.com/maps?q=20044+Great+Falls+Forest+Dr.%2CGreat+Falls%2CVA+22066%2CUSA&hl=en>

Great Falls, VA 22066
USA

See who we know in common <http://www.linkedin.com/e/wwk/5678360/> 	Want 
a signature like this? <http://www.linkedin.com/e/sig/5678360/>


Mime
View raw message