Hi, I want a Popup after a user-action to create a new "Kenntnisbereich" (-->new row). Here is the sample:
<tr:treeTable var="treeNode" value="#{treeModelAdapter.model}" binding="#{tableBean.table}" summary="Bewertung von Kenntnisbereichen"> <f:facet name="nodeStamp"> <tr:column> <f:facet name="header"> <tr:outputText value="Name"/> </f:facet> <tr:outputFormatted value="<b>#{treeNode.kategorie.name}</b>"/> </tr:column> </f:facet> <f:facet name="pathStamp"> <tr:outputFormatted value="<b>#{treeNode.kategorie.name}</b>"/> </f:facet> ...more columns... <tr:column> <f:facet name="header"> <tr:outputText value="Aktion"/> </f:facet> <tr:panelPopup text="Neuer Kenntnisbereich" title="Neuer Kenntnisbereich" modal="true"> <tr:panelBox> <tr:panelFormLayout rows="1" labelWidth="33%" fieldWidth="67%"> <tr:outputText value="Anlage eines neuen Kenntnisbereichs unterhalb von '#{treeNode.kategorie.name}.'"/> <tr:inputText showRequired="true" required="true" requiredMessageDetail="Bitte einen Namen eingeben." label="Name: " value="#{tableBean.neueKategorie.name}" /> <tr:inputText value="#{tableBean.neueKategorie.beschreibung}" label="Beschreibung: "> <f:facet name="help"> <tr:outputText value="Angabe optional."/> </f:facet> </tr:inputText> <tr:commandButton text="Anlegen" actionListener="#{tableBean.createKategorie(treeNode)}"/> </tr:panelFormLayout> </tr:panelBox> </tr:panelPopup> </tr:column> </tr:treeTable> The labels "Name" and "Beschreibung" are not being rendered!!! And that is simply what I want. Or do you know a way, how I can create a new row in the treeTable (after user-action, instead of the Popup), where then the user could make the input for the new "Kenntnisbereich". I don't know if this is possible, because the column-types would be different from the other row-columns (the row must have everywhere input fields). That would even be better and I wouldn't need the Popup. Matthias Wessendorf-4 wrote: > > On 9/26/07, Maik77 <[EMAIL PROTECTED]> wrote: >> >> Hi Matthias, >> >> thanks for your quick answer, but I don't understand what you want to >> tell >> me. >> When I understand you right it is not possible, is it? > > well the <label> renders as a hidden label, screen-readers will notice it. > that doesn't mean that you can't use the label property to show it's > value somewhere else. > > It's not clear to me, what you are trying with the panelPopup. Do you > mind to share a code sample? > > -Matthias > >> >> The problem then I really have, is that I want a tr:panelPopup inside the >> coulmn, and in the popup it would be really fine to use all properties of >> inputText and other components. >> >> Maik >> >> >> >> Matthias Wessendorf-4 wrote: >> > >> > Hi, >> > >> > Inside a table these widgets are in simple=true mode and don't render >> > a visible label. >> > The label value is rendered as "hidden label". >> > >> > See on runtime (editable table): >> > >> http://example.irian.at/trinidad-demo-20070926/faces/components/table.jspx >> > >> > see the source code: >> > >> http://example.irian.at/trinidad-demo-20070926/faces/components/table.jspx.source >> > >> > -M >> > >> > On 9/26/07, Maik77 <[EMAIL PROTECTED]> wrote: >> >> >> >> Hi, >> >> >> >> I want to use the the tr:inputText inside a column of my treeTable, >> but >> >> the >> >> label is not rendered. >> >> Shouldn't that be possible??? >> >> >> >> Example: >> >> <tr:form> >> >> <tr:treeTable ...> >> >> <tr:column> >> >> <f:facet .... >> >> </f:facet> >> >> <tr:inputText label="The label that I want to see" >> value="xxx"/> >> >> </tr:column> >> >> ... >> >> >> >> Greetings >> >> >> >> Maik >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/-Trinidad--tr%3AinputText-rendering-no-label-inside-of-TreeTable-column-tf4522015.html#a12899766 >> >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > -- >> > Matthias Wessendorf >> > >> > further stuff: >> > blog: http://matthiaswessendorf.wordpress.com/ >> > mail: matzew-at-apache-dot-org >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/-Trinidad--tr%3AinputText-rendering-no-label-inside-of-TreeTable-column-tf4522015.html#a12900273 >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > mail: matzew-at-apache-dot-org > > -- View this message in context: http://www.nabble.com/-Trinidad--tr%3AinputText-rendering-no-label-inside-of-TreeTable-column-tf4522015.html#a12905907 Sent from the MyFaces - Users mailing list archive at Nabble.com.