I test the content id with CDI1201 , it's fine the error occur only when the length of contentname more than 20
2008/2/21, Dimitri Unruh <[EMAIL PROTECTED]>: > > I guess the problem is not the contentName, but the contenId. > As far as I know, the primary key lenght of the BD2 is limited (I don't > know the value), > but maybe you can try it with some simple contentId's? > > > Viele Grüße > Best Regards > > > > "guo weizhan" <[EMAIL PROTECTED]> > 21.02.2008 10:16 > Please respond to > [email protected] > > > To > [email protected] > cc > > Subject > how the display-entity work? > > > > > > > > in the ListContent section of ContentForms.xml, why the length of > contentName is more than 20 will cause SQLSTATE: 22001 error in DB2? > <field name="contentName" widget-style="tabletext"> > <display-entity entity-name="Content" > description="${contentName}" key-field-name="contentId"> > <sub-hyperlink target="editContent?contentId=${contentId}" > description="[${contentId}]" link-style="buttontext"/> > </display-entity> > </field> > > > > > > Dimitri Unruh > Consultant AEW > Agrenon GmbH > Johanniskirchplatz 6 > 33615 Bielefeld > Deutschland > Fon: +49 521 5247-0 > Fax: +49 521 5247-250 > Mobil: +49 160 90 57 55 13 > > > Company and Management Headquarters: > Agrenon GmbH, Johanniskirchplatz 6, 33615 Bielefeld, Deutschland, Fon: +49 > 521 5247-0, Fax: +49 521 5247-250, www.agrenon.com > > Court Registration: Amtsgericht Bielefeld HRB 36795 > Chief Executive Officer: Dirk Osterkamp > > > ---------------------------------------------------------------------------------------------------- > This e-mail may contain trade secrets or privileged, undisclosed, or > otherwise confidential information. If you have received this e-mail in > error, you are hereby notified that any review, copying, or distribution of > it is strictly prohibited. Please inform us immediately and destroy the > original transmittal. Thank you for your cooperation. > > ---------------------------------------------------------------------------------------------------- > > *
