Ok, finally, after numerous stupid mistakes, I can say that the problem occurs only with inputDate component and not with standard dialogs nor inputListOfValues. Furthermore, for some even more obscure reasons, if I ever popup a working dialog (through inputListOfValues or any "dialog:xyz" outcome) then inputDate starts to work...
Regards, ~ Simon On 8/22/07, Simon Lessard <[EMAIL PROTECTED]> wrote: > > Nope, I'm just being stupid as usual and was getting those warning because > I made a typo in the navigation case... > > On 8/22/07, Simon Lessard < [EMAIL PROTECTED]> wrote: > > > > Interesting... inputDate give me the non compressed style classes, and > > normal dialog framework give me the following: > > > > ATTENTION: No RenderingContext available > > 2007-08-22 10:29:51 > > org.apache.myfaces.trinidad.context.RenderingContextattach > > ATTENTION: Trying to attach RenderingContext to a thread that already > > had one. > > 2007-08-22 10:29:51 > > org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKitencodeFinally > > ATTENTION: No RenderingContext available > > > > I'll try from a new application rather than a degraded one, just to see. > > > > On 8/22/07, Simon Lessard < [EMAIL PROTECTED]> wrote: > > > > > > Ah, then they're needed in this case since the key contains | and ::. > > > I'm going to degrade to a simpler page and less installed components > > > (phase > > > listeners and such) to see if the problem still occurs. > > > > > > On 8/22/07, Adam Winer <[EMAIL PROTECTED]> wrote: > > > > > > > > On 8/22/07, Simon Lessard <[EMAIL PROTECTED]> wrote: > > > > > I probably found one of the culprits, but it's not the only one as > > > > it > > > > > doesn't fix the issue... Since keys in JavaScript structures does > > > > not need > > > > > quotes, I changed > > > > > > > > FWIW: quotes don't hurt, and they're necessary if your keys > > > > are not valid JS identifiers. If you know your key is a valid > > > > JS identifier, then it's a waste of space, and is worth getting > > > > deleted. > > > > > > > > -- Adam > > > > > > > > > > > > > > > > > > out.writeText("TrPage.getInstance().addStyleClassMap( {'", null); > > > > > out.writeText(SkinSelectors.AF_PANEL_POPUP_CONTAINER_STYLE_CLASS > > > > > + "':'", null); > > > > > out.writeText(arc.getStyleClass( > > > > SkinSelectors.AF_PANEL_POPUP_CONTAINER_STYLE_CLASS), > > > > > null); > > > > > out.writeText("','" + > > > > > SkinSelectors.AF_PANEL_POPUP_CONTENT_STYLE_CLASS + "':'", > > > > > null); > > > > > out.writeText(arc.getStyleClass( > > > > SkinSelectors.AF_PANEL_POPUP_CONTENT_STYLE_CLASS), > > > > > null); > > > > > out.writeText("','" + > > > > > SkinSelectors.AF_PANEL_POPUP_TITLE_STYLE_CLASS + "':'", > > > > > null); > > > > > out.writeText(arc.getStyleClass( > > > > SkinSelectors.AF_PANEL_POPUP_TITLE_STYLE_CLASS), > > > > > null); > > > > > out.writeText("','" + > > > > > SkinSelectors.AF_PANEL_POPUP_TITLEBAR_STYLE_CLASS + "':'", > > > > > null); > > > > > out.writeText(arc.getStyleClass( > > > > SkinSelectors.AF_PANEL_POPUP_TITLEBAR_STYLE_CLASS), > > > > > null); > > > > > out.writeText("'} ); ", null); > > > > > > > > > > to > > > > > > > > > > out.writeText("TrPage.getInstance().addStyleClassMap( {", null); > > > > > out.writeText(SkinSelectors.AF_PANEL_POPUP_CONTAINER_STYLE_CLASS > > > > > + ":'", null); > > > > > out.writeText (arc.getStyleClass( > > > > SkinSelectors.AF_PANEL_POPUP_CONTAINER_STYLE_CLASS), > > > > > null); > > > > > out.writeText("'," + > > > > > SkinSelectors.AF_PANEL_POPUP_CONTENT_STYLE_CLASS + ":'", > > > > > null); > > > > > out.writeText(arc.getStyleClass( > > > > SkinSelectors.AF_PANEL_POPUP_CONTENT_STYLE_CLASS), > > > > > null); > > > > > out.writeText("'," + > > > > > SkinSelectors.AF_PANEL_POPUP_TITLE_STYLE_CLASS + ":'", > > > > > null); > > > > > out.writeText(arc.getStyleClass( > > > > SkinSelectors.AF_PANEL_POPUP_TITLE_STYLE_CLASS), > > > > > null); > > > > > out.writeText("'," + > > > > > SkinSelectors.AF_PANEL_POPUP_TITLEBAR_STYLE_CLASS + ":'", > > > > > null); > > > > > out.writeText(arc.getStyleClass( > > > > SkinSelectors.AF_PANEL_POPUP_TITLEBAR_STYLE_CLASS > > > > > ), null); > > > > > out.writeText("'} ); ", null); > > > > > > > > > > But, as I said, this is probably not everything that need to be > > > > done as I > > > > > still have the issue. > > > > > > > > > > > > > > > Regards, > > > > > > > > > > ~ Simon > > > > > > > > > > > > > > > On 8/22/07, Simon Lessard < [EMAIL PROTECTED]> wrote: > > > > > > Personally, I use JDeveloper 11 to run JSF 1.2. > > > > > > > > > > > > Also, I got two more issues with the iframe popup as well. One > > > > with > > > > > inputDate where the popup get bigger and bigger when I change the > > > > month or > > > > > year (I'll have to test navigation in the popup to see if it's > > > > generalized). > > > > > The other is that the popup's DIV does not get cleared from the > > > > DOM after > > > > > being closed so if you keep selecting a date then reopen the > > > > calendar, the > > > > > DOM slowly get bloated. > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > ~ Simon > > > > > > > > > > > > > > > > > > > > > > > > On 8/22/07, Luka Surija < [EMAIL PROTECTED]> wrote: > > > > > > > The same problem I have with 1.0.3 trunk. > > > > > > > > > > > > > > Simon Lessard wrote: > > > > > > > > Hello all, > > > > > > > > > > > > > > > > Using latest 1.2.2 branch, I have a problem with iframe > > > > popup skinning > > > > > > > > where the style class does not get converted. The markup > > > > looks like: > > > > > > > > > > > > > > > > <div style="padding: 0px; overflow: auto; position: > > > > absolute; z-index: > > > > > > > > 201; top: 319.5px; left: 558.5px; visibility: visible;" > > > > > > > > class="af|panelPopup::container"> > > > > > > > > <div class="af|panelPopup::title-text > > > > > af|panelPopup::title-bar" > > > > > > > > style="display: block;">Pick a Date</div> > > > > > > > > <iframe width="323" height="243" frameborder="0" > > > > name="_blank" > > > > > > > > class="af|panelPopup::content"/> > > > > > > > > </div> > > > > > > > > > > > > > > > > Anyone got it working? > > > > > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > > > ~ Simon > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >