[
https://issues.apache.org/jira/browse/TOBAGO-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592642#action_12592642
]
Bernd Bohmann commented on TOBAGO-634:
--------------------------------------
Can you provide an example, please?
> javascript bug makes <tc:link> does not work inside a <tc:sheet>
> -----------------------------------------------------------------
>
> Key: TOBAGO-634
> URL: https://issues.apache.org/jira/browse/TOBAGO-634
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.12, 1.0.13, 1.0.14, 1.0.15
> Environment: Firefox and MSIE
> Reporter: Diego Vieira Vivo
> Priority: Blocker
>
> I have a search page that has a TC:button search and a <tc:sheet> with
> tc:links inside tc:columns
> When I access the page by the first time, the list of items is empty, so
> tc:sheet shows 0 rows. That's expected
> When I click the search button then a findBean.findAll is performed and the
> list is filled of items and the tc:sheet displays them. Again that's expected
> But when i click on tc:link its call Tobago.submitAction and pass throught it
> and nothing happens.
> after call Tobago.form.submit(),inside Tobago.submitAction , the page is
> reloaded. As i could see, it just like if i clicked in a # link.
> there was envem a call to server it stopped on the browser.
> Note: All the beans are request scoped
> In a second test i initialize the list before the first time the page is
> accessed, doing this the every thing works fine and there was no tc:link
> problem
> So I realize that by the first time, when i filled before open the page, the
> Tobago initialized all the lines of the tc:sheet,
> If i load the list after page is opened it does some kind of partial render
> and does not reinitialize tc:sheet, so when i click in a link and it calls
> Tobago.submitAction and it can't get the action and when tobago.form.submit
> is called it doesn t call the server and fallback to <a href="#" />
> that reload the page.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.