Hi Volker,
yes, a request is made. This is the only debug output (with
org.apache.myfaces.tobago.ajax.api.AjaxResponseRenderer enabled):
AjaxUtils ajaxComponentIds =
"mainPage:tabsView:meineAufgabenView:meineAufgabenSheet:0:ablaufdatumPopup:ablaufdatum_pickerpopup"
ComponentUtil idRemainder = ":0:ablaufdatumPopup:_idJsp59"
ComponentUtil set rowIndex = "0"
Seems there's no response.
Regards
Helmut
----- Original Message -----
From: "Volker Weber" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Tuesday, September 04, 2007 3:47 PM
Subject: Re: [Tobago] EmptyStackException in datepicker
Hi Helmut,
the problem with the popups in wrong order is a known issue:
https://issues.apache.org/jira/browse/TOBAGO-133 / -134
The other (nothing happen after first click) must be a other Problem.
Can you see if a request is made after the first click and what the
response is?
You can set the debug level of
org.apache.myfaces.tobago.ajax.api.AjaxResponseRenderer
to trace to get the full response in the logs.
Regards,
Volker
2007/9/4, Helmut Swaczinna <[EMAIL PROTECTED]>:
Hi Volker,
thanks, the datepicker works now in general.
But I have very strange effects with the datepicker in a special use
case.
I have a sheet with a link in one column which opens a popup. And this
popup
has a date field and a datepicker.
The first time I click on the picker image on the popup after the page
was
loaded for the first time nothing
happens. The datepicker doesn't open. When I close the popup and reopen
it
and then click on the
picker image the datepicker opens but *behind* the popup, so it is not
accessable (see attachted scrennshot).
I have to close the popup first and then I can close the datepicker. When
I
open the popup for the third time and
click on the picker image the datepicker opens normally and everything
works
fine. To summarize: I must open
the popup three times after the page is initially loaded to make the
datepicker working.
Unfortunately I can't reproduce this behaviour in a small example.
Here is an extract from my jsp page:
<tc:sheet id="meineAufgabenSheet"
columns="30px;80px;80px;70px;65px;165px;60px;100px"
showHeader="true"
showRowRange="none"
showPageRange="none"
showDirectLinks="none"
first="0"
rows="1000"
selectable="multi"
value="#{mainController.meineAufgaben}"
var="aufgabe"
binding="#{mainController.sheetMeineAufgaben}"
state="#{mainController.sheetStateMeineAufgaben}">
<f:facet name="popup">
<tc:popup id="ablaufdatumPopup" width="300px" height="150px">
<tc:box label="#{aufgabenBundle.box_label_ablaufdatum}">
<f:facet name="layout" >
<tc:gridLayout rows="*;fixed;10px;fixed"
columns="*;*;*"/>
</f:facet>
<tc:cell spanX="3">
<tc:out escape="false"
value="#{aufgabenBundle.out_value_ablaufdatum}"/>
</tc:cell>
<tc:label
value="#{aufgabenBundle.label_value_ablaufdatum}"/>
<tc:date id="ablaufdatum"
required="true"
value="#{mainController.ablaufdatum}"/>
<tc:datePicker for="ablaufdatum"/>
<tc:cell spanX="3"/>
<tc:cell/>
<tc:button id="okButton"
label="#{mainBundle.button_label_ok}"
action="#{mainController.ablaufAction}">
<tc:attribute name="popupClose" value="afterSubmit"/>
</tc:button>
<tc:button id="cancelButton"
label="#{mainBundle.button_label_cancel}">
<tc:attribute name="popupClose" value="immediate"/>
</tc:button>
</tc:box>
</tc:popup>
</f:facet>
...
<tc:column id="ablaufColumn"
label="#{aufgabenBundle.column_label_ablauf}"
tip="#{aufgabenBundle.column_tip_ablauf}"
sortable="true">
<tc:link id="ablaufLink"
action="#{mainController.ablaufPopupAction}">
<tc:out id="ablauf"
value="#{aufgabe.ablauf}"/>
<tc:popupReference for="ablaufdatumPopup"/>
<tc:attribute name="renderedPartially"
value=":mainPage:tabsView:meineAufgabenView:meineAufgabenSheet:ablaufdatumPopup"/>
</tc:link>
</tc:column>
...
</tc:sheet>
Regards,
Helmut
----- Original Message -----
From: "Volker Weber" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Tuesday, September 04, 2007 1:39 PM
Subject: Re: [Tobago] EmptyStackException in datepicker
> Hi Helmut,
>
> there was a Problem in the ButtonRenderer introduced with the changes
> for tabindex.
>
> Please try next nightly or build you own from svn head.
>
>
> Regards,
> Volker
>
> 2007/9/4, Volker Weber <[EMAIL PROTECTED]>:
>> Hi,
>>
>> seems this is not only the datePicker, I just got a
>> EmptyStackException in a page without datePicker.
>>
>> java.util.EmptyStackException
>> at java.util.Stack.peek(Stack.java:79)
>> at java.util.Stack.pop(Stack.java:61)
>> at
>>
org.apache.myfaces.tobago.webapp.TobagoResponseWriterImpl.endElement(TobagoResponseWriterImpl.java:232)
>> at
>>
org.apache.myfaces.tobago.renderkit.html.speyside.standard.tag.TabGroupRenderer.encodeContent(TabGroupRenderer.java:80)
>> at
>>
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TabGroupRenderer.renderTabGroupView(TabGroupRenderer.java:342)
>> at
>>
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TabGroupRenderer.encodeAjax(TabGroupRenderer.java:368)
>>
>>
>> I'm going to look at this.
>>
>>
>> Regards,
>> Volker
>>
>> 2007/9/3, Helmut Swaczinna <[EMAIL PROTECTED]>:
>> > Hi,
>> >
>> > in the current snapshot the datepicker is broken. You get an
>> > EmptyStackException when you click on
>> > the picker image. You can see this in the demo.
>> >
>> > Regards
>> > Helmut
>> >
>> >
>>
>