Can you specify a Collection as a inputHidden value?

I am trying to set an inputHidden field to a List in a JSF Facelets page. However the list is always set to null in the backing bean after the page is submitted.
Code:
     <h:inputHidden value="#{controllerObj['ttyList']}" />
     <h:inputHidden value="#{controllerObj['emailList']}" />
</a4j:form>
Can a inputHidden field be used to hold a Collection such as an ArrayList?
Thanks in Advance?

Glad you fixed it.
Though, for future reference I would add some more background information:
The HTML response isn't anything else than one big String (a big character array). Also the HTTP request parameters can't contain anything else than Strings. Before writing to the response stream, all non-String typed objects are forced to their string representation using Object#toString().
JSF is smart enough to convert (coerce) between String and Number/Boolean itself, but for other object types, such as List, you'll have to implement and specify a javax.faces.convert.Converter. In the getAsObject() method you write logic to convert from String to List (or any other object type). In the getAsString() method you write logic to convert from List (or any other object type) to String. Finally define this converter in the faces-config.xml. You can use the <converter-for-class> entry to do it 'transparently' in all JSF pages, you can also use <converter-id> entry to define the converter in the associated UIInput component yourself using the converterId attribute or the f:converter facet.

Similar Messages

  • Can you specify third party JMS Provider in Weblogic appserver configuration

              Can you specify third party JMS Provider in Weblogic appserver configuration ???
              Only place i know of is that you can specify third party JMS Provider in MDB configuraion.
              DOES Weblogic has some kind of configuration files where you specify JMS Provider
              info (Like you can do that in JBOSS)
              

    You can also specify a third-party JMS provider using the Messaging Bridge,
              which transfers messages from one queue or topic to another.
              And in general, inside WLS you can use any JMS provider you wish anywhere
              that you can also use WLS JMS. In an upcoming release, there will also be
              some support to make foreign JMS providers a little easier to configure.
              But why would you want to use another JMS provider anyway? ;-)
              greg
              "Neeru Munjal" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Can you specify third party JMS Provider in Weblogic appserver
              configuration ???
              >
              > Only place i know of is that you can specify third party JMS Provider in
              MDB configuraion.
              > DOES Weblogic has some kind of configuration files where you specify JMS
              Provider
              > info (Like you can do that in JBOSS)
              

  • Can you specify multiple remote (live) servers?

    I have designated one server for testing but we have multiple live servers for load balancing.
    How can I specify a total of 3 remote servers or more?

    Hi,
    You can add multiple remote server from the site setup dialog. This dialog can be accessed through the menu File > Manage sites. This will launch manage sites dialog. Choose your site and in the server category, add as many remote servers you want to. But you can choose only one server at a time.
    Thanks,
    Srivatsa

  • Can you specify the allowable values for vertical range and offset for the NI 5112 PCI Digitizer?

    The NI 5112 manual indicates that the vertical range can be set from +/- 25mV to +/-25V in 10% steps. Can you explain exactly what this means? (For example, could you give me a series of allowable values.)
    Also, what are the allowable values for voltage offset?
    The reason for my question is: I am specifying the vertical configuration using the niScope_ConfigureVertical() function. The observed raw (8 bit) sampling does not appear to change at all for small changes in voltage range and offset. I would like to know where the hardware breakpoints are, so that I can apply correct scaling from bits to voltage.
    In addition, I have tried to use the niScope_CheckAt
    tributeViReal64() function to "check" a value before applying it to NISCOPE_ATTR_VERTICAL_RANGE or NISCOPE_ATTR_VERTICAL_OFFSET, but it fails in the linking step in Microsoft Dev. Studio. (niScope.lib & niscope_32.lib do not seem to contain any of the CheckAttribute functions that are listed in the NI-Scope function reference.)
    Thank you for your response.

    There is a nice reference at:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/38f18d418e2433ed8625690e006bbe94?OpenDocument
    which explains that allowable voltage ranges can be expressed by the equation:
    next_range_value = range_value * 1.1 starting at +/- 25 mV.
    When a range is specified that does not match this series, the device driver rounds UP to the next value.

  • Can you specify the full path to jar in archive_jini

    can you put the full path to the client.jar file in the formsweb.cfg archive_jini parameter? like this:
    archive_jini=d:\something\somethingelse\client.jar
    or does it have to exist under %ORACLE_HOME%\forms\java ?

    None of the two. The path path is a relative web-url, for the content of archive_jni will be placed in the generated html which is "executed" by the users browser. So you either place your jar in $ORACLE_HOME/forms/java and put it without any path in the archive_jni-tag, or (more appreciated by myself), create a virtual directory (either by alias or by orion-web.xml) in your oas and place the jar in the according phycial path.

  • Can you store an email address as the value of a people-type field OOTB?

    I've got a people-picker type field named Staff. Can you populate that field with an email address OOTB w/o using code?

    Hello,
    I am clear with your description but if you search user by email address then you should be able to add in column. If you want to show user email address instead of name then go to list settings-->click on "Staff" column then select "work
    e-mail" from show field dorpdown.
    Please correct me in case i misunderstood you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Acrobat Form Fill Fields - Can you specify a font?

    I am using the new feature of InDesign CS6 that allows creation of form fields for PDFs. After exporting the page to PDF via the interactive setup dialog [command+E 'Adobe PDF (interactive)] I'll inspect the finished PDF in Acrobat 9. Everything looks as it should, except that when I type in some sample text in a text field, it uses Times Roman as the font. I would like it to use Arial regular.
    I can't find any way to specify a font for these form fields in InDesign CS6. This particular project involves quite a large number of files - so I'd rather avoid a process that requires me to go in to Acrobat and 'tweak' each PDF, changing the font in the properties dialog of each field to the Arial.
    Is there a way to set the font of a form field directly in InDesign? I've looked around and can't find a menu or dialog that addresses this.
    Thanks in advance for any help.

    You can edit the typeface used in your text fields in Adobe Acrobat Pro. Create your form with all the appropriate text fields you would like in InDesign CS6 then:
    export your form from InDesign CS6 as an interactive PDF
    open your file in Adobe Acrobat Pro
    Click "TOOLS" on the right hand side (next to sign and comment)
    Click "INTERACTIVE OBJECTS"
    Click "SELECT OBJECT"
    Then select all or any text fields you would like to changeif selected the text field should appear blue, not red, as well as displaying the description (if you assigned one while creating your form in InDesign)
    Once selected RIGHT CICK (if using a MAC or mouse without a right click button press crtl + click your mouse)
    a pop-up should appear and the at the top of the list you will see PROPERTIES
    click properties and go to APPEARANCE
    under the TEXT section you will see options to alter your text fields designated typeface, color and size
    NOTE: I believe if the user filling out the form does not have the typeface you assigned to the text field(s) it will default to New Times Roman

  • Can you specify the port for default services when installing OEG?

    Hi everyone,
    The default installation of OEG 11g uses 8090 port for management services, and 8080 for the virtualized services that you register in the gateway. After installation, you can change the ports by editing gateway's Profile Repository in Policy Studio. But is there a way to specify the port number before/during the installation?
    Thanks,
    Iris

    Hi -
    here are the steps to change the listening port (in 11.1.1.6)
    - Connect to OEG using Policy Studio
    - Click on "Edit Active Configuration"
    - Under "Services", find the default services, and you'll see a listener for port 8080 there. Right-click to edit this.
    - Change the port from 8080 to your desired port. Note that if you've installed the software and running it as a non-root user on Linux, then it will not have permission to bind to a low-number port (like port 80 for instance)
    - Now deploy your change (for 11.1.1.6 hit F6 or click on the "deploy" button which is towards the right of the toolbar in Policy Studio).
    - You may also choose to version your configuration at this point (click on "version" which is beside the "deploy" button and enter a comment about your version).
    Now verify that OEG is listening on your new port. You can see it bind to the new port by looking at the trace [Connect a browser to port 8090 on OEG, login as admin or another user who has rights to view the trace, then click on "Trace"].
    It's a usual practice to configure a new listener on SSL (e.g. on port 443) then to delete that pre-configured port 8080 listener, if you want to only receive traffic over SSL.

  • Can you specify the background color when resizing the canvas?

    I haven't found this in the Scripting Reference.
    In the "Canvas Size…" dialog box you can specify the "Canvas Extension Color" to "Foreground", Background", "White", "Black", "Grey" or "Other…".
    Can this be scripted?
    I am writing an AppleScript to resize my canvas in order to add a slug to the bottom of the image. Currently my script stores the background color, so I can change it to White to accomplish my goal without discarding the background color (which gets restores at the end of the script). The problem is that if the user has a custom color (i.e. Pantone color) as the background color, the color does not get stored.

    See if this works for you… Just some very basic AppleScript with a call to 'do javascript' in this case the variable 'Solid_Fill' this is a cleaned up piece of scriptlistener output (done very nicely by X's tools you will see a post below to the latest release of this) The scriptlistener output has been turned into a function that javascript can call. Inside of the function call I have put a list arguments passed from AppleScript. So the values 0, 0, 0, 0 in the AppleScript list end up as arguments passed to the functions C, M, Y, K variables. AppleScript objects are 1 based Javascript are 0 based & values the same.
    set Solid_Fill to "function solidFillCMYK(C, M, Y, K) {
    function cTID(s) { return app.charIDToTypeID(s); };
    function sTID(s) { return app.stringIDToTypeID(s); };
    var desc8 = new ActionDescriptor();
    var ref4 = new ActionReference();
    ref4.putClass( sTID('contentLayer') );
    desc8.putReference( cTID('null'), ref4 );
    var desc9 = new ActionDescriptor();
    var desc10 = new ActionDescriptor();
    var desc11 = new ActionDescriptor();
    desc11.putDouble( cTID('Cyn '), C );
    desc11.putDouble( cTID('Mgnt'), M );
    desc11.putDouble( cTID('Ylw '), Y );
    desc11.putDouble( cTID('Blck'), K );
    desc10.putObject( cTID('Clr '), cTID('CMYC'), desc11 );
    desc9.putObject( cTID('Type'), sTID('solidColorLayer'), desc10 );
    desc8.putObject( cTID('Usng'), sTID('contentLayer'), desc9 );
    executeAction( cTID('Mk  '), desc8, DialogModes.NO );
    }; solidFillCMYK(arguments[0], arguments[1], arguments[2], arguments[3]);"
    tell application "Adobe Photoshop CS2"
    activate
    set User_Rulers to ruler units of settings
    set ruler units of settings to pixel units
    set Doc_Ref to the current document
    tell Doc_Ref
    set background layer of last layer to false
    do javascript Solid_Fill with arguments {0, 0, 0, 0} show debugger on runtime error
    move first layer to end
    set Doc_Height to height
    -- set Doc_Width to width did NOT need this
    resize canvas height Doc_Height + 200 anchor position top center
    flatten
    end tell
    set ruler units of settings to User_Rulers
    end tell

  • Can you specify movieclips as cache as bitmap, inside one large loaded movieclip?

    at this point I'm not sure if i have to individualy add cacheasbitmap/cacheasbitmapmatrix to true to each display object that needs it and load them seperatly
    or if i can load the movieclip that they are in first and specify their properties later then add it to the stage when it is all loaded.
    can anyone tell me the best way to do this or maybe some tutorials to check out?
    the AS for the loading is
    var PLoading:Bitmap = new Bitmap (new PlaneLoading());
    addChild(PLoading); //loading screen
    var PLevel:PlaneLevel = new PlaneLevel();
    this.addEventListener(Event.ENTER_FRAME, loading); //reoccuring event listener happens as often as is set by FPS
    function loading(e:Event):void //
        var total:Number = this.stage.loaderInfo.bytesTotal;
        var loaded:Number = this.stage.loaderInfo.bytesLoaded;
        var percent:Number = loaded/total * 100;
        trace (percent);
        if (total == loaded) //checks if all bytes for all movieclips have been loaded
            this.removeEventListener(Event.ENTER_FRAME, loading);
            onComplete();
    function onComplete ():void //removes loading picture, and loads level movieclip
        removeChild(PLoading);
        addChild(PLevel);
        PLevel.x = 475.15;
        PLevel.y = 315.35;

    It is the same do it individually for each MovieClip or all contained in a MovieClip. What you should know is that a movie clip with cachebitmap = true consume resources whenever it is drawn and if a movie clip is an animation, each frame will be redrawn. 
    look this:
    http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c36c11f3d612431904db9-7ffc.html

  • Can you specify format mask for date or timestamp columns

    Hi,
    Recently when I'm developing a PL/SQL application, I find that any format mismatch between data in table and format mask specified in to_date/to_timestamp function will cause exceptions. However, I'd like to make my application more robust and immune to this kind of problems, and know exactly which format mask to use for exactly what columns in db table.
    Is there a way in a table column to specify the format mask for date/timestamp columns such that I can know exactly what format mask to use when doing conversion? Also I don't want to depend on NLS_DATE_FORMAT specification, don't want to make a long case statement to check for every date format allowed by Oracle.
    Many thanks.

    As per my knowledge it can't be possible
    casuse if you entered '12/11/2007' date
    how oracle know that in date 12'th is the month or 11'th.
    The person who entered that date will also have confusions in future.
    either you have to fix one date format for your whole application (application configuration).
    or you have to store the date format in other column of the table.
    In case you set the date column to varchar and store all the dates without format then
    in future you may face problems in future while fetching the records, searching etc.
    Regards
    Singh

  • Can you specify actions to perform if the users closes the course?

    I know you can specify what happens at the -end- of the project, but is it possible to have actions that run if someone clicks the X button at the top right of the window to close the course?

    Not in Captivate.  But you can add JavaScript to the HTM publishing templates that can do something at this point.
    You'll need to investigate the onUnload and onBeforeUnload JavaScript events.

  • How can you specify the height of an index page window?

    I want to control the height of an index page window when it
    loads.
    If you look at this page;
    http://www.farrowdesign.com/
    It has a fixed size onload.
    I'm trying to do a basic web page for a friend using
    dreamweaver.
    see here
    http://www.landscapesbyjonstollar.com/
    It's a series of horizontal landscape images which are all of
    the same height - I want the user to scroll to the right to view
    them usiing their browsers scroll bar.
    Can anyone clearly explain (I'm very new to this) how I might
    do this and if it's javascript - where I should paste the code.
    Thanks in advance
    Jim

    "<td width="853" <img src="images/Stollar_01.jpg"
    width="853" height="642"
    /></td><br>"
    You can't be serious....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "mbarizia" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    >
    > ok.. it's easy : in dream weaver replace those lines :
    >
    > <td width="853" <img src="images/Stollar_01.jpg"
    width="853" height="642"
    > /></td>
    > <td width="864"><img
    src="images/Stollar_03.jpg" width="864"
    > height="642"
    > /></td>
    > <td width="732"><img
    src="images/Stollar_05.jpg" width="732"
    > height="642"
    > /></td>
    > <td width="862"><img
    src="images/Stollar_07.jpg" width="862"
    > height="642"
    > /></td>
    > <td width="857"><img
    src="images/Stollar_09.jpg" width="857"
    > height="642"
    > /></td>
    > <td width="968"><img
    src="images/Stollar_11.jpg" width="968"
    > height="642"
    > /></td>
    > <td width="487"><img
    src="images/Stollar_13.jpg" width="487"
    > height="642"
    > /></td>
    > <td width="545"><img
    src="images/Stollar_15.jpg" width="545"
    > height="642"
    > /></td>
    > <td width="901"><img
    src="images/Stollar_17.jpg" width="901"
    > height="642"
    > /></td>
    >
    > By :
    >
    > <td width="853" <img src="images/Stollar_01.jpg"
    width="853" height="642"
    > /></td><br>
    > <td width="864"><img
    src="images/Stollar_03.jpg" width="864"
    > height="642"
    > /></td><br>
    > <td width="732"><img
    src="images/Stollar_05.jpg" width="732"
    > height="642"
    > /></td><br>
    > <td width="862"><img
    src="images/Stollar_07.jpg" width="862"
    > height="642"
    > /></td><br>
    > <td width="857"><img
    src="images/Stollar_09.jpg" width="857"
    > height="642"
    > /></td><br>
    > <td width="968"><img
    src="images/Stollar_11.jpg" width="968"
    > height="642"
    > /></td><br>
    > <td width="487"><img
    src="images/Stollar_13.jpg" width="487"
    > height="642"
    > /></td><br>
    > <td width="545"><img
    src="images/Stollar_15.jpg" width="545"
    > height="642"
    > /></td><br>
    > <td width="901"><img
    src="images/Stollar_17.jpg" width="901"
    > height="642"
    > /></td><br>
    >
    > any help : [email protected] ;)
    >

  • Can you specify which SUP an SCCM client uses?

    Hi,
    I'm setting up clients in my company's domain to be managed by an existing SCCM 2012 R2 site in our parent company's domain.  There's a two way trust in place, and I've deployed a site server in my domain as an MP and SUP.  My clients are picking
    up the new server as their MP (according to ClientLocation.log) but are going back to the primary site server for Updates (as reported in WUAHandler.log).
    This is all working fine, but I'd like to keep the traffic local to my domain/network if possible.  Can someone tell me if this is by design (I've read things about it being for fault tolerance) or whether there is an SCCM setting that I can use to
    keep my clients local to my domain?
    Many thanks.

    Hi Jason,
    Thanks for that, it looked like it was exactly what I needed, but on reading it, I could see that it was only setting the reg key HKLM\SOFTWARE\Policies\Windows\WindowsUpdate\WUServer until the CCM client got installed and took over management. 
    That registry key is the same one as is set by the Windows Update GPO 'Specify intranet Microsoft service location' which I did have configured but it resulted in this error in WUAHandler.log:
    Group policy settings were overwritten by a higher authority (Domain Controller) to: Server http://<FQDN of my server>:8530 and Policy ENABLED
    Failed to Add Update Source for WUAgent of type (2) and id ({GUID}). Error = 0x87d00692.
    Googling this error was what suggested that I might have to leave it to SCCM to manage the setting.

  • Can you specify which pages to publish and which not?

    Hi all, perhaps I'm overlooking it, but I'm making changes to my site. Currently some pages have been fully updated and others not. What I'd like to do is load the current pages that are finished, have them updated on my site, but the pages that are still being edited I'd like to have not uploaded. Is there a way to direct iweb to publish certain pages but not others? I'm hoping so b/c if not, it would seem as though it's written "all or nothing." That is, you finish every single edit you want before publishing. That would seem like an oversight as editing a site can clearly be an ongoing thing. I have pages I'd like to add, but they aren't ready for publishing, so I'd like to have them not publish. Anyone know of a way to do this? Thanks.

    If you are using the page template navigation menu, then simply hide the navigation links to the pages that are not finished. There is nothing you can do to stop iWeb publishing the pages, but if you hide them until they are ready, then they will be published, but not viewable without the links.
    The other thing that you can do is select Publish to MobileMe rather than Publish All to MobileMe. If you select Publish All, then your whole site will be published, however, if you select Publish, only the pages of your site that have been changed will be published.
    Hiding pages of a text based nav bar should also work. To do this, open the Inspector and go to Page and there are two settings that have hide nav menu and do not include in nav menu. You want the second one if you don't want to include the page.

Maybe you are looking for

  • Apache 2.4 mod_perl libapreq problems

    I recently upgraded to Apache 2.4. This is now the bane of my existence. I run several servers with mod_perl and perl-libapreq. I cannot figure out how to these modules to work with Apache 2.4. I get the error: httpd: Syntax error on line 39 of /etc/

  • Best way for UITextField Validation

    Hi........Every one I am trying to validate the UITextField in 3 ways Regular Expression, NSPredicates, NSCharacterset. if choose NSPredicates - (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(

  • Report margin

    Hi, My problem is: The paper size is 4"x2" and I've design the report to print with no margin in report builder, but when I print the report from the printer, the margin is added. I would like to know how to set the report margin to 0. If you know, p

  • Updated to ios7. I can't see how to edit or forward texts c

    Updated phone. How do I edit or forward texts?

  • Business Area Changed

    Hi FI Experts, The User used the Upload program for Importing the Bank clearing entries from Bank . After uploading some of the posting documents  DR and CR entries of Business Area Changed . For DR and CR entry Business area should be same . Example