Thanks Alecs, but as far as I can see, that does *not* work.
Let us say the loop on the page runs 5 times. Then the first time
MyFaces encounter the statement
h:outputText value="#{myBean.myProperty}"/
It will instantiate the bean using the default constructor prior to
invoking
Thanks Adrien - I guess we wrote e-mails at the same time... as stated
in the previous e-mail I have just tried such a solution. Still I wish
there was a more standard way...
R.
Adrien FOURES wrote:
Hello Randahl,
If i have understand your question, try this:
body onload=test()
[...]
u cant simple fire submit.
jsf stuff works cause when u click on commandbuttn or sth than few things
are set by JS (ex. form action). so submiting without seting that magic
things doesnt make any sense.
clicking on button performs setting jsf stuff so u must find that button
and click it:
Hi,
Maybe this is not the most adequate forum to post this question, but I
know many of you are using MyFaces together with Spring Hibernate,
so it would be great it you give me some comments.
The problem I have comes with Lazy collections in my objects. Assuming
you know how to use Hibernate
Hello again,
I'm trying to figure out how, if it's possible to add form elements,
like text fields, when a user clicks an add button without having to
have the page resubmit. I'm not even sure it's 100% possible unless the
STATE_SAVING_METHOD is client. And then the javascript would have to
Richard,
Are you talking about hiding/showing the fields (such as using a CSS style)
or completely adding to the page without a resubmit?
Regards,
David
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 18, 2005 11:04 PM
To: MyFaces Discussion
David G. Friedman wrote:
Richard,
Are you talking about hiding/showing the fields (such as using a CSS style)
or completely adding to the page without a resubmit?
Completely adding a new element to the form.
Regards,
David
-Original Message-
From: Richard Wallace [mailto:[EMAIL
Richard,
I am still learning about MyFaces so I can only give you the JavaScript/DOM
portion of the solution. I can't yet give you information on how to name
your fields to work with a map/list/set backed Managed bean. I'm hoping
this will get you far enough along so your MyFaces skills can
Thanks, I understand how to do it on the javascript side. I'm just not
sure how to translate it into something the JavaServer Faces will be
able to understand. Optimally, of course, the values of the new
elements would be bound to the backing bean in the same way as any other
values. The
9 matches
Mail list logo