Hi!
I don't want to access the data-model. I need to access the component
directly, cause I need to access it from another component.
I guess I don't get the difference, maybe I havent learned enough yet.
Ok, foget it, thought about it a little bit more, now I know what you
mean :-(
Hi Martin!
the question is if it is any better than letting the component extend
from a marker interface and implement the functionality itself.
But I thought its not allowed to change the api. Or do you plan to add
this only to the myfaces classes?
Then I think the policy solution is better
Yes, only for extended components. Not for API stuff.
Ok, so from now on its a matter of personal preferences.
Personally I like to use factories/providers and so on ;-)
In the current case it will make no difference between the various
components just try to lookup and execute.
- a third
Hi!
It does sound a little fragile, though. It means treating UIData
components specially which I don't like. Any use of instanceof in an
OO program is a warning sign. Or can the UIData override findComponent
on itself to manage that transparently? If so, that would be nice.
Possibly
Hi Martin!
we won't be able to do this on UIComponent. The problem is, that we
can't extend the API - that's fixed.
Even if you make it protected? You can use reflection then to call the
entry point.
Of course not instanceOf for UIData, but some generic
marker interface.
Marker interface?
I
Hi
ad 1) no - not even protected is allowed. The problem is that you
don't want an application to rely on a certain implementation of the
api - you change the api, and nothing works anymore ;)
Ok, thats bad.
ad 2) yes, well, instanceof to UIData is bad. There I'm completely
d'accord with
Bruno Aranda schrieb:
Ok, proposal C could be something like this
Proposal C (aka mixture): http://people.apache.org/~baranda/myfaces-mix.png
Not binding, but definitely +1.
Ciao,
Mario
test cases didnt reset the facesContext to null
---
Key: MYFACES-1031
URL: http://issues.apache.org/jira/browse/MYFACES-1031
Project: MyFaces
Type: Bug
Components: General
Versions: Nightly
Reporter: Mario
[ http://issues.apache.org/jira/browse/MYFACES-1031?page=all ]
Mario Ivankovits updated MYFACES-1031:
--
Attachment: test_ctx_null.diff
test cases didnt reset the facesContext to null
---
Key
[ http://issues.apache.org/jira/browse/MYFACES-1031?page=all ]
Mario Ivankovits updated MYFACES-1031:
--
Attachment: AbstractTestCase.java
the super class for myfaces tests
test cases didnt reset the facesContext to null
[ http://issues.apache.org/jira/browse/MYFACES-1031?page=all ]
Mario Ivankovits updated MYFACES-1031:
--
Attachment: FacesContextHelper.java
context helper copied from commons
test cases didnt reset the facesContext to null
[
http://issues.apache.org/jira/browse/MYFACES-1031?page=comments#action_12362825
]
Mario Ivankovits commented on MYFACES-1031:
---
Yes, you are right.
Shall I do it?
test cases didnt reset the facesContext to null
[ http://issues.apache.org/jira/browse/MYFACES-1031?page=all ]
Mario Ivankovits updated MYFACES-1031:
--
Attachment: test_ctx_null.diff
moved abstractTestCase to its new home
test cases didnt reset the facesContext to null
[
http://issues.apache.org/jira/browse/MYFACES-1031?page=comments#action_12362833
]
Mario Ivankovits commented on MYFACES-1031:
---
works like a charme!
Thank you!
test cases didnt reset the facesContext to null
[
http://issues.apache.org/jira/browse/MYFACES-1002?page=comments#action_12362852
]
Mario Ivankovits commented on MYFACES-1002:
---
someone willing to apply this simple patch please?
make tree.js work without navImageId
[ http://issues.apache.org/jira/browse/MYFACES-1032?page=all ]
Mario Ivankovits updated MYFACES-1032:
--
Attachment: onclick_method.diff
use a javascript method in commondLink for lesser html size
Hi!
Could someone please confirm that the tests against the current svn head
fail?
Currently I try to implement the commandLink submit script but after
an svn update the following exception occurs during mvn install.
I cant see any class I changed being involved ... so I am not sure if
its my
Hi!
And it works for me too.
On Sun, 2006-01-15 at 22:28 +0100, Arvid Hülsebus wrote:
I just updated the sources and run a 'mvn clean install' and everything
worked out fine. The tests didn't fail.
All this is odd. I tried it now on another machine and got the same test
failure.
I also
Hi Simon!
Do you perhaps have some other tests you've
written which have not been checked in and which might have this
side-effect, and which are run before this test?
;-) No I havent written any tests so far.
But thanks for the hints, now I got it. Its the UISelectManyTest which
setup a
: Nightly
Reporter: Mario Ivankovits
Attachments: autoupdate_facet.diff
The attached patch makes the autoUpdateDataTable work even if its added via an
facet (panelLayout)
The main problem can be located in
org/apache/myfaces/custom/util/ComponentUtils.java this will traverse all
children
[ http://issues.apache.org/jira/browse/MYFACES-1028?page=all ]
Mario Ivankovits updated MYFACES-1028:
--
Attachment: autoupdate_facet.diff
the patch
make autoUpdateDataTable work if added via facet (panelLayout
Hi!
I cant build the current svn head due to the class StateUtilsTestCase
defined in an file named
myfaces/commons/src/test/java/org/apache/myfaces/util/StateUtilsAbstractCase.java
After renaming the file to StateUtilsTestCase.java it worked.
Ciao,
Mario
Mathias Brökelmann wrote:
It´s fixed now. Thanks Mario.
resoved, verified!
Thanks!
Ciao,
Mario
Hi!
Are there plans in the future JSF spec to make the managed bean creation
factory configureable?
something like:
factory
managed-bean-factory
For some reason I would like to read a managed bean from a serialized
store or use a specialized factory to create the bean instead of
Hi!
It cost me a couple of hours to figure it out, so I'll share my insights
with you.
I have had a bean which I declared in session scope at first.
After a while I decided to make it a request scoped bean and use the
managed-property stuff to inject a request param.
I restarted tomcat a
Hi!
What we can do is providing *wrapper* for the package stuff. ADF Faces
is software, which is already in use by lot's of people, so... if we
change *all* packages, we bother some users IMO. So we can set the
*old* as deprecated and provide *new* org.apache.** package.
Not sure if it is ok...
Hi!
For showing selected row it is possible to do:
rowOnMouseOver=this.className='reportRowOver'
rowOnMouseOut=this.className='reportRowLight'
what about
rowOnMouseOver=if (!this.oldClassName){this.oldClassName=this.className;}
this.className='reportRowOver'
make tree.js work without navImageId
Key: MYFACES-1002
URL: http://issues.apache.org/jira/browse/MYFACES-1002
Project: MyFaces
Type: Improvement
Components: Tomahawk
Versions: Nightly
Reporter: Mario Ivankovits
Hi!
In NavigationHandlerImpl around line 145 there is the following code
ViewHandler viewHandler = facesContext.getApplication().getViewHandler();
//create new view
String newViewId = navigationCase.getToViewId();
UIViewRoot viewRoot = viewHandler.createView(facesContext, newViewId);
viewRoot.setViewId(viewRoot.getViewId());
Silly code, indeed, might have too much Punch today ;-)
So can we remove the setViewId() at this place at all?
---
Mario
Martin Marinschek wrote:
That's what I've done.
Thanks!
Merry Christmas to you all !!
Ciao,
Mario
BTW: Are you and your fellows subscribed to [EMAIL PROTECTED] Maybe we can
organize meetings in austria/vieanna from time to time in the new year?
Hi!
Inspired from the Ruby on Rails Demo in vienna I would like to develop
a rapid web-framework, prototyping framework or call it anything
else for JSF too.
Please have a look at
http://wiki.apache.org/myfaces/FacesFreeway
I am looking forwar for a vital discussion about it.
I hope I
Hi Werner,
Inspired from the Ruby on Rails Demo in vienna I would like to
develop a rapid web-framework, prototyping framework or call it
anything else for JSF too.
Hi Mario, good to hear from you again,
Hope you have had a power outlet in your train ;-)
Trails currently use Tapestry
Alberto Molpeceres wrote:
I started a time ago a project in SF called Licurgo
(http://licurgo.sourceforge.net), altough I haven't take part in its
development in the last months.
This is a persistence framework based on Ralph Johnson's Dynamic
Object Models
Do you mean this is a replacement
Sean Schofield wrote:
Quick question. How do you include LICENSE.txt in your jar file.
Isn't it supposed to be automatic if its in your top level dir?
I am not an expert, but my project.xml contains
licenses
license
nameThe Apache Software License, Version 2.0/name
Hi Simon!
Ok, it looks like there is simply no easy answer to making t:aliasBean work
with component binding. I've therefore added information about this to the
AliasBean.java javadoc, and to the wiki. Looks like that is all that can be
done.
Just a wild guess (didnt find the time to
Hi Martin!
If there is any chance to leave the office, I'll come.
It's worth mentioning that 3 of four presentations will be held by
project committers or founders (MyFaces, Ruby on Rails and Cocoon) and
I'am the commons-vfs one, just in case someone is interested ;-)
Ciao,
Mario
[
http://issues.apache.org/jira/browse/MYFACES-860?page=comments#action_12358268
]
Mario Ivankovits commented on MYFACES-860:
--
Duplicate of MYFACES-846 and should already be fixed.
tomahawk.tld and myfaces_ext.tld is malformed errors in weblogic
valueChangeNotifier
---
Key: MYFACES-864
URL: http://issues.apache.org/jira/browse/MYFACES-864
Project: MyFaces
Type: Improvement
Components: Tomahawk
Reporter: Mario Ivankovits
Like valueChangeListener but will fire valueChange event AFTER
[ http://issues.apache.org/jira/browse/MYFACES-864?page=all ]
Mario Ivankovits updated MYFACES-864:
-
Attachment: ValueChangeCollector.java
valueChangeNotifier
---
Key: MYFACES-864
URL: http://issues.apache.org
[ http://issues.apache.org/jira/browse/MYFACES-864?page=all ]
Mario Ivankovits updated MYFACES-864:
-
Attachment: ValueChangeManager.java
ValueChangeNotifierTag.java
ValueChangePhaseListener.java
valueChangeNotifier
[
http://issues.apache.org/jira/browse/MYFACES-864?page=comments#action_12358315
]
Mario Ivankovits commented on MYFACES-864:
--
Usage:
h:selectOneMenu
value=#{replacementItems.catalog}
onchange=submit
[
http://issues.apache.org/jira/browse/MYFACES-856?page=comments#action_12358339
]
Mario Ivankovits commented on MYFACES-856:
--
You are right, these are the downsides of this solution, but as I said, it isnt
a solution its a HACK.
Even if you put
Hi!
What happend to the comment formatting in jira?
Was it always that bad and I never noticed it, or is this a new feature?
It purges all newlines.
---
Mario
[
http://issues.apache.org/jira/browse/MYFACES-856?page=comments#action_12358218
]
Mario Ivankovits commented on MYFACES-856:
--
Hi Simon,
I use the following HACK to create the alias right after the view is restored:
We also use x:aliasBeansScope
[
http://issues.apache.org/jira/browse/MYFACES-516?page=comments#action_12357975
]
Mario Ivankovits commented on MYFACES-516:
--
We should save the requestParameterMap too.
This should be done to save parameters like in
h:commandLink action
[
http://issues.apache.org/jira/browse/MYFACES-403?page=comments#action_12356932
]
Mario Ivankovits commented on MYFACES-403:
--
Do we have to save locale data?
Ey, and for sure all request scoped beans.
Please have a look at:
http
Mathias Brökelmann wrote:
If server side state is uses the serialized view is now really
serialized (this was not the case before) into the session by using
the viewid and a sequence number.
May I ask if you also add this sequence number to the redirect url if
one uses redirect navigation
Mario Ivankovits wrote:
http://issues.apache.org/jira/browse/MYFACES-516
Oh, and I tried to survive the messages too.
---
Mario
Mathias Brökelmann wrote:
Redirection is not handled. Neither by client nor by server side state saving.
Its not a question of client or server side state saving.
If you do NOT use redirect you are still in the same request and thus
have access to beans modified during this request.
If
[
http://issues.apache.org/jira/browse/MYFACES-164?page=comments#action_12322648
]
Mario Ivankovits commented on MYFACES-164:
--
SoftReference: I dont think this works, there is NO reference to the
server-state bean other than the map itself
: Improvement
Components: Implementation
Versions: Nightly Build
Reporter: Mario Ivankovits
Attachments: RedirectTracker.java, impl.diff, tom.diff
Ok, this is a try to get what is described in the summary.
The heart of this patch is the RedirectTracker.
How it works
[ http://issues.apache.org/jira/browse/MYFACES-516?page=all ]
Mario Ivankovits updated MYFACES-516:
-
Attachment: tom.diff
Capture and restore saveState Beans and messages when using redirect
navigation rule
[ http://issues.apache.org/jira/browse/MYFACES-516?page=all ]
Mario Ivankovits updated MYFACES-516:
-
Attachment: impl.diff
Capture and restore saveState Beans and messages when using redirect
navigation rule
[ http://issues.apache.org/jira/browse/MYFACES-516?page=all ]
Mario Ivankovits updated MYFACES-516:
-
Attachment: RedirectTracker.java
Capture and restore saveState Beans and messages when using redirect
navigation rule
[
http://issues.apache.org/jira/browse/MYFACES-388?page=comments#action_12318450
]
Mario Ivankovits commented on MYFACES-388:
--
When you fixed the id stuff, you closed my original bug report. (I applied a
patch for both defects).
Now that I do
[
http://issues.apache.org/jira/browse/MYFACES-388?page=comments#action_12318514
]
Mario Ivankovits commented on MYFACES-388:
--
I had problems with the user-supplied images passed through the facet tag
f:facet name=type-folder
h:panelGroup
Hi!
Well, send me the source as soon as you have found a way how to do
that, I will review it...
I filed a jira with it. MYFACES-389
Thanks!
Mario
inputCalendar - add js only once
Key: MYFACES-396
URL: http://issues.apache.org/jira/browse/MYFACES-396
Project: MyFaces
Type: Improvement
Components: Tomahawk
Versions: Nightly Build
Reporter: Mario Ivankovits
[ http://issues.apache.org/jira/browse/MYFACES-396?page=all ]
Mario Ivankovits updated MYFACES-396:
-
Attachment: calendar_oncejs.diff
inputCalendar - add js only once
Key: MYFACES-396
URL: http
[ http://issues.apache.org/jira/browse/MYFACES-389?page=all ]
Mario Ivankovits updated MYFACES-389:
-
Attachment: calendar_share.diff
I added a new method getObjectValue to get the plain value of the component.
Refactored the getDateValue
Hi!
Any plans to make inputCalender work with other date libraries like joda?
What would be great is if it could be possible to bind the component not
only to a java.util.Date but also to a joda DateTime and make is smart
enough to convert it.
I see two possible ways for now:
a) Having a
Martin Marinschek wrote:
we wouldn't want to introduce a dependency on joda, I
would say.
No other dependency needed.
If you find another way not disturbing the other users of
this
component, go ahead and send in a patch as soon as you are finished!
But please give me a direction how
Martin Marinschek wrote:
You know that there is something like a converter tag already in JSF,
right?
Sure, I know. And it is sufficient during setting the value, a custom
converter to convert the string to joda-time do the job, ...
what would your variant b be different from that?
... but
Martin Marinschek wrote:
You know that there is something like a converter tag already in JSF,
right?
After thinking about it again it turns out the easiest is to extend this
converter and move all access to the date-object from the renderer into it.
---
Mario
aliasbean and alias usage in binding
Key: MYFACES-334
URL: http://issues.apache.org/jira/browse/MYFACES-334
Project: MyFaces
Type: Bug
Versions: 1.0.9 beta
Reporter: Mario Ivankovits
Myfaces fails to restore a view
Hi!
I hope its not wrong to post this to the developer list at first, but I
think there is a technical problem with the aliasbean.
Our jsf looks like this (for sure, we use include for the dataTable):
x:aliasBeansScope
x:aliasBean alias=#{coTopicEdit} value=#{coAddressEdit} /
tree2 image-path encoding and fix for missing ids on images
---
Key: MYFACES-308
URL: http://issues.apache.org/jira/browse/MYFACES-308
Project: MyFaces
Type: Bug
Versions: 1.0.9 beta
Reporter: Mario
[ http://issues.apache.org/jira/browse/MYFACES-308?page=all ]
Mario Ivankovits updated MYFACES-308:
-
Attachment: tree2_share.diff
tree2 image-path encoding and fix for missing ids on images
[ http://issues.apache.org/jira/browse/MYFACES-308?page=all ]
Mario Ivankovits updated MYFACES-308:
-
Attachment: tree2_tomahawk.diff
tree2 image-path encoding and fix for missing ids on images
[ http://issues.apache.org/jira/browse/MYFACES-308?page=all ]
Mario Ivankovits updated MYFACES-308:
-
Attachment: tree2_tomahawk.diff
This attachment also changes the time when the node states will be regenerated
from the cookie.
Now the tree
[
http://issues.apache.org/jira/browse/MYFACES-308?page=comments#action_12315279
]
Mario Ivankovits commented on MYFACES-308:
--
I have seen my latest tree2_tomahawk patch introduces a problem.
I tried to always use the cookie to restore the tree
Sorry for the test, but my message on myFaces-user did not apper so I
tried if it makes it to the developer list.
---
Mario
datalist: problems with modelupdate and verbatim tag
Key: MYFACES-148
URL: http://issues.apache.org/jira/browse/MYFACES-148
Project: MyFaces
Type: Wish
Versions: 1.0.9 beta
Reporter: Mario Ivankovits
901 - 974 of 974 matches
Mail list logo