Just for who want to know..<br><br>I solve the problem by setting the defaut value as i want, and hidding it directly in the editor using jquery, for the autofill with filename i did the same, bunt  catching the name from the page title in editor.<br>

<br clear="all"><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><div><font style="font-family: 'trebuchet ms',sans-serif; color: rgb(102, 102, 102);" size="4"><span style="font-weight: bold;">Rafael Lages</span></font><br style="font-family: 'trebuchet ms',sans-serif;">

<span style="font-family: 'trebuchet ms',sans-serif;"><span style="color: rgb(153, 153, 153);">Web Designer</span> <span style="color: rgb(195, 52, 52);">|</span> <span style="color: rgb(153, 153, 153);">Web Developer</span></span><br style="font-family: 'trebuchet ms',sans-serif;">

<span style="font-family: 'trebuchet ms',sans-serif;"><span style="color: rgb(195, 52, 52);">Tel.:</span> <span style="color: rgb(102, 102, 102);">(31) 9684-6130</span></span><br style="font-family: 'trebuchet ms',sans-serif;">

<span style="font-family: 'trebuchet ms',sans-serif;"><span style="color: rgb(195, 52, 52);">Email:</span> <span style="color: rgb(102, 102, 102);"><a href="mailto:eu@rafalages.com.br" style="color: rgb(28, 81, 168);" target="_blank">eu@rafalages.com.br</a></span></span><br style="font-family: 'trebuchet ms',sans-serif;">

<a href="http://www.rafalages.com.br/" style="color: rgb(102, 102, 102); font-weight: bold; text-decoration: none;" target="_blank"><span style="font-family: 'trebuchet ms',sans-serif; color: rgb(102, 102, 102); text-decoration: none;">www.rafalages.com.br</span></a><span style="font-family: 'trebuchet ms',sans-serif;"><br>

</span></div><div dir="ltr" style="padding: 5px 0pt; font-family: arial,sans-serif; font-size: 13.3px;"><span style="color: gray;">Me encontre: <a href="http://twitter.com/rafalages" style="color: rgb(28, 81, 168);" target="_blank"><img src="cid:ii_127e2b1bb16a5520" alt="canal_twitter.gif" title="canal_twitter.gif"></a> <a href="http://delicious.com/Rafalages" style="color: rgb(28, 81, 168);" target="_blank"><img src="cid:ii_127e2b1cd9253f6b" alt="compartilhe_delicios.gif" title="compartilhe_delicios.gif"></a> <a href="http://www.facebook.com/rafalages" style="color: rgb(28, 81, 168);" target="_blank"><img src="cid:ii_127e2b1dcdb15c2c" alt="compartilhe_facebook.gif" title="compartilhe_facebook.gif"></a> <a href="http://www.orkut.com.br/Main#Profile?uid=6512368655718442662" style="color: rgb(28, 81, 168);" target="_blank"><img src="cid:ii_127e2b18c12849e0" alt="canal_orkut.gif" title="canal_orkut.gif"></a></span></div>

</span><br>
<br><br><div class="gmail_quote">2010/8/17 Rafael Lages <span dir="ltr"><<a href="mailto:rafalages@gmail.com">rafalages@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hello everyone,<div><br></div><div>I have a problem and already look in all internet and didn't found a solution.</div><div><br></div><div>Building a xsd I need to hide an element from client</div><div>I tried <b><layout element="<span style="font-weight: normal;"><b>ElementID</b></span>" widget="HiddenWidget"/></b></div>


<div><br></div><div>and in defauts, i want to map the value do the current filename(of the html linked to it)</div><div>I already tried <b><default element="ElementID" value="${opencms.filename}"/></b> but it wont work</div>


<div><br></div><div><br></div><div>Thanks</div><div>CYA</div>
</blockquote></div><br>