[jboss-user] [JBoss Seam] - seam Facelets Value not correctly initialised ?

dreuzel do-not-reply at jboss.com
Tue Jun 12 08:39:07 EDT 2007


Using the examples,   i verified  the  HTML  source  code  and  notice  strange  code  in  value="...."

Where  is this comming from  FUnction ???


look after  "//--><input type="hidden" name="jsf_tree_64" id="jsf_tree_64" value=""

                    
                    
                    
                
            
        
        
            <a href="#" onclick="clear__5Fid16();document.forms['_id16'].elements['_id16:_link_hidden_'].value='_id16:_id28';if(document.forms['_id16'].onsubmit){var result=document.forms['_id16'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_id16'].submit();}}else{document.forms['_id16'].submit();}return false;" id="_id16:_id28">Create new Account
            
        
            <a href="#" onclick="clear__5Fid16();document.forms['_id16'].elements['_id16:_link_hidden_'].value='_id16:_id31';if(document.forms['_id16'].onsubmit){var result=document.forms['_id16'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_id16'].submit();}}else{document.forms['_id16'].submit();}return false;" id="_id16:_id31">Create new customer
            <!--
function clear__5Fid16() {
  var f = document.forms['_id16'];
  f.elements['_id16:_link_hidden_'].value='';
  f.target='';
}
clear__5Fid16();
//-->

            

            
            

            
//<![CDATA[
function faceletsDebug(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=600,left = 240,top = 212');"); };var faceletsOrigKeyup = document.onkeyup; document.onkeyup = function(e) { if (window.event) e = window.event; if (String.fromCharCode(e.keyCode) == 'D' & e.shiftKey & e.ctrlKey) faceletsDebug('/dvd/home.seam?facelets.ui.DebugOutput=1181644165046'); else if (faceletsOrigKeyup) faceletsOrigKeyup(e); };
//]]>


            <h1>Welcome to the DVD Store</h1>
            
            
                Welcome to the JBoss DVD Store Demo.  The DVD Store is a simple storefront
                application written using the latest JBoss technologies: EJB3, Seam and jBPM.
            

            <h2>How to use the DVD Store</h2>
            
                You can enter the store DVD immediately by clicking on
                the shopping link below. However, in order to complete
                a purchase, you'll need to first log in as a customer.
                There are 5 customer accounts: user

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053505#4053505

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053505



More information about the jboss-user mailing list