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/editing/cf2/override.xmap:175:40
 
at <map:mount> - 
file:/C:/javadev/prj/SocSec/CMS/SocSec%20v2%20CMS/extensions/editing/override.xmap:8:63
 
at <map:mount> - 
file:/C:/javadev/prj/SocSec/CMS/SocSec%20v2%20CMS/editor/src/site/sitemap.xmap:337:80
 
at <map:mount> - 
file:/C:/javadev/prj/SocSec/CMS/SocSec%20v2%20CMS/editor/target/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


Attachment: layout_de.xml
Description: Binary data

Attachment: preprocessing.xsl
Description: Binary data

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to