This may be the problem,
in this case the changes to the UIComponents value take only effect if
they are done between the restoreView and the renderResponse phases!
any changes outside this lifecircle are just discarded, because the
binding component is newly created at restoreView and set into
Hi all,
I try to play around with the dialog to get a feeling of the problem.
Werner ask for the styleclass, here it is.
.dojoDialog {
background : lightyellow;
border : 1px solid #999;
-moz-border-radius : 5px;
padding : 4px;
/*positioning outside of the visible scope to
Hi all;
I'm newbie in MyFaces; Can any one tell me how to use FileUpload in
Tobago...
Thanks
--
View this message in context:
http://www.nabble.com/File-Upload-with-Tobago-tf2864405.html#a8004651
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Anil,
There is no way you can specify the name of an outcome just once and use
a reference to it both in the java-code of your managed-bean and the
navigation-rules in your faces-config.xml. Since your faces-config.xml
doesn't get build or compile, there is no way to garantee that the
values
Hi all;
Can any one tell me how to upload a file in memory with Tobago...
Thanks;
Scott O wrote:
Ying,
Tobago, Tomahawk, and Trinidad do. But MyFaces itself does not at the
moment. We're currently discussing that right now on the dev list being
that we've basically re-invented the
Why does JSF always use JavaScript to submit a form rather than through the
regular method of form submission?
Is your entire JSF web application useless for clients that have JavaScript
turned off?
--
View this message in context:
Hi Helmut,
this is exact the expectet behavior.
The jsf spec says the default timezone for converter is GMT, a
date.toString() uses the systemDefault timezone, this makes the
difference.
see this thread for more:
http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html
Regards,
On 12/21/06, lightbulb432 [EMAIL PROTECTED] wrote:
Why does JSF always use JavaScript to submit a form rather than through
the
regular method of form submission?
That only happens for a commandLink component (i.e. a hyperlink that is to
submit a form). If you use a commandButton component,
Craig McClanahan schrieb:
Only for hyperlinks. If you can describe a way to have a hyperlink
submit a form, without Javascript being enabled, we would love to hear it.
...
ah that is easy... rewrite the browser engines :-D
En l'instant précis du 12/21/06 00:00, Behrang Saeedzadeh s'exprimait
dans toute sa noblesse:
That would make the items remain in memory far longer than they are
actually needed to be. I was hoping to avoid the session.
There is also the application scope, it has some usage for handling
Worm, Danny schrieb:
Hi all,
I try to play around with the dialog to get a feeling of the problem.
Werner ask for the styleclass, here it is.
.dojoDialog {
background : lightyellow;
border : 1px solid #999;
-moz-border-radius : 5px;
padding : 4px;
/*positioning
I am extending HtmlOutputLabel adding a * when its for component is
required.
I am almost successful but I am having a problem.
The * is not rendered the first time the page is rendered.
The problem, is that findComponent does not find the for component
using findComponent the first time:
I am extending HtmlOutputLabel adding a * when its for component is
required.
I am almost successful but I am having a problem.
The * is not rendered the first time the page is rendered.
The problem, is that findComponent does not find the for component
using findComponent the first time:
[...]
When exactly do you call getInputFor()? During rendering process?
(encodeBegin()/encondEnd())
according to specs, findComponent will not work properly if your Label
is not yet attached to it's parent NamingContainer. (form in you case),
so i would suggest to check for getInputFor only in renderer.
El jue, 21-12-2006 a las 11:54 +0100, David Delbecq escribió:
When exactly do you call getInputFor()? During rendering process?
(encodeBegin()/encondEnd())
according to specs, findComponent will not work properly if your Label
is not yet attached to it's parent NamingContainer. (form in you
Ok, then just check component has a parent in your getinputfor, just to
be sure. If the parent is correct, maybe, i said maybe, it's because you
are using jsp (if am not wrong, in jsp, during first rendering, the
parsing of jsp and rendering of component is done at the same time, that
mean you
Craig McClanahan wrote:
On 12/21/06, lightbulb432 [EMAIL PROTECTED]
wrote:
Why does JSF always use _javascript_ to submit a form rather than through
the
regular method of form submission?
That only happens for a commandLink component (i.e. a hyperlink that is
to submit a form). If
Hi,
are using jsp (if am not wrong, in jsp, during first rendering, the
parsing of jsp and rendering of component is done at the same time, that
mean you render your label when inputtext does not yet exist, thought i
thats exact the problem.
in jsf 1.2 the component tree is created and
Hi!
in jsf 1.2 the component tree is created and rendered during reading
the jsp.
should have been jsf 1.2
Ciao,
Mario
El jue, 21-12-2006 a las 12:48 +0100, Mario Ivankovits escribió:
Hi!
in jsf 1.2 the component tree is created and rendered during reading
the jsp.
should have been jsf 1.2
Ciao,
Mario
Is there any solution?
I can use t:dataScroller before t:dataTable and there are no problems
with
Hello Volker,
ok, thank you. I thought, the converter uses the default timezone,
as toString() does, and not GMT by default.
This issue seems to be a reason for many discussions...
Regards
Helmut
Hi Helmut,
this is exact the expectet behavior.
The jsf spec says the default timezone for
Hi!
Is there any solution?
I can use t:dataScroller before t:dataTable and there are no problems
with the for element.
Hmmm ... did you put your dataScroller/dataTable combination within an
panelGroup, as far as I remember that helped.
Though, don't you have any problems with the
2 solutions*
1) prefer facelets over jsp (not always possible, depends on your
requirements, but faster, stronger, :p)
2) put your label after your input
3) surround your pair label/outputtext with a component that renders
it's children itself during the encodeEnd() (someone suggested panelgroup)
El jue, 21-12-2006 a las 13:25 +0100, Mario Ivankovits escribió:
Hi!
Is there any solution?
I can use t:dataScroller before t:dataTable and there are no problems
with the for element.
Hmmm ... did you put your dataScroller/dataTable combination within an
panelGroup, as far as I
You need escape=false so that the ampersand is not escaped and the unicode
characters are rendered properly. I am assuming you set the content-type
charset to utf-8.
Place the same outputText on a page and view the source to see why it is not
rendering correctly.
_
From: [EMAIL
Thanks Marco, that is exactly what we have been doing.
Here is one way that I thought of doing if anyone else is interested:
Define the outcomes in a properties file and use an ANT filterset to use
this properties file to replace the outcomes in the faces-config.xml during
the build process.
Jorge Vásquez wrote:
Regards to all,
Is there a way to include an icon within the h:messages component?
MyFaces renders h:messages in HTML as an ul list, so you can
apply a CSS style to this, for example:
form ul {
list-style-image: url(graphics/messageIcon.gif);
}
This says that each
Hi,
This all looks to me a bit over-engineering and useless round cycling
(defining constants string reference that resolve to constant string
reference...)
Why could this pack of things:
from-outcome@OUTCOME.CONTINUE@/from-outcome
public String someAction(){
...
return
Hi,
A better solution is to use custom navigation handler and the outcome
string will make the name of view.
Like '/somepoz/somefile.jsp'.
In navigation handler you can check if the outcome string begin with /
an set the view.
Is some example in wiki about navigation handler.
Cristi
David
Hi all,
I´ve now localized the problem.
These lines make the problem visible to you. Please call these lines from IE
and after that from the Firefox/Mozilla.
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN xhtml1-strict.dtd
html
Thanks Cristi, will try that approach and report back.
_
From: Grigoras Cristinel [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 9:29 AM
To: MyFaces Discussion
Subject: Re: from-outcome value
Hi,
A better solution is to use custom navigation handler and the outcome
Hi,
I agree this is a bit of overengineering, but when working with developers
whose first language is not english, typos or misspellings are a part of the
cycle and this is one way to minimize them. We are working on a largish ERP
project with over 200 navigation rules and can use whatever help
Hi,
I figured out that my t:dataTable will not be refreshed respectively
rerendered if I define a FacesMessage with severity.error within an
action method.
In my case the user selected a record of a table that had been deleted
in the mean time. So the action method creates an error message.
Mario,
This buffer workaround is not needed, when using the panelGroup
workaround (or any container which renders its children). I have had
absolutely no problems with datascrollers both above and below the
dataTable, using panelGroup. :)
Regards,
Jeff Bischoff
Kenneth L Kurz Associates,
Hi All,
I am in the process of developing a custom component. The component will
have the following:
1. Name of the currently logged in user - HtmlOutputText
2. Drop down containing all the roles that the user plays -
HtmlSelectOneMenu
3. Command button along with the drop
Sorry, but there are 2 places where typos can happen
the .xml file
the action method
in you case, you have moved the string from action to a property file.
Typos in your case can happen in 3 places
the .xml (typo in @key@)
the property file (bad key name)
the helper class that call an entry in
Hello,
Is it possible to configure MyFaces in order to use,
for each request, the no cache HTTP headers (expires,
pragma and cache-control)?
Thanks for your answer.
Thierry
Take a look at my blog:
http://jroller.com/page/Templth/
(old: http://templth.blogspot.com/)
David Delbecq wrote:
example design
public class OutcomeConstants {
public static final String OUTCOME_CONTINUE=outcome.continue;
}
public String someAction(){
...
return OutcomeConstants.OUTCOME_CONTINUE;
}
navigation rule:
from-outcomeoutcome.continue/from-outcome
We
Hi everyone,
We are having difficulties migrating to 1.1.4 version of myFaces. We
have gone
through the web site and the wiki, to no avail. We are not sure which jars are
important?
We have found references to the following jars throughout:
Sandbox.jar
Tomahawk-1.1.5-SNAPSHOT.jar
Thanks David.
We already use it this way, but the problem is that there is no check on the
XML file and that is where most of the problems occur. That is where my
original thought started from.
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Thursday, December
Hmm you'd think some tool could do that for you...
Really!!
Anyways, it appears we've reached the end of this discussion. Thanks for all
your responses folks.
-Original Message-
From: Jeff Bischoff [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 11:16 AM
To: MyFaces
Hello!
I had a JSF 1.1 App running (well :) with the Sun implementation.
Now I would like to use tree2 components, and therefore I put the
tomahawk-1.1.3.jar into the WEB-INF\lib folder of my project, added the
corresponding entries in the web.xml and in the corresponding jsp.
Now, after
Hmm what are you migrating from, another JSF implementation or non-JSF
framework? And are you interested in the Myfaces JSF implementation, the
Tomahawk components library, or both?
I think it will be much simpler for you to take a look at the example
applications. Sadly, they are not part of
Hi all;
Is tobaco (1.0.9) compatible with ajax4jsf...
I've got a hadache figuring out how to integrate them in the same war
cheers
--
View this message in context:
http://www.nabble.com/Tobago-with-ajax4jsf-tf2866793.html#a8012026
Sent from the MyFaces - Users mailing list archive at
I have to append.
The JS errors result of an incorrect dom model in firefox. All children's of
s:modalDialog weren't in the document model. The firefox dom inspector
couldn´t find these tree-nodes. Is this an bug of firefox regarding xhtml,dom?
Ok I´m perplexed.
Thanks
DaWorm
Jeff, thanks for your response. We are migrating from version 1.0.10. (It was
impossible to migrate before this)
I simply replaced myfaces-api-1.1.4.jar with myfaces-api-1.1.5-SNAPSHOT.jar
and
myfaces-impl-1.1.4.jar with myfaces-impl-1.1.5-SNAPSHOT.jar
and it worked.
The only thing which
ok, found the problem:
MyFacesExtensionsFilter didn't had a matching filter defined with the same
name.
I used the name extensionsFilter
BTW after correcting I realise that one has to put the
commons-fileupload.jar into the lib
but this produces a lot of warnings! like:
WARNING: Invalid tag
Hi I have the same problem: my form fields are spread out across multiple
tabs and I would like to be able to submit them all when the submit button
is pressed. I too have the panelTabbedPane nested inside a form tag and a
Submit button outside of the panelTabbedPane but inside the form tag.
Apply this patch and the commandLink issue is resolved too, works fine
without JavaScript (you have to set the ALLOW_JAVASCRIPT directive to false
in web.xml). Be aware that this goes against the 1.1 spec. It's a boon for
having compliant web pages though
AFAIK, writing your own filter solves this.
works for me.
This works well..
http://turbomanage.wordpress.com/2006/08/08/disable-browser-caching-in-jsf/
-Original Message-
From: Thierry Templier [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 11:00 AM
To: MyFaces Discussion
Subject: MyFaces and no cache
Hello,
Is it possible to
When would you set immediate to true for an EditableValueHolder? I don't see
the purpose. After all, if it happens in Apply Request Values versus Process
Validations, what's the difference in terms of functionality?
When should a developer consider setting immediate to true in these cases?
--
52 matches
Mail list logo