This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Sep 28, 2009 7:50 AM by sanjayc  
Click to view MBScarlos's profile   8 posts since
Sep 23, 2008

Sep 16, 2009 10:08 PM

Template JTPL is not working when panel dialog is included

I have RAD 7.1 and I am using page-encoding ‘UTF-8'.

I am using a template with extension .JTPL and it is working , except when I included an Enhanced component like menu bar or panel dialog.

I had notice the by doing this the program include a tag in the template <hx: script collector >, before the tag <f:form>

This new inclusion tag is giving a warning error in all the pages that this format is being used. This tag cannot be nested within the <h:form> tag. And any functionality stops working in the pages.

What do I need to do in order to resolve this issue?

Second question: How I could get the component list from viewRoot.findComponent ?

Click to view sanjayc's profile   4 posts since
Jul 31, 2008
1. Sep 28, 2009 7:50 AM Up Image in response to: MBScarlos
Re: Template JTPL is not working when panel dialog is included
Is the panel dialog included in the jtpl file? You are probably getting multiple hx script collector tags (one of which is within the h:form tag, which might be causing the problem). If that is the case then you can remove one set of script collector tags manually and try running the code.
Bottom Banner