Gary VanMatre <gvanmatre <at> comcast.net> writes:
> My guess is that your managed bean doesn't exist. Clay full html views take on the managed bean name using the same > rules that the Shale ViewController uses. The managed bean name is derived from the view id. > I would put some debug logic in your bound attribute to make sure it's getting > invoked. > > > Thanks, Mikael > > > > Gary > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe <at> struts.apache.org > > For additional commands, e-mail: user-help <at> struts.apache.org > > Hi, thanks for a very helpful reply and correct, which solved some problems and brought some others to the surface :) I am using xml view, and specified my bean name like this <component jsfid="/fasta.xml" extends="baseLayout"> <symbols> <set name="title" value="Fasta Test"/> <set name="bodyContent" value="/pages/fastaBody.html"/> <set name="managedBeanName" value="pages$fastaBean" /> </symbols> </component> The endpoint URL is /fasta.xml, and when changing to managed bean name to 'fasta', I got log output from the getters. Isn't it possible to specify your own name for the managed bean? My next problem is that the setters and the action on the maganed bean doesn't get called. When pressing the submit button I only see the log statements from the getters again and the values on the form are reset. Submit button code: <input jsfid="commandButton" value="Run Fasta3" action="[EMAIL PROTECTED]" class="text" type="submit"/> Bean action code: public String submitAction(){ log.info("-------------------submit called"); log.info("returning: runFasta"); return "runFasta"; } Thanks, Mikael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]