FWIW, I can reproduce that panelRadio just isn't working... panelChoice works fine, panelTabbed... and it's not at all obvious to me why panelRadio is different. At any rate, I'll have a look and hopefully get this fixed.
One thing to point out to the "visionary" is that here you can swap in one component vs. another, have a different visualisation, and change no code. panelChoice would just be a temporary replacement. -- Adam On 3/7/07, Chris Gibbons <[EMAIL PROTECTED]> wrote:
Thanks for looking at that, I can't really swap it out for the tabbed panel since the "visionary" is dead set on a radio button with ajax functionality. We are trying to integrate ajax4jsf into our project and see if that can accomplish what we need, but we are having difficulties down that road also. Our Application stack is tomcat 5.5, JSF RI 1.2, Facelets 1.1.12, Trinidad m1-snapshot, acegi-security 1.0.3, hibernate 3.2.1, and now ajax4jsf 1.1.0. So it is a pretty complex stack and getting it all configured correctly is giving us issues. If anyone has done this type of setup or knows of a resource that I can look at it would be greatly appreciated. The main resource that I used it setting it up is http://jroller.com/page/wesleyhales?entry=jsf_component_library_integrat ion_and but the filters don't appear to be working correctly. Does anyone know of any other ajax like implementation other than ajax4jsf? -- Chris The warning has nothing to do with not setting "id"s. It means that the HTML generated by panelRadio is missing an "id" where it needs to have one. So the DHTML can't do its thing. That's a pretty bad bug in that component. Could you swap in panelTabbed for now? I'll have a quick look at panelRadio and see what I can find. -- Adam On 3/6/07, Chris Gibbons <[EMAIL PROTECTED]> wrote: > I'm having some issues using the <tr:panelRadio> tag. The main problem > is it doesn't work, when I use it, everything is laid out fine on the > page, but when I click the control it doesn't switch the content, also > there is a warning displayed: > > > > WARNING: No PPR-capable id found for elements of > CorePanelRadio[UIXFacesBeanImpl, id=test]. This component has not > written-out an id attribute. > > > > I'm not sure what this means, I've set an ID on every one of my > components and it still gives that warning. Here is the code for my > page if anyone could help it would be greatly appreciated, I am very > close to just scraping using Trinidad altogether it has some neat > features, but I'm having a nightmare of a time trying to get it to work > correctly. > > > > > > <ui:composition id="composition" > > xmlns="http://www.w3.org/1999/xhtml" > > xmlns:ui="http://java.sun.com/jsf/facelets" > > xmlns:f="http://java.sun.com/jsf/core" > > xmlns:c="http://java.sun.com/jstl/core" > > xmlns:h="http://java.sun.com/jsf/html" > > xmlns:tr="http://myfaces.apache.org/trinidad"> > > > > <f:loadBundle id="bundle" var="text" > basename="#{baseBean.bundleName}" /> > > <ui:debug id="debug" hotkey="d" /> > > > > <f:view id="view" > > > <tr:document id="doc" title="Test"> > > <tr:form id="form" usesUpload="true"> > > <tr:panelRadio id="test" position="top" > label="#{text.sumbit_method}" > > > <tr:showDetailItem id="component1" > text="#{text.uploaded_resume}" > > > > > <tr:inputText id="Text1" label="label1" > value="value1" /> > > </tr:showDetailItem> > > <tr:showDetailItem id="component2" > text="#{text.pasted_resume}" > > > > > <tr:inputText id="Text2" label="label2" > value="value2" /> > > </tr:showDetailItem> > > </tr:panelRadio> > > > > </tr:form> > > </tr:document> > > </f:view> > > </ui:composition> > >
