[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
t:rowinclude with ht-controls  XML
Forum Index -> Development
Author Message
moebus

Power User

Joined: 21/11/2007 12:49:18
Messages: 93
Offline

using ht controls,
we are including one jsp page into another (as is typical for captain casa layouts), using the t:rowinclude tag.
this works well in principle, however it looks like all tags not related to jsf are silently discarded. In case of normal (captain casa) controls, this looks appropriate, since the client does not understand arbitrary html content.

However in case of ht, it is easy to insert other html tokens like specially formatted divs. Such content is rendered without problem when the page is invoked directly. So it should also render in case of captain's rowinclude.

Found by experiment (avoiding xml parser errors), we can live with the assumptions that the including apparently discards everything outside of the h:form tags, and also assumes that there is exactly one tag below the h:form (namely the f:subview); and our insertions have to be well-formed xml.

regards
Manfred

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

Hi,

you are perfectly right.
Only real JSF components survive the ROWINCLUDE. Changing this is quite an effort (especially because it means some changes in the heart of the tag processing...). I'll contact you directly...

Regards, Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team