Author |
Message |
22/05/2012 13:33:37
|
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
|
|
|
22/05/2012 18:18:06
|
CaptainCasa
Power User
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 |
|
|
|