I edited the original post in Nabble, but it mentioned the changes would be
pushed to the list. Hence the reply. Fun stuff at crazy hours!
--
View this message in context:
http://www.nabble.com/t%3AsaveState-how-to--t1521818.html#a4136167
Sent from the MyFaces - Users forum at Nabble.com.
Bonnie, you should address this questions to the user mailing list,
where you will get better and faster feedback.
Comments inline:
On 4/28/06, Bonnie SM TANG [EMAIL PROTECTED] wrote:
Hi, Bruno,
I read your message dated 11 Oct 2005 about UISelectMany below. I have some
question and hope
There is a big problem with me for using JSF when refresh current page.
That seams JSF always post latest action when clicking F5 in IE. What
I want is a new request instead of posting latest action to Backing
bean.
Can I achieve my goal? If can, how to deal with this problem.
Thanks
--
I found a bug like
in subject (TOMAHAWK-397 in JIRA). The problem is that I have to use body onLoad
event and I have to use inputSuggestAjax on the same page. Do you know any
workaround of this problem?
Paweł
Kołoszko
Pion Projektów Informatycznych
Zespół Z06
Atena Sp. z o.o.
Oddział
Kołoszko Paweł schrieb:
I found a bug like in subject (TOMAHAWK-397 in JIRA). The problem is
that I have to use body onLoad event and I have to use inputSuggestAjax
on the same page. Do you know any workaround of this problem?
onload is evil, at least on the ie...
in my experience it is
Hi Greg,
still waiting for an answer? I had the same problem, and modified the
javascript sources of jscookmenu to get this feature. Let me know if you
want more details.
Timo
Lindholm, Greg schrieb:
I'm using the t:jscookMenu and very happy with it but would like
to do something different
Which version of inputSuggestAjax you have tested on?
Latest or former releases (with the old component)?
As werner said, try to use his suggested approach to get this onload
stuff out of the page.
cheers,
Gerald
On 4/28/06, Kołoszko Paweł [EMAIL PROTECTED] wrote:
I found a bug like in
I have tested inputSuggestAjax build yesterday from source. I tried to use
setTimeout and it works great. Thanks a lot.
PK
-Original Message-
From: Gerald Müllan [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 12:24 PM
To: MyFaces Discussion
Subject: Re: inputSuggestAjax does
Kołoszko Paweł schrieb:
I have tested inputSuggestAjax build yesterday from source. I tried to use
setTimeout and it works great. Thanks a lot.
I have more time to answer this now.
Onload generally is problematic, because you only have one,
if you do an onload and there is an onload then you
Frank Russo schrieb:
I didn't think so, but I'll check...
Frank Russo
Senior Developer
FX Alliance, LLC
ah no Frank this is my private machine
it the server is down as we speak
I will start it again
sorry for the confusion
Werner Punz schrieb:
Frank Russo schrieb:
I didn't think so, but I'll check...
Frank Russo
Senior Developer
FX Alliance, LLC
ah no Frank this is my private machine
it the server is down as we speak
I will start it again
sorry for the confusion
works again
sorry for the hazzle
Hello
Is is possible to disable the validation? I would like to use a commandLink.
When I press this link the validations of the input fields should be disabled.
Yes, still waiting.
We've done a work-around (stuck a clickable cell beside
the menu and styled it to look like it's part of the
menu) but would like a better solution.
Greg
-Original Message-
From: Timo Thomas [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 6:10 AM
To: MyFaces
On Fri, 28 Apr 2006 14:59:54 +0200
[EMAIL PROTECTED] wrote:
Hello
Is is possible to disable the validation? I would like to use a commandLink.
When I press this link the validations of the input fields should be disabled.
Set immediate=true
--
Hi all,
i've a little question again! :)
There is a dataTable in my mask:
t:dataTable id=auftragTable
border=0
bgcolor=#C0DAEA
styleClass=table
style=width: 100%;
cellspacing=1
headerClass=table_header
rowClasses=table_row_1, table_row_2
Hi,
Some tomahawk components, like the tree2, require the
configuration of the extensions filter. Servlet filters are not supported in
portlets, and our project is portlet based. I wonder if I could configure the
extension filter in the web.xml of the portal application (not the portlet
The JSF specification doesn't guarantee that the getters will be called only once (different phases call same getter method..). So you should not put high cost codes into the getter methods. Also you can look at here
http://jsf-faq.com/faqs/faces-misc.html#106regards...On 4/28/06, Nahrwold, Helge
+1 for immediate=true, but sometimes it is not sufficient for complex forms, you can take a look to the OptionalValidationFramework http://wiki.apache.org/myfaces/OptionalValidationFramework
(i wasn't able to work it but may be you can..)On 4/28/06, Bjørn T Johansen [EMAIL PROTECTED] wrote:
On
You can trap F5 key and call form.submit with a little javascript. But that
does not help when user clicks the refresh button.
script
function ui_onkeydown_handler() {
switch (event.keyCode){
case 116 : // F5
event.keyCode = 0;
On 4/28/06, Murat Hazer [EMAIL PROTECTED] wrote:
+1 for immediate=true, but sometimes it is not sufficient for complex
forms, you can take a look to the OptionalValidationFramework
http://wiki.apache.org/myfaces/OptionalValidationFramework
(i wasn't able to work it but may be you can..)
At
Strangely enough, though, I added the tag class to the taglib.xml file,
and it's trying to load the converter but I'm getting the following
exception. It appears myfaces can't find the converter, however, it's on
the classpath. It's in my web-inf/lib directory.
javax.faces.FacesException: Could
It is sufficient.
Thanks
-- Original-Nachricht --
Reply-To: MyFaces Discussion users@myfaces.apache.org
Date: Fri, 28 Apr 2006 10:02:07 -0400
From: Mike Kienenberger [EMAIL PROTECTED]
To: MyFaces Discussion users@myfaces.apache.org
Subject: Re: Disable valdidation
On 4/28/06, Murat Hazer
Ok, i see.
But which result is used by the dataTable - the last?
Thanks,
Helge
Von: Murat Hazer [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 28. April 2006 15:35
An: MyFaces Discussion
Betreff: Re: dataTable: value-action called 3 times
The JSF
On 4/28/06, Nahrwold, Helge [EMAIL PROTECTED] wrote:
But which result is used by the dataTable - the last?
All of them are used at different times. It's going to be
internally-inconsistent and probably cause problems.
You need to use a caching pattern:
private List cachedList = null;
Hi,
Hm..i think the character encoding doesn`t work the right way.
There is a regarding jira issue about this.
cheers,
Gerald
On 4/28/06, Kołoszko Paweł [EMAIL PROTECTED] wrote:
I have problem with displaying polish letters in inputSuggestAjax. For
example polish word węgierski (with
Hi,
Im looking for a tree component that would work in a
regular web application with My Faces (and be able to work with others
component sets) AND inside a portlet. The alternatives Ive looked so far
were:
Tomahawks tree2: It seems it is dependent on the
extensions filter, and
You mean as javascript you wrote can prevent form submit?
I don't want to prevent refresh, but I just want refresh in request a
new page same as jsf page first requested, its lifecycle create a new
jsf view component tree and render response.
On 4/28/06, aliko [EMAIL PROTECTED] wrote:
You can
Sorry folks - just thought I'd ping the list again. This is a bit pressing
for me. Any feedback is appreicated.
--
View this message in context:
http://www.nabble.com/t%3AsaveState-how-to--t1521818.html#a4142396
Sent from the MyFaces - Users forum at Nabble.com.
I have a t:jscookMenu on my page with a t:navigationItem on it tied to a
backing bean. The navigationItem feild has various other NavigationItems
within it each with a different description. I've tied the items to an
action listener, but I can't figure out how to retreive their description
from
On 4/27/06, John Ruffin [EMAIL PROTECTED] wrote:
I want users to flow through say 2 screens then I want to save their
submitted data. I use t:saveState to keep the data around.
I added: t:saveState id=saveHierachy value=#{parentForm}/ to the first
form and t:saveState id=saveHierachy
When I do a getValue() I'm receiving a java.lang.String. The contents of
that seems to be a pointer... for example:
[EMAIL PROTECTED]. But it's
definitely a string (I did a getClass() to check)
--
View this message in context:
Everything seems to
be so abstracted with JSP/JSF/myFaces. All I know is that the exception was
thrown in this code (compiled JSP) and that pageContext was not
null.
Because the stack
trace last reference to the code is the catch line: if
(_jspx_page_context != null)
Hi Rogerio,
the problem still exists and i´m not very good in Maven...
Rogerio Pereira schrieb:
I donwloaded the plugin and installed by hand here and the problem has gone.
can you please describe in detail waht you did to solve the problem ?
Thanks...
HiI have following situation. I klick on a textfield, write a text and press enter. What happend is that in Netscape Navigator the event behind the commandButton calls my method. Great. But on Internet Explorer the event doesn't call my method. But on another side a similar combination works also
Can you post sample code here?
On 4/28/06, Hans Sowa [EMAIL PROTECTED] wrote:
HiI have following situation. I klick on a textfield, write a text and press enter. What happend is that in Netscape Navigator the event behind the commandButton calls my method. Great. But on Internet Explorer the
just add the atanion repo to settings file like this:settings profiles profile idprojects/id repositories repository
idatanion/id nameatanion repo/name urlhttp://www.atanion.com/maven2/url /repository
/repositories /profile /profiles activeProfiles
Thanks for the answer.Here is the code. The commandButton with the id mainSearchButton has the problem. If I click on the button with the mouse then the method is called.div class=hori
h:form id=mainSearchFormh:outputText value=#{labels.suchMainMessage} /f:verbatim
A few questions:
1. Since you only mention the mainSearchButton, am I correct in assuming that this is the only button giving causing an issue?
2. What happens if you remove the selone_menu_panelSearch from the page? Does it work then?
On 4/28/06, Hans Sowa [EMAIL PROTECTED] wrote:
Thanks for
Thanks Mike. I think Serialization is implemented correctly. I had some
logging statements in my form beans and t:saveState wouldn't work inside
f:view until I removed them. All form beans implement Serialization.
From form1.jsp with a t:saveState to form2.jsp with a t:saveState(same id) -
I
I usually try to use h:outputLink's wherever possible instead of commandLink's so it will use GETs and you won't have to worry as much about this refresh problem. I know the JSF purists might say to use commands everywhere, but in reality, you're app will be much more usable if you use outputLink.
I have a myfaces
(and Spring and Hibernate) application working
with Tomcat 5.0 and
java 1.4, I switched servers, and the new server
has Tomcat 5.5 and
java 1.5, but on the new server, all the .faces pages
appear with
no output
at all - "view source" shows a blank page. There
are no error
Try configuring tomcat's MIME types. Perhaps someone else here knows the exact
file name - this escapes me now.
Dennis Byrne
-Original Message-
From: L Frohman [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 04:47 PM
To: ''MyFaces Discussion''
Subject: switching hosts - new
Hi,
I am new to JSF. I would like to know how/what
component if i want to develop a photo album like
application.
Basically, I am doing something like this:
* have a grid of images (a table of 3 X 3).
* have a 'next', 'previous' page button to move from
page to page.
Is there a similar example
I think you mean the web.xml file in tomcat's conf directory.
I added an entry for .faces (there was already one for .jsf),
but it didn't help.
-Original Message-
From: Dennis Byrne [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 1:50 PM
To: MyFaces Discussion
Subject: Re:
Oops, I misread your original post. I thought you were saying the HTML was
being received, just not being rendered.
This is probably the answer ...
http://myfaces.apache.org/tomcat.html
Dennis Byrne
-Original Message-
From: L Frohman [mailto:[EMAIL PROTECTED]
Sent: Friday, April
That fixed the problem, thanks.
-Original Message-
From: Dennis Byrne [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 2:11 PM
To: MyFaces Discussion
Subject: Re: switching hosts - new version of tomcat
Oops, I misread your original post. I thought you were saying the HTML was
Hi John!
I think you will get the same behavior if you get rid the ids, I mean,
what is important in saveState is the value attribute. The way I use
saveState, for instance to preserve myBean state, from page1.jsp to
page2.jsp is as follows:
t:saveState value=#{myBean}/ in page1.jsp
and
Hello,
I sent the message quoted below to this list a few days ago, but
received no replies. I'm just wondering if perhaps it just got
overlooked; I would appreciate any insight on this issue.
Thanks a lot,
benjamin
On 4/26/06, benjamin van der veen [EMAIL PROTECTED] wrote:
Hello,
I'm coming
I was looking at the sample application in
http://www.jsftutorials.net/interface/jsf-popup.html.
In it, the author has this form:
h:form id=placeList
h:commandLink id=find action=showPlace value=/
/h:form
He has some Javascript that essentially sets the value of the command
link equal to
Thanks JuanCarlos. I've successfully savedState on a bean from 5 pages ago
using a t:saveState value=#useTheSameBeanNameOnEachPage. I'm able to
display the bean attributes on the jsp down the line. Thank you.
Here is what will put me over the top: in the backing bean of page5 how do
I access
50 matches
Mail list logo