 |
|
|
 |
| Novell Portal Services Overview and Gadget Development |
 |
| April 2003 |
 |
| DeveloperNet University Course |
 |
 |
| Reader Rating |
 |
|
 |
from ratings |
 |
|
 |
|
|
Solution-main.xsl
The changes required are as follows:
- Code fill:
<td valign="top">The Current DN is: <!-- TODO(1) relevant XSL selection here --> </td>
Solution:
<td valign="top">The Current DN is: <xsl:value-of select="@CURRENT_DN"/> </td>
- Code fill:
<!-- TODO(2) loop around each LDAP_OBJECT -->
Solution:
<xsl:for-each select="LDAP_OBJECT">
- Code fill:
<xsl:attribute name="href">portalservice?GI_ID=<xsl:value-of select="../../@id"/>&CURRENT_DN=<!-- TODO(3) select CURRENT_DN -- >&SELECTED_CN=<!-- TODO(4) select CURRENT_CN --></xsl:attribute>
Solution:
<xsl:attribute name="href">portalservice?GI_ID=<xsl:value-of select="../../@id"/>&CURRENT_DN=<xsl:value-of select="../@CURRENT_DN"/>&SELECTED_CN=<xsl:value-of select="."/></xsl:attribute>
- Code fill:
<xsl:attribute name="href">portalservice?GI_ID=<!-- TODO(5) select gadget id -- >&NPState=<!-- TODO(6) set the NPState to the right value -- >t&CURRENT_DN=<xsl:value-of select="../@CURRENT_DN"/>&SELECTED_CN=<xsl:valueof select="."/></xsl:attribute>
Solution:
<xsl:attribute name="href">portalservice?GI_ID=<xsl:value-of select="../../@id"/>&NPState=AttrList&CURRENT_DN=<xsl:value-of select="../@CURRENT_DN"/>&SELECTED_CN=<xsl:value-of select="."/></xsl:attribute>
|