>I was wondering whether there is a way to instruct clay to ignore some tags
>and just render them the way they are.


The comment "<!-- -->" block is the only way to do this currently.   
I think this would be a good feature.  I'll try to get it in soon. 


>For example, I am using FORM based authentication. I dont want clay to
>change anything in my login.html. What I did is I changed login.html to
>login.htm and by passed Clay. It worked great. But now I want to add a
>logout button in login.htm and tie to a listener. I am not sure how I could
>do it.


You can use an action listener method binding expression.  
<input type="submit" value="logout" 
actionListener="#{managed-bean-name.saveAction}" />


An action listener object can only be registred with a component using the XML 
config.  


<input type="submit" value=logout jsfid=mybutton  />


<component jsfid="myListener" componentType="com.acme.MyListener" />
<component jsfid="mybutton" extends="commandButton" >
    <actionListener jsfid="myListener"/>
</component>

I added a third *extreme* HTML full view rolodex example last night.  It 
defines the page using HTML and the default component definitions (no extra XML 
required).


Gary

    






--- Begin Message ---
I was wondering whether there is a way to instruct clay to ignore some tags
and just render them the way they are.

For example, I am using FORM based authentication. I dont want clay to
change anything in my login.html. What I did is I changed login.html to
login.htm and by passed Clay. It worked great. But now I want to add a
logout button in login.htm and tie to a listener. I am not sure how I could
do it.

Is there anyway I could do something like this,

<span jfcid="bypass">
<!-- login form -->
</span>
<input type="submit" value="logout/> <!-- This will be attached to the
listener -->

--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to