-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
is there any way to use a defined component in a page file more than one
time in the html file? I think it's bad design if i must create the same
component multiple times just because i want to use a condition
Example
- -------
page file:
[...]
<component id="insertX" type="Insert">
<binding name="value" expression="readValue"/>
</component>
[...]
html file:
[...]
<span jwcid="@Conditional" condition="ognl:showValue">
...
<span="insertX"/>
...
</span>
<span jwcid="@Conditional" condition="ognl:!showValue">
...
<span="insertX"/>
...
</span>
[...]
This occurs in an Exception:
Template for component pagefile contains multiple references to embedded
component insertX.
Would be nice if someone has an idea not to create the insert component
twice.
Best Regards,
Mathias
- --
Mathias Herkt (Diplomand) | SQS Software Quality Systems AG
| Stollwerckstrasse 11
Phone:+49 2203/9154-7110 | D-51149 Cologne, GERMANY
Fax:+49 2203/9154-15 | http://www.sqs.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFCrXL/8hWAS3IShqURAnUmAJ0eNermUp4pFwDXefszAFbNBiRP/ACglUjg
7G00O7lQhj/TnoRIrFLKPSo=
=rLLN
-----END PGP SIGNATURE-----