Hi,
Short question: (thought of another solution)
Is this the proper way of passing just one variable from one backing
bean to another, or is there a better way? (I'd just like to avoid
sharing the entire bean, which you usually see)
So if e.g.
- bean A has varA
- bean B wants to access
Title: T:SaveState Problems
Hi Guys!
I have problems with t:savestate. I have a Datatable which I put into t:savestate... This datatable represents a list of records from the database. In each column of the datatable there is a Button to delete each record.
The problem is, that the
I have same probleme !
I have this in m'y web.xml :
?xml version=1.0 encoding=UTF-8?
web-app version=2.5 xmlns=http://java.sun.com/xml/ns/javaee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
Hi all
I'm developing a intranet application and I notices that, because of
the time-zone awerenes of JSF, all de dates are decrased by two hours
from the persisted value while displayed.
Forcin the formatting to timeZone=GMT-2 dates are displaied ok but I
would't like to spread timeZone
::SammyRulez:: wrote:
Hi all
I'm developing a intranet application and I notices that, because of
the time-zone awerenes of JSF, all de dates are decrased by two hours
from the persisted value while displayed.
Forcin the formatting to timeZone=GMT-2 dates are displaied ok but I
would't like to
Hi,
If you can check with the spaces provoded in the web-app tag
between the attributes, I think you will be able to solve your error.
Chandru.
On 5/30/06, laguiz [EMAIL PROTECTED] wrote:
I have same probleme !
I have this in m'y web.xml :
?xml version=1.0 encoding=UTF-8?
web-app
I don't think that my web.xml is wrong, because I use the same web.xml in
MyFaces 1.1.1.
Or do I have to change something in 1.1.3?
Regards,
Andy
-Ursprüngliche Nachricht-
Von: chandra sekhar saripaka [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 30. Mai 2006 11:42
An: MyFaces
Wolf Benz wrote:
Hi,
Short question: (thought of another solution)
Is this the proper way of passing just one variable from one backing
bean to another, or is there a better way? (I'd just like to avoid
sharing the entire bean, which you usually see)
So if e.g.
- bean A has varA
- bean B
[EMAIL PROTECTED] wrote:
Hi Guys!
I just tried to migrate from MyFaces 1.1.1 to 1.1.3 with Tomahawk
1.1.2...
But I get the following error when starting the whole thing:
java.lang.NoSuchMethodError:
Yes I have removed everything, also in the Work Directory from Tomcat...
Only the myfaces-commons.jar is still there, because I need this jar because of
the class MessageUtils.
Regards,
Andy
-Ursprüngliche Nachricht-
Von: Ondrej Svetlik [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 30.
Thanks but... this is what I knew so far :-)
What I want is not sharing an ENTIRE bean, just ONE variable. (a
managed property)
Is this possible as well?
Thought of these 2 possibilities: (donno whether it would work/
whether at least one of them is correct)
managed-bean
Hi!
Only the myfaces-commons.jar is still there, because I need this jar because
of the class MessageUtils.
Bingo!
myfaces-commons is no longer part of MyFaces.
MessageUtils is now in shared - so you can import either
org.apache.myfaces.shared_impl.util
or
yes.. (it in my case) but nothing happened
2006/5/30, Ondrej Svetlik [EMAIL PROTECTED]:
::SammyRulez:: wrote:
Hi all
I'm developing a intranet application and I notices that, because of
the time-zone awerenes of JSF, all de dates are decrased by two hours
from the persisted value while
Wolf Benz wrote:
Thanks but... this is what I knew so far :-)
What I want is not sharing an ENTIRE bean, just ONE variable. (a
managed property)
Is this possible as well?
Thought of these 2 possibilities: (donno whether it would work/ whether
at least one of them is correct)
managed-bean
[RESOLVED] for me
ON JBoss 4.0.4.RC2
I have change (update) my jar files in :
{JBOSS_HOME}\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\
change originales files in JBOSS by updated files :
http://myfaces.apache.org/download.html
(i'm french sry for my bad english)
--
View this
Thanks Ondrej.
No prob about the warning - this is the intended behavior; bean B
continues a scenario with data constructed by bean A. (no going back
forth)
-- setting the var once in B after A has done it's work is fine.
Also Bean B only gets instantiated after Bean A has populated this
Hi,
Why not use the protected getter/setter for the properties you do not
want in the web area? If the get/set method is protected it can still be
accesed if inherited but is not available elsewere.
I think that the managed-property is JSF RI.
BR,
Alecs
On Tue, 2006-05-30 at 12:15 +0200,
Perhaps this could help you
http://thread.gmane.org/gmane.comp.jakarta.myfaces.user/19435/focus=19485
2006/5/30, ::SammyRulez:: [EMAIL PROTECTED]:
yes.. (it in my case) but nothing happened
2006/5/30, Ondrej Svetlik [EMAIL PROTECTED]:
::SammyRulez:: wrote:
Hi all
I'm developing a
thanks
2006/5/30, Cosma Colanicchia [EMAIL PROTECTED]:
Perhaps this could help you
http://thread.gmane.org/gmane.comp.jakarta.myfaces.user/19435/focus=19485
2006/5/30, ::SammyRulez:: [EMAIL PROTECTED]:
yes.. (it in my case) but nothing happened
2006/5/30, Ondrej Svetlik [EMAIL
HI
I have two selectionOneManycomponents ona page. Its just like the case in whicha selectionOneMany fora country when changedupdates the second selectionOneMany for its cities.
I have used a valueChangeNotifier(as the code has to update some text fields) withthe first component. Onchange
Hi,
You can try this .It's working with me perfectly.I'm using in this
way.But i'm using a version of 2.4
?xml version=1.0 encoding=UTF-8?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=2.4
yes, i have this. filter-nameextensionsFilter/filter-name filter-classorg.apache.myfaces.component.html.util.ExtensionsFilter/filter-class init-param
param-nameuploadMaxFileSize/param-name param-value100m/param-value descriptionSet the size limit for uploaded files. Format: 10 - 10 bytes
10k -
Remove this: !-- Listener, that does all the startup work (configuration, init). -- listener listener-classorg.apache.myfaces.webapp.StartupServletContextListener
/listener-class /listenerI think this is not used by MyFaces anymore.2006/5/30, mindu [EMAIL PROTECTED]
:yes, i have this.
Hi there,I have created a custom components that agregates 2 other components. The component works just fine until a submit is performed. Then I get the following error:..14:57:10,531 WARN [HtmlGridRendererBase] PanelGrid _id0:holder has not enough children. Child count should be a
Right now i'm getting many problems related to arraylist and i'm getting similar error when using dependency injection with ArrayLists in session scope.2006/5/30, Ionut S
[EMAIL PROTECTED]:Hi there,I have created a custom components that agregates 2 other components. The component works just fine
I removed, but the error continues. BackingBean: private Date data; public TesteFace() { } public Date getData() { return data; } public void setData(Date data) {
this.data = ""> }jsp:%@ taglib uri=http://java.sun.com/jsf/html prefix=h %%@ taglib uri=
http://java.sun.com/jsf/core prefix=f %%@
#{! empty MyBean.values[record.id]} should work
On 5/29/06, Michael Heinen [EMAIL PROTECTED] wrote:
Can I access a Set with JSF-EL?
I have a datatable with many records. The user is able to update records in
a detail panel. The ids of the updated records are stored in a HashSet in a
Instead of using javascript, can you just use the
t:updateActionListener tag? It works quite well for data table rows.
On 5/29/06, Stefan Gesigora [EMAIL PROTECTED] wrote:
Hi!
How can I pass a value set with javascript (f.e.):
document.getElementById(form:selListRow).value = idrow
into my
Hello,
I use MyFaces, I use styleClasse in CommandButton and it does not go, on
the other hand it goes in CommandLink.
which you think?
Hi All,Currently, i'm working on implementing a solution that enable the controller to call _javascript_ dialogs from his methods.But i need, to find in the PhaseListener all managed beans that have been initialized and their bindings*.
Is there a way to do that ?Sébastien
Hi,
I've been experimenting JSF for my company for some weeks by now. I'd
like to discuss with you about the different ways the framework allows
for passing parameters between views, which is a primary requirements
for CRUD operations. I've tried many, each one with advantages and
drawbacks:
1)
We're using af:setActionListener consistently, doing
things like:
af:table var=item
...
af:column
af:commandLink ...
af:setActionListener from=#{item}
to=#{EditItem.item}/
/af:commandLink
Hi Frank, thank for sharing your approach.
I see that use setActionListener to refresh an entire bean from your
list one. I immagine that you use directly this bean in your edit page
(if not, why pass all the bean instead of only the identifier
property?).
This is an interesting approach, but I
Hi guys,I have a page with two buttons and one dataTable, with button1 i add a new item to dataTable and with button2 i call another method, if I call button1 to add an item and then call button2 the dataTable contents is being replaced with old ArrayList contents... : (
Thanks for any
the correct filter is: org.apache.myfaces.webapp.filter.ExtensionsFilterthanksminduOn 5/30/06, mindu
[EMAIL PROTECTED] wrote:I removed, but the error continues. BackingBean:
private Date data; public TesteFace() { } public Date getData() { return data; } public void setData(Date data) {
Hi experts,
I have multiple download links [commandLink] /buttons[commandButton] on
the same page. I realized that a user needs to click twice to see an
open directory window from the second attempt, I do not understand why
this is happening.
The download page was implemented with jsp
try to switch over to StreamingAddResource - see
http://wiki.apache.org/myfaces/ and then performance.
regards,
Martin
On 5/30/06, mindu [EMAIL PROTECTED] wrote:
the correct filter is:
org.apache.myfaces.webapp.filter.ExtensionsFilter
thanks
mindu
On 5/30/06, mindu [EMAIL PROTECTED]
I see that use setActionListener to refresh an entire bean
from your list one.
Actually, the item that is passed is a proxy that carries
an id and entity name that resolves to a hibernate
persistent object in the current request's transaction ;-)
Works perfectly fine.
Frank Felix
I'm using myfaces 1.1.4, tomahawk 1.1.4, facelets 1.1.6 and dataTable with preserveDataModel=false and a saveState assigned to dataTable ArrayList.2006/5/30, Rogerio Pereira
[EMAIL PROTECTED]:
Hi guys,I have a page with two buttons and one dataTable, with button1 i add a new item to dataTable and
This results in a
javax.faces.el.PropertyNotFoundException. Bean: java.util.HashSet,
property: docId4711
I assume that I cannot access Sets with EL that way.
-Original Message-
From: Andrew Robinson [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 30. Mai 2006 14:35
To: MyFaces Discussion
Ok, I didn't know you was using hibernate :-)
2006/5/30, Frank Felix Debatin [EMAIL PROTECTED]:
I see that use setActionListener to refresh an entire bean
from your list one.
Actually, the item that is passed is a proxy that carries
an id and entity name that resolves to a hibernate
Sean, did you manage to have success wth MyFaces integration with
NetBeans? I'm using Glassfish for it's persistence capabitlities, but
would prefer to use MyFaces as my JSF implementation.
Tim
-Original Message-
From: Sean Schofield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May
I ran into something along these lines recently. In my case, there was a
managed bean with a
public void changeSpecifiedRole(ValueChangeEvent event)
method being called by MyFaces after the first button press which was
erroneously [for that version of MyFaces] invoking renderResponse().
2 - Facelets is great!
Adam Brod
Product Development Team
Martin Marinschek
[EMAIL PROTECTED]
05/28/2006 12:09 AM
Please respond to
MyFaces Discussion users@myfaces.apache.org
To
MyFaces Discussion
users@myfaces.apache.org, MyFaces Development dev@myfaces.apache.org
cc
Subject
Hi, James
Thanks for the info, but I do not see any code fragment for
renderResponse inside my code. I am using myface 1.1.1, is this a
generic issue on myfaces 1.1.1 ?
Thanks,
yasushi
James Richards wrote:
I ran into something along these lines recently. In my case, there was a managed
I am trying to use a custom component that needs to output its source
at the bottom of the page for HTML reasons. I created the component
and had it use the HtmlBufferResponseWriterWrapper class to buffer the
output so I could delay the output until a custom component at the end
of the page could
Well, the param is usually what you would use in these instances.
1) As for redirecting, you could use a custom navigation handler to
Add back your parameters onto a query string, or you could save your
parameters in a conversation (Seam) or session state for the next
call.
2) As for
I think I found the issue, but I have no idea why. Here is the
renderer hierarchy:
javax.faces.render.Renderer
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
org.apache.myfaces.custom.htmlTag.HtmlTagRenderer
No where in this heirarchy is getRendersChildren overridden to
return
Hi Andrew,
I don't know Seam but probably I'll take a look to it. My main concern
about the solution 1) is that, using the ADF Faces Dialog Frameworks,
it seems to me that a different request is issued for the popup
window. I will need to explore custom navigations handler too.
Anyway, I think
The example I gave was very specific to the application I was working on. Have
you tried plugging in the FacesTrace from http://facestrace.sourceforge.net/
onto the view in question? Someone from the list pointed me to it and it helps
to follow what's happening. If you plug it into the page
I use t:dataScroller(MyFaces 1.1.3, tomahawk-1.1.2) like this:h:form id=videoListForm t:dataTable id=videos value=#{VideoListBean.videoList} var=video rows=1
h:column f:facet name=headerh:outputText value=name/h:outputText /f:facet
h:outputLink
neiljain wrote:
I had a similar problem where I was using tiles and myfaces. I had two forms
enclosed in f:subview and I realized I did not have the f:view tag in my
template. Even though my form was rendered, it never invoked the action
method. What might have fixed your problem is adding
2
--
Dave Brondsema
Software Developer
Cornerstone University
signature.asc
Description: OpenPGP digital signature
The graphic renders properly and becomes a link, but when I click on it,
nothing toggles! Any help would be appreciated. Here's the code:
t:div styleClass=content
h:form
t:dataTable id=data var=project
value=#{projectBrowserBacker.projects}
rowClasses=rows
In fact this is a ValueChangeListener issue. I have a inputText that has a valueChangeListener but this valueChangeListener is being called all the time, i fixed this by removing the valueChangeListener after the end of its execution.
The old code was working fine with myfaces 1.1.1-- Yours truly
Post the code.
--
View this message in context:
http://www.nabble.com/serius+issue+with+dataTable+and+TomaHawk+1.1.4-t1704724.html#a4630923
Sent from the MyFaces - Users forum at Nabble.com.
Thanks James.
I will try both.
yasushi
James Richards wrote:
The example I gave was very specific to the application I was working on. Have you tried plugging in the FacesTrace from http://facestrace.sourceforge.net/ onto the view in question? Someone from the list pointed me to it and
I tried wrapping the command links in another form... but still doesn't
work... GAH! Anyone?
--
View this message in context:
http://www.nabble.com/DetailToggler+not+toggling...-t1705898.html#a4631610
Sent from the MyFaces - Users forum at Nabble.com.
Ok! Got it's submitting.. I foolishly left off the /body/html tags at the
bottem... oi.
--
View this message in context:
http://www.nabble.com/DetailToggler+not+toggling...-t1705898.html#a4631864
Sent from the MyFaces - Users forum at Nabble.com.
Are you able to get this to work with t:inputText components? In our install
it works great except for the last row of any page. Once you display an
inputText component in a detailStamp on the last row the app loses it's
mind.
--
View this message in context:
Nevermind, found the answer (if the control doesn't encode the
children, the parent must). Looks like what I want to use is already
available in a static method at:
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(FacesContext,
UIComponent)
-Andrew
On 5/30/06, Andrew
What happens if I have applications that use MyFaces 1.1.3 and Tomahawk
1.1.3 ?
I've copied myfaces-api-1.1.3.jar and myfaces-impl-1.1.3.jar into
jbossweb-tomcat55.sar, but what about the commons *.jar files? Do they need
to be updated as well?
Tom
--
View this message in context:
Once I added the /body/html tags I was missing at the bottom of the
document, everything worked as it was supposed to... odd, I tried the
t:inputText in the detailStamp and it rendered properly for all of the rows.
t:div styleClass=content id=content
Rev: 410319
--
View this message in context:
http://www.nabble.com/Re%3A+DetailToggler+not+toggling...-t1706313.html#a4632396
Sent from the MyFaces - Users forum at Nabble.com.
on [1] and [2] you'll find more. So of course, make sure that NO
commons-collection-2.x is in your clazzpath
-Matthias
[1] http://myfaces.apache.org/impl/dependencies.html
[2] http://myfaces.apache.org/tomahawk/dependencies.html
On 5/30/06, Tom Cordova [EMAIL PROTECTED] wrote:
What happens
Hi Martin, Matthias,just checked out the latest sources and am currently mvn installing... works fine so far so I guess the problem is solved. I had some problems with the lates binary releases of tomahawk and core regarding file uploads, but will try again tomorrow at work.
thanx!svenOn 5/30/06,
lates binary releases of tomahawk and core regarding file uploads, but will
try again tomorrow at work.
Thanks. Hadn't had time ot check your mentioned issue.
-Matthias
Streamlined example:
f:view
h:form
h:commandButton action=test/
/h:form
s:fishEyeNavigationMenu itemWidth=75 itemHeight=75
itemMaxWidth=100
itemMaxHeight=100
When I wrap the whole thing in form tags I get...
exception
javax.servlet.ServletException: empty expr
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
If I wrap them both in different forms the example works... Why does it act
like this?
--
View this message in context:
http://www.nabble.com/fishEyeNavigationMenu+throws+exceptions+when+forms+submit-t1706529.html#a4632958
Sent from the MyFaces - Users forum at Nabble.com.
I installed ftrace, but I do not see any errors from output, it only
gave a waring message since the page was directed to jsp page.
Could you explain to me what you are achieved using AspectJ a little
more ? I am not sure what you are trying to do here by just looking
at the link:
Having a problem when trying to use a flat inputCalendar
(renderAsPopup=false). When I click Submit, the Date value in my backing
bean is set to null! I cant see why. When I click the day links, it is
changing the selected day, updating my bean, and notifying a
ValueChangeListener. But when I
I use AspectJ to build a trace of MyFaces behavior and interaction with the
application backing beans. Starting with the lifecycle, I progressively add
elements to the trace to drill down into the runtime behavior. It's a tedious
debugging approach but is much faster than, for example,
Anybody cares to help ?Ionut S [EMAIL PROTECTED] wrote: Hi there,I have created a custom components that agregates 2 other components. The component works just fine until a submit is performed. Then I get the following error:..14:57:10,531 WARN [HtmlGridRendererBase] PanelGrid
Hi ,
I have a jsf page with multiple datatables components within the same
page.This page has HTML tags like div tables which are been embedded
within f:verbatim tags. The datatables are nested within these html tags.
The problem encountered is that only one of the dataTables is populated
Hi Michael,
This results in a
javax.faces.el.PropertyNotFoundException. Bean: java.util.HashSet,
property: docId4711
I assume that I cannot access Sets with EL that way.
I got the same results so far. One solution could be to transform your
data into a HashMap instead of a HashSet. It seams
I changed the name of the file to my-config.xml and made sure it's only in
the web.xml once. I still get the warning.
Here's my web.xml:
?xml version=1.0 encoding=UTF-8?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Which version of MyFaces and Tomahawk are you using? Would you mind sending
me your code (or I could send you my sample app) so I can figure out why
it's not working for me?
--
View this message in context:
http://www.nabble.com/Re%3A+DetailToggler+not+toggling...-t1706313.html#a4634064
Sent
What is this restrictedlistII-exp.war? See:
C:/JBoss/jboss-portal-2.2.1-bundled/server/default/tmp/deploy/tmp33311Restri
ctedListII-exp.war
Is it your war and does it have your file (any faces-config.xml or whatever
name) in it? If so, can you try deploying the expanded war and moving the
war
Thanks James
I will investigate this approach further.
yasushi
James Richards wrote:
I use AspectJ to build a trace of MyFaces behavior and interaction with the application backing beans. Starting with the lifecycle, I progressively add elements to the trace to drill down into the runtime
RestrictedListII is my application. JBoss creates that whole
tmp33311*-exp.war thing when it deploys the app. I'm currently deploying
the app as a packaged war fil, not expanded.
When I unzip the war file and check web.xml it's the same as the source --
only mentions my-config.xml -- and
I need to catch my buss, WAR up your sample app and I'll see what I can do
and then get back to you.
--
View this message in context:
http://www.nabble.com/Re%3A+DetailToggler+not+toggling...-t1706313.html#a4634545
Sent from the MyFaces - Users forum at Nabble.com.
Rev: 410319
--
View this message in context:
http://www.nabble.com/Re%3A+DetailToggler+not+toggling...-t1706313.html#a4634559
Sent from the MyFaces - Users forum at Nabble.com.
Tree2 basically can do everything but #5. With some work I'm sure #5
would be possible although I can't say that I would find it very
useful. You would need a submit button to tell the tree component
that you are done selecting. Otherwise how would the component handle
your selections? Seems
To myfaces developers: Could you guys please build with each stable release the source code archive for that release? It is rather painful trying to get all the code from subversion.Thanks
The best gets better. See why everyone is raving about the All-new Yahoo! Mail.
+1 on that.
There have been many posts of people asking for the source drops. At
least the work to get the source deployed with the releases would
balance out the time to answer all the emails.
On 5/30/06, Costa Basil [EMAIL PROTECTED] wrote:
To myfaces developers:
Could you guys please build
On 5/30/06, Costa Basil [EMAIL PROTECTED] wrote:
Could you guys please build with each stable release the source code archive
for that release? It is rather painful trying to get all the code from
subversion.
What are you looking for, exactly? I haven't used them, but it looks
like the
I've tried to fix that, and seemingly didn't achieve my goal, and now
Catalin is on it - we'll get this sorted out, I promise!
regards,
Martin
On 5/31/06, Costa Basil [EMAIL PROTECTED] wrote:
I used svn to get the latest source code, and I cannot find, for instance a
package called
Thank you. Are you also going to give us a link to the source code that was used to build core 1.1.3 and tomahawk 1.1.2?Martin Marinschek [EMAIL PROTECTED] wrote: I've tried to fix that, and seemingly didn't achieve my goal, and nowCatalin is on it - we'll get this sorted out, I
I recently switched to Tomcat 5.5.17 and my commandLinks don't work anymore.
I have the followign jars:
commons-beanutils.jar
commons-codec.jar
commons-collections.jar
commons-digester.jar
commons-lang.jar
commons-validator.jar
jakarta-oro.jar
portlet-api.jar
struts.jar
jsf-facelets.jar
have you wrapped them into h:form ?
like
h:form
...
h:commandLink ... /
...
h:commandLink ... /
...
/h:form
-Matthias
On 5/31/06, Garner Shawn [EMAIL PROTECTED] wrote:
I recently switched to Tomcat 5.5.17 and my commandLinks don't work anymore.
I have the followign jars:
91 matches
Mail list logo