Hi Oliver,

you might try some generic Java function encapsulated into the param tag. 
Please find some snippets below:

           <param>
           <expression>
                   "0x" + Integer.toHexString( attrInt(AttributeID.MTYPE_ID) )
           </expression>
          </param>

          <param>
            <expression>
              ((String)attr(AttributeID.MODEL_NAME)).replaceAll( " 
","").replaceAll( ":","-").replaceAll( "/","-").replaceAll("[*]", "")
            </expression>
          </param>

would probably result in something like:
((String)attr(AttributeID.NETWORK_ADDRESS)).getHostName()

Please let us know the result (-;

Mit freundlichen Gruessen - Yours sincerely

Raphael Franck
Consultant 
Global Infrastructure Operations

Computacenter AG & Co oHG
Enabling Users

Europaring 34-40, 50170 Kerpen, Germany
E-Mail: [email protected]
WWW: www.computacenter.de

-----Ursprüngliche Nachricht-----
Von: DB.SYSTEMS.ITR123-NetzMgmt 
[mailto:[email protected]] 
Gesendet: Mittwoch, 11. März 2015 16:04
An: spectrum
Betreff: [spectrum] DNS lookup for an ip in oneclick context menu

Hi list,

I want to add a web launch shortcut in OneClick based on an IP from SSdb, 
simple ;), but for a smooth ssl-working, I have to úse the full qualified 
domain name.
Does anyone know a render or anything else with domain resolution to use it 
directly in context menus to lookup ip and launch the browser with 
https://server.example.com/?

Regards
Oliver Paetzold
--
Oliver Paetzold
Operational Steering, Administration & Maintenance (I.LVW 25)

DB Systel GmbH
Kleyerstraße 27, 60326 Frankfurt am Main, A.01.08
Tel. +49 69 / 265-17397, intern 955-17397
Mobil: +49 160 / 97408742
_________________________________________________________________________________
Das Reiseportal im Internet >> http://www.bahn.de

--- Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. ---

Sitz der Gesellschaft: Frankfurt am Main
Registergericht: Frankfurt am Main, HRB 78707
USt-IdNr.: DE252204770
Geschäftsführer: Detlef Exner (Vorsitzender), Christa Koenen, Dr. Klaus Rüffler
Vorsitzender des Aufsichtsrates: Dr. Rolf Kranüchel

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to