on 12-21-2005 6:12 PM
Hi all
I have a System "mySystem" and alias as "myAlias".
How do i assign my Alias (myAlais) to an iView(salesOrder) ???
Thanks
Kay
if this is a custom iview, you can create a propertie in the "portalapp.xml"
<components>
<component name="myIview">
<component-config>
...
</component-config>
<component-profile>
<property name="systemAlias" value="myAlias"/>
...
then in the code for the IView, you can ask for the alias
systemAlias = aRequest.getComponentContext()
.getProfile().getProperty("systemAlias");
and use it to get a connection using JCA
This allows to set a default alias, and later to change it in the properties of the iview.
regards
Guillaume PATRY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If itz a transactional type of Iview, then while building the Iview, you get an option to choose the system(this is the alias).
Or From the properties of Iview, you can change the System Alias!
Let me know, if u need more.
<b>Plz don forget points, if it helped</b>
Regards,
P.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.