>From: xzuma <[EMAIL PROTECTED]> > > Hello, > > I just started implementing my shale-clay application (looking at rolodex > example) and upon creating a command link in my view controller,
Do you mean that you have an action method in the view controller? Or, are you binding a JSF control to an instance in your view controller? If you are using action binding, your clay html template might look like options 1 or 2: 1) <a [EMAIL PROTECTED] allowBody=true>Next Page</a> 2) <a jsfid=nextPageCommand>Next Page</a> There are eleven implicitly mapped HTML elements to JSF components. The first option show an implied binding of a submit button with a jsf command link. The action in your view controller might look like this: public String next() { return "next"; } >I can see > the link on the html page, but when I click it, the next page is blank and > the source code shows only the jsp code of one of the subviews of the target > jsp page. It sounds like your navigation rules are correct in your faces-config.xml. Are you sure you are seeing html from the target page? Can you access the target page directly from the browser /examples/targetpage.faces? What are the mappings for the faces servlet in the web.xml? >I am not familiar with the phases in shale that much, so I think > it is a very simple issue, which will require only a moment of > somebody-more-experienced-than-I's attention. Shale doesn't add any phases to the standard JSF lifecycle. It adds callback events extending the standard lifecycle that are fired on the ViewController associated with the page. Are you familiar with JavaServer Faces? Shale is built on top of JSF. Knowing about vanilla JSF will help understand Shale. > > Thanks. > > Zuma > Gary