Setting backing bean for radio buttons?

2009-11-20 Thread laredotornado
Hi, I'm using Tomahawk 1.1.9 for JBoss 5.1. How are you supposed to set the backing bean value for a set of radio buttons? I have this ... t:selectOneRadio id=domeTourSpecialNeeds value=#{domeTour.specialNeeds} layout=spread onclick=showHideSpecialNeeds

Re: radio buttons in tomahawk tree - how to do it?

2008-09-02 Thread Jim the Standing Bear
By enclosing the h:selectOneRadio tag inside of the facet, you were literally creating a different group of radio buttons for each node, and your results verified that also. You may want to try moving the h:selectOneRadio tags outside of the t:tree2 tag, or outside of the f:facet name

Re: radio buttons in tomahawk tree - how to do it?

2008-09-02 Thread Nikita Koselev
inside of the facet, you were literally creating a different group of radio buttons for each node, and your results verified that also. You may want to try moving the h:selectOneRadio tags outside of the t:tree2 tag, or outside of the f:facet name=equipmentType tag. I haven't tried this, so

Re: radio buttons in tomahawk tree - how to do it?

2008-09-02 Thread Jim the Standing Bear
[EMAIL PROTECTED]: By enclosing the h:selectOneRadio tag inside of the facet, you were literally creating a different group of radio buttons for each node, and your results verified that also. You may want to try moving the h:selectOneRadio tags outside of the t:tree2 tag, or outside

Re: radio buttons in tomahawk tree - how to do it?

2008-09-02 Thread Nikita Koselev
Hmmm I understand your idea. It should work, but then we'll have select equipment type near every equipment type. We also have inputText field on this page for equipment name input. So if I use radio buttons, I'll have standard fill the fields and click ok/cancel application. Otherwise user

radio buttons in tomahawk tree - how to do it?

2008-08-30 Thread Nikita Koselev
Dear friends, Here goes the problem. I've built a tree from database. Lets say that it specifies types of equipment. I want manager to have possibility to add new equipment, according to equipment type, which he should select from the tree (at least our analyst thinks so). I've managed to

[Trinidad] Radio buttons

2008-02-07 Thread Edward Dowgiallo
Currently using the following: tr:panelRadio label=Action: tr:showDetailItem onclick=alert('Insert clicked.'); text=Insert / tr:showDetailItem onclick=alert('Query clicked.'); text=Query / /tr:panelRadio The buttons are being rendered vertically. Could anyone suggest a way to

Radio buttons

2008-02-07 Thread Edward Dowgiallo
Currently using the following: tr:panelRadio label=Action: tr:showDetailItem onclick=alert('Insert clicked.'); text=Insert / tr:showDetailItem onclick=alert('Query clicked.'); text=Query / /tr:panelRadio The buttons are being rendered vertically. Could anyone suggest a way to make them

Group Radio Buttons in DataTable

2007-04-26 Thread bansi
select multiple radio buttons at the same time 3) when i select first radion button it correctly displays the index as 0 but for subsequent radio buttons it doesnt show correct index value Here is the snippet a4j:outputPanel h:dataTable id=deviceDetailTable styleClass=list

Re: creating a dynamic code for a group of radio buttons

2006-11-16 Thread Aneesha Govil
|* | The number of columns and number of rows is not fixed and all the radio buttons need to be in the same group. Any advice would be appreciated, -- *From:* Aneesha Govil [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, November 14, 2006 4:58 AM *To:* MyFaces Discussion *Subject

RE: creating a dynamic code for a group of radio buttons

2006-11-15 Thread Yaron Spektor
|column2|column3| |radio1 |radio 2 |radio3 | |radio4 |radio5 | | The number of columns and number of rows is not fixed and all the radio buttons need to be in the same group. Any advice would be appreciated, From: Aneesha Govil [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14

Re: creating a dynamic code for a group of radio buttons

2006-11-14 Thread Aneesha Govil
Hi,I haven't constructed radio buttons dynamically but in general, to do something like this..HtmlSelectOneRadio selectOneRadio = new HtmlSelectOneRadio(); selectOneRadio.setId(choicesRadioButtons);//TODO: componentID selectOneRadio.setLayout(spread);selectOneRadio.setValue(displayValue

creating a dynamic code for a group of radio buttons

2006-11-13 Thread Yaron Spektor
Hi there, I would like to convert this code to dynamic components (I can not use tableData with newspaperColumn because I want multiple columns with the same button group and I need a header aligned with each such column). I would like to be able to set the t:radio in a panelGrid with X

Radio buttons

2006-08-23 Thread Jaya Saluja
: I have added radio buttons to my application. Here's the code h:selectOneRadio layout=pageDirection f:selectItem itemValue=customers itemLabel=Customers/ f:selectItem itemValue=enabled_customers itemLabel=Enabled Customers

Re: Radio buttons

2006-08-23 Thread Andrew Robinson
:14 PM To: MyFaces Discussion Subject: Re: What is the best Ajax JSf framework to use? In JavaScript or on the server? On 8/23/06, Jaya Saluja [EMAIL PROTECTED] wrote: I have added radio buttons to my application. Here's the code h:selectOneRadio layout=pageDirection

A problem with radio buttons in datatables

2006-08-10 Thread Wetterau, Jan
Hello, I have a problem with a set of radio buttons using it in a datatable: t:dataTable value=#{BackingBean.dataList} var=dataItem t:column f:facet name=header nbsp; /f:facet h:selectOneRadio id=radioList f:selectItem value=#{dataItem.id} / /h:selectOneRadio /t:column

RE: A problem with radio buttons in datatables

2006-08-10 Thread Robert Locklear
with radio buttons in datatables Hello, I have a problem with a set of radio buttons using it in a datatable: t:dataTable value=#{BackingBean.dataList} var=dataItem t:column f:facet name=header nbsp; /f:facet h:selectOneRadio id=radioList f:selectItem value=#{dataItem.id

RE: A problem with radio buttons in datatables

2006-08-10 Thread Robert Locklear
Wow.you can tell I need some sleep. those=that. Robert From: Robert Locklear [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 12:01 PM To: MyFaces Discussion Subject: RE: A problem with radio buttons in datatables Here is a sandbox example those does exactly

RE: How can I display radio buttons in 2 columns?

2006-07-12 Thread Michael Heinen
Thanks for the improvement. Now it is also working with selectManyCheckbox. -Original Message- From: Paul Spencer [mailto:[EMAIL PROTECTED] Sent: Dienstag, 11. Juli 2006 20:36 To: MyFaces Discussion Subject: Re: How can I display radio buttons in 2 columns? Rich, I have made changes

Re: How can I display radio buttons in 2 columns?

2006-07-12 Thread Paul Spencer
:[EMAIL PROTECTED] Sent: Dienstag, 11. Juli 2006 20:36 To: MyFaces Discussion Subject: Re: How can I display radio buttons in 2 columns? Rich, I have made changes to the wiki largely based on your suggestions. Thank you. Paul Spencer Rich Argo wrote: I'm using MyFaces Tomahawk 1.1.1

RE: How can I display radio buttons in 2 columns?

2006-07-12 Thread Michael Heinen
Thanks Paul. Thats bitter ... -Original Message- From: Paul Spencer [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 12. Juli 2006 13:54 To: MyFaces Discussion Subject: Re: How can I display radio buttons in 2 columns? Michael, In the case of selectManyCheckbox, their is an attribute

RE: How can I display radio buttons in 2 columns?

2006-07-12 Thread Stine, Matt
: How can I display radio buttons in 2 columns? Thanks Paul. Thats bitter ... -Original Message- From: Paul Spencer [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 12. Juli 2006 13:54 To: MyFaces Discussion Subject: Re: How can I display radio buttons in 2 columns? Michael

Re: How can I display radio buttons in 2 columns?

2006-07-11 Thread Rich Argo
Hey Paul, Would you mind updating the wiki page (Dynamic Example) at http://wiki.apache.org/myfaces/Display_Radio_Buttons_In_Columns ? I would, but I don't have access to it. When going by the current wiki page, the radio buttons will display, but nothing gets set when the form is posted

Re: How can I display radio buttons in 2 columns?

2006-07-11 Thread Paul Spencer
/Display_Radio_Buttons_In_Columns ? I would, but I don't have access to it. When going by the current wiki page, the radio buttons will display, but nothing gets set when the form is posted. To fix this, the t:selectOneRadio tag should not be inside the t:dataTable tag, but just underneath the h:form tag

Re: How can I display radio buttons in 2 columns?

2006-07-11 Thread Rich Argo
I'm using MyFaces Tomahawk 1.1.1. There really isn't an error per se... the radio buttons display just fine. It's just when you submit the form, no value is set and if there's a form error, the radio button that was selected isn't checked. By making the suggested modifications, it'll save

Re: How can I display radio buttons in 2 columns?

2006-07-11 Thread Paul Spencer
Rich, I will update the wiki later today. Thanks for the feedback, this will only make the documentation better and encourage other to get involved. Paul Spencer Rich Argo wrote: I'm using MyFaces Tomahawk 1.1.1. There really isn't an error per se... the radio buttons display just fine

Re: How can I display radio buttons in 2 columns?

2006-07-11 Thread Paul Spencer
Rich, I have made changes to the wiki largely based on your suggestions. Thank you. Paul Spencer Rich Argo wrote: I'm using MyFaces Tomahawk 1.1.1. There really isn't an error per se... the radio buttons display just fine. It's just when you submit the form, no value is set and if there's

Re: How can I display radio buttons in 2 columns? (Solved and Documented

2006-07-06 Thread Matt Stine
is it is the same concept, but how do I implement it with with radio buttons? I have seen references to the layout spread, but I have not seen an example of it's use. So I am not sure if this is the solution. BTW the Newspaper Table has been deprecated. Paul Spencer Conway. Fintan

Re: How can I display radio buttons in 2 columns? (Solved and Documented)

2006-06-26 Thread Bruno Aranda
is it is the same concept, but how do I implement it with with radio buttons? I have seen references to the layout spread, but I have not seen an example of it's use. So I am not sure if this is the solution. BTW the Newspaper Table has been deprecated. Paul Spencer Conway. Fintan (IT Solutions

Re: How can I display radio buttons in 2 columns?

2006-06-23 Thread Paul Spencer
is it is the same concept, but how do I implement it with with radio buttons? I have seen references to the layout spread, but I have not seen an example of it's use. So I am not sure if this is the solution. BTW the Newspaper Table has been deprecated. Paul Spencer Conway. Fintan (IT Solutions) wrote: Hi

RE: How can I display radio buttons in 2 columns?

2006-06-14 Thread Conway. Fintan \(IT Solutions\)
Hi Paul, Would the Newspaper Table component work? http://myfaces.apache.org/tomahawk/newspaperTable.html Regards, Fintan -Original Message- From: Paul Spencer [mailto:[EMAIL PROTECTED] Sent: 13 June 2006 17:57 To: MyFaces Discussion Subject: How can I display radio buttons in 2

Re: How can I display radio buttons in 2 columns?

2006-06-14 Thread Paul Spencer
Fintan, Visually is it is the same concept, but how do I implement it with with radio buttons? I have seen references to the layout spread, but I have not seen an example of it's use. So I am not sure if this is the solution. BTW the Newspaper Table has been deprecated. Paul Spencer

Re: How can I display radio buttons in 2 columns?

2006-06-14 Thread Volker Weber
Hi, see http://myfaces.apache.org/tomahawk/tlddoc/t/radio.html there should be an example in simple.war regards, Volker 2006/6/14, Paul Spencer [EMAIL PROTECTED]: Fintan, Visually is it is the same concept, but how do I implement it with with radio buttons? I have seen references

Re: How can I display radio buttons in 2 columns?

2006-06-14 Thread Paul Spencer
://myfaces.apache.org/tomahawk/tlddoc/t/radio.html there should be an example in simple.war regards, Volker 2006/6/14, Paul Spencer [EMAIL PROTECTED]: Fintan, Visually is it is the same concept, but how do I implement it with with radio buttons? I have seen references to the layout spread, but I have

How can I display radio buttons in 2 columns?

2006-06-13 Thread Paul Spencer
I would like to display a long list of radio buttons in 3 columns? Paul Spencer

jsValueChangeListener radio buttons.

2006-02-09 Thread Adam Koprowski
Hello,some time ago there's been a post of somebody struggeling to put jsValueChangeListener to work with radio buttons. Now I have similar problem. I use the snippet:x:selectOneRadio id=locationType layout=spread value=locationProdvided f:selectItem itemLabel=#{bun.newTask_location_matters

Rows of Radio Buttons

2005-11-14 Thread Michael Rimov
Hi All, I've been working on a form where I need the following radio button layout: - | () Option 1 | () Option 2| () Option 3 | | () Option 4 | () Option 5| () Option 6 | | () Option 7 | () Option 8

Re: dataList with radio buttons

2005-07-12 Thread Richard Wallace
Weird, I changed from x:dataList to x:dataTable and validation and updating the data model works as it should. It's too bad cause I'd rather not have to use a table for page layout. Using the list would allow my designer to use div tags. Is this a bug or something that the x:dataList isn't

Re: dataList with radio buttons

2005-07-12 Thread Dennis_Byrne
Can you please elaborate on The required=true attribute also seems to be ignored, because I can safely advance without any errors.?

Re: dataList with radio buttons

2005-07-12 Thread Richard Wallace
[EMAIL PROTECTED] wrote: Can you please elaborate on The required=true attribute also seems to be ignored, because I can safely advance without any errors.? I simply meant that if I clicked on a command button, such as Next or Finish that MyFaces happily accepts the input as even if

Re: dataList with radio buttons

2005-07-12 Thread Dennis_Byrne
Was immediate=true in the dataTable element?

Radio buttons in dataTable

2005-06-15 Thread Peter Mahoney
I am trying to use the x:selectOneRadio component with the spread layout. The radio button choices are rendered dynamically as part of a dataTable. However, the setter in the backing bean is not being called and I am getting an error in the logs: There should always be a submitted value for