[JBoss JIRA] (RF-13066) a4j:ajax does not work with tomahawk radiobuttons
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13066?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13066:
------------------------------------
When you use a4j:ajax, you can see the AJAX request is intitiated? Can you debug the server and see what happens here?:
https://github.com/richfaces4/components/blob/master/common/ui/src/main/j...
I'm curious if the ajax event is triggered with the right client id.
> a4j:ajax does not work with tomahawk radiobuttons
> -------------------------------------------------
>
> Key: RF-13066
> URL: https://issues.jboss.org/browse/RF-13066
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.0.Final
> Environment: a4j:ajax does not work inside a tomahawk radiobutton
> Reporter: Andrea Martino
> Labels: a4j:ajax
> Fix For: 5-Tracking
>
> Attachments: aj4_ajax_tomahawk_issue.png
>
>
> for example the following code does not work:
> {code}
> <t:selectOneRadio id="myRadio" value="#{testtest.xxxEnum}" layout="spread">
> <s:enumItem enumValue="XXX" label="XXX" />
> <s:enumItem enumValue="YYY" label="YYY" />
> <a4j:ajax />
> </t:selectOneRadio>
> <div class="ct-radio">
> <strong><t:radio id="radio1" for="myRadio" index="0"/></strong>
> </div>
> <div class="ct-radio">
> <strong><t:radio id="radio2" for="myRadio" index="1"/></strong>
> </div>
> {code}
> If I replace <a4j:ajax/> by <f:ajax/> everything works as expected. I would like to user a4j:ajax instead of f:ajax because tooltips are not correctly refreshed when I use f:ajax (there should be already a bug opened for that).
> PS: I'm using tomahawk 1.1.14
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (RF-13066) a4j:ajax does not work with tomahawk radiobuttons
by Andrea Martino (JIRA)
[ https://issues.jboss.org/browse/RF-13066?page=com.atlassian.jira.plugin.s... ]
Andrea Martino commented on RF-13066:
-------------------------------------
Hi Brian, no the event is right I checked both in Java code and "sniffing" the AJAX request (see the attached screenshot).
I also tried to "forward" the events sent to the "spread" radiobutton to the main component but also without luck.
The problem here is that when I click on one radiobutton (for example id="radio2") the main component is not executed when visiting the tree... I am really confused, now I think again this should be fixed on RichFaces side and not on MyFaces...
I think I'm giving up. :-/
> a4j:ajax does not work with tomahawk radiobuttons
> -------------------------------------------------
>
> Key: RF-13066
> URL: https://issues.jboss.org/browse/RF-13066
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.0.Final
> Environment: a4j:ajax does not work inside a tomahawk radiobutton
> Reporter: Andrea Martino
> Labels: a4j:ajax
> Fix For: 5-Tracking
>
> Attachments: aj4_ajax_tomahawk_issue.png
>
>
> for example the following code does not work:
> {code}
> <t:selectOneRadio id="myRadio" value="#{testtest.xxxEnum}" layout="spread">
> <s:enumItem enumValue="XXX" label="XXX" />
> <s:enumItem enumValue="YYY" label="YYY" />
> <a4j:ajax />
> </t:selectOneRadio>
> <div class="ct-radio">
> <strong><t:radio id="radio1" for="myRadio" index="0"/></strong>
> </div>
> <div class="ct-radio">
> <strong><t:radio id="radio2" for="myRadio" index="1"/></strong>
> </div>
> {code}
> If I replace <a4j:ajax/> by <f:ajax/> everything works as expected. I would like to user a4j:ajax instead of f:ajax because tooltips are not correctly refreshed when I use f:ajax (there should be already a bug opened for that).
> PS: I'm using tomahawk 1.1.14
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (RF-13066) a4j:ajax does not work with tomahawk radiobuttons
by Andrea Martino (JIRA)
[ https://issues.jboss.org/browse/RF-13066?page=com.atlassian.jira.plugin.s... ]
Andrea Martino updated RF-13066:
--------------------------------
Description:
for example the following code does not work:
{code}
<t:selectOneRadio id="myRadio" value="#{testtest.xxxEnum}" layout="spread">
<s:enumItem enumValue="XXX" label="XXX" />
<s:enumItem enumValue="YYY" label="YYY" />
<a4j:ajax />
</t:selectOneRadio>
<div class="ct-radio">
<strong><t:radio id="radio1" for="myRadio" index="0"/></strong>
</div>
<div class="ct-radio">
<strong><t:radio id="radio2" for="myRadio" index="1"/></strong>
</div>
{code}
If I replace <a4j:ajax/> by <f:ajax/> everything works as expected. I would like to user a4j:ajax instead of f:ajax because tooltips are not correctly refreshed when I use f:ajax (there should be already a bug opened for that).
PS: I'm using tomahawk 1.1.14
was:
for example the following code does not work:
{code}
<t:selectOneRadio id="myRadio" value="#{testtest.xxxEnum}" layout="spread">
<s:enumItem enumValue="XXX" label="XXX" />
<s:enumItem enumValue="YYY" label="YYY" />
<a4j:ajax />
</t:selectOneRadio>
<div class="ct-radio">
<strong><t:radio for="myRadio" index="0"/></strong>
</div>
<div class="ct-radio">
<strong><t:radio for="myRadio" index="1"/></strong>
</div>
{code}
If I replace <a4j:ajax/> by <f:ajax/> everything works as expected. I would like to user a4j:ajax instead of f:ajax because tooltips are not correctly refreshed when I use f:ajax (there should be already a bug opened for that).
PS: I'm using tomahawk 1.1.14
> a4j:ajax does not work with tomahawk radiobuttons
> -------------------------------------------------
>
> Key: RF-13066
> URL: https://issues.jboss.org/browse/RF-13066
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.0.Final
> Environment: a4j:ajax does not work inside a tomahawk radiobutton
> Reporter: Andrea Martino
> Labels: a4j:ajax
> Fix For: 5-Tracking
>
> Attachments: aj4_ajax_tomahawk_issue.png
>
>
> for example the following code does not work:
> {code}
> <t:selectOneRadio id="myRadio" value="#{testtest.xxxEnum}" layout="spread">
> <s:enumItem enumValue="XXX" label="XXX" />
> <s:enumItem enumValue="YYY" label="YYY" />
> <a4j:ajax />
> </t:selectOneRadio>
> <div class="ct-radio">
> <strong><t:radio id="radio1" for="myRadio" index="0"/></strong>
> </div>
> <div class="ct-radio">
> <strong><t:radio id="radio2" for="myRadio" index="1"/></strong>
> </div>
> {code}
> If I replace <a4j:ajax/> by <f:ajax/> everything works as expected. I would like to user a4j:ajax instead of f:ajax because tooltips are not correctly refreshed when I use f:ajax (there should be already a bug opened for that).
> PS: I'm using tomahawk 1.1.14
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (RF-13066) a4j:ajax does not work with tomahawk radiobuttons
by Andrea Martino (JIRA)
[ https://issues.jboss.org/browse/RF-13066?page=com.atlassian.jira.plugin.s... ]
Andrea Martino updated RF-13066:
--------------------------------
Attachment: aj4_ajax_tomahawk_issue.png
> a4j:ajax does not work with tomahawk radiobuttons
> -------------------------------------------------
>
> Key: RF-13066
> URL: https://issues.jboss.org/browse/RF-13066
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.0.Final
> Environment: a4j:ajax does not work inside a tomahawk radiobutton
> Reporter: Andrea Martino
> Labels: a4j:ajax
> Fix For: 5-Tracking
>
> Attachments: aj4_ajax_tomahawk_issue.png
>
>
> for example the following code does not work:
> {code}
> <t:selectOneRadio id="myRadio" value="#{testtest.xxxEnum}" layout="spread">
> <s:enumItem enumValue="XXX" label="XXX" />
> <s:enumItem enumValue="YYY" label="YYY" />
> <a4j:ajax />
> </t:selectOneRadio>
> <div class="ct-radio">
> <strong><t:radio for="myRadio" index="0"/></strong>
> </div>
> <div class="ct-radio">
> <strong><t:radio for="myRadio" index="1"/></strong>
> </div>
> {code}
> If I replace <a4j:ajax/> by <f:ajax/> everything works as expected. I would like to user a4j:ajax instead of f:ajax because tooltips are not correctly refreshed when I use f:ajax (there should be already a bug opened for that).
> PS: I'm using tomahawk 1.1.14
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (RF-13025) MemoryLeak: SerializedViewCollection filled with org.richfaces.renderkit.ResourceLibraryRenderer
by Andrey Zhemoytuk (JIRA)
[ https://issues.jboss.org/browse/RF-13025?page=com.atlassian.jira.plugin.s... ]
Andrey Zhemoytuk commented on RF-13025:
---------------------------------------
Upstream issue in MyFaces: https://issues.apache.org/jira/browse/MYFACES-3739
> MemoryLeak: SerializedViewCollection filled with org.richfaces.renderkit.ResourceLibraryRenderer
> ------------------------------------------------------------------------------------------------
>
> Key: RF-13025
> URL: https://issues.jboss.org/browse/RF-13025
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.2.2.Final, 4.3.2
> Environment: Richfaces 4.2.2 (happens also with Richfaces 4.3.2)
> myfaces 2.1.10 (happens also with 2.1.11)
> Tomcat 6.0.36
> Reporter: Michael Heinen
> Attachments: Dump20Clicks.jpg, Dump2Clicks.jpg, zSessionLeak.war
>
>
> The SerializedViewCollection grows in my application with every ajax call.
> A new reference to a "org.richfaces.renderkit.ResourceLibraryRenderer" is added each time.
> This happens only if the page contains a <a4j:ajax> tag.
> Without any <a4j:ajax> tag the SerializedViewCollection doesn't grow!
> A sample application will be attached as well as screenshots with the heap dumps.
> The Heapdumps are also available.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (RF-12978) collapsibleSubTable ignores rowClasses
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-12978?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek commented on RF-12978:
----------------------------------
Sorry for confusion. I think that we are mixing two things together.
The first thing -- if you would like to use your styles, place them as Brian suggested and as I mentioned before -- this way it overrides the default styles for components! This is just a required step to let the own styles to work! If you dont't do so, your style will probably be overridden.
And the other thing -- required step with overriding the column style?
Yes, unfortunately, you still have to override the column style, because you want a column to be changed (to be different than the default one [yes, unfortunately it has defined background-color]), the row has the correct style. Imho this is a correct behaviour. How could someone know, that you want or don't want to use the default style for column, if you don't define it (in @columnClasses)?
Some solutions:
# Define a style for column (e.g. just for clearing the default style) and use it in @columnClasses.
# In that styleClass for styling the rows:
** override the RF's collapisbleSubTable style for column ('rf-cst-c'),
** or use stronger css selector for columns which will override the default styling (it has some pros against the previous solution -- e.g. if you want to use that default style somewhere else on the page and that component don't use oddRow+evenRow classes). Example:
{code}
..
.oddRow td{
background-color: inherit;
.. /* other styles to override */
}
..
/* same for evenRow class */
{code}
> collapsibleSubTable ignores rowClasses
> --------------------------------------
>
> Key: RF-12978
> URL: https://issues.jboss.org/browse/RF-12978
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.3.1
> Environment: Firefox 20.0, Linux
> Reporter: Edward I
> Labels: waiting_on_user
> Attachments: rf-12978.zip
>
>
> The rowClasses is ignored in the following:
> {code:xml}
> <rich:collapsibleSubTable value="#{item.items}" var="comp" rowClasses="oddRow, evenRow">
> {code}
> DataTable works correctly with the same rowClasses.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (RF-12978) collapsibleSubTable ignores rowClasses
by Edward I (JIRA)
[ https://issues.jboss.org/browse/RF-12978?page=com.atlassian.jira.plugin.s... ]
Edward I edited comment on RF-12978 at 6/22/13 3:15 PM:
--------------------------------------------------------
If you guys want to try this, I suggest you take [~jstefek]'s example attached to this report, put the styles in an external .css, and remove the .rf-cst-c style definition.
Any workaround should not require the .rf-cst-c definition to be put into every XHTML page.
By the way, [~jstefek] said:
{quote}This can be fixed by putting the user defined styles AFTER the RF's styles in the HEAD [verified].{quote}
How did you verify this?
was (Author: edwardiv):
If you guys want to try this, I suggest you take [~jstefek]'s example attached to this report, put the styles in an external .css, and remove the .rf-cst-c style definition.
Any workaround should not require the .rf-cst-c definition to be put into every XHTML page.
> collapsibleSubTable ignores rowClasses
> --------------------------------------
>
> Key: RF-12978
> URL: https://issues.jboss.org/browse/RF-12978
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.3.1
> Environment: Firefox 20.0, Linux
> Reporter: Edward I
> Labels: waiting_on_user
> Attachments: rf-12978.zip
>
>
> The rowClasses is ignored in the following:
> {code:xml}
> <rich:collapsibleSubTable value="#{item.items}" var="comp" rowClasses="oddRow, evenRow">
> {code}
> DataTable works correctly with the same rowClasses.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (RF-12978) collapsibleSubTable ignores rowClasses
by Edward I (JIRA)
[ https://issues.jboss.org/browse/RF-12978?page=com.atlassian.jira.plugin.s... ]
Edward I commented on RF-12978:
-------------------------------
If you guys want to try this, I suggest you take [~jstefek]'s example attached to this report, put the styles in an external .css, and remove the .rf-cst-c style definition.
Any workaround should not require the .rf-cst-c definition to be put into every XHTML page.
> collapsibleSubTable ignores rowClasses
> --------------------------------------
>
> Key: RF-12978
> URL: https://issues.jboss.org/browse/RF-12978
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.3.1
> Environment: Firefox 20.0, Linux
> Reporter: Edward I
> Labels: waiting_on_user
> Attachments: rf-12978.zip
>
>
> The rowClasses is ignored in the following:
> {code:xml}
> <rich:collapsibleSubTable value="#{item.items}" var="comp" rowClasses="oddRow, evenRow">
> {code}
> DataTable works correctly with the same rowClasses.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months