The jenia4faces popupBox and popupFrame as well as the Tomahawk popup all have similar functionality.
From the the description of the request, it sounds like Jenia's
popupFrame would do nicely. It is implemented as an IFRAME so can therefore handle its own navigation and a close button, resize button and a maximize button. It is really quite nice. I know it isn't part of Trinidad, but why re-invent the wheel yet again? On 10/25/06, Simon Lessard <[EMAIL PROTECTED]> wrote:
I kind of like the idea, it would help going around the popup blocker issues. That being said, there's some design issue to talk about. First, how will that pseudo dialog will be populated? Do we want to harmonize it with our current dialog framework or not? If not then we could simply place the content as child of the div. However, if we want to harmonize it (which is better imho) we would have to populate it with another page content. This has some problems that I can think of: 1) The navigation must be evaluated (can be handled with some NavigationHandler magic); 2) The page content must be read (Facelets can handle that, but that would create a "strong" dependency between Trinidad and Facelets); 3) The Facelets would have to be stripped of the HTML/BODY/HEAD generating elements. That one can be painful, we could also use a special ResponseWriter to ignore those elements though; 4) Work out the return events. Regards, ~ Simon On 10/25/06, Danny Robinson <[EMAIL PROTECTED]> wrote: > > Does anyone have any comments on Dave's email below? I'd like to ask for > some direct on this and how it might be achieved wither currently, or in > the > future. > > Thx, > > D. > > On 9/15/06, David Brunette <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi everybody. > > > > > > > > I have had a look at the Dialog Framework that is available in > > Trinidad. It looks like a nice way to show the user a small bit of > > content for a short period of time before returning to the original > > page. While designing our application, we like that... but we are > > hoping to avoid the opening of a new instance of the browser, which is > > what the dialog itself really is. Instead, we would like to show that > > small bit of content in a "floating DIV" (I believe that's the right > > term?) that would open and close just like a dialog would. I haven't > > found anything in JSF/Trinidad that will do this for us, so my question > > is: > > > > > > > > 1) Is there actually a component out there that allows us to show > > content in a floating DIV, and I've just overlooked it? > > > > 2) If not, would it spark enough interest to eventually come up > > with one? > > > > > > > > I'm interested in anybody's thoughts about this. Thanks... > > > > > > > > Dave > > > > > > > > > -- > Chordiant Software Inc. > www.chordiant.com > >
