Re: Acegi filter wrapped request not seen by visibleOnUserRole...!?

2006-06-20 Thread Ricardo Tercero Lozano
Ensure you have a remoteUserFilter in your filter chain proxy (spring configuration for acegi). As an example: !-- FILTER CHAIN === -- bean id=filterChainProxy class= org.acegisecurity.util.FilterChainProxy property name=filterInvocationDefinitionSource

MyFaces vs. WAS 6.1

2006-06-20 Thread THIEN PHAM
Has anyone any luck deploying MyFaces-based application to WebSphere 6.1? With WAS 6.0, I just avoided IBM's JSF implementation by renaming the two files jsf-api.jar and ws-jsf.jar to non-jar extensions ane the application worked just fine. I'm not sure how to that for WAS 6.1 since they are no

f:converterDateTime doesn't convert properly

2006-06-20 Thread Susumu Majima
I use JBOSS/Seam that includes Myface1.1.1. When I try to show time it isn't shown properly. the code snipped is below h:outputText value =#{schedule0.sch_start f:convertDateTime pattern HH:mm/ /h:outputText If actual data is 9:00 then shown date is 0:00. I'm in Japan so the shown time is

Re: f:converterDateTime doesn't convert properly

2006-06-20 Thread Dhanji R. Prasanna
On 6/20/06, Susumu Majima [EMAIL PROTECTED] wrote: When I try to show time it isn't shown properly. the code snipped is below h:outputText value =#{schedule0.sch_start f:convertDateTime pattern HH:mm/ /h:outputText If actual data is 9:00 then shown date is 0:00. try setting type=time,

Re: MyFaces vs. WAS 6.1

2006-06-20 Thread Arvid Hülsebus
Hello, The JSF implementation resides in plugins/com.ibm.ws.webcontainer_2.0.0.jar. It looks like the Sun RI. For Tobago applications you can just drop the MyFaces jars and work with the implementation provided by IBM. I didn't try to use MyFaces instead up to now. Regards, Arvid THIEN

Re: f:converterDateTime doesn't convert properly

2006-06-20 Thread Dennis Byrne
You might want to look at the date converter in the sandbox . http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java?revision=373283view=markup I think the element name is s:convertDateTime . Dennis Byrne

evaluation of rendered attribute

2006-06-20 Thread Michael Heinen
I am a little bit surprised that the rendered attribute of t:column evaluates to true for null values. e.g. t:column rendered=#{null} means that the column is rendered. I expected a behaviour like in Boolean.parseBoolean(String) method. 'The boolean returned represents the value true

Re: Acegi filter wrapped request not seen by visibleOnUserRole...!?

2006-06-20 Thread Cagatay Civici
Hi Tony,You may take a look at the example webapp I've created for my Acegi-JSF components at JSF-COMP.http://sourceforge.net/project/showfiles.php?group_id=137466 I'm using;FacesContext.getCurrentInstance().getExternalContext().getRequest()'s isUserInRole when checking the roles, for container

Re: f:converterDateTime doesn't convert properly

2006-06-20 Thread Volker Weber
Hi, see this thread for more info: http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html regards, Volker 2006/6/20, Susumu Majima [EMAIL PROTECTED]: I use JBOSS/Seam that includes Myface1.1.1. When I try to show time it isn't shown properly. the code snipped is below

RE: exceptions

2006-06-20 Thread Julian Ray
There is some discussion on this topic in the WIKI that you might want to look at. -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 1:47 AM To: MyFaces Discussion Subject: Re: exceptions Hi! I am having the same old issue with exception

Tree

2006-06-20 Thread ould sid'ahmed
Hello, I work on MyFaces1.3, I do not arrive has to develop my tree, knowing that with MyFaces1.1 I could. Thank you for your answer. Neman.

Re: exceptions

2006-06-20 Thread Mario Ivankovits
Julian Ray schrieb: There is some discussion on this topic in the WIKI that you might want to look at. Hey, pretty new wiki page (http://wiki.apache.org/myfaces/Handling_Server_Errors) Happily its not that different to my approach, except that I do not use JSF to output the error page.

RE: JSF 1.2

2006-06-20 Thread Coloma Escribano, Ignacio
Could someone please update the docs in the website? They seem outdated, and refer to the generic ASF checkout rules (which of course here do not apply) -Mensaje original- De: Wendy Smoak [mailto:[EMAIL PROTECTED] Enviado el: jueves, 15 de junio de 2006 20:22 Para: MyFaces Discussion

Re: f:converterDateTime doesn't convert properly

2006-06-20 Thread Cosma Colanicchia
If you agree I can put some more detail into the wiki FAQ entry.. Cosma 2006/6/20, Volker Weber [EMAIL PROTECTED]: Hi, see this thread for more info: http://www.mail-archive.com/users%40myfaces.apache.org/msg21412.html regards, Volker 2006/6/20, Susumu Majima [EMAIL PROTECTED]: I use

RE: f:converterDateTime doesn't convert properly

2006-06-20 Thread Coloma Escribano, Ignacio
Since the spec is so obviously error-prone for the most common case, it would make sense to add a config property SPEC_COMPLIANT_TIMEZONE, default to false, and use the system TimeZone by default. I mean, to avoid everyone complaining about date conversion issues. Does anybody know why its

Re: f:converterDateTime doesn't convert properly

2006-06-20 Thread Cosma Colanicchia
I fear that such an option could causes TCK issues.. Cosma 2006/6/20, Coloma Escribano, Ignacio [EMAIL PROTECTED]: Since the spec is so obviously error-prone for the most common case, it would make sense to add a config property SPEC_COMPLIANT_TIMEZONE, default to false, and use the system

Why the shared package renaming?

2006-06-20 Thread Coloma Escribano, Ignacio
Does anybody know why the shared package gets renamed for tomahawk and core? Im trying to use the myfaces jar in a project and link the sources to the jar (standard procedure, prepare a zip with the corresponding sources and attach it to the jar so that framework debugging is

RE: f:converterDateTime doesn't convert properly

2006-06-20 Thread Coloma Escribano, Ignacio
If I understand correctly, it would be 99% backwards compatible: * If I did specify a TimeZone in the JSP, it will be used anyways after the change. * If I didn't (and it works) it's because my system local TimeZone is GMT, so I'm not affected by the change. The only case that would be broken

Re: f:converterDateTime doesn't convert properly

2006-06-20 Thread Cosma Colanicchia
I agree with you, I'm only saying that we could lose formal Sun certification, if specifications say X and (by default) you do Y. 2006/6/20, Coloma Escribano, Ignacio [EMAIL PROTECTED]: If I understand correctly, it would be 99% backwards compatible: * If I did specify a TimeZone in the JSP,

RE: f:converterDateTime doesn't convert properly

2006-06-20 Thread Coloma Escribano, Ignacio
I see your point. Most app servers do that (Weblogic, JBoss), but IIRC they stopped supporting the non-compliant behaviour by default between versions 7.0 and 8.1 of Weblogic precisely to avoid losing the J2EE cert. I agree you are right. Such behaviour should be optional. -Mensaje

Re: Error while Using s:inputTextAjax

2006-06-20 Thread Gerald Müllan
Hi, which Messages and/or Message component do you use? cheers, Gerald On 6/19/06, Ajit.T [EMAIL PROTECTED] wrote: Hi, This is the error stacktrace(partial) i get when I try using the s:inputTextAjax component in my form as given in examples viz.'inputAjax.jsp'. Can anyone help me

Re: f:converterDateTime doesn't convert properly

2006-06-20 Thread Cosma Colanicchia
I hope that Sun at least has some valid reasons to enforce this behaviour :-) Cosma 2006/6/20, Coloma Escribano, Ignacio [EMAIL PROTECTED]: I see your point. Most app servers do that (Weblogic, JBoss), but IIRC they stopped supporting the non-compliant behaviour by default between versions

Re: Why the shared package renaming?

2006-06-20 Thread Cagatay Civici
Hi,To get rid of another shared jar in the lib actually, also make the tomahawk more independent from the implementation.Cagatay,On 6/20/06, Coloma Escribano, Ignacio [EMAIL PROTECTED] wrote: Does anybody know why the shared package gets renamed for tomahawk and core? I'm trying

RE: Why the shared package renaming?

2006-06-20 Thread Coloma Escribano, Ignacio
Is the extra jar in the lib really an annoyance? Hibernate alone has 10+ jars, and a standard project has bigger problems than an extra jar. But right now if I want to create a custom component tag class, to choose the parent class (ctrl + spc) the following options are available:

Get All Values of SelectOneListBox

2006-06-20 Thread Gregg Bolinger
Can anyone suggest the best way to get all the values of an HtmlSelectOneListbox in the managed bean? I have a page where I need to add keywords to a category so I have an inputText and I use _javascript_ to add inputed keywords into the list box. But I am unclear on how to get all of those values

help for apache myfaces with facelets

2006-06-20 Thread Mariana.Ciucu
Dears, I am trying to use apache myfaces with facelets, but the xhtml is not converted to html. I hope there is anyone there to give me some ideas why!!! thank you so much, Mariana

Re: Why the shared package renaming?

2006-06-20 Thread Martin Marinschek
Hi Coloma,this step was done to ensure that you can use different versions of MyFaces' implementation and it's component library in the same container, without fearing incompatibility problems. Imagine you would have a class which had changed a method signature between versions, and the component

Re: Why the shared package renaming?

2006-06-20 Thread Catalin Kormos
Hi,About attaching the sources, i think there should be no problem with the latest builds. The sources for myfaces core are now built into myfaces-core-XXX-src.zip which needs to be attached to both myfaces-api-XXX.jar and myfaces-impl-XXX.jar. As for tomahawk, the sources are now into

backing bean exceptions and model validation

2006-06-20 Thread Bill Schneider
Hello, Has anyone figured out a reasonable way to handle bindings from backing beans to non-anemic domain models, whose setters may throw exceptions when a value breaks some business rule? For example, imagine an object with an 'employee' property bound to a select list h:selectOneListBox

Re: Why the shared package renaming?

2006-06-20 Thread Martin Marinschek
...which would be a reason for getting out a new release.Catalin, do you want to take that over?regards,MartinOn 6/20/06, Catalin Kormos [EMAIL PROTECTED] wrote:Hi, About attaching the sources, i think there should be no problem with the latest builds. The sources for myfaces core are now built

Re: backing bean exceptions and model validation

2006-06-20 Thread Martin Marinschek
You'd have to look into decorating the PropertyResolverImpl to handle this.regards,MartinOn 6/20/06, Bill Schneider [EMAIL PROTECTED] wrote:Hello,Has anyone figured out a reasonable way to handle bindings from backing beans to non-anemic domain models, whose setters may throw exceptionswhen a

Re: help for apache myfaces with facelets

2006-06-20 Thread Rogerio Pereira
Give more details, errors, sample code...2006/6/20, [EMAIL PROTECTED] [EMAIL PROTECTED]: Dears,I am trying to use apache myfaces with facelets, butthe xhtml is not converted to html. I hope there is anyone there to give me some ideas why!!!thank you so much,Mariana-- Yours truly

Re: JSF Tomahawk File upload file name and location

2006-06-20 Thread RFDot
Meghana - Thanks, I worked with it last night and your suggestion was right on the mark. Working well. :) -- View this message in context: http://www.nabble.com/JSF-Tomahawk-File-upload-file-name-and-location-t1811443.html#a4955160 Sent from the MyFaces - Users forum at Nabble.com.

Re: backing bean exceptions and model validation

2006-06-20 Thread Jurgen Lust
Hi, This can be accomplished by providing a custom PropertyResolver implementation which catches the IllegalArgumentException and puts its message in an EvaluationException which is then rethrown: public void setValue(java.lang.Object base, java.lang.Object

RE: Get All Values of SelectOneListBox

2006-06-20 Thread Ian Johnson
First off, you probably need to use the UISelectMany, and then use _javascript_ to select all of the items before submitting the form, you know something like this: var selectList = document.getElementById(selectListId); for(var i = 0;i selectList.length;i++) {

Re: Get All Values of SelectOneListBox

2006-06-20 Thread Gregg Bolinger
Thanks for the suggestion, but it can't be a SelectMany because I use the same form for editing and I need the user to be able to only select one. I am going to play around with the getChildren method because I should be able to get a handle on the selectItems that it contains. Any other

RE: Why the shared package renaming?

2006-06-20 Thread Coloma Escribano, Ignacio
Thanks for the response :) I looked previously for a sources zip, but found only for 1.1.1. If they are to be included in the next nightly build, that solves my problem. About maven... Imagine the process: configure SVN to get through our corporate proxy, find the correct module

Re: AUTO_SCROLL Kills Command Links

2006-06-20 Thread Bruno Aranda
Are your commandLinks inside h:form tags? Bruno On 6/17/06, Enrique Medina [EMAIL PROTECTED] wrote: Me too :-( On 6/16/06, Raj Rajendran [EMAIL PROTECTED] wrote: I have also brought this issue up before, still have it with 1.1.4 Snapshot. On 6/16/06, Mike Duffy [EMAIL PROTECTED]

Re: How to use addActionListener

2006-06-20 Thread Andrew Robinson
h:commandLink f:actionListener type=class FQN / f:actionListener type=class FQN / /h:commandLink You can only have one actionListener attribute though (I'm fairly positive). The actionListener type only takes a Java class name, not a method binding. If you need more than one action listener

Re: evaluation of rendered attribute

2006-06-20 Thread Andrew Robinson
Attributes are usually coded as (JDK 1.5 syntax): private Boolean rendered; public boolean isRendered() { if (this.rendered != null) return this.rendered; ValueBinding vb = getValueBinding(rendered); return (vb == null) ? return true : (Boolean)vb.getValue(getFacesContext()); } Basically,

Support request for: HOWTO MyFaces-Protlets within Liferay

2006-06-20 Thread Strittmatter, Stephan
Hello all MyFaces-users, I am using Liferay-Portal in combination with MyFaces and Tomahawk and have still trouble using them although updating to the latest 1.1.3 versions. Now I wanted to invite to create an Howto-Document. Probably at the MyFaces-Wiki for that issue. I also see many questions

Re: Get All Values of SelectOneListBox

2006-06-20 Thread Gregg Bolinger
And this is why I hate frameworks sometimes.Basically what I have, as I said, is I need to be able to add keywords to a select list from a textfield. Then, upon save/update, I need to be able to get all the items from the select list. To get all the items, here is what I did:List selectItems =

Re: Error while Using s:inputTextAjax

2006-06-20 Thread Ajit.T
I am using t:message for the inputtext component, though the form level global messages component are h:message. -- View this message in context: http://www.nabble.com/Error-while-Using-s%3AinputTextAjax-t1812568.html#a4956755 Sent from the MyFaces - Users forum at Nabble.com.

Re: Error while Using s:inputTextAjax

2006-06-20 Thread Gerald Müllan
I am using t:message for the inputtext component, though the form level global messages component are h:message. Hm..you mean h:messages? Try t:messages. Maybe thats the problem. cheers, Gerald On 6/20/06, Ajit.T [EMAIL PROTECTED] wrote: I am using t:message for the inputtext component,

Re: How to use addActionListener

2006-06-20 Thread Tushar
From Jsp I understand that I can give mutiple actionlistner in one actionListener attribute. I want to simulate the same thing in java code using HtmlCommandLink class.My code fragment is as below public HtmlCommandLink makeCommandLink(UIComponent comp, String actionEL, String listenerEL)

Re: AUTO_SCROLL Kills Command Links

2006-06-20 Thread Dennis Byrne
Actually, I noticed this on one of my JSPs yesterday. I didn't have time to look at it in detail, but I noticed the problem goes away if I moved the following line of code from above the html tag to *after* the last jsp:include / tag. jsp:scriptletresponse.setContentType(text/html;

JSCookMenu Theme

2006-06-20 Thread octoberdan
The JSCookMenu default themes are lacking and I want to write a few new ones... After I write the javascript/css needed (http://www.cs.ucla.edu/~heng/JSCookMenu/theme.html) how would I go about including them in the extension filter? Is this somthing I could add to sandbox? -- View this message

Re: Support request for: HOWTO MyFaces-Protlets within Liferay

2006-06-20 Thread Matthias Wessendorf
Stephan, good idea. Here are some Liferay users around, so they might support you - I hope :) Thanks, Matthias On 6/20/06, Strittmatter, Stephan [EMAIL PROTECTED] wrote: Hello all MyFaces-users, I am using Liferay-Portal in combination with MyFaces and Tomahawk and have still trouble using

Welcome Wendy

2006-06-20 Thread Matthias Wessendorf
Hi *, and the MyFaces PMC is proud to add Wendy Smoak to the MyFaces team; another very active MyFaces contributor. She is specialized on everything that is related to Maven/Continuum. Welcome Wendy! regards, -- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten blog:

Welcome Catalin

2006-06-20 Thread Matthias Wessendorf
Hi *, and the MyFaces PMC is also proud to add Catalin Kormos to the MyFaces team - another very active MyFaces contributor. He has contributed a lot's of patches over the last months. Welcome Catalin! regards, -- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten blog:

Re: Support request for: HOWTO MyFaces-Protlets within Liferay

2006-06-20 Thread Murat Hazer
I am also using myfaces and liferay, may i can help you, but i need to say i am not an portlet and liferay expert...On 6/20/06, Strittmatter, Stephan [EMAIL PROTECTED] wrote: Hello all MyFaces-users,I am using Liferay-Portal in combination with MyFaces and Tomahawk andhave still trouble using

Managed-bean with another bean as managed-property

2006-06-20 Thread Joe Reger, Jr.
Hi! I'm having some trouble getting JSF to properly set the values of a backing bean called newOffer when it includes a sub-object called Offer. managed-bean managed-bean-namenewOffer/managed-bean-name managed-bean-classcom.blah.formbeans.NewOffer/managed-bean-class

Re: backing bean exceptions and model validation

2006-06-20 Thread Dhanji R. Prasanna
the practical approach i have seen to this is to use an adapter pattern: blah value=#{backingBean.modelObjectProperty}/ and in the bb: setModelObjectProperty (..) { try { modelObject.setProperty(..); } catch (MyException e) { throw new FacesException(e); } It may not be the most optimal

Re: exceptions

2006-06-20 Thread Dhanji R. Prasanna
Thanks for the help Mario (the ugly exception page rises like a zombie!). Im still encountering the blank page even when extensions filter is applied. However I noticed a couple of things that could be at issue: - This is the filter I am using (which appears to be differnet from the one in

[OT / Announcement] Continuum for Trinidad

2006-06-20 Thread Matthias Wessendorf
Hey, as you just noticed, we brought the Trinidad to the Apache MyFaces Continuum Zone. The JARs are now deployed to the asf maven snapshot repo ([1]). Have fun, Matthias [1] http://people.apache.org/maven-snapshot-repository/ -- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten blog:

Re: JSCookMenu Theme

2006-06-20 Thread Martin Marinschek
Hi,you'd have to put them in the /resources subfolder of the jscookmenu-component class (you can also add them to the jar, should work as well). You can also create a jira-issue, where you apply these patches to. Hopefully there's someone around who'll apply them, then! regards,MartinOn 6/20/06,

t:navigationPanel ignores layout=list when inside a table.

2006-06-20 Thread David Parry
I'm trying to get a horizontal toolbar working, and unfortunately, the layout I've been given to work in requires it to sit inside an existing table. My code looks like this: t:div id=hNav_outer styleClass=hNav_outer t:panelNavigation id=portfolioNavigation layout=list

Re: AUTO_SCROLL Kills Command Links

2006-06-20 Thread Mike Duffy
Yes. My commandLinks are inside h:form tags. Here is what I have in my web.xml: context-param param-nameorg.apache.myfaces.AUTO_SCROLL/param-name param-valuetrue/param-value description /description /context-param Mike --- Bruno Aranda [EMAIL PROTECTED] wrote: Are

Re: AUTO_SCROLL Kills Command Links

2006-06-20 Thread Mike Duffy
Tried this and got the following error: 00:34:23,632 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.ClassNotFoundException: org.apache.jsp.view.common.login_jsp at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at

RE: OptionalValidator - Required validator - compound components

2006-06-20 Thread Jesse Alexander \(KSFD 121\)
around this. I have no idea why JSF has the required attribute instead of a required validator. One reason might be that html does not send empty values to the server, therefor the validation mechanism has nothing to work on, the trigger mechanisms do not trap that one. The required flag is