How can I use jbo:ShowValue for some columns and bc4juix:RenderValue for other co

Using a UIX/JSP page, how can I get the <jbo:ShowValue> tag to work in the following situation? I've ditched the "AttributeIterate" so that I can manually select the columns I want.
--- snip ---
<uix:form name="form1" method="GET">
<bc4juix:Table datasource="ds1" >
<uix:columnHeaderStamp>
<uix:styledText textBinding="LABEL"/>
</uix:columnHeaderStamp>
<%--
<jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
<bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
</jbo:AttributeIterate>
--%>
<bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
<bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
<bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
<%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
<jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>     
<%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
<uix:rawText>
<jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>     
</uix:rawText>
<%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
<uix:contents>
<uix:rawText>
<jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>     
</uix:rawText>
</uix:contents>
--- snip ---
What am I doing wrong and how can I fix this?
Bill G...

This will not work inside of the bc4juix:table, this tag pulls the data from the data source, it doesn't allow you to add ShowValue tags inside of the table. Take alook at the UIX Developer Guide for more information on the Table tag. The ShowValue tag can be used in a uix hierarchy outside of the tabel tag.

Similar Messages

  • How can I use jbo:InputSelect for a char type filed?

    How can I use <jbo:InputSelect for a char type filed?
    I have two tables. One is room (primary key is room(type is char)), another table is responsibility (foreign ker is room(type is char)). Both tables have same length for room column.
    There is a problem:
    If I use (in the "DataEditComponent.jsp" file)
    <jbo:InputSelect multiple="false" datasource="dsEdit" displaydatasource="roomData" displaydataitem="ROOM" displayvaluedataitem="ROOM" ></jbo:InputSelect>
    to get the room input for responsibility from combobox(Datasource roomData is from room table). In the form the room field cannot bind the data in combobox, alway select the first item. And if I select one item and click the update button.There is an error message:
    Error Message: JBO-27010: Attribute set with value H409 for Room in Responsibility has invalid precision/scale
    I found If I changed the field type from char to varchar2 in database also change the entity objects, it works well. I wonder if there are any diffrence using <jbo:InputSelect tag in char and varchar2 type. How can I use <jbo:InputSelect for a char type filed as i don't want to change my datatype in database at this stage.
    I try this in JDeveloper 9.03, 9.034, 9.04. The result is the same.

    If I were in your shoes, here's how I would do it:
    <%-- Assuming you have dsRoom and dsResponsibility --%>
    <%-- Select is an HTML tag --%>
    <select name="ROOM" size="1">
    <% char roomID =""; // Init your character var
    // Open a rowsetIterator to get the records and add them to the LOV
    <jbo:RowsetIterate datasource="dsResponsibility" changecurrentrow="true" >
    <% roomID = (char)dsResponsibility.getRowSet().getCurrentRow().getAttribute("ROOM"); // Grab the char value
    // add the value to the LOV
    %>
    <option value="<%=roomID%>"><%=roomID%></option>
    </jbo:RowsetIterate>
    </select>
    If you are using this as part of an edit page you may want to utilize the "selected" option of the <option> tag. In one instance I am doing this on an edit page because the use may open an existing record. If I don't account for it, then it will change the DB to contain the first value from the list! You can do a simple check like:
    //Set the current record's char
    char curRecord = (char)rowEdit.getAttribute("ROOM");
    // inside the iterate:
    if (curRecord == roomID) {
    <option value="<%=roomID%>" selected><%=roomID%></option>
    } else {
    <option value="<%=roomID%>" ><%=roomID%></option>
    Hope that helps!

  • How can I use apps that I have purchased from Apps Store for Mac on my iPad2?

    how can I use apps that I have purchased from Apps Store for Mac on my iPad2?

    Thanks, varjak, it is too easy to fall into use of jargon assuming everyone understands what it means.
    One additional point in all of this, not all "iDevice" apps run on every "iDevice".  Some are customized for a specific device, or class of devices such as the iPod/iPhone with their smaller screen.  Others for just the iPads for their larger screens.  So the user needs to be sure they are getting an app that will work on their specific device.
    And to Phoneboone, you do need to purchase the app again if it is for a different class of equipment.  When you are looking at apps such as iWorks for the Mac and iWorks components for the iPad, the iPad versions are very inexpensive.  Pages is only $10 (US) which is really cheap for such a good word processor that reads and saves in the MS Word format.
    Anyway, search for what you need and just enjoy the convenience of so many options for apps.

  • How can i open my iphone if some one but wrong password for many time?

    how can i open my iphone if some one but wrong password for many time (i want my files) ?

    See here
    http://support.apple.com/kb/HT1212

  • How can I use JTA in my business logic and execute process with PAPI?

    HI All,
    How can I use JTA in my business logic and execute process with PAPI?
    When my business logic has exception, the process will rollback.
    or the process has some exceptions, my business logic also will rollback.
    I don't know how to do it.
    Does anyone know how to do it?

    Thank you for your reply, Daniel.
    But I think I did not express my mind clearly.
    There is a scene that I have 2 Application Server.
    My business code is deployed in one Server.
    The BPM is deployed in another Server.
    I want to execute Task use PAPI.(ProcessServiceSession.runActivity)
    In my business code, I will do something before execute Task.
    I need my business logic and Task in same transaction.
    To ensure them "all-or-nothing" .
    As you say, if The transactions are managed by Oracle BPM.
    then can I retrieve OBPM transcaction in my business code?

  • How can I use apple mail (linked to gmail) and get it to only do autofill on the contacts that I have in apple address book?

    How can I use apple mail (linked to gmail) and get it to only do autofill on the contacts that I have in apple address book? Everytime I write an email on the Apple mail app (as well as in Gmail) it recommends a bunch of emails that are not my contacts. I want it to just autofill for the contacts that I have in my address book. Is this possible? Thank you. I have an Imac Intel version and an Iphone 5 phone.

    Mail > Window > Previous Recipients

  • I just purchased an iMac.  How can I use apps purchased on my iPhone and iPad on my new laptop?

    I just purchased an iMac.  How can I use apps purchased on my iPhone and iPad on my new laptop?

    1) Congratulations on purchaing an iMac. But an iMac is not considered a laptop.
    2) Apps you bought for you iPhone and iPad can interchange with each other, but can NOT run on an Imac or a MacBook.
    You will have to buy the same title again from the Mac App Store. When you do, you can run them on your iMac and your MacBook.

  • How can I use my iPad to check-in and check-out books to my students in my classroom?

    How can I use my iPad to check-in and check-out books to my students in my classroom?

    Assuming there won't be any wi-fi netwokrs, will there be cellular reception there?
    If so, you need to check if a carrier or the carrier if there is only one, offers a data only plan for the iPad and similar devices along with providing a mico-SIM card. If a carrier offers a data only plan with a full size SIM card, you can cut the SIM card down to mico-SIM size. There are devices that provide for this.
    If there is cellular reception but a carrier or the carrier doesn't have a data plan only for the iPad and similar devices but offers a tethering plan for phones on their network, you can tether your iPad to the cell phone for internet access via the carrier's cellular network.

  • How can i use jpg extension with forms 10g and webutil

    I have a form with webutil and i want to open imege jpg extension but thier are Bmp but my
    image jpg and image item has no jpg extension .
    How can i use jpg extension with forms 10g and webutil ?

    You can use the JFIF image format for jpg files.

  • How can i use talking caller id without jailbreak and those wacky apps

    how can i use talking caller id without jailbreak and those wacky apps

    Talking caller ID is not a feature of the iPhone. If by "wacky apps" you mean the ones that make custom ring tones for each contact from their name, that's your best bet.

  • How can I use the "Correct camera distortion" filter and process multiple files in PSE 11?

    How can I use the "Correct camera distortion" filter and process multiple files in PSE 11?

    Did you check the help page for Correct Camera Distortion and Process multiple file
    Correct Camera Distortion: http://helpx.adobe.com/photoshop-elements/using/retouching-correcting.html#main-pars_headi ng_5
    Process multiple files: http://help.adobe.com/en_US/photoshopelements/using/WS287f927bd30d4b1f89cffc612e28adab65-7 fff.html#WS287f927bd30d4b1f89cffc612e28adab65-7ff6

  • HT4437 how can i use my labtop on the wed and watch everthing im doing on my tv

    how can i use my labtop on the wed and watch everthing im doing on my tv

    Mirror, if your MBP is early 2011 or later running OSX 10.8 or newer.  If older visit www.airparrot.com, a third party app that works OK, mixed reviews but mine works well.

  • How can i use a hand off betveen ipad and iphone

    HOw can i use a hand off betveen ipad and iphone?

    The following has instructions: Connect your iPhone, iPad, iPod touch, and Mac using Continuity - Apple Support

  • How can i use my LAN Blu-ray player and tv to view screens on my macbookpro

    how can i use my LAN Blu-ray player and tv to view screens on my macbookpro

    in short - no.

  • How can I use same iTunes on iPad 64GB and iPhone 5 16 GB memory

    How can I use same iTunes account on iPad 64GB and iPhone 5 16 GB memory

    Just connect them your computer. iTunes will treat each device separately. Or if you mean iTunes Store account, you can choose what you download to each device, either directly from the iTunes Store or in synching from iTunes on your computer, as long as you don't have automatic downloads turned on.
    Regards.
    Forum Tip: This forum is for questions about using iPads in companies and organizations. Questions about the general use of iPads will normally best be posted in the Using iPad forum.

Maybe you are looking for