Well it is simple. *Does somebody know if in SiteMesh library I can generate dynamic content inside the JSP template?
*This question refers to the way I can pass some data contained in the request parameter and thus I can use it in the template page. That is, in JSF backing bean I create an object that is the input for a menu to be drawn by the template. Then I put this content in a request attribute and it is retrieved in the JSP template. It also refers to the way I can dynamically decide some portions of the template gets shown or not, that is, with some condition I can determine in the template page (using JSP) if one or more elements are shown or not. I like SiteMesh and I decided to use in JSF (it works just fine with SiteMesh 2.3). But I want to go to advanced siteMesh, passing values in between. Hope this gets clear. P.S: I searched Google to find SiteMesh tips and tricks and found this one of yours http://raibledesigns.com/rd/entry/dependency_injection_with_SiteMesh On Dec 17, 2007 10:26 AM, Matt Raible <[EMAIL PROTECTED]> wrote: > I don't understand your question. Can you post some code explaining > what you're trying to do and the errors you're seeing? > > Thanks, > > Matt > > On Dec 14, 2007, at 7:36 AM, Carlos Ortiz wrote: > > > Hi everyoune > > > > A question. > > Does somebody know if in SiteMesh library I can generate dynamic > > content inside the JSP template? > > That is, I want to build a menu GUI element, by the way which is > > better, DHTML, JavaScript, hint me; but the contents to feed the > > menu come from a business object using a DAO. There exists a menu > > implemented as a TAG library, and as such, can it receive a request > > attribute. What is the best way ? > > In a Spring Framework way, the data to be used could this be > > injected to the JSP page which is a Sitemesh template but a form > > controller-like web page. > > > > Hope these doubts are clear. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
