Binding a component to a property and GUI update

I have a problem regarding the following code:
<h:selectBooleanCheckbox
id="chackBox"
rendered="false"
binding="#{BackingBean.newsletter}" />
<h:outputLabel for="newsletterLabel"
rendered="false"
binding="#{BackingBean.newsletterText}" >
<h:outputText id="newsletterLabel" value="Do you want to subscribe to our newsletter ?" />
</h:outputLabel>
before this page is displayed the first time the isRendered value of newsletterText and newsletter is set to true (newsletterText.isRendered(true)) by BackingBeans.getData() method.
But the components are not displayed.
If the same method (BackingBeans.getData()) is called by a link on the page the components are displayed then.
Seams that the isRendered() method only works correct if the page has already displayed at least once.
Can anyboby explain that behaviour ?

I have similar issue. The binding didn't rebuinding for select drop down, but it is rebinding for the hyper link.
The code is like:
<h:selectOneMenu value="#{userBean.preferedLanguage}" >
<f:selectItems value="#{languageBean.languageDropdownList}"/>
     </h:selectOneMenu>
<cc:tabSet id="tabset1" binding="#{tabManagedBean.tabs}" />
After selecting language, the getTabs() is not called from backing bean. any suggestion?

Similar Messages

  • How to create a sling:OsgiConfig property and access it in component Jsp ?

    How to create a sling:OsgiConfig property and access it in component Jsp ?
    I have created a OSGI config property under apps/<Project>/config and it is reflected on OSGI console but I am not able to access ie in component jsp.
    Any pointers are appreciated

    Use this code in the scriplet in your required components jsp:
    <%@page import="org.osgi.service.cm.ConfigurationAdmin"%>
    <%@page import="org.osgi.service.cm.Configuration"%>
    <%
    Configuration conf = sling.getService(org.osgi.service.cm.ConfigurationAdmin.class).getConfiguration("Name of the config");
    String myProp = (String) conf.getProperties().get("property key");
    %>

  • Error when I put a component in the stage and I change any property

    Hello
    I'm using Flash CS4, as3 and adobe air file. I have an application with 3 scenes, first scene to login, second to set up, and third to see an video.
    The problem is that, when I put a component in the second or third scene, if a change any property in the component inspector, any property it gives me error. So put the component and I change property by code in as3.
    But I'm doing things with FLVPlayback component, and now before enter the scene gives me error, the solution will be to get the original properties, but I don't remember, I could install other time Flash CS4, but I can do that for any componet, better know the solution.
    For example, I have an as file who is the class named p.e. MyMainclass, and in the scene3, I put FLVPlayback, who default values it's the last I used (I don't remember default after instalation), if any code in as3, it gives me this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at com.program::MyMainClass/__setProp___id2__scene3_myvideo1_1()[com.program.MyMainClass::__ setProp___id2__scene3_myvideo1_1:7]
    I remove this component, I put another one I never used, it doesn't give me error, I change any property in the object inspector, p.e. color, it gives me error, I change to original property again, and then NO ERROR.
    Thanks in advance

    I would reccomend that you not use scenes for that purpose, not exactly sure why  but scenes are unreliable. Try putting all of your content in one scene, one timeline and just add a few stop() 's at the end of each "scene", then in your code remove scene2 and scene3 three references, and you'll possibly need to change frame anchors/targets also if you have them.
    The error indctates that you have called an object that does not exist at the time the code is run, check where you placed your code, should be frame one, scene1, and also check if you have objects entering the stage down the timeline, that do not enter in frame 1, possibly the movieClip? if so add another keyframe on your actions layer on the same frame as the object and enter the call function for it there.

  • Why i have to specify the parameters (property and name) in both tags?

    Recently i learned how to populate a html:select with data from a DB table with a int value and a String value (value and label of an option). For that i create a business object that represent one pair value&label (i called categoryBO) and another business object that contains a list of the business objects categoryBO. So in my JSP i have the next code:
    <html:select name="lista" property="listaPropiedades">
    <html:optionsCollection name="lista" property="listaPropiedades" value="varValor" label="varLabel" />
    </html:select> Well i understand the next: name is the name of the business object that contains the list with the objects that represents the options in the select tag; property is the name of the list object, in the business object i need to have the getters and setters for that list; then value is the name of the variable that contains the data that will be the value of each option and label is the name of the variable that contains the data that will be the value of each label.
    But i have the next questions:
    1. Why i have to establish the parameters property and name for bot html:select and html:optionsCollection? Why not only in html:select or only html:optionsCollection?
    2. In the ActionForm for my JSP i don�t know what data type have to use to declare the variable that's linked with the option or with the select. I'm using Object for now.
    3. Why the only way to populate the html:optionsCollection in the Action is passing the object in the request object as an atribute in the next way:
    request.setAttribute("lista", objectThatContainsList);instead
    ((ActionForm)form).setListaPropiedades(objectThatContainsList);why's that? I have the same question when i'm populatina a normal html table using a logic:iterate tag or using a display:table tag from displaytag library.

    Ok, you have one big misconception here - you're using the same name/property for both the select component and its contents.
    The html:select should refer you to ONE selected value (in this case an int). It should tie to a field on your action form.
    The html:optionsCollection should refer to a list of beans used to populate this select component.
    <html:select property="selectedItem">
    <html:optionsCollection name="myList" property="listOfProperties" value="varValor" label="varLabel" />
    </html:select>
    1. Why i have to establish the parameters property and name for bot html:select and html:optionsCollection? Why not only in html:select or only html:optionsCollection?Because they actually refer to two different things, and should be two different values.
    html:options gets the list of possible values
    html:select stores the "selected" option. (consider what you would have if you just used a standard html:input here, and typed the id directly in - THATS the property to bind to)
    2. In the ActionForm for my JSP i don�t know what data type have to use to declare the variable that's linked with the option or with the select. I'm using Object for now.You do now - because it is declared/mapped seperately
    3. Why the only way to populate the html:optionsCollection in the Action is passing the object in the request object as an atribute in the next way:Its not.
    The way you mentioned is also valid. If both the "selectedItem" and "listOfItems" are properties on your action form, you can leave out the "name" attribute, and they will be found there.
    However if you are dealing with request scoped beans, you will have to populate the list on each access of the page - you will need a "load" action to poupulate the bean with the items for the dropdown, and make sure that it is always populated when you return to it (eg on an error condition).
    That is why setting it as an attribute is sometimes preferable.
    Cheers,
    evnafets

  • How can I bind a component to ADF?

    Hi all!
    I'm really new to OOP, Java, and JDeveloper. I managed to create a small ADF Swing application successfully through the wizards, help files, and examples.
    I want to incorporate the components of SwingX into it, specifically having auto-completion in my combobox.
    I did the following:
    import org.jdesktop.swingx.autocomplete.Configurator;
    JComboBox mycomboBox = [...];
    Configurator.enableAutoCompletion(mycomboBox);
    but when I run the form, mycombobox just displays "oracle.jbo.server.ViewRowImpl@2" and it doesn't auto-complete.
    Searching the forums, Erik said "If you are trying to bind the component using ADF, then you will have to create your own custom binding class. Depending on the component's needs, you might start with adapting the JUTextFieldBinding to work with your component.".
    Can someone point me to a "HOW-TO" guide for the above, esp. code samples etc...
    Thanks.

    Unfortunately, the solution is very complicated due to the way the JUComboboxBinding is implemented. It doesn't require a custom ADF binding class, however.
    I'll see if we are able to provide some of the pieces needed to duplicate what we have done to use SwingX auto-completion.
    Erik
    P.S. Let me know if you need to use a SwingX JXTreeTable. We do have a custom binding class for it that we should be able to share.

  • Bean property and public field found with the same name: getid

    Hi all,
    I have a ejb jar file contains some local entity beans and one session bean
    , the session bean has some functions suck as findXXXByQuery() , InsertXXX()
    , and I have created some model class for the entity bean , and use it as
    the parameter or return type of the session bean , then I want to transfer
    the session bean as a webservice , using ant automaticly . All this function
    successfully in weblogic 6.1 , but when I want to run ant command in
    weblogic 7.0 , an error occured :
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property
    and public field found with the same name: getid
    Yes , I have a getid field in table , a getid in entity bean , and a getid
    property in model class , but what different does it make ? Would you mind
    to test my jar file ? I send all files as attachments .
    Any advice will be appreciate .
    lcl
    [build.xml]
    [work.jar]

    In article <[email protected]>, lcl <[email protected]> wrote:
    -=-=-=-=-=-
    Hi all,
    I have a ejb jar file contains some local entity beans and one session bean
    , the session bean has some functions suck as findXXXByQuery() , InsertXXX()
    , and I have created some model class for the entity bean , and use it as
    the parameter or return type of the session bean , then I want to transfer
    the session bean as a webservice , using ant automaticly . All this function
    successfully in weblogic 6.1 , but when I want to run ant command in
    weblogic 7.0 , an error occured :
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property
    and public field found with the same name: getid
    Yes , I have a getid field in table , a getid in entity bean , and a getid
    property in model class , but what different does it make ? Would you mind
    to test my jar file ? I send all files as attachments .
    Any advice will be appreciate .
    lcl
    -=-=-=-=-=-For better or worse the JAX-RPC spec requires this behavior. From
    section 5.4.1:
    "There is no standard mapping for the case when a JavaBean property
    has the same name as a public field. A Java to XML mapping
    implementation is required to flag this case as an error."
    Since you are not the first person to run into this restriction I'm
    beginning to think we need an option to bypass it.
    --Scott

  • SRM and GUI 7.10

    Hello,
    We have upgraded our GUI to 7.10 (EP 6) with no problem apart from one thing. When we try and access the SRM system through the portal, on a transaction iview (SMEN) it takes ages to connect but eventually succeeds. There is no problem accessing ECC via  the same method so obviously some setting on the iview or the system set up needs adjusting on the SRM side. Any ideas please ?
    Thanks,
       Phil.

    Hi Phil ,
    Check the same transaction from SRM system and see how much time it takes to load . If it takes time , then definetly there is an issue with the server settings . At your end you can do the basic checks like - see if ITS settings are configured properly and you can switch between html/windows for the SAP GUI type property and see the difference in behaviour . You may also test for other t-codes . To me , this looks like a server side issue and not a portal one .
    Regards
    Mayank

  • Swing component's opaque property

    Recenetly I read an article about "Painting in AWT and Swing" and feel confused about some points in the article.
    http://java.sun.com/products/jfc/tsc/articles/painting/index.html
    The article mentioned several Swing Painting Guidelines, I have question about the following two paragraphs:
    6. If a Swing component's opaque property is set to true, then it is agreeing to paint all of the bits contained within its bounds (this includes clearing it's own background within paintComponent()), otherwise screen garbage may result.
    7. Setting either the opaque or optimizedDrawingEnabled properties to false on a component will cause more processing on each paint operation, therefore we recommend judicious use of both transparency and overlapping components.
    For the No.7, it's said setting the opaque to false will cause more process on each paint operation, I think it should changed to ture, since if set opaque property to true, it will paint all the bits contained within bounds as described in No.6.
    So is this an error? What on earth is efficient for the opaque property value?
    Thanks!

    For the No.7, it's said setting the opaque to false will cause more process on each paint operationWhen you create an application you do something like this:
    create a frame
    add a panel to the frame
    add a component to the panel. (lets say a JButton)
    When you click on a button you need to change the state of the button to look 'pressed'. So you need to repaint area on the screen where the button is painted.
    If the button is opaque(true) then you simply paint the button in its new state because the button is responsible for painting its background and any custom painting.
    if the button is opaque(false) then you don't paint the background which means you need to search for the parent of the button (in our example the panel). Once you find the parent you need to paint that area of the panel that the button overlays and then you do the custom painting of the button.
    So either way you have to repaint the same area. Hopefully it makes sense that painting a single component would be more efficient than painting parts of two separate components and determining which two components to repaint and what area to repaint of each component.

  • Creating a new cell factory, how to bind to my object's property

    As near as I can tell, the javafx binding using observable values, alot like jgoodies and its not like SWT databinding or WPF binding.
    I was creating a cell factory for a TreeView. Just using a label to display the contents and calling toString, alot like the way it works now. However, I could not figure out to create a binding that would bind to a property on my domain object. Is there a way to specify the binding to the Label's text property so that whatever object that the cell's item's value has I can bind to a property that I specify on it e.g. the "name" property. But I could not see how to do that. Also, the only way I could figure out how to update the Label's value was from updateItem. I thought maybe I could even setup the binding in updateItem so that when the TreeItem's value changed at least it would automatically update the label binding, but the API did not seem to support that.
    What's the right coding pattern to use when using straight Java coding?
    I know in jgoodies I could do this using the PresentationModel approach or master-detail SWT or WPF with just specifying the property on the item's property that I want in WPF.
    public static class MyTreeCell extends TreeCell<Object> {
              Label label;
              public MyTreeCell() {
                   label = new Label();
                   setNode(label);
              @Override
              public void updateItem(TreeItem<Object> arg0, boolean arg1) {
                   if (arg0 != null && arg0.getValue() != null) {
                        System.out.println("New value: " + arg0.getValue());
                        label.setText(arg0.getValue().toString());
                   } else {
                        System.out.println("New value is null and this println is called alot, why is that?");
                   super.updateItem(arg0, arg1);
         }

    Well the presentation model thing worked fine and I have some machinery for the cell factory/cell item to obtain a tree cell based on the domain object type (a template/factory is placed into the properties in the scenegraph hierarchy). But its not smooth yet and the pattern does not quite translate well into javafx. Because the cell factory produces cells that could be used for a variety of domain object types, all the logic gets pushed down to the treecell subclass which makes it messy. Maybe this is where CSS selectors need to come in, you specify the class of a tree cell for a specific domain object type and you can set that at the root of the application so it cascades. I'll see if this approach works.
    Here's the code for the javafx version of jgoodies' presentation model, less the corner cases. This allows you to bind to a property and change the bean underneath that the property accesses. I'm not convinced that having properties has observable values directly on the objects is the right model for javafx because of the coupling to the actual object the property represents. Sometimes, you need to represent the property concept separate from the actual object instance. Maybe this already exists in the library.
          * An object binding object that creates object bindings based on property
          * names specified as strings. This is a convenience class. Generally, the
          * return values from <code>getProperty()</code> should be used for binding
          * not the factory itself. The object should be a domain object bean with
          * bean methods to get or set the value using java bean naming conventions.
          * When the bean itself changes, the properties fire to indicate that their
          * values may have changed and the observing object should update itself.
          * <p>
          * This only handles reading bean properties. Need to add set() logic.
          * <p>
          * TODO: Make this work better. Many corner cases to cover. Include PCL.
         public static class BeanBindingFactory<T> extends ObjectBinding<T> {
              T bean;
              Map<String, CaptiveObjectProperty> properties = new HashMap<String, CaptiveObjectProperty>();
              public Property getProperty(String property) {
                   if (property == null || property.isEmpty())
                        throw new IllegalArgumentException("Property cannot be null");
                   if (properties.containsKey(property))
                        return properties.get(property);
                   CaptiveObjectProperty p = new CaptiveObjectProperty(this, property);
                   properties.put(property, p);
                   return p;
              public void setBean(T bean) {
                   this.bean = bean;
                   for (CaptiveObjectProperty p : properties.values()) {
                        p.invalidate();
                   fireValueChangedEvent();
              public T getBean() {
                   return bean;
              @Override
              protected T computeValue() {
                   return bean;
               * Lazily get the method representing the property.
               * @author Mr. Java
               * @param <T>
              protected static class CaptiveObjectProperty<T> extends
                        ObjectPropertyBase<T> {
                   String property;
                   Method m;
                   BeanBindingFactory factory;
                   public CaptiveObjectProperty(BeanBindingFactory factory,
                             String property) {
                        this.property = property;
                        this.factory = factory;
                   @Override
                   public Object getBean() {
                        if (factory == null || factory.getBean() == null)
                             return null;
                        return factory.getBean();
                   @Override
                   public T getValue() {
                        if (m == null) {
                             m = getMethod();
                        if (m == null)
                             return null;
                        try {
                             Object rval = m.invoke(factory.getBean());
                             return (T) rval;
                        } catch (Exception e) {
                             e.printStackTrace();
                        return null;
                   @Override
                   public String getName() {
                        return property;
                    * Invalidate the method. Perhaps the bean changed to another object
                    * and we should find the method on the new object.
                   public void invalidate() {
                        m = null;
                        fireValueChangedEvent();
                   protected Method getMethod() {
                        if (factory == null || factory.getBean() == null)
                             return null;
                        String methodName = "get"
                                  + Character.toUpperCase(getName().charAt(0));
                        if (getName().length() > 1)
                             methodName += getName().substring(1);
                        try {
                             Method mtmp = factory.getBean().getClass()
                                       .getMethod(methodName, new Class<?>[0]);
                             return mtmp;
                        } catch (Exception e) {
                             e.printStackTrace();
                        return null;
         }

  • Get current data binding from component?

    Hi experts,
    I have a couple of Tiles which I've bound via aggregation binding to a JSON Model.
    Is there any way I can get the current binding data of one of these tiles?
    I've tried the method getElementBinding() but I cannot get it to work. Only returns null.
    Let me know if you need more information.
    Thank you!
    Br
    Max

    The getBindingContext() Method will give you the specific Path to the Data for your Tile in your Model.
    You can now call getProperty() to receive an Object which contains all the bound Properties for this Object or you use getProperty("propertyname") to receive a specific property and not all of them for example to get the picture url
    var pictureUrl = tile.getBindingContext().getProperty("PictureURL");
    If you want the Object containing all the Properties just use
    var properties = tile.getBindingContext().getProperty();
    //you can then acces the properties by accesing the objects members
    var pictureUrl = properties.PictureURL;
    In the getProperty() function you have to specify the Property as a String with the Name given in your Model.
    hope this will do the trick for you
    Regards
    Florian

  • PCUI and GUI?

    Hi Guru’s
    What’s the Difference between PCUI and GUI?
    In which scenario we are using PCUI
    Regards,
    Mahesh Kumar
    [email protected]

    Hi Mahesh,
    The PCUI is nothing but peoplecentric user interface the latest UI which SAP for CRM application where in the look and feel and navigation are much better than the old GUI interface.
    PCUI  will give the flexibility to work on the various CRM Transactions which is linked to EP Enterprise portal  ( netweaver component)
    EP is nothing but the common webpage to access various SAP applications useing the single sing on functionality you can access to different sap systems like SAPR/3 ,CRM,BI,APO systems  Etc
    You can use and see  the   PCUI application view can be accessed useing tcode SE 80 from CRM 4.0,5.0 and can see the floor plan and can select the view and open any pcui view to work on .
    Now SAP has recently launched the SAP CRM UI 2007 which is Web based BSP application which is build on  MVC architecture concept with new look and feel with flexibility to use  
    please do reward points if helpful
    Regards
    Dinaker vikas K

  • How do I bind to directory server with SSL and authentication?

    I'm running Lion Server 10.7.3, Open Directory master. In Open Directory/Settings/LDAP, I've checked the box to Enable SSL and selected a (self-signed) certificate. In Policies/Binding, I've checked the box to Enable Authenticated Directory Binding.
    Testing with a client computer on which Snow Leopard has been freshly installed and fully updated, I went to System Prefs/Accounts to bind to the new directory server. The good news is, the binding was successful, and when the client initiates an AFP connection with the server, it uses Kerberos, creating a ticket as expected. (Which doesn't work with Lion clients, alas, but that's a seperate matter.)
    Here are the problems:
    1) It looks like the binding did not use SSL. By which I mean that when I opened Directory Utility and examined the LDAPv3 entry, the SSL checkbox was not checked. (If I then check the box, everything looks fine until I restart the client, after which I have a red dot. So I'm guessing that checking the box does nothing until after restart, and that it breaks the binding.)
    2) I was never prompted to authenticate for the directory binding.
    So I get that literally I'm *enabling* SSL and Authenticated Directory Binding, but it seems like the defaults are to bind without SSL or authentication, and there's no obvious-to-me way to force the binding to use those things. How do I do that?
    What I'd really like to do is *require* SSL and Authenticated Directory Binding. I want this because my belief (correct me if I'm wrong) is that if authentication is required to bind to the server, no one will be able to bind to my server without my permission, and that SSL offers a more secure connection to my server than not-SSL. How do I require these things, or do I not really want to?
    Thank you.

    You cannot connect to databases via Muse at the moment. Please refer: http://forums.adobe.com/message/5090145#5090145
    Cheers,
    Vikas

  • What is the difference between component(Y, Pb, Pr) and component(R,G,B)?

    [I previously posted this question in another thread as hadn't realised how to post new question]
    Q. What is the difference between component (Y, Pb, Pr) and component (R,G,B) ?
    I’d previously thought I was reasonably savvy on all things HD, but when I turned my thoughts to looking into getting a mac mini to run part of my home cinema I realise I have some confusions around the above.
    Here’s what I think I know:-
    The mac mini has a DVI output of the type which can output both digital and analogue, and so via physical adapters it could be used to connect to displays that take HDMI or VGA style RGB leads.
    I know on the market I can get a DVI to Component cable lead which would therefore lead me to assume it could drive my HD plasma with component input (Y,Pb,Pr), as I currently drive the HD TV via component cable with a SKY HD box (720p and 1080i), an xbox 360 (720p) and a progressive scan DVD player (480p), all through a Denon AV-amp.
    The problem is, I’ve heard somewhere that the DVI to component is R,G,B only and that it is not Y, Pb, Pr which is making me wonder it a) this will work and b) if I really understand component video afterall.
    I notice the Apple TV outputs Y,Pb,Pr but colours them red, green and blue, so am even more confused….
    Hopefully someone can help educate me on this !

    Thanks for this.
    My Plasma is a Panasonic 42" Viera March 2005 model. No HDMI, No VGA.
    It can process signals up to 720p and 1080i via the component (an interestingly it makes a huge difference over SD even though the native panel is 480..!?!)
    Am I right in thinking that the iPod component cable will also be R,G,B and therefor might be a suitable trial? Ie. if the TV accepts the input from the iPod then it should work for the mini?
    Only other thing of note is I'm doing all this via my Denon 1707 AV amp which does have the facility of upscaling, but I imagine it needs to stick to one format?
    Thanks.

  • I am trying to set up my apple tv on a sony KDL - 40xbr4. The remote is a sony RM-V302. I plugged it into the HDMI IN on the side of the TV but cannot find out how to get to that input. I am at a winter rental property and brought my Apple TV with me.

    I am trying to set up my apple tv on a sony KDL - 40xbr4. The remote is a sony RM-V302. I plugged it into the HDMI IN on the side of the TV but cannot find out how to get to that input. I am at a winter rental property and brought my Apple TV with me. I did check internet for solutions. The instructions I found said to use a "home button" on the remote.  There isn't one. I sure would appreciate help if someone knows a solution.  My first post - hope I did this right.

    if its anything like my Sony, theres a button top left corner that upon each press i get an audible bleep and the AV inputs come up on screen, i then cycle down to whichever input i wish to select!
    in case your remote is different, the button on my remote has a square with a slightly smaller square just overlapping the first square.
    hope that helps?
    rgds Lee.

  • How to add a new user property and then retrieve it  from a portlet

    Trying to add a user property and then retrieve it form a remote web service?
    Add a user property and map it
    1. Create a property2. Go to Global Object Property Map3. Go to users, edit and select the new property.4. Go to User Profile Manager5. For portlets, go to the "Position Information" section and add it. (for the purpose of this test, add it to the profile section as well)6. Under the "User Profile Manager" go to the "User Information - Property Map" step in the wizard and 7. Go to the "User Information Attribute" and add the property.8. Click on the pencil to the right of it and give it a name (The name is what's going to appear in the list of user information under the portlet web service)9. Click finish10. Now create/edit the web service for the portlet from which you want to displays user properties. 11. Under the "User Information", click "add existing user Info" and select the property you want.12. From the portal toolbar, edit the user profile under "My Account" and then "Edit user Profile" and give the new property a value. 13. Test code below: ================================in C# IPortletContext context = PortletContextFactory.CreatePortletContext(Request,Response);IPortletRequest portletRequest = context.GetRequest();System.Collections.IDictionary UserInfoVariables = portletRequest.GetSettingCollection(SettingType.UserInfo);System.Collections.IDictionaryEnumerator UserInfo = UserInfoVariables.GetEnumerator();
    while(UserInfo.MoveNext()){   //to display in a listbox   ListBox1.ClearSelection();   ListBox1.Items.Add(UserInfo.Key.ToString() + ": " + UserInfo.Value);}===========================in ASP: <%Dim objSettings, dUserInfo, sEmpIDSet objSettings = Server.CreateObject("GSServices.Settings") ' get the user info settings, get employee ID from user infoSet dUserInfo = objSettings.GetUserInfoSettings
    for each item in dUserInfo response.Write "<BR>" & item & ": " & dUserInfo(item)next%>

    IPortletContext portletContext = PortletContextFactory.createPortletContext(req, res);
    IPortletRequest portletReq = portletContext.getRequest();
    String value = portletReq.getSettingValue(SettingType.Portlet,settingName);

Maybe you are looking for