on 06-19-2006 3:00 PM
Hi !
Does anybody have an example how to use the "Network" UI element ? It seems to be related to JNet somehow but I still could not find out how to implement it in Web Dynpro ...
Best regards
Axel
Hi,
Network UI element is related with Jnet. What you need to start up working with this is you need to create a context structure mentioned below.
Node:Source
Element--- xml -> this should be of type binary.
Place the following code in the init.
ISimpleTypeModifiable mod = wdContext.nodeSource().getNodeInfo().getAttribute("xml").getModifiableSimpleType();
IWDModifiableBinaryType bin = (IWDModifiableBinaryType)mod;
bin.setMimeType(new WDWebResourceType("xml", "application/octet-stream", false));
ISourceElement element =wdContext.nodeSource().createSourceElement();
wdContext.nodeSource().addElement(element);
try
{
fileName = WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart(), "jnettest.xml");
element.setXml(readFile(fileName));
}
catch (WDAliasResolvingException e)
{}
You have to place the Jnet test.xml under the mimes folder of your application.
Place the network element in the view and in the data source specify the context attribute source.xml
if your xml file complies with the jnet schema your application will render it.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can find the documentation for Network here: http://help.sap.com/saphelp_nw2004s/helpdata/en/f5/248841a79f1609e10000000a155106/frameset.htm
Regards, Heidi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Axel,
Did you check this document?
Sadly, this is the only resource ;(
Valery Silaev
EPAM Systems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If there is no sufficient documentation, please open an OSS message on component BC-WD-JAV-RUN.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.