Custom Form issue

Dec 26, 2012 at 3:10 PM

When i'm trying to create a custom form, i use:

<SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Title" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"/>

as described in release:


<%@ Register Assembly="CodeArt.SharePoint.PermissionEx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=22b3aebaf288927f"Namespace="CodeArt.SharePoint.PermissionEx" TagPrefix="codeArt" %>

<codeArt:FormFieldWithPermisison runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Title" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"/>

 

and edit page doesn't work:

ei9m Monitorable Error while delta-compile custom Xsl for dataformwebpart: System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (106,9). ---> System.Xml.XmlException: 'codeArt' is an undeclared namespace. Line 106, position 9.     at System.Xml.XmlTextReaderImpl.Throw(Exception e)     at System.Xml.XmlTextReaderImpl.LookupNamespace(NodeData node)     at System.Xml.XmlTextReaderImpl.ElementNamespaceLookup()     at System.Xml.XmlTextReaderImpl.ParseAttributes()     at System.Xml.XmlTextReaderImpl.ParseElement()     at System.Xml.XmlTextReaderImpl.ParseElementContent()     at System.Xml.Xsl.Xslt.XsltInput.ReadNextSiblingHelper()     at System.Xml.Xsl.Xslt.XsltInput.ReadNextSibling()     at System.Xml.Xsl.Xslt.XsltInput.MoveToFirstChild()     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructi...  ei9m Monitorable ...ons(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoade...  ei9m Monitorable ...r.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadTemplate(NsDecl stylesheetNsList)     at System.Xml.Xsl.Xslt.XsltLoader.LoadRealStylesheet()     at System.Xml.Xsl.Xslt.XsltLoader.LoadDocument()     at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)     --- End of inner exception stack trace ---     at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)     at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver xmlResolver)     at System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver xmlResolver, QilExpression& qil)     at System.Xml.Xsl.XslCompil...  ei9m Monitorable ...edTransform.CompileToType(XmlReader stylesheet, XsltSettings settings, XmlResolver stylesheetResolver, Boolean debug, TypeBuilder typeBuilder, String scriptAssemblyPath)     at Microsoft.Xslt.STransform.CompileToType(XmlReader reader, XsltSettings xsltSettings, XmlResolver xmlResolver)     at Microsoft.Xslt.STransform.CreateDeltaTransform(String baseViewID, String templateType, String viewStyleID, XmlReader reader, XsltSettings xsltSettings, XmlResolver xmlResolver, STransform baseTransform)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.CustomizedXslWorker(STransform baseXslt, String webUrl, String Xsl, String baseViewID, String templateType, String viewStyleID)     at Microsoft.SharePoint.WebPartPages.DomainRunner.Invoke()  89a1 High     Error while executing web part: System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (106,9). ---> System.Xml.XmlException: 'codeArt' is an undeclared namespace. Line 106, position 9.     at System.Xml.XmlTextReaderImpl.Throw(Exception e)     at System.Xml.XmlTextReaderImpl.LookupNamespace(NodeData node)     at System.Xml.XmlTextReaderImpl.ElementNamespaceLookup()     at System.Xml.XmlTextReaderImpl.ParseAttributes()     at System.Xml.XmlTextReaderImpl.ParseElement()     at System.Xml.XmlTextReaderImpl.ParseElementContent()     at System.Xml.Xsl.Xslt.XsltInput.ReadNextSiblingHelper()     at System.Xml.Xsl.Xslt.XsltInput.ReadNextSibling()     at System.Xml.Xsl.Xslt.XsltInput.MoveToFirstChild()     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, Instru... ca9d2db4-543e-411b-8347-51e274ec723589a1 High     ...ctionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement... ca9d2db4-543e-411b-8347-51e274ec723589a1 High     ...(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadTemplate(NsDecl stylesheetNsList)     at System.Xml.Xsl.Xslt.XsltLoader.LoadRealStylesheet()     at System.Xml.Xsl.Xslt.XsltLoader.LoadDocument()     at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)     --- End of inner exception stack trace ---     at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)     at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver xmlResolver)     at System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver xmlResolver, QilExpression& qil)     at System.Xml.Xsl.XslCompiledTransform.CompileXsltToQ... ca9d2db4-543e-411b-8347-51e274ec723589a1 High     ...il(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)     at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)     at System.Xml.Xsl.XslCompiledTransform.Load(XmlReader stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.LoadXslCompiledTransform(WSSXmlUrlResolver someXmlResolver)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXslCompiledTransform()     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) ca9d2db4-543e-411b-8347-51e274ec723589a2 High     InnerException 1: System.Xml.XmlException: 'codeArt' is an undeclared namespace. Line 106, position 9.     at System.Xml.XmlTextReaderImpl.Throw(Exception e)     at System.Xml.XmlTextReaderImpl.LookupNamespace(NodeData node)     at System.Xml.XmlTextReaderImpl.ElementNamespaceLookup()     at System.Xml.XmlTextReaderImpl.ParseAttributes()     at System.Xml.XmlTextReaderImpl.ParseElement()     at System.Xml.XmlTextReaderImpl.ParseElementContent()     at System.Xml.Xsl.Xslt.XsltInput.ReadNextSiblingHelper()     at System.Xml.Xsl.Xslt.XsltInput.ReadNextSibling()     at System.Xml.Xsl.Xslt.XsltInput.MoveToFirstChild()     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)... ca9d2db4-543e-411b-8347-51e274ec723589a2 High     ...     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, InstructionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadLiteralResultElement(Boolean asStylesheet)     at System.Xml.Xsl.Xslt.XsltLoader.LoadInstructions(List`1 content, Instruct... ca9d2db4-543e-411b-8347-51e274ec723589a2 High     ...ionFlags flags)     at System.Xml.Xsl.Xslt.XsltLoader.LoadTemplate(NsDecl stylesheetNsList)     at System.Xml.Xsl.Xslt.XsltLoader.LoadRealStylesheet()     at System.Xml.Xsl.Xslt.XsltLoader.LoadDocument()     at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include) ca9d2db4-543e-411b-8347-51e274ec7235