[ http://jira.andromda.org/browse/JSF-40?page=comments#action_15502 ]
Gabriele Contini commented on JSF-40: ------------------------------------- After your message it started working for me too. Seems i've been catching some ghost... but my friend too tried some time ago and he couldn't get it work (http://galaxy.andromda.org/forum/viewtopic.php?p=26036). I can't find out what caused the wrong behavior. I suppose i was putting the tag in the wrong place and i didn't notice it... You can safely close the bug. If the wrong behavior shows again i'll reopen it. Sorry for the inconvenience. Gabriele > @andromda.presentation.view.table.pageable does not work in JSF2 cartridge > -------------------------------------------------------------------------- > > Key: JSF-40 > URL: http://jira.andromda.org/browse/JSF-40 > Project: JSF cartridge > Type: Bug > Environment: Ubuntu hardy, java 1.6.0_06, Maven 2.0.9 > Reporter: Gabriele Contini > Assignee: Chad Brandon > Attachments: JSF-40-jsf2-pageableTable.patch > > The tagged value @andromda.presentation.view.table.pageable doesn't work in > JSF2 cartridge. > The desired behaviour is described here: > http://team.andromda.org/docs/andromda-cartridges/andromda-jsf-cartridge/[EMAIL > PROTECTED] > Adding the tagged value doesn't modify the generated code. > Seem the problem is in Form.java.vsl at row 17: > #if ($field.pageableTable) > doesn't correctly invoke the boolean getter ("isPageableTable") in the > velocity context. Changing the line in > #if ($field.isPageableTable()) > Makes the existing code work. > This new behavior triggers a little issue on Controller.java.vsl: the > FormPopulationOperationRequired is not set correctly. With the actual code it > becomes "false", while some method needs the form population methods. I > modified the template accordingly. > I attach the small patch with the modifications i described above. I tested > it on a large project, and it's working fine. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php