[ 
https://issues.jboss.org/browse/RF-12593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukáš Fryč updated RF-12593:
----------------------------

    Description: 
The {{toScriptArgs(Object object)}} should always return JavaScript object:

{code:javascript}
{ ... }
{code}

In case null object or no not-null parameter provided, empty object should be 
returned:

{code:javascript}
{}
{code}

Currently, it returns empty string {""} which is not handy if we expect 
JavaScript object as a return value.

  was:
The {{toScriptArgs(Object object)}} should always return JavaScript object:

{code:javascript}
{ ... }
{code}

In case null object or no not-null parameter provided, empty object should be 
returned:

{code:javascript}
{}
{code}


    
> RenderKitUtils.toScriptArgs() returns empty string when no not-null parameter 
> provided
> --------------------------------------------------------------------------------------
>
>                 Key: RF-12593
>                 URL: https://issues.jboss.org/browse/RF-12593
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: core
>    Affects Versions: 4.3.0.M2
>            Reporter: Lukáš Fryč
>
> The {{toScriptArgs(Object object)}} should always return JavaScript object:
> {code:javascript}
> { ... }
> {code}
> In case null object or no not-null parameter provided, empty object should be 
> returned:
> {code:javascript}
> {}
> {code}
> Currently, it returns empty string {""} which is not handy if we expect 
> JavaScript object as a return value.

--
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

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to