Le 05-08-10 à 04:55, Arash Bijanzadeh a écrit : What was the result of thread? Which one did you used Jacobs? Any news from sitemesh compatibility with MyFaces?
SiteMesh, unfortunately, only half works with JSF. You can decorate a JSP page with JSF components, but you cannot have JSF components in the decorator itself. Also, you have to be careful about the order in which you declare your filters with MyFaces, or you're likely to get a blank page. Hopefully, those things will change in SiteMesh 3.0.
david
On 8/1/05, Curtney Jacobs < [EMAIL PROTECTED]> wrote:Greetings David.
Ok, so would my conditional logic in my Tile controller be determined by parameters? Meaning, display this content if parameter xxx occured. It seems that this would be the only way my Tile controller would no what to do.
For example,
<o:panelTabCommandLink id="my-wks-link" title="MyWorkspace" value="MyWorkspace" target="_self"> <f:param name="myworkspace.desktop" value="xxxxxx"/> </o:panelTabCommandLink>
Curtney
On Sun, 2005-07-31 at 14:39 -0700, David Geary wrote: > Try using a Tiles controller to dynamically specify the tile's > content, based on whatever it is your actions are doing. > > > david > > Le 05-07-30 à 20:20, Curtney Jacobs a écrit : > > > Greetings! > > > > This is my last attempt before giving up on Tiles for my current > > project. Has anyone successfully used Tiles and MyFaces in a project > > where action events triggers dynamic loading of tile definitions. For > > example, command link "A" trigger loading of tile definition "A", > > command link "B" trigger loading of tile definition "B", etc. > > > > I am aware that because my url address never changes I will > > continue to > > load the same tile definition. Is there anyway around that, using > > Tiles > > and MyFaces ofcourse. Not resorting to using <x:aliasBean> > > > > > > I have tried redirecting, but my jsf view does not reflect the app > > current state, however, I do load the correct tile definition. > > > > I have tried dynamically setting a new view using code similar to the > > following: > > > > context.getApplication().getViewHandler().createView (context, > > "/myview.jsfp"); > > context.setViewRoot (view); > > context.renderResponse (); > > > > > > Perhaps, I should switch to SiteMesh? Has anyone encountered any > > problems using SiteMesh and MyFaces? > > > > > > Please, your feedback is greatly appreciated. > > > > Thanks, > > > > Curtney > > > > >
-- from debian manifesto: Debian Linux is a brand-new kind of Linux distribution. Rather than being developed by one isolated individua l or group, as other distributions of Linux have been developed in the past, Debian is being developed openly in the spirit of Linux and GNU.
|