Sorry this is meant to be posted to
Facelets user group.
From: Yee CN [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 26 February 2006
11:11 PM
To: 'MyFaces
Discussion'
Subject: Help: c:if
test=${empty label} not working
Hi,
I tried to follow create a Composition Components
Hi,
I found it is my configuration problem in web.xml.
Now I can get that page at first, but after I clicking guess. It shous exception
javax.faces.el.PropertyNotFoundException:
/C:/bea91/user_projects/domains/jsfTrail/autodeploy/webapp/guess.xhtml
@21,114 value=#{NumberBean.guess}: Target
Hi All,
I have a problem with tree2 node selection: Is it possible to select a
tree2 node programmatically?
My JSP has on the left-side the toolbar with the actions that can I
perform to files displayed on a tree2 on the page middle-side. When I
select a file on the tree2, the file properties
Well, I was unhappy for the frustrating situation of upgrading to a new release, and see how my application was not working anymore. Then I realized that a bug about this problem had been commented in the JIRA list, and simply warned about this issue.
In other words: if the bug was detected after
Hi!
Does anyone know of or have user a slider component/script
with JSF? Pointers and/or samples greatly apprecoiated!
Harald Ommang
Verico AS
Norway
Hi everybody!
I am using Alfresco for
my application, so maybe my questions will be too specific to Alfresco but
maybe you already had similar problems. I am trying to add a node to Alfresco
under the node People. Thus I have two kinds of Node in People:
person and function.
But then I
I am seeing an annoying INFO message for every JSP that contains a JSF
component:
INFO [RendererUtils] Unable to find component 'projectTypeValue' (calling
findComponent on
component 'selectProjectTypeIssueType:_idJsp74'). We'll try to return a guessed
client-id anyways
- this will be a
Hi Mike,
Mike Duffy wrote:
I am seeing an annoying INFO message for every JSP that contains a JSF
component:
INFO [RendererUtils] Unable to find component 'projectTypeValue' (calling
findComponent on
component 'selectProjectTypeIssueType:_idJsp74'). We'll try to return a
guessed
Hi
Please correct me if I am wrong. When a collapsible panel is used in a dataTable thenwhen the panel is expanded it expands in the same row causing the height of thatrow to increase. Is it possible that when a collapsible panel is expanded itscontents are expandedto the next rows of the table
Hi allAm having an issue regarding the frame that opens for jenia popup. I have different sized popups to be called on the same jsp page. But if i open an bigger size popup and then open a smaller sized popup, then the popup opens of bigger size that was opened earlier. However on refresh
Hi,
I wonder what have happened to t:hidden*.
*I am getting the exception
javax.servlet.jsp.JspException: Undefined component type
org.apache.myfaces.tobago.HiddenInput
at
org.apache.myfaces.tobago.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:149)
at
Hi Nazar,
seems someone misses to configure this after the last restructure for
the faclet support.
There are no usages in the demos, so it got lost :-(.
I have fixed this, please update your svn checkout.
Regards,
Volker
Nazar Stasiv wrote:
Hi,
I wonder what have happened to t:hidden*.
Sean, I could not figure out form the documentation which data is kept
during conversation time, is it the page controller, or all data
accessed during conversation time?
Werner
Sean Schofield schrieb:
Shale dialogs do, however, have a mechanism for storing objects
between requests. So in
Cool, can you also show me the correct way
to add it to a JSC2 created page?
I just dont see anything like the
following in the created page; I know I have to add this somehow.
%@ taglib prefix=s
uri=http://struts.apache.org/shale/core %
Thanks
rjs
From:
[EMAIL
Hey Jonas
Thanks for the answer. Any chance you can
point me to where this stuff is defined and used? I might look into it myself
if theres not a fix out there by May.
Jeremy Sager
Data Communications Product Manager
Chesapeake System Solutions
410.356.6805 x120
[EMAIL
What jars do you have in your WEB-INF/lib?
Somewhere you still have Sun's JSF implementation (jsf-ri.jar ) in
your classpath. You need to remove Sun's JSF. If you see an
exception with this this element (com.sun.faces.lifecycle.RestoreViewPhase.isPostback),
then you know you're still running
If you go with the facelets approach don't you loose
your advantage of having a pre-compiled JSPs?
As far as initial load time and just regular overhead of
serving the page?
Shawn
This email may
Dear All,
I am trying to build a jsf page which can alternate between showing
input output text elements dependant upon a boolean (i.e. if you are
allowed to edit the data).
e.g.
tr
td halign='left'h:outputText value= Type
title=The Type of the Element /
/td
td width=10:/td
td
Adam,
Things to try:
1. use t:saveState id=type value=#{treeBacker.editState} /2. instead of using an input output container, try: t:inputText value=#{MIFExternal.type}
displayValueOnly=#{treeBacker.editState} /
Out of curiousity, what is the scope of your backing bean ?
-Grant
On 2/27/06,
BTW all this is to pre-populate the inputText element with the values
already contained in the bean.
TIA
Adam
Adam wrote:
Dear All,
I am trying to build a jsf page which can alternate between showing
input output text elements dependant upon a boolean (i.e. if you are
allowed to edit the
That should occur automatically.On 2/27/06, Adam [EMAIL PROTECTED] wrote:
BTW all this is to pre-populate the inputText element with the valuesalready contained in the bean.TIAAdamAdam wrote: Dear All, I am trying to build a jsf page which can alternate between showing
input output text elements
Hello all again
I have the situation where I have a myfaces page, but inside
it I want to have a second form for file upload.
The outer object doesnt contain the files, hence it
not part of that object.
Anyway, when the user clicks on the button to upload the file
my method gets
Nested forms are not supported by HTML. This is not a limitation of the server
side ( JSF, ASP.net , etc. ).
Dennis Byrne
-Original Message-
From: Jeffrey Porter [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 11:48 AM
To: 'MyFaces Discussion'
Subject: Forms inside Forms - is
Thanks Dennis.
I found your post on 2006-02-01 18:17 (HtmlCollapsiblePanel get's a
javascript error when inside two form tags), after I'd made my post.
:-)
So I'm now looking at t:aliasBean, but that doesn't seem to support
setting the enctype=multipart/form-data.
I guess I'm gonna have to
It's unclear to me why you need a second form.
Maybe you just need to put immediate=true on your
file-upload-related controls?
Or maybe look at the sandbox subform component if you need different
validation on each submit
On 2/27/06, Jeffrey Porter [EMAIL PROTECTED] wrote:
Thanks Dennis.
Question: Is anyone out there using MyFaces with WebSphere 6.0? Our
application works fine with WebSphere 5.1.1.3, but, for some reason, it
does not work on WebSphere 6.0. After googling around, I found that
WebSphere 6.0 ships with an integrated version of JSF, and I thought
that maybe we were
One other curious aspect of this is that we don't get that error if we
change the state_saving_method from client to server. However, we want
to keep our state_saving_method as client to allow for pop-up windows
and back-button functionality.
- Brendan
-Original Message-
From: Mike
You're correct Mike,
I seem to be having a slow brain moment. :-)
I now going to try changing
h:form id=theForm
To
h:form id=formNCMAttach name=formNCMAttach
enctype=multipart/form-data
I now get an exception...
17:46:04,926 ERROR [[FacesServlet]] Servlet.service() for servlet
May I suggest the s:subForm tag?
regards,
Martin
On 2/27/06, Mike Kienenberger [EMAIL PROTECTED] wrote:
Is there more to the stack trace?
I don't know offhand what would generate a
javax.faces.FacesException: expr
error.
On 2/27/06, Jeffrey Porter [EMAIL PROTECTED] wrote:
You're
The classpath probably wouldn't effect the auto loading of the faces-config's. I thinkthis is ordered by the name of the jar. I wonder if they could all live together if you renamed the myfaces impl jar to zz-myfaces.jar so it's registered last?
The safest bet would be to just remove the jars.
This doesn't sound like a tree2 specific problem then. It sounds like
its a more general problem with AddResource and you dynamic include.
I would create a JIRA issue on this.
Sean
On 2/26/06, Carsten Burghardt [EMAIL PROTECTED] wrote:
Am Monday 20 February 2006 22:37 schrieb Sean Schofield:
Hello,
I have two problems with MyFaces
1.1.1.
1). I have created page:
. . . .
h:selectBooleanCheckbox
id=checkbox value=#{Bean.prop}/
. . . .
It is uses managed bean:
public class Bean {
public String
getProp() {
return
true;
}
}
During page rendering, MyJSF
throws
I recommend asking this on the facelets list.
All you do is pass your binding/value/validator/converter/required
values into your composition template. You can pass them either as
attributes or as body text (for validators and converters, this
often makes more sense).The only tricky part
Am Monday 20 February 2006 22:37 schrieb Sean Schofield:
Last I checked the examples in the nightly worked. Can you point to a
problem with one of the examples? If not, try sending an SVN patch
for an existing example that can be tweaked to demonstrate the
problem. If you're uncomfortable
I have been attempting to build a JSF based portlet with MyFaces and
have
been having a problem in getting JSF navigation to work with
myfaces-1.1.1.
I followed the instructions on the Wiki for how to create my own portlet
and
add edit modes. This works great and I can deploy it into my portal
Am Monday 13 February 2006 06:37 schrieb Boris Kovalenko:
Hello!
Wow! What I discovered! My start page (index.jsp) looks like
%@ page session=false contentType=text/html; charset=utf-8%
jsp:forward page=/pages/home.jsf/
and when I use it for startup I have no javascript in resulting
Clay makes easy work of reusing a view fragment with what it calls symbols.
Symbols are a substitution layer before the EL becomes a binding object
(http://struts.apache.org/struts-shale/features-reusable-views.html).
For example:
span jsfid=/widgets.html label=submit bean=mybean action="">
Am Monday 27 February 2006 21:01 schrieb Sean Schofield:
This doesn't sound like a tree2 specific problem then. It sounds like
its a more general problem with AddResource and you dynamic include.
I would create a JIRA issue on this.
Done: https://issues.apache.org/jira/browse/TOMAHAWK-159
If memory serves me its whatever is in #{dialog.data}. I believe that
object is a Map that you can put whatever you want into it. I can't
say for sure b/c I don't have the source in front of me and its been a
while since I worked on it.
Sean
On 2/27/06, Werner Punz [EMAIL PROTECTED] wrote:
I had/have this issue as well. The link dummy form was not being created
by the javascript, so my links were not working on my pages.
I changed my index.jsp to be a javascript redirect instead of a
jsp:forward to get around the problem for now.
(window.location = '/pages/home.jsf') for your
Hi all,Is there someway to tell my faces application that when the session has expired, to return to a certain page?I have a session time of 5 minutes for my application and the pages are password protected. What's happening is that people are clicking on the links and what not after the session
A servlet filter is probably the best bet since you can both check for
the expired session and redirect before JSF is ever involved.
On 2/27/06, Elam Daly [EMAIL PROTECTED] wrote:
Hi all,
Is there someway to tell my faces application that when the session has
expired, to return to a certain
You might get a better answer on the facelets user mailing list.
On 2/26/06, David Schlotfeldt [EMAIL PROTECTED] wrote:
I need to change where my application is getting the XML of the view
from. For example, currently when a request comes in for
/company/history.jsf it will use the contents of
Title: Message
One
other thing we were thinking was using the JSF implementation supplied by WAS
6.0, along-side the MyFaces Tomahawk components. However, WAS 6.0 only
support JSF 1.0 "out of the box." :( I assume that wouldn't work with the
Tomahawk components, correct?
-
Brendan
Or register a listener that implements HttpSessionListener, which
implements the methods sessionCreated(HttpSessionEvent e) and
sessionDestroyed(HttpSessionEvent e).
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 3:34 PM
To: MyFaces
I have the following navigation case: navigation-case from-outcomenav_page_domain_op_list/from-outcome to-view-id/page_domain_op_list/to-view-id /navigation-case
and the following security constraint:... url-pattern/page_domain_op_list.jsf/url-pattern...If I point my browser to
I am not getting any error in any log other than this one :
22:17:29,449 ERROR [org.apache.myfaces.util.LocaleUtils] Locale name
null or empty, ignoring
I was assuming that wouldn't be the one to blame.
Other than that, neither the tomcat access log or the console show any
error at all.
I've
Hi,
Is working if you use redirect.
Cristi
Ming Hu wrote:
I have the following navigation case:
navigation-case
from-outcomenav_page_domain_op_list/from-outcome
to-view-id/page_domain_op_list/to-view-id
/navigation-case
and the following security constraint:
...
Redirect works but it's not what I wanted. The functionality I'd like to have is to put security constraints on the action values of JSF/Myfaces command links or buttons.Regards,Ming
On 2/27/06, Grigoras Cristinel [EMAIL PROTECTED] wrote:
Hi, Is working ifyou use redirect.CristiMing Hu wrote: I
After some further digging, I was able to make this error happen:
Nested Exception is java.lang.NullPointerException
at
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesG
enericPortlet.java:393)
at
Mike,Using the filter method seems to present a problem. In my web.xml file, I already have a filter for any /faces/* requests that invokes the ExtentionsFilter for myfaces. The url I need for *my* filter is /faces/admin/*. So it seems to me that in order to use my filter, that I need to use the
First off, I see that my changes to the extensions filter setup web
page have gotten lost. I'll try to get them back in tomorrow.
Here's the recommended extensions filter mapping. This assumes you've
named your FacesServlet FacesServlet as well.
!-- extension mapping for adding script/,
On 2/27/06, Elam Daly [EMAIL PROTECTED] wrote:
Oh, and how do I determine if a session has expired? I don't see any
enlightening methods in the HttpSession class.
Your mistake here is thinking that the servlet api was intended to be useful :)
You have to do something like this:
Todd,
I'm wondering about this in your faces-config.xml
factory
faces-context-factoryorg.apache.myfaces.context.MyFacesContextFactoryI
mpl/faces-context-factory
/factory
You shouldn't need to set a faces-context-factory.
Stan Silvert
JBoss, Inc.
[EMAIL PROTECTED]
callto://stansilvert
I've Googled on this for about two hours, hoping to find a solution.
It seems that this is a very old issue that once started out as an error, but
was changed to an
info message.
Martin Marinschek closed MYFACES-261:
http://www.archivum.info/dev@myfaces.apache.org/2005-06/msg00047.html
Basic
On 2/26/06, Dave [EMAIL PROTECTED] wrote:
inputTextarea allows users to input a description including any HTML tags, then display back to client using outputText escape=false.Users cantype in _javascript_ and anything else. What is the security hole? client side or server side? Can users
In my tests, Facelets shows pages faster than JSPs, pre-compiled
or not. The XML parse is extremely fast, and only happens
once; thereafter regular execution is much faster than JSPs,
as there is no need to recreate Tag objects or constantly
set properties, etc.
The only significant advantage
On 2/27/06, Werner Punz [EMAIL PROTECTED] wrote:
Adam Winer schrieb: That won't work:ADF Faces requires JDK 1.5, period.That is, of course, subject to change based on MyFaces dev discussion, but at the moment, that's the state of things.
Please do not change that ;-)No seriously, 1.5 brings so
On 2/27/06, Santiago, Ray [EMAIL PROTECTED] wrote:
Cool, can you also show me the correct way
to add it to a JSC2 created page?face color=redI guess this is something I should really be supporting, given my role on both Shale and Creator :-).
/faceLook for an enhancement in a
On 2/27/06, Andrew Robinson [EMAIL PROTECTED] wrote:
That may mean one of a few problems I think. The whole bean is notfound, or just the property. If the configuration file for faces isfaces-config.xml and located in the WEB-INF directory, myfaces will
auto-magically find it. If it has a
Filter---package org.imf.filter.SecurityFilter;/** Created on 2005-Jan-03*/import javax.servlet.Filter;import javax.servlet.FilterConfig;import javax.servlet.ServletRequest
;import javax.servlet.ServletResponse;import javax.servlet.FilterChain;import javax.servlet.ServletException;import
On 2/27/06, Sean Schofield [EMAIL PROTECTED] wrote:
If memory serves me its whatever is in #{dialog.data}.I believe thatobject is a Map that you can put whatever you want into it.I can'tsay for sure b/c I don't have the source in front of me and its been awhile since I worked on it.
It is correct
62 matches
Mail list logo