If you use the jsf-spring integration library, you can use spring
beans from JSF. Maybe this solves your problems?
regards,
Martin
On 12/7/05, Kurt Edegger [EMAIL PROTECTED] wrote:
Thank you for your fast response!
on 12/6/2005 7:39 PM Simon Kitching stated:
[...snip...]
This is
Hello I got a problem with duplicate IDs somewhere in my code and I
cannot find it. (actually it is associated with DataScroller)
How can I detect the duplicate ID?
Is there some way (or workaround) to create a Component Creation Listener so I can monitor the creation of the components !!
--
Hi Mike!
I like the idea with the Servlet Listener,but I see one problem:
The database connection is already openened when the Application Server is
started
-So could there be a problem with database connection timeouts? What happens,
when the database returns a timeout.
-If no timeout happens,
Hi Andy
Have you thought about using the refresh-meta-tag?
You could render the page on first visit with a refresh header set to 1 second.
The page would be rendered reading --- please wait --- and in the background
initiate
a new request which then would build the connection, and render a new
Hi Alexander!
I just don't exactly know what you mean.
In my JSF there should be a meta tag, that refreshes the page only one time
depending on a session attribute?
I don't know how to do that the connection will be build at first, when the
refresh starts (when the page will be rendered the
Thank you Simon ... Apologies I was at work trying to multitask and
replied to the wrong thread
-Original Message-
From: Simon Kitching [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 6:46 PM
To: MyFaces Discussion
Subject: Re: Error adding dataScroller before my UIData
Simon
Hi,
I found the problem and attached a patch for this issue. Can someone check
the code, test the application again and commit this? Or has anyone other
suggestions for this bug?
We tested this on our application and it works for us.
http://issues.apache.org/jira/browse/MYFACES-857
ARGH!
Simon, you just pointed out my mistake!
I was using:
getRequestMap().put(#{User}, new User(id));
While I really should have bean using:
getRequestMap().put(User, new User(id));
Notice, the EL notation.. As you said, this last line is equivalent to
below line when you use request beans:
Hi all,
when I try to download a file that is bigger than 10Mb I get an OutOfMemory Exception. Why that happens? How can I fix it?
Thank you
Kelly
Hi,
I had the same problem with duplicate ids.
are you using bindings on some components? Can you check the erroneous
DataScroller which has the duplicate id if it has a binding to a backing
bean?
Is your backing bean session scope? For me there was no work around and I
had to patch
Yes it is the problem with datascroler component binding
On 12/7/05, Paul Klaer [EMAIL PROTECTED] wrote:
Hi,I had the same problem with duplicate ids.are you using bindings on some components? Can you check the erroneousDataScroller which has the duplicate id if it has a binding to a
All,
I am
having problems when trying todeploy JSR 168 portlets (built using MyFaces
Impl) on IBM Portal 5.1.
It
could very well be a problem with IBM supporting the MyFaces JSF Implementation.
As far as I know, the RAD tool used for creating portlets supports only SUN RI.
The web.xml
Can you test my patch building your own myfaces version?
Or, we have to wait until someone of the commiters proves my patch and
commits it for a daily build...
Regards,
Paul
On Wed, 07 Dec 2005 14:47:45 +0100, Michael Ageeb [EMAIL PROTECTED]
wrote:
Yes it is the problem with
Simon, the div approach is working just fine.
Thanks a lot
Matias
-Original Message-
From: Simon Kitching [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 06, 2005 7:06 PM
To: MyFaces Discussion
Subject: Re: Tree2 Best Practices.
Hi,
I'm not sure that Tiles is relevant. It allows
Hi Simon,
thanks for your response. I use one UISelectBoolean component property in my
Backing-Bean, which is bound to the selectBooleanCheckbox used in the
dataTable. Because the dataTable has more than one row, that component or at
least the reference must be shared by all rows internally.
Unless you're using some sort of substitution technology like
facelets, it probably won't be trivial. You'll need to subclass
UIColumn to create MyColumn, and then either read the
my:columnheader tag in as a header facet, or have the
my:columnheader component create a header facet on its parent
Can you create a simple example and open a JIRA issue?
One thing you can do to investigate the error is set a breakpoint
wherever the Value is not a valid option message is generated. This
appears to be in
api - javax.faces.component.UISelectOne.validateValue()
Line 54 in yesterday's svn.
On
First off, note that this is a filter, not a listener. That means
you can open before the request and close after the request, for
whatever meaning open and close have to your database layer.
As for leaving connections open and dealing with timeouts, that's
going to depend on your database
Not really all necessary...
You would need to
a) replace the datatable-renderer (he is responsible for the
column-header-rendering)
b) create the column-header-component...
regards
Alexander
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December
Hi there,Did any of you guys successfuly managed to use this approach also with t:commandSortHeader to allow sorting the pages data by columns?It doesn't look trivial to me...just let me know if it is realy. If not i would realy appreciate a wiki page covering this also.Best regards,
On 12/7/05, Kandasamy, Uma [EMAIL PROTECTED] wrote:
All,
I am having problems when trying to deploy JSR 168 portlets (built using
MyFaces Impl) on IBM Portal 5.1.
It could very well be a problem with IBM supporting the MyFaces JSF
Implementation. As far as I know, the RAD tool used for
Thanks Ryan. I will try this one. Also, does your web.xml reference any of
the sun's classes (like ConfigureListener).
Do you mind posting your web.xml ?
-Original Message-
From: Ryan Wynn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 10:56 AM
To: MyFaces Discussion
I have a working myfaces application working inside websphere portal
5.1. I thought it would be cool if I ajaxized my portlet with dojo.
This way I don't suffer from the entire page refresh which in a portal
can be expensive.
So I overwrote the myfaces renderer for forms. My new form renderer
Hi.
I wonder if it is possible to declare the constructor of a bean in
faces-config.xml similar to using constructor-arg in spring's
configuration files.
The idea behind this is, that I'd like to inject a bean into my
application and use a referenced bean already in the constructor.
As far as
On 12/7/05, Kandasamy, Uma [EMAIL PROTECTED] wrote:
Thanks Ryan. I will try this one. Also, does your web.xml reference any of
the sun's classes (like ConfigureListener).
Do you mind posting your web.xml ?
-Original Message-
From: Ryan Wynn [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Ok i didnt open a jira issue yet but i found out a work around the hard
way, i read the discussion on the mailing list just prior to fixing
this particular bug and it turned out that it had something to do with
the behavior of converters which was buggy, so i removed all converters
from the
Hey All,I think I know the answer to this, but I'd like to get confirmation.I have a 'desktop-like' page with icons that users click on to open new windows. These windows are more than popup windows, they are full-blown pages with tabbed interfaces, etc. I'm currently under the impression that I
If you have a look at Jenia4Faces, there is a popup library that is
meant to integrate child windows into the JSF framework. You may want
to have a look to see if that fits your needs. If you are concerned
about multiple windows interfering with each other in a server saved
state you may also want
Hi,
i think there is non need of a my:column. It should suffice just to have
a columnHeader tag, extending f:facet tag, and just create a UIOutput
component and add this as facet 'header' to the parent component.
Regards
Volker
Mike Kienenberger wrote:
Unless you're using some sort of
Hey Andrew, Thanks for the response, (jenia looks interesting) but my current problem space is more basic. I'm mainly concerned with the mechanics of opening a 'new' browser window. Once the window is open it is largely independent - in the sense that it no longer needs to communicate with the
Hi,
Ryan Wynn wrote:
Anyway, this works as intended. The span gets updated with the
correct html and it looks far better than an entire page refresh. My
problem is that setting the innerHtml does not seem to be
reinterpreting embedded javascript and stylesheet references.
innerHtml was
So when you use the latest nightly, is the problem fixed for you?
On 12/7/05, Khurram Ahmed [EMAIL PROTECTED] wrote:
Ok i didnt open a jira issue yet but i found out a work around the hard way,
i read the discussion on the mailing list just prior to fixing this
particular bug and it turned out
Hi
I am trying to use the folder icons for the tree2 component.
My tree is defined as below...
x:tree2 id=queryTree
_javascript_Location=/common/tree2
value=#{scheduleManagerFace.queryTree}
var=node varNodeToggler=t
f:facet name=Root
h:panelGroup
f:facet name=expand
x:graphicImage
Srikanth,
You have to set the ImageLocation
attribute to the tree2 definition.
Regards
Matias
-Original Message-
From: sri
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005
2:57 PM
To: MyFaces Discussion
Subject: tree2 and the icons
Hi
I am trying to
Hello,Can someone help me make a distinction between the disabled and readonly tags? After some testing I've come to the conclusion that the only real difference is that the 'readonly' attrib will disable an input field without affecting its visual properties, whereas the 'disabled' attrib (a
Any of these should work:
h:outputLink target=_new value=urlh:outputText
value=text/h:outputLink
h:commandLink target=_new value=link name/
h:commandButton target=_new value=button text type=submit/
I am not sure what output the target creates. If it uses target then
beware of XHTML strict as
As I mentioned I tried that but didn't worked.
After further trials, I am able to see my icons if I set
clientSideToggle=false. If it is not set, I am not seeing the icons
that I specify.
Even with setting it to false, the icons are correctly working. I have
defined one icon for expanded mode
corrected a typo.On 12/7/05, sri [EMAIL PROTECTED] wrote:
As I mentioned I tried that but didn't worked.
After further trials, I am able to see my icons if I set
clientSideToggle=false. If it is not set, I am not seeing the icons
that I specify.
Even with setting it to false, the icons are NOT
Many thick client controls have the same properties. The usual
debate/answer that I find is this:
1) if the control should never be edited, mark it as read-only
2) if the control is temporarily disabled (i.e. you need to select a
radio button to enable the associated controls), then use disabled.
Sorry Srikanth,
I didnt read all the mail. My mistake.
I had the same problem a couple of days before, so I used the MyFacesExtensionsFilter to solve the problem.
Regards and sorry again.
Matias
-Original Message-
From: sri
[mailto:[EMAIL PROTECTED]
Sent: Wednesday,
After reading your email, I checked the documentation and see no reference to a target attrib for the h:commandButton... but my question is specifically about using the jsf navigation mechanism (ie. faces-config.xml
). As I stated, I can open a new window using other methods.Here's a statement to
Comments below:On 12/7/05, Andrew Robinson [EMAIL PROTECTED] wrote:
Many thick client controls have the same properties. The usualdebate/answer that I find is this:1) if the control should never be edited, mark it as read-only
2) if the control is temporarily disabled (i.e. you need to select
What do I need to do with the extensions filter ? Does it solve both
the issues I mentioned in my mail ? Please give me an example or tell
what to do in the filter.
Thanks a lot
SrikanthOn 12/7/05, Matias Gomez Carabias [EMAIL PROTECTED] wrote:
Sorry Srikanth,
I didn't read all
That is correct. The navigation just says where and if it should be a
redirect or not, it will output the content on the current stream.
There is no way that the server can target a new window for example
(without javascript in the onload). The browser must open a new
window, then load a given URL
Just add the extension filter and filterMappings in your web.xml
filter
filter-nameMyFacesExtensionsFilter/filter-name
filter-classorg.apache.myfaces.component.html.util.ExtensionsFilter/filter-class
/filter
filter-mapping
filter-nameMyFacesExtensionsFilter/filter-name
Hi guys
Thanks in advance for your answer to this question
My company is trying to put together a web client application
using JSF that has the look and feel of the Eclipse Rich Client Platform.
While weve had a good bit of success so far, Ive
run into an issue that Im hoping you
Thanks again.
That works with the icons that are in the jar file. What if I want to
use my own icons which are not in the jar file but are in a folder ?
The other problem is that once a node is expanded and the expanded icon
is displayed it doesn't go back to the collapsed icon when the node is
Hi all...
I have the following dataTable:
h:dataTable binding=#{CreateInstance.dataTable1}
id=dataTable1
value=#{CreateInstance.dataTable1Model}
var=currentRow
f:verbatim
colgroup
col width=200px/
col width=200px/
col width=200px/
col width=500px/
That works with the icons that are in the jar file. What if I want to use
my own icons which are not in the jar file but are in a folder ?
Use the @imageLocation attribute. You can also override the
javascript for the client side toggle using @javascriptLocation if you
really need to.
The
Ok... thanks Andrew. Your response makes sense.BobbyP.S. The documentation that I was referring to can be found here:http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/tlddocs/
P.S.S. I checked the documentation that you were referencing and it actually states the following for the target attrib
Catalin Kormos wrote:
Hi there,
Did any of you guys successfuly managed to use this approach also with
t:commandSortHeader to allow sorting the pages data by columns?
It doesn't look trivial to me...just let me know if it is realy. If not
i would realy appreciate a wiki page covering this
news [EMAIL PROTECTED] wrote on 12/07/2005
02:46:07 PM:
Hi all...
I have the following dataTable:
h:dataTable binding=#{CreateInstance.dataTable1}
id=dataTable1
value=#{CreateInstance.dataTable1Model}
var=currentRow
f:verbatim
colgroup
col width=200px/
col
Hi,
Did you get this to work? I would like to know how you did it. Where did you
find the 'progressbar.jar' file? I searched the
'https://bpcatalog.dev.java.net/' site and could not find it.
Thanks,
Tom.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent:
[EMAIL PROTECTED] wrote:
news [EMAIL PROTECTED] wrote on 12/07/2005 02:46:07 PM:
Hi all...
I have the following dataTable:
h:dataTable binding=#{CreateInstance.dataTable1}
id=dataTable1
value=#{CreateInstance.dataTable1Model}
var=currentRow
f:verbatim
news [EMAIL PROTECTED] wrote on 12/07/2005
03:39:11 PM:
Thanks for the answer Geeta
Adding them in the h:column will show up in the html file,
but it
won't give the results i want. the table looks weird if i do that...
I think the style suggestion is the way to go, but...now this
[EMAIL PROTECTED] wrote:
Hi all!
Has anybody experiences with Progress Bars and myfaces? I have found the
Sun Blueprint Progress Bar with googling but I have also read, that it
doesn't work with myfaces.
Has anyone experieces with it, or are there other components that
delivers a
Developers of components (tomahawk, sandbox, and others) should look at
weblets for serving resources (CSS, JS, images, etc) out of a jar package.
http://java.sys-con.com/read/159161.htm
https://weblets.dev.java.net/
--
Dave Brondsema
Software Developer
Cornerstone University
signature.asc
Ryan,
I tried as per your suggestion, but still I am getting the following
exception trace in the log file
Attempt made to start the SampleMyFaces Portlet_PA_1_0_1L8 application.
[12/7/05 15:58:15:532 EST] 3266d9c6 ApplicationMg A WSVR0200I: Starting
application: SampleMyFaces Portlet_PA_1_0_1L8
Hi everybody,
I'd like to use a dropdown menu in my jsp page, therefor I added
h:selectOneMenu id=selectModifier value=#{bean.currentItem}
f:selectItems value=#{bean.itemList} /
/h:selectOneMenu
to my page. The bean provides getter and setters for both properties, whereby
currentItem is of
Have you looked at AjaxAnywhere (http://ajaxanywhere.sourceforge.net/)
yet? It works exactly this way, giving you zones on the page that get
reloaded when certain actions occur.
Jeremy Sager wrote:
Hi guys –
Thanks in advance for your answer to this question…
My company is trying to put
Kurt Edegger wrote:
Hi everybody,
I'd like to use a dropdown menu in my jsp page, therefor I added
h:selectOneMenu id=selectModifier value=#{bean.currentItem}
f:selectItems value=#{bean.itemList} /
/h:selectOneMenu
to my page. The bean provides getter and setters for both properties,
Thanks Richard.
This appears to be exactly what we are looking for.
Jeremy Sager
Data Communications Product Manager
Chesapeake System Solutions
410.356.6805 x120
[EMAIL PROTECTED]
-Original Message-
From: Richard Wallace [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 07, 2005 4:34
Hi.
As I saw, everyone's writing something like #{myBundle['myi18n.key']},
which is quite awkward. Would't it be easier to have specialized syntax
for that? Say, $myi18n.key or whatever. This would not only simplify
page syntax but also allow optimize access to localized values -
application
[EMAIL PROTECTED] wrote:
news [EMAIL PROTECTED] wrote on 12/07/2005 03:39:11 PM:
Thanks for the answer Geeta
Adding them in the h:column will show up in the html file, but it
won't give the results i want. the table looks weird if i do that...
I think the style suggestion is
Greetings
I just joined this list tonight, as I have only started messing around
witth Java Server Faces and Tomcat.
I am working through some tutorials very slowly and I seem to be able to
work the JSP side of things
fairly well, but I cannot get Java Server Faces to work at all. I will skip
the
Hi,
please make sure that you inluded the myfaces libraries to your webapp, since
they are not in your common\lib.
The following links explain how to get started with myfaces (which is just an
implementation of JSF):
http://wiki.apache.org/myfaces/Installation_and_Configuration
Hi!
I'd like to use the panelTabbedPane and create the tabs dynamically (reading
from a xml-file).
I'm getting a list of objects from my bean and for each list-item a new tab
should be
generated.
My jsf-code looks like this:
t:panelTabbedPane bgcolor=#CC
c:forEach
Hi, see my comments at the bottom...
On Wed, 07 Dec 2005 23:46:42 +0100, hilz [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
news [EMAIL PROTECTED] wrote on 12/07/2005 03:39:11 PM:
Thanks for the answer Geeta
Adding them in the h:column will show up in the html file, but it
Amazing !! AJX brings JSF to life.Jeremy Sager [EMAIL PROTECTED] wrote: Thanks Richard.This appears to be exactly what we are looking for.Jeremy SagerData Communications Product ManagerChesapeake System Solutions410.356.6805 x120[EMAIL PROTECTED]-Original Message-From: Richard Wallace
No the problem wasnt fixed i had to alter my code base to not use
converters in myfaces which are the root of the problem.
I believe that the real issue is that HTML
check boxes and radio buttons dont know about the readonly
attribute. So you can only set the disabled attribute if you want
to prevent user input. That will grey out the check box, which I really hated.
This is a different behavior from text
Thanks Simon for your reply.It sounds trivial, but i can't get it to work. I can't seem to find the place where to store the sorted column's name and the sorting type, ascent/descent. Looks like every time the data is fetched out before the sorting options are established, or the first
Try using the the binding attribute with
t:panelTabbedPane . This will allow you to
programmatically add or substract each tab.
Original message
Date: Thu, 8 Dec 2005 00:39:28 +0100
From: Harald Müller [EMAIL PROTECTED]
Subject: panelTabbedPane with dynamic-tabs
To:
Simon,
thank you for your answer, I modified the getter/setter to handle
SelectItem.getValue().toString() instead of the selectItem itself.
But had you ever the chance to take a look at the jsftags-guide examples
(http://www.exadel.com/tutorial/jsf/jsftags-guide.html)?
They are using the
Greetings i have developed a custom component with two input fields but it is not working properly. The problem isthat, in decode method when we use to call setSubmittedValue(), we can only pass one argument in it. Then it updates only one value in the manage bean. The question is how can i
Paul and Geeta...
thank you s much
After Paul's explanation of Geeta's solution, i was able to get it to
work using the columnClasses
Now i can control every column's width separately...
Thank you so much for the patience it is all appreciated
:)
76 matches
Mail list logo