[JBoss JIRA] Created: (RF-7153) Toggle Control Render differently between initial request and an Ajax request
by Dirk Pitt (JIRA)
Toggle Control Render differently between initial request and an Ajax request
-----------------------------------------------------------------------------
Key: RF-7153
URL: https://jira.jboss.org/jira/browse/RF-7153
Project: RichFaces
Issue Type: Bug
Components: component-output
Affects Versions: 3.3.0
Environment: Richfaces 3.3.0.GA, JBoss 4.2.2. Facelets, Java 1.5
Reporter: Dirk Pitt
Our xhtml code look like this
<rich:togglePanel id="contacts"
value="closed" switchType="client"
stateOrder="closed,opened" styleClass="customerviewDetails"
rendered="#{controller.permitted">
<f:facet name="closed">
<rich:toggleControl id="contacts_tgc_closed">
<h:panelGrid width="100%" cellpadding="0" cellspacing="0"
columns="2"
columnClasses="switcherContactList, headContactList">
<h:graphicImage id="picOpenContactDetails" style="border:none;"
value="/images/e3pos.png" />
<h:panelGroup>
letzter Kontakt: 
<h:outputText value="#{controller.lastContact.date}">
<f:convertDateTime timeZone="Europe" type="date" dateStyle="medium" />
</h:outputText>, #{controller.lastContact.reason}
</h:panelGroup>
</h:panelGrid>
</rich:toggleControl>
In our page design, when we initially render the page we are getting the following html snippet
<a class="dr-tglctrl rich-tglctrl" href="#" id="_jbpns_2ftvpp_2fCustomerview_2fCustomer:_viewRoot:j_id351" onclick="TogglePanelManager.toggleOnClient('_jbpns_2ftvpp_2fCustomerview_2fCustomer:_viewRoot:contacts',null);; return false;">
<table cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="switcherCustomerviewContactList">
<img id="_jbpns_2ftvpp_2fCustomerview_2fCustomer:_viewRoot:picOpenContactDetails" src="/customer-9.1.0/images/e3pos.png" style="border: medium none ;"/>
</td>
<td class="headContactList"> Kontakthistorie einblenden - letzter Kontakt: 12.05.2009</td>
</tr>
</tbody>
</table>
</a>
As you may see all the components defined under the <a> tag which is correct....
Now if the same xhtml code gets an Ajax request and Toggle Panel is defined in any reRender attribute this is the html snippet we are getting..
<a class="dr-tglctrl rich-tglctrl" href="#" id="_jbpns_2ftvpp_2fCustomerview_2fCustomer:_viewRoot:j_id351" onclick="TogglePanelManager.toggleOnClient('_jbpns_2ftvpp_2fCustomerview_2fCustomer:_viewRoot:contacts',null);; return false;"/>
<table cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="switcherCustomerviewContactList">
<img id="_jbpns_2ftvpp_2fCustomerview_2fCustomer:_viewRoot:picOpenContactDetails" src="/customer-9.1.0/images/e3pos.png" style="border:none;"/>
</td>
<td class="headContactList">Kontakthistorie einblenden - letzter Kontakt: 12.05.2009</td>
</tr>
</tbody>
</table>
As you might the components under the ToggleControl are not capsulated with <a> anymore and the GUI is not functioning...
Now I placed breakpoint in ToogleControlTemplate and ToggleControlRender classes and I debuged for a normal request and ajax request, I see no obvious difference, it looks like child components are rendered under the <a> tag, but you are seeing the html snippet that firefox gets (I get the snippet with firebug and also with a4j:log they are identical....)
Now I am little bit cluessless what to look next..
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months
[JBoss JIRA] Created: (RF-7145) realworld: Error windows are closed after the second click on the close icon
by Inna Shchibrya (JIRA)
realworld: Error windows are closed after the second click on the close icon
----------------------------------------------------------------------------
Key: RF-7145
URL: https://jira.jboss.org/jira/browse/RF-7145
Project: RichFaces
Issue Type: Bug
Components: examples
Affects Versions: 3.3.1
Environment: All browsers
Reporter: Inna Shchibrya
Assignee: Andrey Markhel
Priority: Minor
1. Open the application.
2. Enter any symbol in Search input field.
3. Unselect "in Shared" chek-box and click on Find button. --> An error pop-up window has appeared. It's ok.
4. Click on the close icon. --> An error pop-up window isn't closed.
5. Click on the close icon again. --> An error pop-up window is closed.
Expected result: An error pop-up window should be closed after the first click on the close icon.
For Safari and Chrome this situation takes place for all error windows.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months
[JBoss JIRA] Created: (RF-7124) realworld/images: Captured date isn't present under an image and in meta information
by Inna Shchibrya (JIRA)
realworld/images: Captured date isn't present under an image and in meta information
------------------------------------------------------------------------------------
Key: RF-7124
URL: https://jira.jboss.org/jira/browse/RF-7124
Project: RichFaces
Issue Type: Bug
Components: examples
Affects Versions: 3.3.1
Environment: All browsers
Reporter: Inna Shchibrya
Assignee: Andrey Markhel
Priority: Minor
Attachments: edit_image_captured.png
1. Login to the application.
2. Open any image from your album.
3. Clic on Edit image button.
4. Enter any date in "Captured at" input field, select Show meta information check-box and click on Save button. --> "Captured:" field under the image is empty.
5. Move the mouse over the image. --> The tool tip with meta information has appeared but there is "Created Date" with the value from "Captured at" input field. See attachment.
Expected result: "Captured:" field under the image should contain the information from "Captured at" input field and should be renamed to "Captured at:". The tool tip with meta information should contain "Captured at:" with the value from "Captured at" input field or "Uploaded at:"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months
[JBoss JIRA] Created: (RF-7132) realworld/images: An image should stop to be an album cover if "Use this image as a current album cover" check-box is unselected
by Inna Shchibrya (JIRA)
realworld/images: An image should stop to be an album cover if "Use this image as a current album cover" check-box is unselected
----------------------------------------------------------------------------------------------------------------------------------
Key: RF-7132
URL: https://jira.jboss.org/jira/browse/RF-7132
Project: RichFaces
Issue Type: Feature Request
Components: examples
Affects Versions: 3.3.2.CR1
Environment: All browsers
Reporter: Inna Shchibrya
Assignee: Andrey Markhel
Priority: Minor
1. Login to the application.
2. Select any image from your album.
3. Click Edit image.
4. Select "Use this image as a current album cover" check-box and click Save button.
5. Open the shelf with selected image. --> The image is an album cover. It's ok.
6. Click Edit image for the same image.
7. Unselect "Use this image as a current album cover" check-box and click Save button.
8. 5. Open the shelf with selected image. --> The image still is an album cover.
Expected result: If "Use this image as a current album cover" check-box is unselected an image should not be an album cover. If user selects "Use this image as a current album cover" check-box for one image, this check-boxes should be unselected for the others.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months
[JBoss JIRA] Created: (RF-7143) realworld/images: Incorrect work of Start Slideshow after some actions
by Inna Shchibrya (JIRA)
realworld/images: Incorrect work of Start Slideshow after some actions
----------------------------------------------------------------------
Key: RF-7143
URL: https://jira.jboss.org/jira/browse/RF-7143
Project: RichFaces
Issue Type: Bug
Components: examples
Affects Versions: 3.3.1
Environment: All browsers
Reporter: Inna Shchibrya
Assignee: Andrey Markhel
1. Open (or login to) the application.
2. Open any album and click on Start Slideshow icon.
3. Wait for the end of the slideshow.
4. Click on any image and click on Start Slideshow icon. --> Only the first slide is shown. Then slide has disappeared but load icon near PhotoAlbum logo indicates the slideshow is continuing.
5. Return to the album page and click on Start Slideshow icon. --> There is the same result.
Expected result: Start Slideshow should be work correctly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 10 months