1) You're right, I remembered that its default value for this
component is different from the other ones, and I thought you was just
forcing it again.. BTW, my I ask you why do you need this to be true?
2) I use a snapshot of tomahawk 1.1.3 and it is done automatically
(maybe the example was writ
If you are using a dataScroller, you can try to take a look at its
firstRowIndexVar and lastRowIndexVar.
2006/5/19, Hans Sowa <[EMAIL PROTECTED]>:
Hi Cosma
I need to know that in my backing bean.
On 5/19/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote:
> Hi Hans,
>
> where you need to know t
This is my filter configuration in web.xml: extensionsFilter org.apache.myfaces.webapp.filter.ExtensionsFilter
uploadRepositoryPath /temp
maxFileSize 2m extensionsFilter
faces
I was thinking about a solution for the popup window problem in JSF..
someone has suggested to use a simple javascript, but any user action
on the caller page that hasn't be submitted isn't notified to the
backing beans, and validations are not executed.. in my case, the
current row of a dataTable
Cosma Colanicchia schrieb:
> I was thinking about a solution for the popup window problem in JSF..
> someone has suggested to use a simple javascript, but any user action
> on the caller page that hasn't be submitted isn't notified to the
> backing beans, and validations are not executed.. in my ca
Is there any documentation available? I can't find any reference of it
in the myfaces web site...
Tnx
Cosma
2006/5/19, Werner Punz <[EMAIL PROTECTED]>:
Cosma Colanicchia schrieb:
> I was thinking about a solution for the popup window problem in JSF..
> someone has suggested to use a simple ja
It can be the auto-scrolling, that causes errors if the myfaces filter
isn't properly setup. Try to set, in web.xml, the parameter
org.apache.myfaces.AUTO_SCROLL to false and see if this fix the
problem.
Cosma
2006/5/18, Nicolas GENSOLLEN <[EMAIL PROTECTED]>:
Hi,
Even if I'm not using SUN RI
Hi all,
I'm trying to use t:saveState to make a bean available across several
requests. Unfortunately it doesn't seem to work (I get a bean is null
error after submitting the form) and AFAICT this is because saveState
restores the bean by doing some magic with ValueBindings, and not
directly
Hello,
the following seems very magic and doesn't make any little sense for me:
I've got a jsp page containing some simple outputText tags. For
testing the magic behavior I output a property four times:
The 1., 3. and 4. line renders correct like:
My_Value
The second on
Cosma Colanicchia schrieb:
> Is there any documentation available? I can't find any reference of it
> in the myfaces web site...
>
Not yet, since this is an alpha stage quality component, the best thing
is to check the example which is there already...
(a demo can be found in the sandbox examples
Ok you can hide the dialog again on the javascript side if you set a
javascript with the exact id of the dialog container being something
like dialogId
and
dialogId.hideDialog();
the variable itself already should be set at that time due to the reason
that the dialog system itself sets a variabl
Thank you very much Cosma, you are right !
You said "that causes errors if the myfaces filter
isn't properly setup", what is a properly setup ?
Nicolas
- Original Message -
From: "Cosma Colanicchia" <[EMAIL PROTECTED]>
To: "MyFaces Discussion"
Sent: Friday, May 19, 2006 11:31 AM
Subj
Maybe I just didn't understand it very well, but I need to open a new
*browser* window, while this component seems to open an "in-page"
popup, like the t:popUp one..
2006/5/19, Werner Punz <[EMAIL PROTECTED]>:
Cosma Colanicchia schrieb:
> Is there any documentation available? I can't find any r
Hi Roger,
It is usual to use saveState to persist non-managed beans across requests.
Note that the value is persisted only (a) across JSPs which have the
requisite saveState tag (the value is dropped on the firsts page which
doesn't specify the save) and (b) when redirect is not used.
-Origin
You should have this in your web.xml:
extensionsFilter
org.apache.myfaces.webapp.filter.ExtensionsFilter
uploadMaxFileSize
100m
uploadThresholdSize
100k
extensionsFilter
*.jsf
Hello all,
i want to kow, if it's possible to get the absolute path of a faces app
within the view i.e. http://localhost:8080/app/ or http://server/app/
best regards,
Ben
Hi guys,
i have a problem with https on tomcat5: accessing https://localhost:8080
works fine, using http://localhost:8080 prompts me a download of a
crypted file ?!
Instead, I want to have some kind of redirection to https - how do you
do this?
Thanks for answers,
regards Hans
At first, try to close all of your browser window and restart the
server.. it seems that you changed your jsp content but the
server-side component tree is not in sync...
Cosma
2006/5/19, Chrisi <[EMAIL PROTECTED]>:
Hello,
the following seems very magic and doesn't make any little sense for m
Cosma Colanicchia schrieb:
> Maybe I just didn't understand it very well, but I need to open a new
> *browser* window, while this component seems to open an "in-page"
> popup, like the t:popUp one..
>
>
Yes, the popup is in browser, it is way less problematic that way.
If you really have to open
I know, and alredy considered jenia4faces, but my requirement is to
open a new browser window.. so I was trying a way to minimize problems
in JSF.
Thanks anyway for your interest
Cosma
2006/5/19, Werner Punz <[EMAIL PROTECTED]>:
Cosma Colanicchia schrieb:
> Maybe I just didn't understand it ve
Thank you
- Original Message -
From: "Cosma Colanicchia" <[EMAIL PROTECTED]>
To: "MyFaces Discussion"
Sent: Friday, May 19, 2006 12:04 PM
Subject: Re: commandLinks - javascript errors
You should have this in your web.xml:
extensionsFilter
org.apache.myfaces.we
Hello,
it's me again with a non magic beginner question;):
We've got some html templates from our web-agency.
I like to use them in my JSF pages.
In the html template I've got for example the following line:
lorum
I need to replace the class-style with a managed bean property and
tried
You should do this in your backing bean, see FacesContext on how
obtain a reference to the HttpServletRequest object. Then you should
be able to get the information you want from it.. getRequestURL is the
method, if I remember well.
Maybe you can access it from your page using EL, but I'm not sur
Hi Chrisi,
Not sure if this is a typo. Try changing Nr 2 from ${mybean.value} to
#{mybean.value}
HTH,
Fintan
-Original Message-
From: Chrisi [mailto:[EMAIL PROTECTED]
Sent: 19 May 2006 11:18
To: users@myfaces.apache.org
Subject: Beginner: html-attributes and bean-values
Hello,
it's
Beware that this syntax should work inside a simple HTML attribute
(such as DIV) only with JSP 2.0 onwards, with previous JSP standards
only JSF tags allows for "#{...}" binding on their attributes.
Have you tried to set a breakpoint in the getter method of your value?
Is it invoked the first tim
I've resolved the problem. I'm using Sitemesh for page decoration. The matter is extensionsFilter parses the page and mark start and end body and head positions. If extensions filter is mapped directly to faces servlet it executes before sitemesh filter and resulting page has no body what avoids my
Hi
I am using tomahawk-1.1.2.jar for FileUpload with JSF RI application. My web
application uses tiles. But when I include this jar into my web application,
tiles do not work. It gives the following error:
Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at
Hi Hans,
Take a look at the s:form tag in the sandsbox. This will allow you to
specify the port.
-Original Message-
From: Hansjörg Meuschel [mailto:[EMAIL PROTECTED]
Sent: Friday, May 19, 2006 6:08 AM
To: MyFaces Discussion
Subject: strange https problem using tomcat5
Hi guys,
i have a
Hansjörg Meuschel wrote:
Hi guys,
i have a problem with https on tomcat5: accessing http://localhost:8080
works fine, using http://localhost:8080 prompts me a download of a
crypted file ?!
Instead, I want to have some kind of redirection to https - how do you
do this?
Thanks for answers,
rega
Hi Cosma,
good try. :)
After rebuilding and republishing the app to tomcat the wired
behavior stopped.
Thanks!
On 5/19/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote:
At first, try to close all of your browser window and restart the
server.. it seems that you changed your jsp content but the
Thanks for your answers,
i now have two connectors, one for http (port 8080) and one for https
(port 8081)!
Hans
Mirek B. wrote:
Hansjörg Meuschel wrote:
Hi guys,
i have a problem with https on tomcat5: accessing
http://localhost:8080 works fine, using http://localhost:8080 prompts
me a d
Hi Cosma,
Have you tried to set a breakpoint in the getter method of your value?
Sure, the first time I access the managed bean with the ${mybean.value}
syntax the getter method isn't called.
I analysed a litte more: Whenever an JSF tag including a
"#{mybean.something}" is used before the ${..
Mike Kienenberger schrieb:
> On 5/10/06, Julian Ray <[EMAIL PROTECTED]> wrote:
>> I have 3 pages which share saveState objects (all Integers). The pages
>> work
>> fine until I add to the navigation at which point
>> saveState does
>> not work across pages (although it seems to work for other page
Hi, all, This is a bit tricky. We have two applications - one is built on pure JSP and the other one is built on JSF. We found the JSF application performance is much worse than the pure JSP application. We did not expect that much difference. JSF uses JSP page after all. So, what could have c
did you see this on the wiki http://wiki.apache.org/myfaces/Performanceregards...On 5/19/06,
iSquareOne LLC <[EMAIL PROTECTED]> wrote:
Hi, all, This is a bit tricky. We have two applications - one is built on pure JSP and the other one is built on JSF. We found the JSF application performance i
> What are doing the other folks? How do you access managed
> bean property in pure HTML?
Using facelets https://facelets.dev.java.net/. It offers you
many nice options for connecting pure HTML with JSF.
Frank Felix
> -Original Message-
> From: Chrisi [mailto:[EMAIL PROTECTED]
> Sent:
1) I had originally left the immediate attribute off of my commandSortHeader,
but found that other form fields were being cleared when I clicked on a
sortable header. Supposedly, having immediate="false" is supposed to fix
that, but it still clears the form fields, so I'll just take it off agian
f
It is also strange that other form fields are cleared.. it again makes
me think that something is going wrong between the first and the
second call. You may try to backup your current jsp page, rip out all
that isn't strictly related to your dataTable and try to track the
problem.
Check also that
Hi,
I am getting following javascript error when I click on menu.
Error: dummyForm has no properties
Source File:
http://localhost:8000/dedicated/faces/myFacesExtensionResource/navmenu.j
scookmenu.HtmlJSCookMenuRenderer/11302665/MyFacesHack.js
Line: 21
Following is my JSF code
Ricardo,
The best filter mapping is to put
/faces/myFacesExtensionsResource/* first (because it handles servlet
independent resources)
and to put the servlet name mapping one last (because it should act as
"one unit" with the servlet filter).
And put everything else between them.
On 5/19/06,
download and try to use tomahawk 1.1.2regards...On 5/19/06, Surapuraju, Vamsi <[EMAIL PROTECTED]
> wrote:Hi, I am getting following _javascript_ error when I click on menu.
Error: dummyForm has no propertiesSource File:http://localhost:8000/dedicated/faces/myFacesExtensionResource/navmenu.j
scookme
Hi, Is anyone look at Google Web Toolkit (http://code.google.com/webtoolkit/overview.html), what is your idea? (Especially JSF masters)regards...
-- Murat HAZER
I'm no JSF master, but I've got it yesterday, gave a try, and it's really REALLY IMPRESSIVE.
GWT has a very different paradigm compiling java classes to generate DOM trees, views and event listeners in _javascript_.
I didn't have time to see if something like JSF and GWT sinergy works althought.
Performance measurements have shown that plain server side state
saving (without serialization and without compressing state) comes
with the best values.
Also usage of StreamingAddResource brings about 20% performance improvements.
Apart from that, using JSP as page description slows down. Facel
Hi all,
i'm absolutely amazed from jsf (myfaces), tobago and xml-driven
interface-description with facelets.
i'm new to all three technologies and i am getting stuck at the very
first beginning: Navigation Rules from Faces config don't work :-/
I got a first site (helloWorld.xml) with one b
We have the technical requirement to stay with JSPs. :(
But there must be a way to put JSF bean values into the HTML-code of a JSP, or?
On 5/19/06, Frank Felix Debatin <[EMAIL PROTECTED]> wrote:
> What are doing the other folks? How do you access managed
> bean property in pure HTML?
Using face
When i drop tomahawk1.1.2 i get following
error
weblogic.servlet.jsp.JspException: (line 6): Error in using tag library uri='http://myfaces.apache.org/tomahawk' prefix='t': The Tag class 'org.apache.myfaces.taglib.html.ext.HtmlCommandButtonTag' has no setter method corresponding to TLD declar
Document.write should not be used, the w3c has deprecated it and XHTML
does not support it either. Yes, AA does not support document.write
also (for the same reasons).
If there is any document.write code being put into tomahawk controls,
we should file a JIRA on this as it is not a acceptable mea
I use t:commandLink all the time in dataTables and dataList controls,
never with an issue. Perhaps it is better with facelets, but I have
never seen an issue.
-Andrew
On 5/18/06, Le Van <[EMAIL PROTECTED]> wrote:
Matthias Wessendorf wrote:
> Marti
>
> perhaps [1] is interesting for you
>
> [1]
FYI - if you go with multiple windows, make sure you use client side
state. I don't think MyFaces yet supports server side state with
multiple client windows for one Servlet session.
-Andrew
On 5/19/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote:
I know, and alredy considered jenia4faces, but
you can read this thread http://www.nabble.com/Having+trouble+with+Tomahawk+1.1.2-t1636543.html#a4433711i hope it helps
regards...On 5/19/06, Surapuraju, Vamsi <[EMAIL PROTECTED]> wrote:
When i drop tomahawk1.1.2 i get following
error
weblogic.servlet.jsp.JspException: (line 6): Error in us
Hi!
> We have the technical requirement to stay with JSPs. :(
Well, we use JSP to describe the JSF view too - we slowly convert our
application from JSP to JSF (so we have both JSP embedded in JSF and
pure JSF), and I cant say that the performance it that worse.
> But there must be a way to put JS
I really want to know how we can use GWT with myfaces, I think if we can use with myfaces this will decrase our ajax burden. regards...On 5/19/06,
Rafael Nami <
[EMAIL PROTECTED]> wrote:I'm no JSF master, but I've got it yesterday, gave a try, and it's really REALLY IMPRESSIVE.
GWT has a very dif
Hello Felix,
the navigation rule should point to /goon.jsf.
The DEFAULT_SUFFIX is .xml
this means goon.jsf whould point to goon.xml.
You can look at the facelets example demo in
http://svn.apache.org/repos/asf/myfaces/tobago/trunk/example/facelets/
Regards
Bernd
Felix Gonschorek wrote:
Hi
Hi, experts
I am trying to configure a very basic memoryRealm on tomcat with
myfaces/tiles.
I have setup security-constrains in web.xml as follows.
In face-config.xml, I setup a navigation rule, so that a user will be
taken to /maintenance/index.html by clicking the commandLink.
But tomcat r
Mhh.. I'm still a bit confused about the server and client side
saving.. what is the "state" we are talking about? Is the tree of the
components used in the jsp page?
2006/5/19, Andrew Robinson <[EMAIL PROTECTED]>:
FYI - if you go with multiple windows, make sure you use client side
state. I d
I am trying to run my application with the current
myFaces sources from svn. (Maven is working fine now and I could compile
everything)
But my App does not start anymore. I am getting the
following error message with tomcat 5.5.12:
19.05.2006 17:25:48
org.apache.catalina.core.Standa
Hi Cosma,
check out the 'How do I...' section of core JSF.
There is a section about popups and JSF.
You find it at amazon as reading example Chapter 12:
(see chapter 'How do I generate a popup window?' page 28 inside the pdf).
Amzon-Link:
httpa://www.amazon.com/gp/product/0131463055/102-0590514-
That's weird:
I'm using eclipse 3.2.1-WTP (with integrated tomcat 5.0.x).
All together this works fine and I loved to work with it for the last few month
(at least using JSP and Struts)
Editing, republishing, testing and debugging is very fast and straightforward.
But now, starting using JSF/myf
I'm experimenting the same problem, but with tomcat 5.5 integrated. Seems that at some time being (don't know how much either) WTP stops publishing web files to the server at .metadata/plugin/tmp0/core.server/webapps/project.
What I did was simply a plain and simple copy ant build, just to cop
Hi, Gerald
Could you advise where I can find t:document TLD ? Is it in tomahawk
extension inside myfaces1,1/1.1.1 ?
I cannot find this tag in documentation.
Thanks,
yasushi
Gerald Müllan wrote:
Performance measurements have shown that plain server side state
saving (without serialization a
Hi Rafael,
It looks like I have another problem.
The files are published in
metadata/plugin/tmp0/core.server/webapps/project.
and also compiled in the work directory. That looks ok!
But the change doesn't show up in the browser. I checked also
browser-caching issues.
I have really no idea
I have a peculiar issue. Perhaps one of you might be able to help a poor soul.Scenario:
I have a command link on a page which specifies its action handler method in a backing bean. In the action handler method, I perform a redirect to another servlet which composes a file and writes it's conten
Problem:
Menu labels are not updated on t:panelNavigation2 when the action
returns null, and the same page is redisplayed. If we navigate to
another page and then navigate back, the labels are updated correctly.
How can we get t:panelNavigation2 to update itself without navigating to
a differ
Hi,
I do not get the inputCalendar going. I have a form that includes a datatable.
The following is a snippet:
Hi experts
I switched from commandLink to outputLink, then it started getting a
login popup windows as it was supposed to do so.
Then, when a user successfully logged in and accessed the page
[/maintanance/index.html], got 403 access denied error from tomcat.
Could someone advsie me what co
Anyone else getting the following exception from the newest build?
java.lang.NoSuchMethodError:
org.apache.myfaces.renderkit.html.util.DummyFormUtils.isWriteDummyForm(Ljavax/faces/context/FacesContext;)Z
at
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.writeCodeBeforeBody
Dan,
DummyFormUtils is being removed due to a myriad of problems that it causes.
The solution is to put all of your components (particularly buttons,
links, and navigationMenus) in h:forms explicitly.
I recommend creating one form that spans the entire of the page:
[...]
On 5/19
Tomahawk is a inside the optional MyFaces Tomahawk
component jar. See:
http://myfaces.apache.org/tomahawk/
Specifically, the last 3 notes on that page.
Regards,
David
-Original Message-
From: Yasushi Okubo [mailto:[EMAIL PROTECTED]
Sent: Friday, May 19, 2006 2:05 PM
To: MyFaces Discussi
Mike Kienenberger wrote:
I recommend creating one form that spans the entire of the page:
This seems to work well, though one must be careful to account for the
resulting changes to the "id" attribute of all enclosed components. Note
that some of these components may be rendered inaccessibl
Ok, I found the magic:
Myfaces always creates a session and seems to cache there
the component-tree including the model values.
When I delete the cookie inside the browser (== killing the session)
my code-changes get real and the new content shows up in the browser.
[Stopping the JVM of tomcat a
David G. Friedman wrote:
Tomahawk is a inside the optional MyFaces Tomahawk
component jar. See:
http://myfaces.apache.org/tomahawk/
Specifically, the last 3 notes on that page.
Regards,
David
Ok, I understarnd that part.
When I looked my myfaces1.1.1 installation directory, it looks
Wow!
I just applied these changes to the test server running on my workstation.
Performance is significantly better.
Thx!
Mike
--- Murat Hazer <[EMAIL PROTECTED]> wrote:
> did you see this on the wiki http://wiki.apache.org/myfaces/Performance
>
> regards...
>
> On 5/19/06, iSquareOne LLC <
I have the latest and greatest from JBoss, MyFaces and Tomahawk.
If I place the MyFaces jar files in the [app]/WEB-INF/lib directory of an
exploded war directory,
it doesn't work. If I place the MyFaces jar files in
/usr/lib/jboss-4-0-4-CR2/server/all/lib, it
works.
If I place the Tomahawk jar
Hi all
i am looking for users of Myfaces under WebLogic 8.1 sp 5. The last release
does'nt work and getting me crazy.
Wich relase of Myfaces and Tomahawk do you use ?
Thank's
Bruno
--
View this message in context:
http://www.nabble.com/wo+use+MyFaces+on+Weblogic+8.1-t1652531.html#a4477266
On 5/19/06, Roger Keays <[EMAIL PROTECTED]> wrote:
I'm trying to use t:saveState to make a bean available across several
requests. Unfortunately it doesn't seem to work (I get a bean is null
error after submitting the form) and AFAICT this is because saveState
restores the bean by doing some magi
#{facesContext.externalContext.request...}
On 5/19/06, Cosma Colanicchia <[EMAIL PROTECTED]> wrote:
You should do this in your backing bean, see FacesContext on how
obtain a reference to the HttpServletRequest object. Then you should
be able to get the information you want from it.. getRequestUR
When will it officialy be removed? and how does a developer get involved with
this project?
--
View this message in context:
http://www.nabble.com/java.lang.NoSuchMethodError%3A+.DummyFormUtils.isWriteDummyForm...-t1651961.html#a4478956
Sent from the MyFaces - Users forum at Nabble.com.
Hi Julian,
It is usual to use saveState to persist non-managed beans across requests.
Note that the value is persisted only (a) across JSPs which have the
requisite saveState tag (the value is dropped on the firsts page which
doesn't specify the save) and (b) when redirect is not used.
I am su
79 matches
Mail list logo