How to include forms into FTL?

2010-01-17 Thread Bruno Busco
Hi, I need to include a form widget from an ftl file. Is there an instruction equivalent to: ${screens.render(ScreenLocation, ScreenName)} but for forms? Something like ${forms.render(FormLocation, FormName)} Many thanks for any help. -Bruno

Re: Webslinger demo screen in example application

2010-01-17 Thread Adam Heath
Bruno Busco wrote: Hi, I would like to see webslinger in action to better understand what it can be used for. I think this would be useful to all developers. Could a webslinger expert add a demo screen or something in the Example application that shows it? Thank you, Bruno that would

Re: Webslinger demo screen in example application

2010-01-17 Thread Bruno Busco
Thank you Adam. 2010/1/17 Adam Heath doo...@brainfood.com: Bruno Busco wrote: Hi, I would like to see webslinger in action to better understand what it can be used for. I think this would be useful to all developers. Could a webslinger expert add a demo screen or something in the Example

Re: Webslinger demo screen in example application

2010-01-17 Thread Bruno Busco
Please consider that something we have discussed sometime about is to have a Portal widget. This would mean to have a user configurable part in whatever ofbiz screen simply adding a portal widget with a proper portalId in the screen. I do not know anything about webslinger but I guess it should

Re: How to include forms into FTL?

2010-01-17 Thread Bilgin Ibryam
Bruno Busco wrote: Hi, I need to include a form widget from an ftl file. Is there an instruction equivalent to: ${screens.render(ScreenLocation, ScreenName)} but for forms? Something like ${forms.render(FormLocation, FormName)} Many thanks for any help. -Bruno Hi Bruno, Look

[jira] Commented: (OFBIZ-3414) Work Effort Application Is Broken In Trunk

2010-01-17 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12801353#action_12801353 ] Jacques Le Roux commented on OFBIZ-3414: Hi Adrian, In order to better follow the

Re: How to include forms into FTL?

2010-01-17 Thread Bruno Busco
Thank you Bilgin, there is no way to do everything in the FTL? I need to add a groovy? -Bruno 2010/1/17 Bilgin Ibryam bibr...@gmail.com: Bruno Busco wrote: Hi, I need to include a form widget from an ftl file. Is there an instruction equivalent to:     ${screens.render(ScreenLocation,

Re: How to include forms into FTL?

2010-01-17 Thread Bilgin Ibryam
Bruno Busco wrote: Thank you Bilgin, there is no way to do everything in the FTL? I'm not aware of a way to do it in ftl. But may be you can create a generic screen, which has only one form and takes the form name and location from context. Then in your ftl you can set the form name and

Re: How to include forms into FTL?

2010-01-17 Thread Jacopo Cappellato
On Jan 17, 2010, at 1:18 PM, Bruno Busco wrote: Thank you Bilgin, there is no way to do everything in the FTL? I need to add a groovy? Yes, I think that you need to prepare the object in a script; it would be nice to create an ftl transformation to do this directly in the freemarker

Re: How to include forms into FTL?

2010-01-17 Thread Bruno Busco
Sorry for the basic question. But how can I pass a parameter from an FTL to an included screen ? -Bruno 2010/1/17 Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com: On Jan 17, 2010, at 1:18 PM, Bruno Busco wrote: Thank you Bilgin, there is no way to do everything in the FTL? I need to

Re: How to include forms into FTL?

2010-01-17 Thread Bruno Busco
I mean, I have this: FTL file #list portalPagePortlets as portlet ... #if (portlet.editFormName?has_content portlet.editFormLocation?has_content) ${screens.render(component://common/widget/PortalPageScreens.xml, EditPortlet)} /#if ... /#list and

Re: How to include forms into FTL?

2010-01-17 Thread Bilgin Ibryam
Bruno Busco wrote: Bruno, I cannot see an easy way to set the variables in context, but there is still a way to do it. Please see inline I mean, I have this: FTL file #list portalPagePortlets as portlet ... #if (portlet.editFormName?has_content

[jira] Commented: (OFBIZ-3414) Work Effort Application Is Broken In Trunk

2010-01-17 Thread Adrian Crum (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12801515#action_12801515 ] Adrian Crum commented on OFBIZ-3414: Issue # 5: When editing a work effort, after

[jira] Commented: (OFBIZ-3414) Work Effort Application Is Broken In Trunk

2010-01-17 Thread Adrian Crum (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12801516#action_12801516 ] Adrian Crum commented on OFBIZ-3414: Jacques, I put all these issues in one Jira issue

[jira] Commented: (OFBIZ-3414) Work Effort Application Is Broken In Trunk

2010-01-17 Thread Jacques Le Roux (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12801531#action_12801531 ] Jacques Le Roux commented on OFBIZ-3414: Ho, I see! Anyway, it might be helpful for