Hi Bram,

Have you defined openframe as an element in your schema?
If not, the validity test [1] says something like "no element found for
ft:widget xxxxxxxxxdocumentxxxxxxxopenframe".

[1] http://localhost:50000/editing/cf2/validity-test/ 

Regards,

Jasha Joachimsthal 

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646

 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: woensdag 2 april 2008 12:06
> To: [email protected]
> Subject: [HippoCMS-dev] Hippo CMS: preprocessing
> 
> hi,
> 
> i need to add a temporary value to my backend template by 
> using a hidden textfield.
> Adding  <textfield  id="/document/openframe" /> in the layout 
> gives me an NullPointerException.
> 
> (Sitemap: error calling function 'handleForm' at <map:call> - 
> file:/C:/javadev/prj/SocSec/CMS/SocSec%20v2%20CMS/extensions/e
> diting/cf2/override.xmap:175:40
> at <map:mount> -
> file:/C:/javadev/prj/SocSec/CMS/SocSec%20v2%20CMS/extensions/e
> diting/override.xmap:8:63
> at <map:mount> -
> file:/C:/javadev/prj/SocSec/CMS/SocSec%20v2%20CMS/editor/src/s
> ite/sitemap.xmap:337:80
> at <map:mount> -
> file:/C:/javadev/prj/SocSec/CMS/SocSec%20v2%20CMS/editor/targe
> t/hippo-cms-v6.05.00/cocoon/sitemap.xmap:132:59
> )
> 
> I tried using pre & post processing to add the temp value to 
> the xml (since this temp value cannot be saved in the xml).
> But somehow the pre-processing xsl isnt executed and i still 
> get the nullpointerexception.
> I did add preprocessing in the types.xml:
> 
>  <preprocessing>context://types/tool/preprocessing.xsl</preprocessing>
> 
> I added the layout & preporcessing file so you can have a look.
> 
> 
> Thanks in advance.
> 
> 
> Bram Bruggemans
> Smals
> 
> 
> 
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to