I don't think that Shale is doing that - it would need a StateManager to do this, and I don't think Shale comes with one.
regards, Martin On 9/7/06, Martin Grotzke <[EMAIL PROTECTED]> wrote:
On Tue, 2006-09-05 at 17:12 +0200, Ricardo Tercero Lozano wrote: > Forgot to say than If you really want to complete restore a previous > rendered view you must extend the NavigationHander functionality or > use a 'dialog' functionality like Shale dialogs > (http://shale.apache.org/features-dialog-manager.html) or sandbox > conversation components. Do you know if shale's dialog manager restores the right view when you come back to a certain view? So when the navigation is like view_a.xhtml -> view_b.xhtml -> view_a.xhtml, then would the dialog manager restore the uiViewRoot from the first step in the last step? AFAICS invokes the (myfaces) NavigationHandlerImpl a createView when you navigate to another view. If would be good to have the possibility to restore a view that previously was active. Probably this would additionally require a custom StateManager... Cheers, Martin > > Ricardo. > > > On 9/5/06, Ulrich Teichert <[EMAIL PROTECTED]> wrote: > Hi, > > > Ulrich Teichert a écrit : > > > > > > > > > Uh-oh. That's a bit hard - how do I know which property > really is > > required? > > > I thought that when it's required and missing, I would get > a "method not > > > found" exception... > > > > > Sorry, was not clear. I meant, when you programmatically > create a > > Component X with application.createComponent("X"), ensure > that all X > > properties that are marked as required by the corresponding > X taglib > > have been set. > > (for example, HtmlInputText as 2 required properties: id and > value). > > I never meant to add methods to your bean :) I just meant to > ensure your > > UIComponent getXXXX() {... } was doing all required > initialisation steps > > for every component it has created. > > I think that should be the case. Else, I would expect some > sort of trouble > during the initial display stage, which is OK in my case. > Well, it doesn't > hurt to double check, so I'll gonna do that anyway. > > > >> 4) it still fails with only 1 binding, and no nested > panelGrid. > > >> > > > > > > I've tried whithout the nested panelGrid, did not help > either. I wasn't > > > able to strip it down to one binding only and still > perform something > > > usefull. What did you wanted to test in that case? > > > > > Wanted to check there was no bug with embedded panelGrids > and that there > > was no problem with the fact your bean seems to have 2 > dependents on > > each other components. > > OK, I'll see if I can strip one component for testing. > > > > CU, > > > Uli > > > > > > > > That's all i have in my mind as solution, quite poor :) > Sorry! > > I'm happy for all feedback I can get and you have been very > helpfull. > I appreciate that you took the time to look into this. It > seems to me > that not many people are using myfaces this way. > > Not giving up yet, > CU, > Uli > -- > Ulrich Teichert > Stormweg 24 > 24539 Neumünster, Germany > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu > sparen! > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

