ADF FACES: af:selectOneRadio onclick not supported in EA14?

After upgrading to EA14, the behavior of an af:selectOneRadio control with an onclick binding has changed. In EA13, the onclick javascript was properly being invoked in the generated html. Now, in EA14, the javascript is not emitted in the html at all.
Here's the fragment I'm working with:
<af:selectOneRadio label="Appointment obtained?" id="apptYesNo" valign="middle" converter="javax.faces.Boolean" valuePassThru="true" value="#{officeCall.call.appointmentObtained}"
onclick="toggleBlockOnBooleanRadioValue('apptYesNo', 'documentAppt', 'documentNoAppt')">
<f:selectItem itemLabel="Yes" itemValue="#{bool.trueVal}"/>
<f:selectItem itemLabel="No" itemValue="#{bool.falseVal}"/>
</af:selectOneRadio>
And here's the generated HTML:
<TD vAlign=center noWrap><SPAN id=apptYesNo><INPUT id=apptYesNo:_0 type=radio value=true name=apptYesNo><LABEL class=x4 for=apptYesNo:_0>Yes</LABEL><BR><INPUT id=apptYesNo:_1 type=radio CHECKED value=false name=apptYesNo><LABEL class=x4 for=apptYesNo:_1>No</LABEL></SPAN></TD></TR></TBODY></TABLE></TD>
Has this been changed on purpose? Is there a replacement I can use to trigger my javascript?
Thanks.

Yes, I can reproduce this; no, it's not intentional.

Similar Messages

  • JDeveloper 11.1.2.3, ADF Faces: declarative component does not support af:clientListener?

    I am trying to create a declarative component with the following code:
    <?xml version='1.0' encoding='UTF-8'?>
    <af:componentDef xmlns:af="http://xmlns.oracle.com/adf/faces/rich" var="attrs" componentVar="comp" definition="private"
                     xmlns:afc="http://xmlns.oracle.com/adf/faces/rich/component">
        <af:xmlContent>
            <afc:component>
                <afc:display-name>DoubleClickTableDialogClientServerListener</afc:display-name>
                <afc:component-extension>
                    <afc:component-tag-namespace>org.mskcc.crdb.common.declarativecomponent</afc:component-tag-namespace>
                    <afc:component-taglib-uri>http://www.mskcc.org</afc:component-taglib-uri>
                </afc:component-extension>
            </afc:component>
                <af:clientAttribute name="serverListenerType" value="TableDoubleClickEvent"/>
                <af:clientListener method="handleTableDoubleClick" type="dblClick"/>
                <af:serverListener type="TableDoubleClickEvent"
                                   method="#{EditAddDialogTemplateBean.handleTableDoubleClick}"/>
        </af:xmlContent>
    </af:componentDef>
    At runtime I recieve the following error:
    javax.faces.view.facelets.FaceletException: ADF_FACES-60023:Component: DoubleClickTableDialogClientServerListenerComponent[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@7170a7, id=dctdcsl1] does not support client listeners.
      at oracle.adfinternal.view.faces.facelets.rich.BaseClientListenerHandler.apply(BaseClientListenerHandler.java:53)
    This component was intended to be dropped off within an af:table component. I would like to hear suggestions on workarounds, one other way I thought about was to create a code template for the three tags, however, the con to this approach is each developer would need to configure this template within jdeveloper. Ideas are appreciated.
    Also a side question, how can I embed code properly with the new forum? [code] tag does not seem to work now.

    Wes, can't help with the real question, but can tell you how to format code
    Change to the advanced editor (top right over the editor field), then you get more options. The one you are looking for is behind the blue '>>'. Here you select the language you want to insert and you get nice code formatting and color.
    Timo

  • ADF Faces: !-- ERROR: could not create stylesheet for oracle-desktop.xss

    Hi,
    I'm using ADF Faces EA6. Sometimes when I create the EAR, it doesn't include the file "oracle-desktop-ea6-ie-6-windows.css" which muest be present in the "adf/styles/cache" directory. If I check the source code from the browser, it starts like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="ltr" lang="es-ES">
    <head><title>Sistema de Seguridad</title><meta name="generator" content="Oracle ADF Faces"><!-- ERROR: could not create stylesheet for oracle-desktop.xss --><script type="text/javascript" src="/fmv/adf/jsLibs/Commonea6.js"></script><script type="text/javascript">_defaultTZ()</script></head>
    Please note the comment: <!-- ERROR: could not create stylesheet for oracle-desktop.xss -->
    Does somebody know the reason?
    TIA,
    Brian

    If everything is set up properly the css will get generated if it doesn't exist. You do not have to be running in the IDE for the css to be correctly generated. Running the app first is generating the css before you deploy, so you've taken away the symptom but not solved the problem. If you try running on another browser, for example, you'll probably run into the same problem.
    Does your ear get unzipped when you deploy? Do you have a writable file system for the css to get written to? There is a known issue with WebLogic where it doesn't expand the EAR.
    Please check to see if there are errors in the logs.

  • ADF Faces link to download not works!

    this link: http://download.oracle.com/otn/java/jdeveloper/1013/adf-faces-ea11.zip not works. Please help me.
    Kassius

    I tried it now, and was able to download the zip file. Check it out again.

  • ADF faces client Demo application not able to download from oracle site

    Hi
    Why http://www.oracle.com/technetwork/developer-tools/adf/downloads/index.html  link from Oracle site shows blank area.
    I want to download source code for ADF Faces Rich Client Components Demo application.
    Can someone please provide direct URL for source code not war file.
    Thanks
    Vikas M

    Looks like the download is temporary down. Worked yesterday.
    Timo

  • Build and Extend an ADF Faces Application (ADFDialogFwk-does not compile)

    Has anyone upgraded the "ADFDialogFwk" application to work with Jdeveloper 10.1.3 Early Access 1 ?

    It requires a specific version of ADF Faces ea17 to be downloaded from oracle... of course as of today this version is upgraded to ea19 when you check for updates
    maybe this is the problem with my Jdeveloper..
    Did you try to compile it with Jdev 10.1.3 AE ?
    Regards,
    Maira

  • ADF FACES: af:messages/ does not display my messages at all

    I am having an issue displaying messages using ADF MyFaces EA20.
    <af:messages />
    Within all backing beans I call messages with the following method to conveniently display messages when needed.
    // Add invalid email address message
    JSFUtils.addMsgToContext(FacesMessage.SEVERITY_ERROR, "setEmail_error", MsgConstants.INVALID_EMAIL);
    The method utilized can be seen below:
    public static void addMsgToContext(FacesMessage.Severity severity, String msgKey, String descKey) {
        // Check the parameter, if either short desc or desc both are empty
        if (StringUtils.isEmpty(descKey)) {
            logger.error("Message description are empty. Do NOTHING just return");
            return;
        try {
            logger.debug("Add Message to Context");
            FacesContext context = FacesContext.getCurrentInstance();
            Application application = context.getApplication();
            // Add the message to the context
            context.addMessage(msgKey, getMessageFromBundle(descKey, severity));
        } catch (RuntimeException e) {
            * Supress RuntimeException.
            logger.error("Error occured when add message to context", e);
    With the first login page when validating username and password, the messages I send to the context display correctly, for example, “incorrect password please try again” and this uses exactly the same code as above in the backing bean.
    However once a session has started the messages simply do not get displayed and are not included in the HTML the <af:messages /> is replaced with nothing.
    No runtime exception is thrown.
    If anyone has any idea of why the messages are not being displayed I would be very grateful to hear them.
    Finally if I may add that I used this method of displaying messages in a previous project and it was fine. This time the only difference is that I am using Hibernate.
    The closest answer I could find to a similar issue with Oracle Forums was:
    The messages have to be added before the Render Response phase. It's generally very unusual to add messages in a bean getter/setter. I'd restrict yourself to adding messages in event listeners and actions.
    I do put messages in my setter methods as this is where I perform validation, but I have tried moving them to the main method called by the action button and this still does not display my messages.

    Frank
    There is a standard way? Next time you can simply tell me to RTFM ;-) . I am working on a project and was assigned my particular section and was told that the messaging aspect and validation was not urgent, until now near the end of the project when it has become urgent. Rather then listen to my colleagues answer of "this is the way to do it" your answer suggested that we working in a non-standard way.
    Having looked at Oracle JDeveloper 10g (10.1.3) Documentation, Validation, Conversion, and the Application Lifecycle section I noticed:
    Render response:
    Either display new page based on invoked navigation rules, or displays same page with errors.
    I was providing a new navigation String to the same page under all conditions, which I guess gives a new context and so does not display the messages. Under error conditions I now return an empty navigation String and now it displays my messages.
    Thank you for your help with this and I promise to read the manual next time.
    Andrew

  • ADF Faces EA15: table update not working properly after dialog return event

    Hi,
    in my application I have a table with read-only records and an edit button for each row.
    The button triggers a dialog where one field of of the record can be edited.
    The record is a bean which is put into processScope.
    After accepting the change in the dialog the bean makes an update in the database changing the order of the records in the table on the launching page.
    The return event triggers a re-rendering of the launching page (which I can see from the output of a phase listener) and the table model gets updated but the table output is not updated visually.
    However, if I call the dialog on another record I don't get the record I see in the table but instead I get the record which I'd expected if the table re-rendered properly.
    Do I have to trigger any kind of event on the table now so that the framework knows that a change has taken place and that the table has to be re-rendered? There is no difference whether I use PPR or not. It used to work in EA14.
    Thanks,
    Achim

    In EA14, the return from the dialog required a full-page refresh (whether the dialog was launched with PPR or not didn't matter). In EA15, it's done with PPR if possible. This avoids the flash (and re-scrolling, etc.), but means you do need to tell us what's going to get changed because of the return. You can use partialTriggers on the table with the "id" of the button to make this happen.

  • ADF Faces EA15 Demo will not run

    Here is the error that I get (I am using Tomcat 5.0.28):
    javax.servlet.ServletException: Cannot find FacesContext
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
         org.apache.jsp.index_jspx._jspService(index_jspx.java:96)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.jsp.JspException: Cannot find FacesContext
         javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405)
         com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
         org.apache.jsp.index_jspx._jspx_meth_f_view_0(index_jspx.java:111)
         org.apache.jsp.index_jspx._jspService(index_jspx.java:89)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    javax.servlet.ServletException: Cannot find FacesContext
    What is servlet-mapping for the Faces Servlet in web.xml?
    If the servlet-mapping is:
    <servlet>
        <servlet-name>Faces Servlet</servlet-name>
        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
      </servlet>
      <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/faces/*</url-pattern>
      </servlet-mapping>Invoke the JSF page with the URL
    http://<host>:<port>/<context-root>/faces/jsfFile.jsp
    The Faces Servlet gets called.
    The Faces Servlet maps to the JSF page.
    If the JSF page is called with the URL
    http://<host>:<port>/<context-root>/jsfFile.sjp
    the error
    javax.servlet.ServletException: Cannot find FacesContext
    gets generated.
    To call the JSF page with the URL
    http://<host>:<port>/<context-root>/jsfFile.jsp
    set the servlet mapping to
    <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>/*</url-pattern>
      </servlet-mapping>

  • ADF FACES: af:column sortProperty not working on EL expression

    If you use an EL expression as a sortProperty on an af:column element, the column is not actually made sortable.
    For example, if you have this:
    <af:column sortProperty="#{row.phys.name.firstName}" sortable="true">
    <f:facet name="header">
    <af:outputText value="First Name"/>
    </f:facet>
    <af:outputText value="#{row.phys.name.firstName}"/>
    </af:column>
    The data is properly represented in the table, but the column is not sortable. If you create a "firstName" property directly on the objects in the table data and use a specification like what's shown below, then the column is sortable.
    <af:column sortProperty="firstName" sortable="true">
    Why this difference in behavior? It's very common to have complex object trees and only allowing direct properties to be sortable is a significant limitation.
    So, is this a bug, or is it working as designed?

    My data model is fairly deep, with subordinate objects for things like Names and Addresses. So, a Physician object contains numerous sub-objects that can be accessed using simple methods GetName() and getAddress().
    Given an af:table in which I'm trying to display information on a physician, I'd like to be able to reference the nested data directly and still have it be sortable. Thus, I would like to be able to specify sortProperty="phys.name.lastName" and have the column sort on the value of that nested property.
    Is that enough of an explanation? If not, I'd be happy to expand on it.
    Also, given that you say it is working as designed, I'm assuming that it was designed to be a simple property name directly accessible on the bound variable, correct?
    Thanks.

  • ADF Faces Developer Tools download not working

    After I submit the feedback form, it redirects to a page that cannot be found (404).

    What is the URL of the download?

  • ADF Faces: valueChangeListener on selectOneListbox not fired

    Hi everybody,
    I have a page where the components that have a binding value, get the component from a request managed bean and its data is retrieved from a session bean.
    What i need to so is a list where at changing the select item, some labels are updated and change the string they are showing. I'm trying to do this by attaching a listener to a selectOneListbox component, but the logic inside the method is never reached, even when you can see in the browser that a submit has been performed.
    The code for the selectOneListbox is as follows.
    <af:selectOneListbox id="lstPolicies" inlineStyle="width:225px;"
         value="#{dataBackingBean.selectedPolicy}"
         valueChangeListener="#{policyResultsBackedBean.lstPolicies_onListChangeListener}"
         binding="#{policyResultsBackedBean.lstPolicies}" autoSubmit="true" size="12">
         <f:selectItems value="#{policyResultsBackedBean.lstPoliciesItems}" />
    </af:selectOneListbox>
    dataBackingBean is the session managed bean, and, policyResultsBackedBean is the request one.
    Since there are two groups of labels to be updated, they have been displayed into a panel, which is the one listening for the firing.
    <af:panelGroup layout="vertical" inlineStyle="width:320px;"
         binding="#{policyResultsBackedBean.pnlPolicyVOPanel}"
         partialTriggers="lstPolicies">
    <af:panelHorizontal valign="top" styleClass="form"
         inlineStyle="width:320px;">
    <h:panelGrid styleClass="datagrid2" columns="2"
         columnClasses="cheader,value">
    <af:outputLabel value="#{policyResultsBackedBean.LBL_USER}:" />
    <af:outputLabel value="#{dataBackingBean.policyVO.userName}" />
    any way, just to try, I set the partialTriggers atribute in every single outputLabe, but nothing got better since the method is never fired.
    Any help or ideas are welcome, thanks in advance.

    Hi,
    I have a similar problem. I've got a selectonechoice whose id attribute is "mylist". In addition, I've got a panelLabelAndMessage that contains an inputText. I just want to show/hide this panelLabelAndMessage depending on the selectOneChoice value, so I've coded the panelLabelAndMessage's rendered attribute so that it only comes up under certain circumstances. Also, I've set partialTriggers="mylist".
    However, panelLabelAndMessage doesn't refresh properly. I have to refresh manually (by F5 key) after every list change to show/hide the panelLabelAndMessage.
    Any ideas?
    Regards.
    Luis Serrano.

  • ADF faces (adf-faces-impl.jar) on Glassfish not being deleted on undeploy

    I'm using Glassfish milestone 48 (Windows) and Oracle's ADF Faces in a basic web application. When undeploying an already deployed application the adf-faces-impl.jar is not being deleted from the applications WEB-INF/lib folder on the server.
    Google searches have led me to believe that this is because the file was locked at the time the app was being undeployed. All my application does is display an ADF Faces date component using the ADF taglib. There is no programming logic built in it (yet). So I'm guessing there is some issue with ADF Faces and Glassfish. I verified this same error when using the ADF Faces demo war application that is packaged with the ADF Faces download.
    Stopping Glassfish and starting it up again solves this file locking issue. But this is far from ideal in a development environment where we constantly redeploy apps.
    Any help on how to fix this would be of immense help.
    -sud

    Here is a stack trace from the point where the jar file is opened during deployment of adf-faces-impl to GlassFish. On the surface, it looks as if a stream might be opened but not closed in the ADF code?
    - Tim
    domains\domain1\applications\j2ee-modules\adf-faces-demo\WEB-INF\lib\adf-faces-impl-SNAPSHOT.jar
    java.util.zip.ZipFile.<init>(ZipFile.java:242)
    java.util.jar.JarFile.<init>(JarFile.java:132)
    java.util.jar.JarFile.<init>(JarFile.java:70)
    sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:56)
    sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:41)
    sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:63)
    sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:102)
    sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:124)
    java.net.URL.openStream(URL.java:1007)
    oracle.adf.view.faces.bean.FacesBeanFactory._initializeBeanTypes(FacesBeanFactory.java:125)
    oracle.adf.view.faces.bean.FacesBeanFactory._initializeBeanTypes(FacesBeanFactory.java:116)
    oracle.adf.view.faces.bean.FacesBeanFactory.<clinit>(FacesBeanFactory.java:151)
    oracle.adf.view.faces.component.UIXComponentBase.createFacesBean(UIXComponentBase.java:108)
    oracle.adf.view.faces.component.UIXComponentBase._init(UIXComponentBase.java:1192)
    oracle.adf.view.faces.component.UIXComponentBase.setRendererType(UIXComponentBase.java:332)
    oracle.adf.view.faces.component.UIXComponentBase.<init>(UIXComponentBase.java:102)
    oracle.adf.view.faces.component.UIXColumn.<init>(UIXColumn.java:159)
    oracle.adf.view.faces.component.core.data.CoreColumn.<init>(CoreColumn.java:215)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.table.SpecialColumnRenderer.<clinit>(SpecialColumnRenderer.java:17)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.<init>(TableRenderer.java:877)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.<init>(DesktopTableRenderer.java:48)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.<init>(DesktopTableRenderer.java:60)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    java.lang.Class.newInstance0(Class.java:350)
    java.lang.Class.newInstance(Class.java:303)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1308)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1379)
    com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:774)
    com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:529)
    org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
    org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
    com.sun.enterprise.web.WebModule.start(WebModule.java:292)
    org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java:659)
    com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1478)
    com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)

  • Non-compliant HTML from ADF Faces 10.1.3.2

    We have had a query about the HTML rendered from ADF components from a potential client. When a page generated from an ADF Faces app. is run through the W3C HTML validator, it returns a number of errors, suggesting that the HTML does not conform to the current HTML 4.01 standard, although this is the standard specified in the doctype for the page.
    For example a test jspx page built with a simple ADF Faces PanelPage component only, generates numerous errors when run through the validator at http://validator.w3.org.
    Does Oracle have an official position on this? Is this something we will have to live with unless we write our own renderer? Do Oracle propose to change the components to conform with the standard in the future?
    Matthew

    Matthew,
    can you explain what your concrete concern is? I handled a similar question in the past where the claim was that non-standard HTML would make web pages look insecure. However, there was no proof for this statement, so I am wondering if it is the same argument.
    So please let me know what exactly it is that makes your client worry? If you use the same validator and try www.yahoo.com or www.google.com, it will show errors as well. I am not sure there are many web page on this planet that pass the validation test wth no errors.
    Back to your question though; There is no official statement Oracle has on HTML compliance in writing that you can pass on to your client.
    We do look at the validness of the generated HTML for the components we write on a regular basis. We don't see or have reports of limitation of our generated HTML and perform regular browser certifiation tests to ensure that applications built with ADF Faces don't fail browser support.
    If there is a serious issue with the genrated HTML code that prevents you or your client to run web applications built with ADF Faces, please let us know by filing a Service Request with customer support so we have a bug to trace and fix.
    Frank

  • How to develop web app by ADF Faces rich web client ?

    i want developer web app by adf face rich
    but have not adf rich tag library in jdev 10.1.3
    how to develop by adf rich?

    Hi,
    don't know what you mean by ADF Faces rich web client, but if you mean our Ajax component set, then this is not yet available outside of Oracle. If you mean ADF Faces as we have it in JDeveloper 10.1.3, create a JSF page and step through the creation process, toggle the ADF Faces libraries to make ADF Faces available
    Frank

Maybe you are looking for

  • Deployment OBIEE10g on UNIX HP-UX

    Hi Guys, I have the following case, and i want your help. I have developed OBI repository on Windows 32-bit, and i upload the repository on UNIX server HP-UX 64-bit, when i tried to access BI Answer, and try to retrieve a simple report, i meet the fo

  • How do I stop Firefox from automatically signing in every time I restart

    About a week ago, Firefox started automatically signing in whenever I have restarted or shutdown and then turned laptop back on again. After the usual icons and stuff has reappeared on desktop, suddenly Firefox starts opening/signing in, without my a

  • GL account-FB60 billing-Profit Center

    Hi, I have a doubt regarding the GL account. I have created a new GL account for Expense and also have a Cost Element with CE category 1. When I use this GL account for posting thru FB60(Vendor invoice creation) the system is prompting me to enter  a

  • Activity Templates inside Service Request Templates

    I have run into a problem and I was hoping there is an easy solution. I have built Activity Templates for Access Requests, one template per application. Then I have Service Requests for per Job Code, which include up to 20 of those Activity Templates

  • Display part of an image in a box

    I have a script that places several images in boxes using script labels.  I use the command, "fit myrect3 given content to frame" and that works great for all images but one.  One image is larger than the box and I only want to show a portion of the