Hello Helmut,

no the old style of popup handling did not longer work, but should not
be a problem,
if you put a action to the opening command the action is executed
(including submitting all page content, but without rerendring).


Regards,
 Volker



2006/12/19, H. Swaczinna <[EMAIL PROTECTED]>:
Hello Volker,

aren't the old style popups supported anymore? I need both of them.
The old ones, because I want the page to be submitted, before the
popup is displayed, and the new ones for displaying some detail data
or for short user prompts. I mixed both styles in one page and I got
strange results. The old style popups work as expected, only when
there's somewere in the page a new style popup with the same id!
If there's no new style popup with the same id, the old style popup
can not be closed. And under some cirumstances, a new style popup
is displayed, when the old style popup should be closed. So both
popups are displayed at the same time. These two popups have different
ids.

I'm using the current 1.0.10 snapshot.

Regards
Helmut


>Hi Florian,
>
>the popup handling has changed in the last weeks.
>
>the rendered attribute of the popup-tag did not longer cause tho popup
>to open (it just can suppress the popup).
>You need a command with a tc:attribute inside to open or close a popup.
>see the sourcecode of the sheetControll.jsp in the tobago-example-demo
>there is a popup for the sheet config.
>
>Regards,
>  Volker
>
>2006/12/18, Florian Pfann <[EMAIL PROTECTED]>:
>> Hello
>>   i'am using myfaces-tobago-1.0.9-SNAPSHOT. I have some problems with
>> popus.
>>
>> The following side works with 1.0.8:
>>
>> <%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc"%>
>> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
>> <%@ taglib uri="http://myfaces.apache.org/tobago/extension"; prefix="tx"%>
>>
>> <f:view>
>>     <tc:page width="750px" height="600px">
>>         <f:facet name="dpopup">
>>             <tc:popup width="300" height="100"
>>                 rendered="true" id="dpopup">
>>                 <f:facet name="layout">
>>                     <tc:gridLayout rows="*" columns="*" margin="10px" />
>>                 </f:facet>
>>                 <tc:cell>
>>                     <tc:out value="Hello - i am a popup"
>> id="idDPopupText" />
>>                 </tc:cell>
>>             </tc:popup>
>>         </f:facet>
>>     </tc:page>
>> </f:view>
>>
>> When i try it with 1.0.9, i get an empty page without the popup.
>> I couldn't determine the error.
>>
>> Are there any sulutions for this problem or will it be resolved in the
>> final version?
>>
>> (mayby the problem is sitting in front of the monitor ;-))
>>
>> Regards,
>> Florian
>>
>>
>>
>>
>>
>>

Reply via email to