Daniel Rickardsson

Greenhorn
+ Follow
since Apr 19, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Daniel Rickardsson

Hi!

One way could be to use the method click in you javascript.
You could use it to simulate a click on a h:commandLink, see code below:

--- js ---
document.getElementById(frm+':'+id).click();

--- jsf ---
<h:commandLink
id="cmdLnkIdSuppliers"
immediate="true"
action="#{backing_jsp_myBean.my_action}"
value="">
<f:verbatim></f:verbatim>
<outputText value=""/>
</h:commandLink>
18 years ago
JSF
Also thanks for your link to myFaces... but i'm using regular JSF technology and looking for a solution from that.
/Daniel.
18 years ago
JSF
Thanks for your reply!

But yes, the alignment seem's to be the problem... isn't there any way to "force" each radio to correspond to the underlaying inputText?!

/Daniel.
18 years ago
JSF
Hi!

I wonder if anyone know how to get this layout(one column for the radio and a corresponding component in the same column but in the row beneath) for a selectOneRadio and any corresponing UIComponent?!

Here is what I mean:
radio1 | radio2 | radio3
text1 | text2 | text3

I early read a solution from Rajeev Ravindran where he fixed one row for each radio and a corresponing UIComponent in the other column, like this:
radio1 | text1
radio2 | text2
radio3 | text3

The solution was with panelGroup and panelGrid... but I don't fix it.

Please come back if anyone have a solution.

/Daniel.
18 years ago
JSF