Error in ImageTag java class

View: New views
2 Messages — Rating Filter:   Alert me  

Error in ImageTag java class

by angelo.smelo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello there,

We've got an error in rialto images rendered from tagLib wich disabled images do not appear.

We've figured out that the error was originated in ImageTag.java at line 111 where the objPar json is build: the name of the parameter is in fact "srcDisabled" instead of "imageDisabled".

Below, the code with the error line commented:
...
110        sbObjPar.append(",");
111       //sbObjPar.append("imageDisabled:'");
112        //Correct:
113       sbObjPar.append("srcDisabled:'");
114       sbObjPar.append(imageDisabled);
115       sbObjPar.append("'}");


Atte,



Re: Error in ImageTag java class

by Cyril Balit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

You're true

Thank you i fixed the bug

Cyril


--- In rialto-dev@..., "angelo.smelo" <angelo.smelo@...> wrote:

>
> Hello there,
>
> We've got an error in rialto images rendered from tagLib wich disabled images do not appear.
>
> We've figured out that the error was originated in ImageTag.java at line 111 where the objPar json is build: the name of the parameter is in fact "srcDisabled" instead of "imageDisabled".
>
> Below, the code with the error line commented:
> ...
> 110        sbObjPar.append(",");
> 111       //sbObjPar.append("imageDisabled:'");
> 112        //Correct:
> 113       sbObjPar.append("srcDisabled:'");
> 114       sbObjPar.append(imageDisabled);
> 115       sbObjPar.append("'}");
>
>
> Atte,
>