Load a component with jsf 2.0 and ajax

Hello i have thew next code in a index.xhtml
<h:commandLink action="index" value="Home" actionListener="#{contingut.cont}" >
<f:ajax render="content2" >
</f:ajax>
</h:commandLink>
and I wnat that when the user click the button a Component load's in content2.
I don't know how to do this.
Thanks.

I have a navigation bar in the left and the components must show in the right of the page.
The components must display in "content2"
thanks
Edited by: 807399 on 17-nov-2010 7:26

Similar Messages

  • Very big problem with JSF about FORM and "id=" for HTML form's elements and

    I have discovered a very big problem with JSF about FORM and "id=" for HTML form's elements and java instruction "request.getParameterNames()".
    Suppose you have something like this, to render some datas form a Java Beans :
    <h:dataTable value="#{TablesDb2Bean.myDataDb2ListSelection}" var="current" border="2" width="50%" cellpadding="2" cellspacing="2" style="text-align: center">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    <h:outputText id="nameTableDb2" value="#{current.db2_name_table}"/>
    </h:column>
    </h:dataTable>
    Everything works fine...
    Suppose you want to get the name/value pairs for id="nameTableDb2" and #{current.db2_name_table} to process them in a servlet. Here is the HTML generated :
    <td><span <span class="attribute-name">id=<span class="attribute-value">"j_id_jsp_1715189495_22:0:nameTableDb2">my-table-db2-xxxxx</span></td>
    You think you can use the java instructions :
    Enumeration NamesParam = request.getParameterNames();
    while (NomsParam.hasMoreElements()) {
    String NameParam = (String) NamesParam.nextElement();
    out.println("<h4>"++NameParam+ "+</h4>);
    YOU ARE WRONG : request.getParameterNames() wants the syntax *name="nameTableDb2" but JSF must use id="nameTableDb2" for "<h:outputText"... So, you can't process datas in a FORM generated with JSF in a Servlet ! Perhaps I have made an error, but really, I wonder which ?
    Edited by: ungars on Jul 18, 2010 12:43 AM
    Edited by: ungars on Jul 18, 2010 12:45 AM

    While I certainly appreciate ejb's helpful responses, this thread shows up a difference in perspective between how I read the forum and how others do. Author ejb is correct in advising you to stay inside JSF for form processing if form processing is what you want to do.
    However, I detect another aspect to this post which reminds me of something Marc Andreesen once said when he was trying to get Netscape off the ground: "there's no such thing as bad HTML."
    In this case, I interpret ungar's request as a new feature request. Can I phrase it like this?
    "Wouldn't it be nice if I could render my nice form with JSF but, in certain cases, when I REALLY know what I'm doing" just post out to a separate servlet? I know that in this case I'll be missing out on all the nice validation, conversion, l10n, i18n, ajax, portlet and other features provided by JSF".
    If this is the case, because it really misses the point of JSF, we don't allow it, but we do have an issue filed for it
    https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=127
    If you can't wait for it to be fixed, you could decorate the FormRenderer to fix what you want.
    I have an example in my JSF book that shows how to do this decoration. http://bit.ly/edburnsjsf2
    Ed

  • Is it possible to condition a load cell signal with a 1520 SCXI and then use it as the primary analog feedback for a 735X motion control board?

    My system
    PXI 1052 chassis
    PXI 8196 RT controller
    Flexmotion 7356 motion controller
    Flexmotion 7354 motion controller
    6259 M series DAQ
    1520 SCXI
    1520 SCXI
    1314 SCXI frount mounting terminal block
    DSM strain gage load cells
    Exlar SR Brushless PM motors
    Kollmorgen servo star CD series 5 drives
    My objective:
    I want to measure the force on the load cells with the 1520 SCXI (i.e. excite the load cell then amplify and condition its output) then I want to use this analog (force) signal as the primary feedback for my motion control system (7356 and 7354 motion controller connected to my drives and motors).
    The problem:
    The motion controller boards (7356 and 7354) can be configured for force feedback control via analog feedback from a load cell.  However the boards implicitly expect the load cell signal to be amplified and conditioned with and external signal conditioner rather then using an NI SCXI module.  Currently I’m am reading the SCXI signals via the 6259 M seriers DAQ and consequentially have no way to route the signal into the 735X boards for force feedback control.  I can use softmotion to control the motors but then I loose the fast PID update rates possible with the 735X boards.
    The question:
    Is it possible to condition a load cell signal with a 1520 SCXI and then use it as the primary analog feedback for a 735X motion control board? 
    Thanks
    Patrick Aubin
    Ph.D Candidate
    University of Washington &
    VA MedicalCenter of Excellence for
    Limb Loss Prevention and Prosthetic Engineering  

    Hi GG,
    Thank you for your feedback.
    >create your own external circuitry to amplify the signal.>
    True a few op-amps could amplify and filter the signal externally but the performance of such an amateur built system will never match the accuracy and functionality of the 1520 SCXI.  That’s why we spent the $2500 for the professional version.
    >One thing that you could do is to use a UMI with your motion controller and then wire your signal from your SCXI to the UMI.>
    As I understand it the UMI is basically a break out connectivity interface for third party drives.  After conditioning and amplifying the analog force signal with the SCXI module the analog signal isn’t available to wire into a UMI.  To my knowledge the conditioned signal of the SCXI resides only in the PXI backplane (i.e. there is no physical access to the conditioned analog signal).  Can you explain how the UMI could be help here.
    Again thanks for your input GG.
    Patrick

  • JSF datatable - any difference with JSF 1.1 and JSF 1.2

    Hi All,
    In my project there are lot of Datatables, which retrieve data from the database and display it to the user. For each datatable, the columns are not fixed. I want to create some kind of component that can be reusable.
    It is basically a JSF portlet. Now i have to use RAD 6. RAD 6 supports only JSF1.1. I have to migrate this to RAD7 in the near future. Are there any differences between the Datatable in JSF 1.1 and JSF 1.2?
    I had this approach in mind.
    a) Create the datatable programmatically and put the contents to panelgrid. This way the jsp code will be minimized. Is it a good option.? Are the APIs same in both the versions?
    b) Is it possible to create a custom datatable which can take some key as input. Then based on the key the datatable can be populated with as many columns as desired.
    Please let me know if there are any other good options.
    ~Anitha.

    Hi guys,
    my code goes like this..
    for (int j = 0; j < size; j++) {
                   UIColumn column = new UIColumn();
                   dataTable.getChildren().add(column);
                   HtmlOutputText header = new HtmlOutputText();
                   header.setValue(periodHeader[j]);
                   column.setHeader(header);
                   HtmlOutputText output = new HtmlOutputText();
                   output.setValue(new Double(periodLiability[j]));
                   ValueBinding vb1 = FacesContext.getCurrentInstance()
                             .getApplication().createValueBinding(
                                       ("#{liability.periodLiability["+j+"]}"));
                   output.setValueBinding("value", vb1);
                   column.getChildren().add(output);
    this code gives me the number of headers i need. But, it doesnt render the columns. I have an array of Double (periodLiability) which stores few values of Double type. I want to show thesee values inthe dataTable Column.
    Please help me..

  • Problem with JSF 1.2 and Tomcat 6

    Hello guys,
    I have here:
    Tomcat 6.0.10
    JSF 1.2_04_b10_p01
    I followed these steps without success:
    http://forum.java.sun.com/thread.jspa?threadID=787962
    http://forum.java.sun.com/thread.jspa?threadID=5156242
    Here what I did:
    1) Removed the following line in $TOMCAT_HOME/conf/server.xml
    <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />2) Add the following lines to $TOMCAT_HOME/conf/web.xml
         <context-param>
         <param-name>com.sun.faces.expressionFactory</param-name>
         <param-value>org.apache.el.ExpressionFactoryImpl</param-value>
         </context-param>3) Add the following libs to $TOMCAT_HOME/lib
    jsf-api.jar
    jsf-impl.jar
    jstl-1.2.jar
    4) Add the following lines to $MYAPP/WEB-INF/web.xml
         <listener>
              <listener-class>
                   com.sun.faces.config.ConfigureListener
              </listener-class>
         </listener>
         <listener>
              <listener-class>
                   com.sun.faces.application.WebappLifecycleListener
              </listener-class>
         </listener>And here is "the final product":
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/protocolo'
    10/04/2007 08:18:47 com.sun.faces.config.ConfigureListener registerELResolverAndListenerWithJsp
    SEVERE: Error Instantiating ExpressionFactory
    java.lang.ClassCastException: org.apache.el.ExpressionFactoryImpl cannot be cast to javax.el.ExpressionFactory
         at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1563)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:419)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
         at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)What I need to do? Someone can help me?
    Thank you.

    Thank you for the answer rlubke,
    Well this happened because I had compiled the project with the jstl-1.1
    The workaround to make jsf 1.2 run on tomcat 6 really works.
    But now I have a problem because the JNDI tree in tomcat is read-only ( ro )
    and I need to bind a object in the JNDI so an exception happens:
    WARNING: Ocorreu um erro inexperado:
    javax.naming.NamingException: Context is read only
             at org.apache.naming.NamingContext.checkWritable(NamingContext.java:903)
             at org.apache.naming.NamingContext.bind(NamingContext.java:831)
             at org.apache.naming.NamingContext.bind(NamingContext.java:171)
             at org.apache.naming.NamingContext.bind(NamingContext.java:187)
             at org.apache.naming.SelectorContext.bind(SelectorContext.java:171)
             at javax.naming.InitialContext.bind(InitialContext.java:400)Here is the code:
    try{
         Context newContext = new InitialContext();
         newContext.bind( dataSourceWrappedID, wrappedDs );
         newContext.close();
    }catch(NameAlreadyBoundException nabe){
         // ok no problem..
    }catch(NamingException ne){
         if ( log.isWarnEnabled() ){
              log.warn("Ocorreu um erro inexperado:", ne);
    }You know how to make the JNDI tree in tomcat read-write ?
    Thank you a ton. :-)

  • Unable to load flash site with Windows 8.1 and IE11

    Hi,
    I have spent days trying to get "mypaychex.com" website to load after logging in using Windows 8.1/IE11. The site loads fine in Windows 7 and other browsers but I need it to work with IE 11/8.1. I have tried using compatibility mode, lowered all
    security settings, verified shockwave is enabled within the browser, tried various updates as well. I guess this can only be because flash is embedded now with 8.1. Is there a way to disable the Windows 8.1/IE11 embedded flash and have it use the player from
    Adobe instead? Anyone have any other suggestions I can try? Or is this a problem with the website itself not compatible? Any help would be appreciated. TIA

    KB956196's list of "products that this article applies to" includes IE6-10,
    but not IE11,
    and it also does not include Win8.1.
    The last review of that KB was Oct 15, 2013.
    Methinks MS should either
    update the article to include IE11, if appropriate, or
    create a new article that specifically applies to IE11.
    And perhaps TechNet Support folks could refrain from applying aged boilerplate answers that reference outdated and perhaps irrelevant KB articles, or explain knowledgably in their responses that, while the article appears to reference older versions, its
    steps are still appropriate to follow.
    I only mention this because, while there is a wealth of info and useful support at this site, everytime I look and try to specify what I'm using, inevitably and invariably more than half the hits on my query are for either outdated or totally irrelevant
    applications. Would that there were filter options (see Amazon searches, lefthand side of screen, where you can narrow things down considerably).
    I'll shut up now.

  • Loading Window Component with Button!

    Hello! I found two tutorials that both contain pieces of what i am looking for but i cant seem to figure them out and get exactly what i want. Here is the first one:
    http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveD ocs_Parts&file=00004289.html
    In the first one, the general idea is what i am looking for. Except that i want to load a movieclip and not an image. My problem in this one is the button component that is used. I have no clue how to skin or customize the button, and i cant find a good tutorial to help me so i figured it might be easier to just change the actionscript for this. I want to be able to create my own button (instance button) and use that so that when people release that button, the movie clip pops up!
    Now in this second tutorial that i found:
    http://www.getw3help.com/2008/07/window-component.html
    Its pretty much exactly what i want and it loads a movieclip. Problem is, when i add the code to a button, it doesnt work!
    Can anyone help me? Hope i am clear in my explanation!
    Thanks!

    Ok it sort of works... here is my code:
    on (release) {
    trace("button works");
    win.title = "Yellow Birthday Package";
    win.closeButton = true;
    win.contentPath = "yellowPack";
    win.setSize(550,500);
    var listener:Object = new Object();
    listener.click = function(){
    win._visible = false;
    win.addEventListener("click",listener);
    It order to make it work, the window component has to be on the stage but i want it to popup only when the user clicks on the button. So the window should be hidden/invisible when the page first loads. I tried changing win._visible = true; but that did nothing.
    The other problem is that the movie clip inside the window, isnt aligning center. i can only see a corner of the movie clip. in the top left. I havent tested the whole thing live though!

  • Issue with JSF action method and Popup

    All,
    I have command Button, which has an action method. And my onclick function opens new popup. Once I close the popup, it has to return some values to the parent page and then my action method has to be executed.
    Issue is if I close the popup, nothing is happening in parent page.
    In my JavaScript if I return true, popup is opening and my action method is executing. But my expected behavior is after closing popup then only my action has to be executed.
    Thanks,
    Dhana

    Hi all,
    I came back to this today (after almost 2 years)... the current version of facestrace doesn't require a taglib at all: http://code.google.com/p/primefaces/downloads/list
    Just drop it in WEB-INF/lib, add *.jsf to the url mappings for the faces servlet. Then whenever you add trace=true to your URL, you get a nice dump of information there.
    Best,
    John

  • Mediasmart software problem loading onto computer with new hard drive and operating system

    My computer recently crashed and I had to buy a new hard drive and operating system.  None of the programs from the old hard drive were saved.  The computer is  an HP Pavilion dv7-3165dx Entertainment Notebook and I have Windows 7 Professional (64x) as the operating system.  Tried to download Mediasmart from the HP Web page to play DVD and Blu-Ray Discs.  The programs downloaded but will not install.  Any suggestions?

    waynesworld57 wrote:
    My computer recently crashed and I had to buy a new hard drive and operating system.  None of the programs from the old hard drive were saved.  The computer is  an HP Pavilion dv7-3165dx Entertainment Notebook and I have Windows 7 Professional (64x) as the operating system.  Tried to download Mediasmart from the HP Web page to play DVD and Blu-Ray Discs.  The programs downloaded but will not install.  Any suggestions?
    Hi,
    It looks like it's a common issue: http://h30434.www3.hp.com/t5/TX-TM-Series-Notebooks-Reply-Only/HP-Mediasmart-Software-package-for-Wi...
    Try VLC as a multimedia player: http://www.videolan.org/vlc/download-windows.html
    Dv6-7000 /Full HD/Core i5-3360M/GF 650M/Corsair 8GB/Intel 7260AC/Samsung Pro 256GB
    Testing - HP 15-p000
    HP Touchpad provided by HP
    Currently on Debian Wheeze
    *Please, help other users with the same issue by marking your solved topics as "Accept as Solution"*

  • Problems with JSF 1.1_01 and Spring 1.2.6 Integration :

    Hi All
    I am using JSF 1.1_01, Spring 1.2.6, Tomcat 5.0.28.
    I am getting following error
    javax.servlet.jsp.JspException: javax.faces.FacesException: javax.faces.el.EvaluationException: Expression Error: Named Object: 'springBean' not found.
    The root cause for the error is "<managed-property>" under <managed-bean> from JSF which references Spring Bean. It is not able to evaluate JSF Expression Language. Then i tried following permutations and combinations
    -> instead of using JSF EL, i hardcoded the property value and it worked
    Any pointers/suggestions will be highly appreciate. I am working on this for more than a week
    Regards
    Bansi

    You must have in your web.xml :
         <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>
                   /WEB-INF/yourSpringBeanContext.xml,
              </param-value>
         </context-param>
         <listener>
              <listener-class>
                   org.springframework.web.context.ContextLoaderListener
              </listener-class>
         </listener>Give your code to understant what's wrong :
    yourSpringBeanContext.xml, web.xml and faces-config.xml
    regards,

  • JSF-Custom Component with EventHandling

    Dear All,
    I wanted to write my own component with event handling.
    This is my requirement:
    In my JSP, I'll put my cusom component tag for displaying 10 records and with prev and next buttons. after clicking prev button, i should get previouse 10 records and if i click next button, i should get next 10 records.
    so, my component should render
    1. 10 records
    2. Prev button
    3. Next button.
    After clicking prev button it should render previouse 10 records and also prev and next button.
    I do not know whether it is possible with JSF or not and also i'm not finding any example which explaining above situation.
    My jsp should contain only my custom tag like
    <mine:listRecords/>
    Tag Handler of listRecords tag should render 10 records and prev and also next button. After clicking prev, i should get 10 previouse records and and both the buttons and so on.
    advanced thanks,
    ram

    It is certainly possible to write a component that embeds its own navigation and paging as you describe. On the other hand, you can also assemble this kind of functionality out of a combination of the existing simple components. The "repeater" example illustrates exactly the kind of application you are talking about (and the same techniques will work fine with the standard <h:dataTable> component as well).
    Craig

  • Problem using Tomahawk tree2 with JSF RI 1.1

    Hello,
    When I try to run Tomahawk tree2 component on JSF RI 1.1 I am getting the following exception.
    java.lang.IllegalStateException: Duplicate component ID 'billsearch:billSearchForm:NewTabadvanceSearch:subTabOne:clientTree:t2c' found in view.
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:191)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:199)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.saveSerializedView(StateManagerImpl.java:85)
         at org.ajax4jsf.framework.ajax.AjaxStateManager.saveSerializedView(AjaxStateManager.java:90)
         at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:169)
         at jsp_servlet._pages.__billsearchinit._jspService(__billsearchinit.java:156)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
         at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:501)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
         at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:148)
         at jsp_servlet.__index._jspService(__index.java:101)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)Any help would be highly appreciated. I have tried setting my own id's to each and every component. But this throws me a different error and it doesn't let me set the id's manually. The error message is:
    Error 500--Internal Server Error
    java.lang.IllegalArgumentException: 1
         at javax.faces.component.UIComponentBase.validateId(UIComponentBase.java:462)
         at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:279)
         at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1016)
         at javax.faces.webapp.UIComponentTag.createFacet(UIComponentTag.java:1059)
         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:740)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
    Any help or hint on solving this problem is highly appreciated.
    Thanks in adv.
    ~SirG

    Richfaces is compatible with JSF 1.1 and 1.2 and also with great ui part
    but it may conflict with the other tomahawk component and filters

  • Is richfaces configurable with JSF RI 1.1

    I want to use richfaces tree menu in my application built on JSF RI 1.1.
    Appreciate it if someone can let me know if richfaces is 100% compatible with RI 1.1.
    ~SirG

    Richfaces is compatible with JSF 1.1 and 1.2 and also with great ui part
    but it may conflict with the other tomahawk component and filters

  • Loading MXML Component Dynamically

    Hi all,
    I am new to Flex and was trying out small things . I created
    a MXML Application and also MXML components.
    I tried loading MXML component to application using xmlns and
    it worked fine.(
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" backgroundColor="#ffffff" xmlns:mi="com.*">
    <mi:base1 id="base1" />
    <mi:base2 id="base2" />
    This method is ok if we are loading 3-4 components .
    but , if i have to load a mxml component dynamically how do I
    do it?
    for example ,if base1 and base2 are two components and i want
    to load them based on some event performed.
    I have tried the method which uses ViewStack and code
    myViewStack.selectedChild=Container(myViewStack.getChildByName(selectedNode))
    ,where each child will have one component declared or initialized.
    Following this method is not a feasible when we have hundred
    of components to be loaded.
    Can anyone help me on this??

    "srirama.83" <[email protected]> wrote in
    message
    news:gpkoui$g3u$[email protected]..
    > Hi all,
    > I am new to Flex and was trying out small things . I
    created a MXML
    > Application and also MXML components.
    > I tried loading MXML component to application using
    xmlns and it worked
    > fine.(
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > layout="absolute"
    > backgroundColor="#ffffff" xmlns:mi="com.*">
    > <mi:base1 id="base1" />
    > <mi:base2 id="base2" />
    > )
    > This method is ok if we are loading 3-4 components .
    > but , if i have to load a mxml component dynamically how
    do I do it?
    > for example ,if base1 and base2 are two components and i
    want to load them
    > based on some event performed.
    >
    > I have tried the method which uses ViewStack and code
    >
    myViewStack.selectedChild=Container(myViewStack.getChildByName(selectedNode))
    > ,where each child will have one component declared or
    initialized.
    >
    > Following this method is not a feasible when we have
    hundred of components
    > to
    > be loaded.
    > Can anyone help me on this??
    >
    >
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf
    Q4

  • Playing Russian Roulette with Firewire 400 drives and Final Cut Pro

    oh boy! this has been a fun week!
    I would love to ask the advice of the group about checking the firwire
    ports on my computer, and also on the separate external drives.
    Here is what has been going on.
    Final Cut Pro 5 starts up and then starts to pinwheel.
    but in short here is the result, I have recently lost 2 external
    FIREWIRE 400 drives, one by LaCie that is my newest drive of the
    group, it is 160gb 2 port FW400, and another by ProMax which also has
    2 FW400 ports. the lacie was the first to go and is just not mounting
    and does not show up using any of my Disk Utility software (even the
    heavy duty stuff like DATA RESCUE II or Disk Warrior), I am thinking
    that both ports are bad(maybe fried by another bad port on my tower?)I
    can hear it when i boot it up and it sounds normal with the same
    routine sounds, but it just doesn't mount, nor show up, so is this the
    ports?fried?
    Now, on my tower I have the following setup - 2 FW400 ports that are
    STOCK that came with the TOWER G4 when I bought it. There is also a
    FIREWIRE 400 card which has 3 ports. In the past I have used all the
    ports for drives, and for a printer and a scanner in my studio.
    Everything mounted and worked properly. Then,recently I moved the
    drives and the tower to another location(in the room and no I didn't
    drop or shake anything) and replugged everything in again, probably in
    different slots but upon boot the external firewire drives didn't mount.
    I had to UN PLUG them and then RE INSERT them by trial and error(which
    I thought normal as I have done this when using these drives with my
    laptop, until I got them to mount. they all did mount. However, once
    up an running I started Final Cut Pro 5, and it started to get a
    PINWHEEL for more than reasonable and if forced me to RESTART the
    computer.
    The next time, one of the HARDDRIVES (the LaCie 160gb) was no longer
    mounting, and I tried to change firewire ports and on the stock and
    also on the card for fear that the 3rd party card might be faulty.
    I even ran APPLEs HARDWARE Utility and it gave no results as to
    anything faulty on the firewire ports. It just said they were there.
    Both stock and the PCI firewire card.
    Next, I tried to mount this LaCie 160gb onto another computer, with no
    results.....it now acts as if both ports are faulty, again, I hear the
    drive spinning and going through its initial startup, which sounds
    exactly like the other drive, but it never mounts. which is odd...what
    is your idea about this drive? and how to save it?
    is there a way to take the drive out of the casing and test it in my
    other LaCie160gb that is currently working?
    2nd, this is where it gets funky, then upon starting Final Cut Pro,
    the pinwheel reappeared now with another firewire drive a PROMAX 160gb
    that was plugged into the STOCK FW 400 port (on the tower) starting to
    show a RED light(not good), however, after restart, I didn't see the
    PROMAX drive mount, but I was able to load it up with DATA RESCUE II,
    and it is doing a QUICK SCAN to save the DATA on that disk......
    now I have backed up most of this data, but the problem now is not the
    data, it is whether or not to even plug any of my other drives into
    any of these FW ports until I can test them for faultiness.
    A friend told me of another friend having a problem where a firewire
    port was frying drives as soon as they plugged them into the certain
    port. How can you figure this out without re-acting like 'Deerhunter?'
    This feels like playing Russian Roulette......if you get my drift?
    How do you check any ports for such foul play?
    Thanks in advance for your support....
    makin

    well, now I am finding out that the culprit is I think the POWER MAC g4 itself.
    For it has been blowing the firewire ports over time by frying them with power.
    Has anyone had this happen?
    My Power Mac g4 will not shut down.
    It powers itself back up.
    I end up having to press the POWER button and holding it, but this sends power to the firewire ports and I can hear them turning on.
    so all this time I had just dealt with the issue
    Apple had seemed to blame it on a 3rd party MATROX card in the PCI slot.
    But, now that has long been taken out of the equation.
    The only thing left is that the 17inch MONITOR is plugged into the POWER MAC and for some reason it is keeping a charge?
    Can anyone help me in this matter?
    As this has haunted me for 5 years with this machine, and I have probably fried more drives than I care to mention.
    I just want my computer to SHUT DOWN when I tell it to.
    is that too much to ask?
    Might the POWER SUPPLY be at fault?
    What in God's name could keep this ******* of a computer from shutting down?
    I have no USB hubs or keyboards hookedup
    the only thing is the MONITOR itself....that you can press its button to shut down etc.
    I would be honored to know what this is as APPLE CARE never could figure it out
    I didn't want to go through the hassle of taking out the RT MAC card, and just either left the machine on, or Unplugged the thing....
    that is a nasty way to shut down a computer is it not?
    much thanks to any one who can help me to figure this out?
    thanks
    singleton

Maybe you are looking for