Gary thanks for ur reply. The problem is I want LoginForm action to be "j_acegi_security_check" <form action="j_acegi_security_check" method="POST"> </form>
The only I could make it render this way is my bypassing clay. But for my logout button, <input type="submit" value=logout jsfid=mybutton /> I need to go thru Clay :( On 9/23/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > >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 > > > > > > > > > > > > ---------- Forwarded message ---------- > From: Siva Jagadeesan <[EMAIL PROTECTED]> > To: Struts Users Mailing List <user@struts.apache.org> > Date: Fri, 23 Sep 2005 16:08:43 +0000 > Subject: [Shale] Having a static HTML inside a dynamic HTML page > 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 --> > > >