[JBoss JIRA] (RF-12621) rich:placeholder : empty attribute @selector
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12621?page=com.atlassian.jira.plugin.s... ]
Juraj Húska closed RF-12621.
----------------------------
verified
> rich:placeholder : empty attribute @selector
> --------------------------------------------
>
> Key: RF-12621
> URL: https://issues.jboss.org/browse/RF-12621
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-misc
> Reporter: Jiří Štefek
> Assignee: Lukáš Fryč
> Fix For: 4.3.0.M3
>
> Original Estimate: 15 minutes
> Remaining Estimate: 15 minutes
>
> When a placeholder is present in some component (example below) and placeholder's attribute @selector is present and empty, shouldn't it work as if it was without @selector? (Placeholder will work with input)
> {code}
> <h:inputText id="input">
> <rich:placeholder selector=""/>
> </h:inputText>
> {code}
> Can be easily fixed in placeholder.template.xml
> {code}
> ...
> <cdk:scriptOption name="targetId" value="#{empty component.selector ? component.parent.clientId : null}" />
> ...
> {code}
--
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
13 years, 4 months
[JBoss JIRA] (RF-12617) Merge richfaces-jsf-event.js to richfaces.js
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12617?page=com.atlassian.jira.plugin.s... ]
Juraj Húska closed RF-12617.
----------------------------
> Merge richfaces-jsf-event.js to richfaces.js
> --------------------------------------------
>
> Key: RF-12617
> URL: https://issues.jboss.org/browse/RF-12617
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: core
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Fix For: 4.3.0.M3
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> {{richfaces-jsf-event.js}} contains interceptor for {{jsf.ajax.request}} which brings event re-targeting {{javax.faces.source}} (RF-12616) and also support for {{ajaxsubmit}} form event.
> {{ajaxsubmit}} was brought in {{rich:editor}} implementation and is currently used additionally in {{rich:focus}}.
> I suggest to merge {{richfaces-jsf-event.js}} to {{richfaces.js}}.
> This feature would desire JS unit tests.
> Don't forget to remove references to {{richfaces-jsf-event.js}}.
--
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
13 years, 4 months
[JBoss JIRA] (RF-12629) Call javascriptServiceComplete once all scripts added by JavaScriptService are executed
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12629?page=com.atlassian.jira.plugin.s... ]
Juraj Húska closed RF-12629.
----------------------------
> Call javascriptServiceComplete once all scripts added by JavaScriptService are executed
> ---------------------------------------------------------------------------------------
>
> Key: RF-12629
> URL: https://issues.jboss.org/browse/RF-12629
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.3.0.M3
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Fix For: 4.3.0.M3
>
>
> The event should be called once all scripts are executed but before any oncomplete script is executed.
> The event should be fired on document.
> General way to bind to this event (as replacement for {{$(document).ready(...)}} is using {{$(document).one("javascriptServiceComplete", ...);}}
> Event handler will be triggered only if there are some script generated by {{JavaScriptService}}.
--
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
13 years, 4 months
[JBoss JIRA] (RF-12642) richfaces.js: fire ajaxbegin and ajaxbeforedomupdate events
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12642?page=com.atlassian.jira.plugin.s... ]
Juraj Húska closed RF-12642.
----------------------------
> richfaces.js: fire ajaxbegin and ajaxbeforedomupdate events
> -----------------------------------------------------------
>
> Key: RF-12642
> URL: https://issues.jboss.org/browse/RF-12642
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: core
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Fix For: 4.3.0.M3
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Those events will form the lifecycle of AJAX-submission together with {{ajaxsubmit}}.
> The meaning of events are as follows:
> * {{ajaxsubmit}} - right before JSF AJAX request is triggered
> * {{ajaxbegin}} - when JSF starts to communicate, it means when jsf.ajax.request asynchronous method ended
> * {{ajaxbeforedomupdate}} - right before JSF AJAX request will update DOM
> {{ajaxbegin}} and {{ajaxbeforedomupdate}} are executed before user-defined {{onbegin}} and {{onbeforedomupdate}} event handlers
--
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
13 years, 4 months
[JBoss JIRA] (RF-12652) Improve ScriptUtils performance by doing early preallocation in String encode path
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12652?page=com.atlassian.jira.plugin.s... ]
Juraj Húska closed RF-12652.
----------------------------
> Improve ScriptUtils performance by doing early preallocation in String encode path
> ----------------------------------------------------------------------------------
>
> Key: RF-12652
> URL: https://issues.jboss.org/browse/RF-12652
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.3.0.M2
> Reporter: Darius Ski
> Assignee: Darius Ski
> Priority: Minor
> Fix For: 4.3.0.M3
>
>
> In ScriptUtils.toScript(Object obj) method there is allocation of StringBuilder with default size (of 16 characters). When large sized strings are passed to this method ( for example in partial rendering user bean returns a String with custom JSON ), method incurs penalty due to reallocations ( both in GC pressure and CPU use).
> The preallocation size could be set to 1.6-2 of initial size, cause we know that String is getting escaped and inflated by both normal (*2) and unicode escapes ( \u00XX style * 6).
--
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
13 years, 4 months