Integration of other JSF Components

Has anyone had success importing the OurFaces components into Creator?
Is there an established best approach on how to add custom components to Creator? I know the JSF spec needs to be enhanced in this area but I am in the process of implementing several custom components and want to ensure they will be integratable (sp?) into Creator.
Thanks a bunch!
Ernie :)

Helo Ernie,
I wouldnt say I had success in importing OurFaces components into Creator but I was able to import the components and see a list of the OurFaces components in the Palette. Here is what I did :
In the palette -> added components I right clicked and chose Import components. In the component runtime jar I browsed and chose the ourfaces.jar located in the D:\OurFaces\ourfaces\webapps\ourfaces\WEB-INF\lib directory. I chose the same ourfaces.jar for the Tool design time jar also. I clicked ok and I could see the list of components. I am not sure of how correct this is because when I drag and drop any of the components I cant see them on the form but they appear under Page1 -> html of the application outline window. I am not sure if anything has to be entered for Default tag library prefix and Default tag library URI. Since I have not really worked with OurFaces components I think I am missing out something here. I hope someone will be able to take it from here and get it working.
Cheers :-)

Similar Messages

  • Af:forEach statement causing other jsf components to be repeated

    Hi,
    I am experiencing the same problems as recorded in the following log:
    JSF af:forEach is looping also tags outside of af:forEach
    I have replaced my af:forEach tag with af:iterator which works with the number of items coming back changing dynamically (and therefore does not cause the display issues), however I can't display the iterator results in the same way as for the forEach loop.
    I am trying to get the iterator output displayed in a 3 by 3 grid, but the panel grid does not seem to recognise the iterator output as separate cells but just one continual line.
    Does anyone have any ideas as to how I can achieve the above?
    Thanks,
    Dave

    Hi Frank,
    Thanks so much for replying.
    The code that is causing me problems is as follows:
    <h:panelGrid width="335" columns="3">
    <af:forEach var="row" items="#{bindings.WsWanalItemsView1.rangeSet}">
    <af:panelGroup layout="vertical">
    <af:commandLink action="#{backing_catalogue.selectProduct_action}">
    <af:objectImage
    source="http://#{res[\'filehandling.ip_address\']}/FileHandling/imageScale
    ?entity=STY&type=THUMB&image=#{row.Stycode}&pic=thumb&X=100&Y=100
    &subtype=NONE&subentity=NONE"
    height="137" width="104"/>
    <af:setActionListener from="#{row.Stycode}"
    to="#{processScope.ParamStyCode}"/>
    <af:setActionListener from='#{\"NONE\"}'
    to="#{processScope.ParamSubEntityType}"/>
    <af:setActionListener from='#{\"NONE\"}'
    to="#{processScope.ParamSubEntity}"/>
    </af:commandLink>
    <af:panelHorizontal>
    <af:commandLink text="#{row.Thumbcomment}"
    inlineStyle="font-size:9.0pt;"
    action="#{backing_catalogue.selectProduct_action}">
    <af:setActionListener from="#{row.Stycode}"
    to="#{processScope.ParamStyCode}"/>
    <af:setActionListener from='#{\"NONE\"}'
    to="#{processScope.ParamSubEntityType}"/>
    <af:setActionListener from='#{\"NONE\"}'
    to="#{processScope.ParamSubEntity}"/>
    </af:commandLink>
    <af:objectSpacer width="1" height="16"/>
    </af:panelHorizontal>
    </af:panelGroup>
    </af:forEach>
    </h:panelGrid>
    The forEach statement is bound to a table that brings back product Id's (9 at a time), which are then put into the source url for an object image to display the relevant image. There is also a caption hyperlink displayed underneath the image.
    The forEach statement is placed in a panelGrid so that the images are displayed as a 3x3 grid.
    The image itself is a link that when selected runs code that executes a query, displaying information related to the selected image.
    This all works really well, however if I select an image and display its details, then change another parameter on the page that means different product ids are returned, then select to see details for another image then multiple JSF components on the screen (they all seem to come after the forEach statement) are displayed twice.
    After much digging I found the following statements:
    "changes from one request to the next. It may be possible to work around this in some scenarios by manually deleting all the children of the parent component (e.g., af:selectOneListbox in the code sample below), but this has not yet been tested. "
    and
    "Unlike the af:forEach tag, the af:iterator tag implements an iteration that works with a JSF DataModel or CollectionModel, and can be bound to EL expressions that use EL variables created by components."
    Therefore I have tried to use an af:iterator instead. By changing my af:forEach for an af:iterator I no longer get the duplication issues mentioned above, but I'm having trouble displaying the output of the iterator in a panel grid. I.e. 3x3 images each with a label underneath. It's as if it treats the output of the iterator as a single component.
    This is causing me serious problems so your help on this issue would be greatly appreciated.
    Thanks,
    Dave

  • How can I validate a DataTable with inputText and other JSF components?

    I have a DataTable with various input components. I need to be able to validate what the user has entered on all the rows of the DataTable. Does anyone have any examples they can point me to, experiences with this, or knowledge on how to do this?
    Thank you so much.

    Do you have to use backing beans instead of managed beans to validate components inside a DataTable?

  • Can I write Design-time for JSP custom tag(not JSF components)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • How to standardize the look & feel of different vendor JSF components?

    Hi,
    There are various JSF components created by different parties. For example, Tomahawk from Myfaces, ADF faces from Oracle, SUN components that provided in Java Studio creator. They look different.
    Can we standard the look and feel for these various components when we use them in a same project? so that it wouldn't look that different when the page is displayed to the end user.
    Please advise.
    Thank you.

    Hi,
    Can you be more specific how to achieve that using css? You mean the look and fee that we see is not an image?
    Have you seen how Oracle ADF face look & feel is like?
    How to change its look to what we have SUN offered in its Java studio creator 2?
    Please advise.
    Thank you.

  • Problem Adding Custom JSF Components to Oracle JDeveloper 10g (10.1.3) Prev

    I'm having a problem on Adding Custom JSF Components to Oracle JDeveloper 10g (10.1.3) Preview (http://www.oracle.com/technology/products/jdev/101/collateral/101/adffaces/howto_customcomponents.html)
    The step 1 of 5 isn't visible for me and I don't see the "Install from local file" option to select the adf-faces-bundle.zip from my file system. The OTN check for updates don't prove the ADF Faces...
    What may I do?

    And...
    If "Check for Updates Wizard" is not launched, you can try to set LANG.
    see: 10.1.3 Can't not launch Update Wizard in Japanese environment.
    10.1.3 Can't not launch Update Wizard in Japanese environment.
    Thanks.
    Takuya Ono

  • Is JSF components changed in RAD 7.0?

    Hi,
    I see that some of the components like h:commandLink are missing in the RAD 7.0. Is that so?
    Also is there any documents which shows the usage of all the JSF components?
    Thanks,
    Elango

    Depends on the JSF implementation used in RAD. Consult the RAD manfacturer and its documentation.

  • JSF Components in HTML Components

    Hi,
    I'm trying to use JSF components as children of HTML components but the UI isn't being rendered properly.
    Basically, here's my scenario:
    <ul>
         <li>
              <h:commandLink id="newQuoteLink" styleClass="topNav" action="#{pc_HeaderFragment.newQuote}">
                   <h:outputText value="Add New Quote"/>                              
              </h:commandLink>               
         </li>
    </ul>All I want rendered is a text link ("Add New Quote") that will execute a backing bean method
    When I run the server, the <a> tag is generated before my original <ul> list.
    How come it can't simply return to the outputtext to the location that I called it?
    Am I missing something here?
    Thanks in advance!
    Matt

    Looks like you're using JSF 1.1. At this version of the spec, there were issues with content interweaving that necessitated the need
    of f:verbatim tags to wrap template text (i.e. non jsf-markup).
    This isn't necessary for 1.2, but if you must stick with 1.1, your markup should look something like:
    <f:verbatim>
    <ul>
        <li>
    </f:verbatim>
    <h:commandLink id="newQuoteLink" styleClass="topNav" action="#{pc_HeaderFragment.newQuote}">
        <h:outputText value="Add New Quote"/>                              
    </h:commandLink>            
    <f:verbatim>
         </li>
    </ul>
    </f:verbatim>Given the ugliness if this, if you have to use JSP for your views, migrate to JSF 1.2.
    If you must stay with 1.1, look into Facelets [1], Clay [2], or JSFTemplating [3]
    as a substitute for JSP as you won't have these issues.
    [1] https://facelets.dev.java.net
    [2] http://shale.apache.org
    [3] https://jsftemplating.dev.java.net

  • Installing Essbase Server on Linux, Other essbase components on windows.

    Hello all,
    We are planning to upgrade from 11.1.1.4 to 11.1.2.2. We have just the essbase server installed on linux and other essbase components like Essbase Administration Services, essbase integration services, provider services installed on Windows. My question is how do I go about gathering files to install just the Essbase Server on Linux and other Components on Windows. I have gone through the Media Pack doc for Windows 2008 64(on which we plan to install the other essbase components). In that if I click on the files needed for essbase(listed as essbase plus) it gives me all the files needed to install essbase components.Which means(correct me if am wrong) on a server where am planning to install just essbase components like Provider services, Essbase Admin Services and provider services it gives me the files needed for Essbase server as well, which I donot need. So how do I go about accomplishing this. Or are there any other ways to achieve what am trying to do.
    Thanks,
    Ted.

    Awesome, thats what I thought, so in that case, if I want to install Essbase server on Linux, I have to download the essbase files for linux and select only the essbase server while installing, and if I want to install essbase components on windows, I have to download the same set of files but for Windows OS and select to install only the essbase components that I need. Is that right?
    Thanks,
    Ted.

  • Binding JSF components and servlets to eachother

    Hi, I have some JSF components in my jsp page like this one:
    <h:form rendered="true" id="myForm">
                   <h:selectOneListbox>
                        <f:selectItem itemdisabled="false" itemlabel="item1" itemvalue="1"></f:selectItem>
                        <f:selectItem itemdisabled="false" itemlabel="item2" itemvalue="2"></f:selectItem>
                        <f:selectItem itemdisabled="false" itemlabel="item3" itemvalue="3"></f:selectItem>
                   </h:selectOneListbox>
              </h:form>and I have this servlet:
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class myServlet extends HttpServlet {
         public myServlet() {
              super();
         public void destroy() {
              super.destroy(); // Just puts "destroy" string in log
         public void doGet(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
         public void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
         public void init() throws ServletException {
    }Could you please help me:
    *1.* How to populate my listbox using my servlet?
    and also
    *2.* How to get the selected item in my servlet every time that user change the selected option of list box?

    Please don't crosspost topics over all places. Stick to one topic.
    Continue here: [http://forum.java.sun.com/thread.jspa?threadID=5299291]

  • Event Server Integration with other Products

    I have been using the EDA approch in my SOA project for few years now. These were based on JMS and other modes of Events supported by the WLI, BPM products. Now we have a dedicated Event processing server can we expect utilities/UI components that would easE the integration with other BEA products? What is the time frame for the avilability for this as well as the console for the Wev server?
    Thanks,
    Anil Datt

    Hello,
    Thank you for your post. We do have some integrations with other Adobe products planned for the future, but it's too early to announce our plans. We appreciate your enthusiasm for Buzzword - please keep the suggestions & ideas coming.
    Kind Regards,
    Michelle

  • JSF components within jsf components programatic

    I am using the java sun pane_tabbed component on a jsf page and I want another jsf page to be the tab body. I tried to include another jsp page but that doesn't work. The include in the example something like
    <h:panelGroup>
    <h:outputText value="here is some info to display on tab "/>
    </h:panelGroup>
    It seems I just can't say
    <h:panelGroup>
    here is some info to display on tab
    </h:panelGroup>
    This remind me of servlet days where everything was out.println and why we came up with jsp in the first place and I figure there's got to be a better way.
    So what's the way? I understand I could make the inner html another jsf tag but thats overkill for what I am trying to do. Also I need the inner html to be treated itself like an entirely different page (like a component) so just to put outputText around everything just wouldn't work.
    So what's the way

    In addition.... I understand that part of the JSF concept is that the client can be many different devices and depending on which client different widgets get displayed. A way that that could still be true is that I register a components in faces-config.xml by specifying that it is a jsp page (with jsf components). Then a jsf tree is built with the widgets I have included on the jsp page. Then I specify that the renderer is a jsp page renderer which would mean for my application it would display the jsf page like I wanted with the components where I wanted them. Then if I want to render on for instance a swing application I then need to program a renderer which says how to display these widgets there.
    I'm pretty new to JSF but I'm hoping that I am on the right track here. There should be some way for non java developers to help with the creation of components I would think.

  • Oracle ADF JSF components - do I need license

    Are Oracle ADF JSF components free? I know that Oracle contributed source to Apache. Does it mean I can use ADF or do I need to pay for it? Thanks
    Tomas

    ADF Faces now known as Trinidad is open source library.

  • Create reusable jsf components as jsf components

    Hi
    I'm new to JSF (and J2EE in general, I used to use WebObjects a decade ago). I'm using JSF 1.2
    so, I'd like to know if it is possible to create reusable jsf components designing some jsp page ?
    I'm particularly interressed in reusable components that, when used, are not leafs in the html trees (but so support that the reusing page provide some piece of html to be put "inside")
    Is there any way to do that ? (WebObjects, a decade or so ago, allowed to do that...)
    Thanks for your help
    cd

    Use Facelets instead of JSP. Then you can make use of ui:composition for this.
    By the way, J2EE is dead, it's called Java EE now. This keyword must give you more r|decent Google results.

  • JSP 2.0 tag files for rendering JSF components

    Over the weekend I read up on new JSP 2.0 features (dunno why I waited this long??) ... I really liked the tag file feature ...
    I was wondering if it were a good idea to use these tag files as renderers for JSF components - ok, this ties us to a JSP only solution but how many in here would be using a non-JSP solution anyway?
    I was thinking along the foll. lines:
    <myComponent id="myComponent1" attr1="value1" attr2=value2">
        <myComponentRenderer var="myComponent1" />
    </myComponent>
    myComponentRenderer can be implemented as a tag file in myComponentRenderer.tag ... The myComponent tag delegates the business logic processing to its associated UIComponent and then sets this component as a pageContext attribute with the id "myComponent1" ... myComponentRenderer in turn gets a reference to this UIComponent and renders it ...
    Again, if one wants a different way of rendering, make another tag file myComponentRenderer2.tag or change myComponentRenderer.tag itself ...
    Indeed, this may not work for components with complicated rendering logic but I believe that's only the 20% case ...
    Comments?
    P.S.:
    I've picked this up from http://forums.java.sun.com/thread.jsp?forum=427&thread=381052&tstart=0&trange=15
    This also compliments another topic: http://forums.java.sun.com/thread.jsp?forum=427&thread=413515&tstart=0&trange=15

    You are right in saying that decoding has nothing to
    do with rendering per se.I will go even further than Erik did, and dispute this statement.
    Consider that you are generating an <input> tag for a text field. Among other things, you have to generate a "name" attribute. Who decides what to put there? The renderer that actually created the markup.
    The "renderer" really does
    two completely different things. But both should
    nevertheless be separate from the component
    implementation itself. You could still have the
    renderer doing the decoding part, which arguably would
    rarely change, and somehow delegate the actual
    rendering to an implementation in a tag file.Whether you implement decoding in a separate class or inside the component, what request parameter name do you look for? It is not reasonable to assume that ALL possible renderers will choose the same parameter name ... hence, decoding and encoding are inextricably linked (the code doing the decoding has to know what kind of markup the code doing the encoding actually created). In JavaServer Faces, the current APIs create that linkage by requiring that the decode and encode be done by the same class (either the component, if you are not delegating, or the renderer if you are).
    Craig

Maybe you are looking for

  • How do i get the playlist on itunes to match the one on my ipod?

    I have this one playlist, that appears in the order i want it on my ipod, but at one point, when i was looking at it on itunes, i clicked the 'Name' column (to sort the songs by title), and now i can't view it the way it is on my ipod anymore.. is th

  • How do I tell if a particular update rule is used

    I have inherited a sales reporting application in BW 3.5. It has update rules from 2LIS_13_VDITM to 4 level 1 ODS. There are update rules from those 4 level 1 ODS to Level 2 ODS and cubes. So far so good. However there are also update rules from 2LIS

  • Acrobat Pro 6.0

    I have Adobe Acrobat 6.0 Can I install it on my new computer? Must I upgrade to XI Pro?  Does XI Standard do what Pro 6.0 does? Can I change pagination with XI Standard? How much is the upgrade to XI Pro?

  • Invoice Block in all cases

    Hi to all I need some help for an issue. The problem is that all invoice posted via MIRO are blocked, even Invoice it's higher, lower or equal to the PO or GR... it's blocked in all cases... But isn't all, because the strange thing it's that this Inv

  • Saloe odere and purchase requi

    is there any relation b/w sales order and purchase requisition.