You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jonatas Wingeter Rodrigues (JIRA)" <de...@myfaces.apache.org> on 2007/04/24 23:09:15 UTC

[jira] Created: (MYFACES-1603) CommandLink problem with DataList

CommandLink problem with DataList
---------------------------------

                 Key: MYFACES-1603
                 URL: https://issues.apache.org/jira/browse/MYFACES-1603
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 1.1.4
         Environment: Linux Ubuntu 6.04, JDK 1.5.0_11. Pentium IV 1 GB RAM 80 GB
            Reporter: Jonatas Wingeter Rodrigues
             Fix For: 1.1.5


When the component DataList is used to print many columns using link (CommandLink), at the first time,
the actions binding commandLink don't run.
After the first POST Request, it gets OK.

The expression to use a DataList:
                                    <t:dataList
                                        value="#{gerenteFilme.paginacao.paginas}"
                                        var="paginaFilme"
                                        rowIndexVar="curPaginaFilme"
                                        forceId="true" forceIdIndex="true">

In the first request, the <a href=/> is printed as:
<a href="#" onclick="return oamSubmitForm('_idJsp8','_idJsp98_0:_idJsp102');" id="_idJsp98_0:_idJsp102">
But after first time:
<a href="#" onclick="return oamSubmitForm('_idJsp8','_idJsp8:_idJsp98:0:_idJsp102');" id="_idJsp8:_idJsp98:0:_idJsp102">0</a>

Clearly, it's a wrong tag invocation _0: It should be :0:, and something is missing.




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MYFACES-1603) CommandLink problem with DataList

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626436#action_12626436 ] 

Leonardo Uribe commented on MYFACES-1603:
-----------------------------------------

I have tried with myfaces core 1.1.6 and tomahawk 1.1.7-SNAPSHOT and no problems found. With tomahawk 1.1.6 the problem is present. 

> CommandLink problem with DataList
> ---------------------------------
>
>                 Key: MYFACES-1603
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1603
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.1.4
>         Environment: Linux Ubuntu 6.04, JDK 1.5.0_11. Pentium IV 1 GB RAM 80 GB
>            Reporter: Jonatas Wingeter Rodrigues
>
> When the component DataList is used to print many columns using link (CommandLink), at the first time,
> the actions binding commandLink don't run.
> After the first POST Request, it gets OK.
> The expression to use a DataList:
>                                     <t:dataList
>                                         value="#{gerenteFilme.paginacao.paginas}"
>                                         var="paginaFilme"
>                                         rowIndexVar="curPaginaFilme"
>                                         forceId="true" forceIdIndex="true">
> In the first request, the <a href=/> is printed as:
> <a href="#" onclick="return oamSubmitForm('_idJsp8','_idJsp98_0:_idJsp102');" id="_idJsp98_0:_idJsp102">
> But after first time:
> <a href="#" onclick="return oamSubmitForm('_idJsp8','_idJsp8:_idJsp98:0:_idJsp102');" id="_idJsp8:_idJsp98:0:_idJsp102">0</a>
> Clearly, it's a wrong tag invocation _0: It should be :0:, and something is missing.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.