Mixing c:forEach and h:outputText

I'm sure this has been discussed many times, but I'm finding it hard to find a clear and up to date summary of this issue.
In Tomcat 6, using Sun JSF 1.2 RI, the following JSP code:
<c:forEach begin="0" end="10" varStatus="loopStatus">
  <c:out value="LoopStatus: ${loopStatus.index}"/>
  <h:outputText value="#{loopStatus.index}"/>
</c:forEach>Prints the index in the "c:out", but not in the "h:outputText".
In JEE 5, I should have the "unified EL", but I'm not sure if that's the key to this.
Is there any way I can get the c:out loop index value into a JSF component?

Yes, I've read that doc, and a couple others, but I can't interpret from that doc why the following code doesn't do what I expect:<c:forEach items="${ratingRequest.propertyList}" var="property" varStatus="loopStatus">
  <c:out value="LoopStatus: ${loopStatus.index}"/>
  <c:out value="Property ID: ${property.propertyID}"/>
  <h:outputText value="Property ID: #{property.propertyID}"/>
</c:forEach>I'm hoping to see the following:
LoopStatus: 0 Property ID: 12345 Property ID: 12345 LoopStatus: 1 Property ID: 54321 Property ID: 54321but I see this instead:
LoopStatus: 0 Property ID: 12345 Property ID: LoopStatus: 1 Property ID: 54321 Property ID: In fact, the following example from the doc seems to be similar enough to what I'm doing to make me wonder whether there's something wrong with my configuration or the JSF RI.
<c:forEach var="book" items="#{BooksBean.books}">
     <h:inputText id="quantity" value="#{book.quantity}" ... />
   </c:forEach>

Similar Messages

  • Mixing Non JSF and JSF components

    Hi All,
    I wanted to mix non jsf and jsf components and I able to do this
      <f:verbatim>
                                    <input type="radio" name="selectBidder" value="#{currentRow['BID_ID]}"/>
                                </f:verbatim>But the problem is bean value is not getting binded.
    The rendered output is containing same string i.e.
    value="#{currentRow['BID_ID]}"
    How to bind bean value to non jsf component.
    And No Javascript please
    Thanks
    Sudhakar

    Basically I am trying to implement something like below
    <h:dataTable binding="#{consumer$Select_Provider.dataTable1}" headerClass="list-header" id="dataTable1"
                            rowClasses="list-row-even,list-row-odd" style="left: 48px; top: 48px; position: absolute"
                            value="#{consumer$Select_Provider.dataTable1Model}" var="currentRow">
                            <h:column binding="#{consumer$Select_Provider.column6}" id="column6">
                                <h:outputText binding="#{consumer$Select_Provider.outputText11}" id="outputText11" value="#{currentRow['USER_LNAME']} #{currentRow['USER_FNAME']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{consumer$Select_Provider.outputText12}" id="outputText12" value="Bidder"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{consumer$Select_Provider.column1}" id="column1">
                                <h:outputText binding="#{consumer$Select_Provider.outputText1}" id="outputText1" value="#{currentRow['BID_PRICE']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{consumer$Select_Provider.outputText2}" id="outputText2" value="Bid Price"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{consumer$Select_Provider.column3}" id="column3">
                                <f:verbatim>
                                    <input name="selectBidder" type="radio" value="#{currentRow['BID_ID]}"/>
                                </f:verbatim>
                                <f:facet name="header">
                                    <h:outputText binding="#{consumer$Select_Provider.outputText6}" id="outputText6" value="Select Bidder"/>
                                </f:facet>
                            </h:column>
                        </h:dataTable>Thanks
    Sudhakar

  • Is there a way to "mix" the nodes and leaves of the tree so if they are at the same level, they will display in a specified order.

    Is there a way to "mix" the nodes and leaves of the tree so that even if they are at the same level (1,2,3...), they will display in a specified order (via sort sequence, alphabetical, etc.).
    History:
    We are using the Tree UI element to display/manage a material bom interface. We seem to be running into an issue with displaying the nodes/leaves of the tree.. regardless of the order that the context is built (which is currently the order of the exploded BOM from from CS_BOM_EXPL_MAT_V2), the bom is displayed with the nested boms at the top of each level and the single materials below them. For example. If  TK1 contains Material1, Material2, Material3, Kit1(containing component1, comp2, comp3), Material4, Kit2(containing comp4, comp5, comp6), and Material5 (in this order), the tree will display with the A level node as TK1, the next node as Kit1 (with its subleaves of comp1,comp2,comp3), Kit2(with subleaves of comp4,comp5,comp6), THEN Material1, material2, material3, material4, material5.  Our users are adamant about the items displaying in the correct order (which should be alphabetical based on the description for one report and by location for purposes of inventory for another). I've searched but not been able to locate a similar question. If I've missed it, please point me in the right direction. The users want the tree,  not a "tree" table.  This is our first attempt at the tree, so maybe we're missing something basic?
    TK1
    -Mat1
    -Mat2
    -Mat3
    -Kit1
    --Comp1
    --Comp2
    --Comp3
    -Mat4
    -Kit2
    --Comp4
    --comp5
    --comp6
    -Material5
    displays as
    TK1
    -Kit1
    --Comp1
    --Comp2
    --Comp3
    -Kit2
    --Comp4
    --Comp5
    --Comp6
    -Mat1
    -Mat2
    -Mat3
    -Mat4
    -Mat5

    co-workers said example picture is misleading.. we can make the order work if everything is a "folder" but not a mix of "folders" and "files" (if making a visual reference to the windows browser). i.e - a file is represented as an empty folder.
    TK1    
    . Mat1
    . Mat2
    . mat3
    > kit1   
    .. comp1
    .. comp2
    .. comp3
    . mat4
    > kit2
    .. comp4
    .. comp5
    .. comp6
    . mat5
    displays at
    TK1
    > kit1
    .. comp1
    .. comp2
    .. comp3
    > kit2
    .. comp4
    .. comp5
    .. comp6
    . mat1
    . mat2
    . mat3
    . mat4
    . mat5
    we can make it work if everything is a folder. This is our current workaround.
    TK1
    > mat1
    > mat2
    > mat3
    v kit1 (when expanded)
    .. comp1
    .. comp2
    .. comp3
    > mat4
    > kit2 (when not expanded)
    > mat5

  • 3 iphones in household.All use same apple ID.But all contacts get mixed between phones and facetime calls come in from other contacts.Ho can we change this so our phone information isn't visible to each other?

    3 iphones in household.All use same apple ID.But all contacts get mixed between phones and facetime calls come in from other contacts.How can we change this so our phone information isn't visible to each other?

    Use separate Apple IDs for each family member and use Family Sharing features of those things (if any) that you do want to share. https://www.apple.com/ios/whats-new/family-sharing/

  • Mix of Arabic and English causes problems in JTextArea

    I have a JTextArea which displays HTML of an Arabic web page. So it's essentially a mix of English and Arabic. In the JTextArea, with columns set to 30, certain text just disappears instead of wrapping properly. The weird thing is that if I copy the invisible text and paste it into Notepad, then I can see it in Notepad. If I change the number of columns to 40, everything displays fine. Any ideas?

    It seems that Arabic is not the problem here. It is something to do with tabs. All the lines that disappear begin with 5 tabs. If I remove one tab so that they begin with 4 tabs, then they appear fine in the JTextArea

  • Mixed content - https and http

    Guys and Gals -
    I have a page that has mixed content - http and https. Users talk to my webserver
    using https, which talks to the portal server using http.
    The browser popups a warning saying that the site has mixed content. Is there
    any way to prevent this warning from coming up? Anything I can do using a proxy
    or something else?
    Thanks
    Niks

    Neeraj Harlalka wrote:
    It's probably not because your webserver is talking to App server on
    http connection. It could be some images being referrenced from the
    browser using non-secured protocol. Try using absolute path or code URLs
    using jsp tags.
    hope it helps
    Guys and Gals -
    I have a page that has mixed content - http and https. Users talk to my webserver
    using https, which talks to the portal server using http.
    The browser popups a warning saying that the site has mixed content. Is there
    any way to prevent this warning from coming up? Anything I can do using a proxy
    or something else?
    Thanks
    Niks

  • Outbound Delivery Processing - mix of serialized and non-serialized product

    Has anyone configured the outbound delivery processing scenario in AII to handle a mix of serialized and non-serialized products? How do you handle packing & loading transactions where you have a mix of serialized and non-serialized products in the same shipment?

    Closed..
    Thanks

  • Mixed phone numbers and names after sinc N9 and ov...

    I have problem with my contact list. After i synchonised my previous N79 with N9, everything was fine. AFter adding new contacts to the new phone i wanted to synchronise it with ovi, i did so but it made completely mess with all my contacts. I cant say if i miss any numbers but it was way worse, it has mixed up names and numbers without any sence so I realised that under name A i had a phonecontact of B and C. At some names were suddenly no phone numbers. And some of them were even doubled - like there was the same number saved under both A and B but it belonged to C. I hate it, had to rewrite all the ontact list manually along the old phone. That took me hours if anyone can imagine. Now Im not brave enough to try the sync again eventhough i need to do that... Anyone having the same problem or even better - solution?

    Try plugging your iPad into your computer and opening iTunes. Select your iPad underdevices on the left side of the screen and right click. You should be given an option torestore from a backup.
    If this option is not available to you, you can go through the Summary tab of your iPad on the right side of the screen and if you scroll down under iCloud you should get an option to restore from a previous backup, where you select the most recent backup to put on your iPad.
    Hope that helps.

  • ADF Faces: is mixing JSF RI and ADF Faces tags supported?

    Hi,
    I'm looking at ADF Faces as a future possibility for our application that is currently based on JSF RI.
    When looking at the ADF Faces demo it strikes me that all pages are almost completely built up from ADF Faces tags.
    For instance
    af:form
    af:commandButton
    af:inputText
    are used instead of the equivalent core jsf tags f:form, f:commandButton and f:inputText
    I'm wondering if this is mandatory if we would like to use some ADF Faces components mixed within our existing application.
    In other words: are ADF Faces tags supported in the environment of conventional JSF tags? And mixing ADF Faces JSF components with JSF components by other vendors?
    Another thing that strikes me is that pages are constructed using ADF Faces tags for any and all markup content.
    I guess this is meant to support several different clients (normal browser applications, mobile clients, voice activation over telephone) using different renderers.
    In my experience abstracting markup this way inherently means loss of control over the exact markup that is sent to the client. This is not acceptable for all projects and customers.
    Is embedding ADF Faces tags within template HTML, within f:verbatim tags or not, supported?
    Regards,
    Joost de Vries

    You absolutely can mix JSF RI and ADF Faces tags. This is very much supported! You can swap in <h:form> and <h:commandButton> and <h:inputText>. Our versions support some features that the JSF tags do not, as described in our release notes.
    Your point about using tags to produce all markup is a very cogent one. For some projects, absolute control over HTML will be a necessary requirement, so we do support that style of development. But we believe strongly that the future does not lie in constant handcoding of HTML, but instead in building more powerful, flexible, and reusable components and assembling those into pages. This was one of the themes of a talk I gave with two coworkers at this past JavaOne.
    -- Adam Winer (JSF EG member and ADF Faces lead)

  • Mixed Environment: Wintel and Unix

    We are currently looking into implementing HFM in a Mixed environment, Wintel and UNIX. The Web Servers and Application servers will run on Wintel; however, we are thinking of putting our Reports server in a UNIX environment. Are any of you running HFM in a mixed environment? We would appreciate any feedback...Thanks,Doug

    From what you post about trying different things I would delete com.apple.ichat.AIM.plist and restart iChat
    2:50 PM Sunday; November 18, 2007

  • ITunes home mix of French and English

    In iTunes 7 just noticed at the store home page I have a minor mix of French and English on the same page.
    Checked preferences and set for english
    How do I report?

    the language setting does not effect the language of the music store it simply changes the language of the menus and tool bars of itunes

  • Info please...control surface and mixer for fcp and audio recording

    i'm looking for a control surface for final cut pro and also xlr/line inputs for recording guitar and vocals in cubase or audacity.
    read all the info here after numerous searches. still some questions.
    was looking at the tascam 1082 but not sure of the build quality...i saw one and it looked a bit cheaply built. the two demos at guitar center were falling apart. didn't look nearly as well built as the mackie. also i have been reading here and elsewhere about bugs/problems etc.
    was looking at the m-audio...not sure about that one...$1250...
    was also looking at mackie control surface...but no firewire...how do you hook it up to a mac? also no audio inputs. what would i need to buy to work in conjunction with that for recording audio? if i bought the mackie, i'd still have to buy an audio inpur device and that would end up costing as much as the m audio.
    i know i could just buy a mixer for recording and forget the control surface...i already have a shuttle pro which works fine and i have gotten used to using the mixer in fcp...no problems. but the motorized faders on a control surface sure would be nice
    so questions:
    how does the mackie connect to a mac and what other device(s) would i need to record audio and how would they hook up...would they play nice together?
    ppl who own the tascam...happy with it? used the mic and line preamps? are they noisy?
    do i need an additional firewire bus reguardless of which control surface i get?
    how does one route the audio for these when in fcp? i currently route my audio through my dsr 11 deck. will the control surface just go through firewire or would i have to actually jack into the control surface with additional cables and have to remove my present cables from my speakers everytime i want to use the control surface?
    sorry so many questions. it's really tough to make an informed decision in buying something if you don't understand the mechanics of it.
    btw, appreciate the info so far that i found doing my searches.
    thanks
    carl

    I've got the Tascam FW1082 and I absolutely love it. I can't believe I ever edited without it. I'm considering upgrading to the 1884 in the future.
    As for the mic preamps, they sound great. Nice and clean. There's no such thing as a line preamp, but the line inputs are clean as well.
    For routing, I go to the 1082 via firewire until I turn on my external video monitor, at which point I send both video & audio to the deck and route the audio from the deck into a pair of the mixer's analog inputs. That way you avoid the delay of external monitoring. The 1082 allows you to listen to both the computer & the inputs at the same time, so switching back and forth is seamless.
    As for durability, I've had it out on a few location recordings, but most of the time it's on my desk. It's still in mint condition. I'm sure if it was on a display where any 10 year old could come mess with it, it wouldn't be in as great of shape, but then again, a Neve console wouldn't look that great if every little brat that walked in the door could play with it. If you take care of your stuff, you'll have no issues with this mixer.

  • CVP supports mixed G.711 and G.729

    "CVP supports mixed G.711 and G.729"
    Where do you configure the allowed codec(s)?
    Also, if the ingress gateway is also the vxml gateway and the ingress is SIP with g729 only (so no midcall renegotiation) but the vxml call leg is g711 -- how do you specify the transcoding resource to be used? If I change the vxml call leg to use g729 (flat codec) also, do I still have to go through the whole hex editing thing mentioned here (http://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/customer_voice_portal/cvp8_0/release/notes/cvp_801_rnotes.pdf)? I couldn't find any mention of this in the later CVP release notes, so not sure if it's still needed.
    thanks,
    will

    Thanks for the quick reply Chris!
    "You configure them on your dial-peers and region setting in CUCM."
    CUCM isn't involved yet though unless I'm missing something (which isn't as rare as I'd like). CVP sets up the VXML call leg from the ingress gateway to the VXML gateway (same device here) right? Does it just use the same dial-peer level codec(s) as you are allowing in your cube->cvp call server dial-peer? Is that what you mean?
    LTI looks pretty slick, but I can't find any info regarding compatibility with CVP although I'm not entirely sure how that codec selection (ingress gw to vxml gw) works. Codec renegotiation is out unfortunately. It's g729 ingress with every call transcoded at the CUBE to g711. Trying to retroactively fix this and other design flaws and we'll have to move the agents to g729.
    Looks like we either transcode for the VXML call leg or migrate that to g729 as well. Seems like transcoding gives us the flexibility to add asr/tts at a later date if/when requirements change. On the other hand, using a flat codec end to end makes troubleshooting easier and frees up those dsp's. Any advice/experience to share one way or the other?
    thanks,
    will

  • I downloaded Zapya Apk in my IPad. And I transfer songs from my Android phone to my IPad. After that I opened Dj mixer 3 App and find the songs to make remix but I cannot find any songs. I cannot find in my iTunes also. So what should I do?

    I downloaded Zapya Apk in my IPad. And I transfer songs from my Android phone to my IPad. After that I opened Dj mixer 3 App and find the songs to make remix but I cannot find any songs. I cannot find in my iTunes also. So what should I do?

    Zapya.apk is an android app and will not work on an iOS device.
    How did you transfer your songs from your Android phone to your iPad?

  • Password Policy - Mixed servers 2003 and 2008

    I Need help!!!!
    So this is my situation. I'm trying to enforce a Company Wide Password Policy via GPO but running into problems. We have no current Password Policy in place (This is the only one). I'm attempting to use the default global policy in Server 2008 and I'm
    testing the GPO on a specific security group, but does not seem to work. It will prompt to change the password, but the other requirements aren't being enforced.
    This is what I'm trying to enforce.
    Expire after: 90 days
    Complexity: Enabled
    Cant reuse last: 12 password
    Lockout time: 15 minutes
    Lock out after: 5 attempts
    Minimum of :8 characters
    Infrastructure: We have a mix of 2003 and 2008 servers. I'm using our 2008 server to enforce the GPO.
    Once I apply the GPO to a specific security group, it will prompt to change the password for the users in that group, but will not enforce all the other policies. This is a major project and we cant deploy this policy all at once (Helpdesk wouldn't
    be able to handle the call volume) so we decided to deploy it by departments/Security groups. We also tried
    We also tried using a fine-grained password policy but just like the GPO, it was only enforcing the password change aspect and not the other requirements like a minimum of 8 characters. Can any help!!!!

    > What if I apply the GPO on the domain root level, and then in the
    > delegation tab, exclude certain groups until we are ready for it to
    > apply to that department?   Will hat work?
    No. Read again - in 2003, there is ONE password policy for the DOMAIN,
    not for individual accounts.
    Technically this works the following way: Password policies are picked
    up by every member computer. But on these, password policies only apply
    to LOCAL accounts, not to domain accounts.
    On the other hand, there are Domain Controllers. The PDC emulator is the
    only one of these that will pick up Password policies - and only if they
    are linked to the domain. And so, these apply to all "local" accounts on
    the PDC, which in fact are the domain accounts.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

Maybe you are looking for

  • Multiple Apple ID's/One Computer

    My three kids each have their own Itouch.  They each have their own Apple ID as well.  Whenever we connect one of the itouches, Itunes attempt to load evey app loaded by every separate apple ID.  i though with separate accounts, this would not happen

  • How to change my id in adobe reader for ebooks

    I need to change my id in the adobe reader for eBooks, because i don't use any more the id i have in this moment registered. In the program says that that the account has been registered with the id i don´t use anymore. is there a possibility to chan

  • How to download XML file to ITAB

    hi friends this  is my urgent req. how to download XML file to Local itab any other function or sample program available. with luv. pauldharma

  • Use of hyphen (-) in hostname/machine name

    Hi there. One of our architects is proposing a new server naming policy that would allow the use of hyphens (-) in the hostname or machine name of new servers. I've pointed out to him that this might not be a very good idea as I've heard of a few pro

  • Adding Crop Marks in CS4 with an Epson 3800

    I'm using CS4 with the Epson driver version 6.50. Is there a way to automatically add crop marks? Just seems that this *should* be a feature or an action. RON