Tiles:put with beanName and JSF object doesn't work

I got some recent (good) advice for using tiles:put and in the inserted tile getting access to the string in a JSF tag, as long as it is a static string. For example, if I do this in the page including the tile:
<tiles:insert page="includedPage.jsp">
<tiles:put name="somevar" value="something" />
</tiles:insert>
Then in includedPage.jsp:
<tiles:importAttribute name="somevar" scope="request"/>
<h:outputText value="#{requestScope.somevar}"
That works fine. But now I'm trying to use this:
<tiles:insert page="includedPage.jsp">
<tiles:put name="somevar" beanName="varFromDataTable" />
</tiles:insert>
I can't get it in the includedPage.jsp - I think because the tiles tag can't find the JSF variable (created using the var= attribute of dataTable).
Does anyone know how I would do this? I need the whole object, not just a string from the object, since the includedPage.jsp will be using many attributes from the bean.

Hi Greg,
What kind of error/issue you are facing.
Thanks,
Rohit

Similar Messages

  • I downloaded the new software for mac book pro with retina and the office doesn't work

    I downloaded the new software for mac book pro with retina and the office doesn't work

    cynthia alia wrote:
    I downloaded...
    ... but did you INSTALL it?
    Office::2008 was drag & drop, but Office::2011 has an installer you need to run.

  • Create PDF report with APEX and Oracle 11g doesn't work

    Hi everyone,
    I have a problem with the downloading of PDF reports from APEX with Oracle 11g.
    When I try to download a PDF, Acrobat Reader says it can not open the file.
    I have done the same test in an environment with APEX and Oracle 10g and it works perfectly.
    Does anyone know if there is a known bug for version 11g.
    Thank you very much.

    Hi Munky,
    I open the generated file the Notepad++ I can read the next message:
    *<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1>OracleJSP:*
    An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param <code>debug_mode</code> to "true" to see the complete exception message.</BODY></HTML>
    I have not idea can I solve the problem.
    Have you got any solution for this problem??
    Thank you so much.
    Victor Muñoz.

  • I got the newest iPod touch and it has a message cube thing like on an iPhone and when I try to send messages to my friends it will not let me. I thought it would need wifi so I tried it with that and it still doesn't work. Will someone please help me?

    I got the newest iPod and it has a messaging cube like on the iPhone and it will not let me send messages to my friends even with wifi. Please help me with my problem.

    Is your device recognized by your computer? If yes, copy the pictures and videos as shown in this article:
    Copying personal photos and videos from iPhone, iPad, or iPod touch to your computer
    If it is not recognized, try this first: iOS: Device not recognized in iTunes for Windows
    Disable autosync in iTunes, right click on it in the device list and choose "transfer purchases" to copy apps and other media bought in iTunes to your new library.
    Do the same again and choose "backup", to create a manual backup without syncing.
    Since your device will be erased due to the new iTunes library during the first sync, you can use this backup afterwards to restore your settings and data.
    Set up at least one contact and event on your computer before you start, to be able to merge calendars and contacts.

  • Using fault-policies with mediator and db Adapter doesn't work

    Please help! I'm stuck on this for 2 days....
    Hi Friends.
    In my project I am trying to give some treatment to an exception from a db adapter running a pl/sql procedure.
    I am forcing a raise_application_error in the procedure in order to treat the exception and I'd like the fault-police to treat it as "human-intervention".
    The db-adapter is wired to a mediator:
    jms-service ----> Mediator -----> Jca db adapter
    When I get the exception the log says:
    9d8bff56a1 due to: BINDING.JCA-12563[[
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'PersistirODS' failed due to: Stored procedure invocation error.
    Error while trying to prepare and execute the FORNECEDOR.UPSERTFORNECEDOR API.
    An error occurred while preparing and executing the FORNECEDOR.UPSERTFORNECEDOR API. Cause: java.sql.SQLException: ORA-20101: Deu Merda
    ORA-06512: at "FORNECEDOR.UPSERTFORNECEDOR", line 405
    ORA-06512: at line 1
    Check to ensure that the API is defined in the database and that the parameters match the signature of the API.  This exception is considered not retriable, likely due to a modelling mistake.  To classify it as retriable instead add property nonRetriableErrorCodes with value "-20101" to your deployment descriptor (i.e. weblogic-ra.xml).  To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff.  All properties are integers.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    and then it looks like it's trying to run some fault-police but it says:
    [2014-04-10T20:01:39.667-03:00] [AdminServer] [WARNING] [] [oracle.integration.platform.faulthandling] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: weblogic] [ecid: 11d1def534ea1be0:-1fa77a00:145468d59e7:-8000-000000000002801a,0] [APP: soa-infra]  [RejectedMsgHandling]Unable to apply policies on the rejected message with id - 60046[[
    oracle.fabric.common.FabricException: Cannot resolve binding to a fault policy [Faulted Activity Details:
    Activity Name=null
    Activity Id=null
    Activity lineNumber=null
    Reference Name=null
    WsdlLocation=null
    ActivityType=null
    Here are my fault-policies and fault-bindings files:
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicyBindings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                         xsi:schemaLocation="http://schemas.oracle.com/bpel/faultpolicy ../xsd/FaultBindings.xsd"
                         xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <composite faultPolicy="fault-policy"/>
    </faultPolicyBindings>
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicies xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://schemas.oracle.com/bpel/faultpolicy ../xsd/FaultPolicies.xsd"
                   xmlns="http://schemas.oracle.com/bpel/faultpolicy">
      <faultPolicy id="fault-policy">
        <Conditions>
          <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults"
    name="medns:mediatorFault"  >
            <condition>
              <action ref="default-human-intervention"/>
            </condition>
          </faultName>
          <faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:PersistirODS">
            <condition>
              <action ref="default-human-intervention"/>
            </condition>
          </faultName>
          <faultName>
            <condition>
              <action ref="default-human-intervention"/>
            </condition>
          </faultName>
        </Conditions>
        <Actions>
          <Action id="default-human-intervention">
            <humanIntervention/>
          </Action>
        </Actions>
      </faultPolicy>
    </faultPolicies>
    Again
    Please help! I'm stuck on this for 2 days....

    Could you try specifying test element inside condition like the following one
        <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults" name="medns:mediatorFault">
            <condition>
             <test>contains($fault.mediatorErrorCode, "AppropriateErrorCode")</test>
              <action ref="default-human-intervention"/>
            </condition>
          </faultName>

  • Since update, ipad has probs with contacts and mail! Doesn t work

    I can t open contacts! Try send email, the program closes suddenly. Same with contacts! Does somebody know the problem? The problem persists since update to ios5?, thx for help

    I cant say mine ever did that after ios 5..
    the only problems i noticed was the rapid battery drain..and when id go into my calender appoitments they would disappear..i had to exit and re-enter the callender app to make them appear again.
    Have u done a hard reset by holding down the home & sleep button for more than 15 secs ??
    Also ios 5.0.1 is out..have u updated to that..it could help correct ur issues ur having at the moment.

  • HT1476 does anyone knows what I need to do for apple talk to me? Or give an e-mail from apple from USA, because I need to talk with them and this website doesn´t work. Please, help me.

    I HATE APPLE! Does anyone knows how I can talk to them?

    Talk to them about what?
    You can click Contact Us at the bottom of this page for contact information

  • I plugged my phone into my computer for the first time and it restarted my whole phone so now all my apps say waiting put I'm let my phone sync a view different times and it still doesn't work. Has anyone else had this problem?

    I plugged my phone into my computer for the first time and it restarted my whole phone so now all my apps say waiting put I'm let my phone sync a view different times and it still doesn't work. Has anyone else had this problem?

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • Last week, I had no problems streaming my MacBook Pro to my sony Bravia with a logix hdmi cable. I came back from holidays and now it doesn't work anymore.  What settings should my computer be on and what settings should my tv be on?

    Last week, I had no problems streaming my MacBook Pro to my sony Bravia with a logix hdmi cable. I came back from holidays and now it doesn't work anymore.  What settings should my computer be on and what settings should my tv be on?

    TarahCurrie Sep 10, 2014 3:48 PM
    Restore From Time Machine Backup
    Reinstall OS X
    Get Help Online
    Disk Utility
    MacBook Pro, Mac OS X (10.5.8)
    You are running 10.5.8
    Did you try booting off your Install disk holding the c key down.  From here you can get to the drop down menu just a few clicks in (you are not going to install) and run  the Disk Utility>Repair Disk.  See if it will let you do this.

  • I have some problem with my computer because when i turn it up, the screen turns in a blue colour and the sound doesn't work and in this way i can't hear anything

    i have some problem with my computer because when i turn it up, the screen turns in a blue colour and the sound doesn't work and in this way i can't hear anything

    Will u help me or not?

  • When I connect my iPod touch it tells me that I need a new version of Apple Mobile Device Support and to uninstall iTunes and then re-install it, I've done that twice with the newest version of iTunes and it still doesn't work?

    When I connect my iPod touch it tells me that I need a new version of Apple Mobile Device Support and to uninstall iTunes and then re-install it, I've done that twice with the newest version of iTunes and it still doesn't work?

    Try:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • I changed my main email on my apple ID and now it doesn't work and still uses my old one and with my new and old email my password doesn't work

    I changed my main email on my apple ID now when I try sign in with the new email it doesn't work and neither does my old one so I don't know what happened, any help?... I made a new apple ID and on my iPod it tries to use my old one and I can't change it to my new apple ID I've gone on to settings and iTunes and App Store and changed it to my new apple Id yet when I buy apps or try update them it uses my old apple ID I don't know what to do any help??

    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.
    If you can't log into Settings>iTunes and App stores with your new ID them mean there is a problem. Try restting the password and try to sign in again.
    iTunes Store: Retrieving and changing passwords (Apple ID)
    Can you sign in with the new ID on your computer?
    Last, contact iTunes.
    Apple - Support - iTunes - Contact Us

  • I bought one Iphone a 3 weeks ago and I can´t listen what people speak with me, because de microphone doesn´t work, I need  to use the speaker, somebody know what I need to do?

    I bought one Iphone a 3 weeks ago and I can´t listen what people speak with me, because de microphone doesn´t work, I need  to use the speaker, somebody know what I need to do?

    Just thought that I'd report that I've decided on my solution.
    It seems that just making do with what I can find on the US store is the easiest and perhaps also the best way of going about it. All other methods mean trouble. I'm lucky that China hasn't outright blocked the US store, as they HAVE blocked iTunes music store in China already (something about a song about Tibet caused them to block the store entirely).
    So yeah, just going to deal with it I guess. I should be grateful I'm getting anything at all, considering the country I'm in. Still, I just feel so ripped off sometimes when I pay for expensive devices and I can't even get much out of them do to my region. iPhones cost around $700 in China because there's no company like AT&T that you can just sign a contract with to get one, so you have to pay up-front for the phone, and get less features out of it in the end. Makes buying smart phones look like a waste of time and money sometimes, since you can't use the device to do what it was built to do due to censorship and not having any content for your region (though they do have a lot of Chinese apps that I can't use due to not knowing Chinese).

  • Just bought my white iphone4 and after syncing with my computer the speaker doesn't work now. I tried reset and even restore and still does not work. Do I have to exchange?

    Just bought my white iphone4 and after syncing with my computer the speaker doesn't work now. I tried reset and even restore and still does not work. Do I have to exchange?

    Make sure the silent switch is not set to mute.  If you can see the red dot, it is on mute.
    It may think you have headphones plugged in, try plugging and unplugging a wired headset a few time.
    The next step would be to restore as new.
    If none of that works, a warranty exchange would be the resolution.    

  • I just bought a new apple imac pro laptop. the did the updats at the store and put in a password for me.I got home and the password doesn't work.

    I just bought a new apple imac pro laptop. the did the updats at the store and put in a password for me.I got home and the password doesn't work.

    Resetting User Password in Lion, Mountain Lion & Mavericks
    Boot into your Recovery Partition by hold down the Command and R keys whilst booting.
    When the Recovery screen appears, go to the Utilities menu and open Terminal.
    In Terminal, type:
    resetpassword
    ...a small app will open and allow you to choose the user for whom you want to change the password. If you are the admin, be certain that you choose your admin user. Type in your new password twice and give yourself a good hint. Click OK (or Done or whatever) and reboot, enjoying the use of your new, hopefully memorable, password.
    Good luck,
    Clinton

Maybe you are looking for