Re: t:inputDate off by one day!

2006-05-11 Thread Cosma Colanicchia
Hey you're right, my outputText is doing wrong, inputDate is displaying the correct date! :)I've also found this FAQ on the same problem http://wiki.apache.org/myfaces/FAQ#Date , sorry for asking again. I think I'll try the default converter way, I don't like to specify timezones in all of my

Re: which method will be invoked in the invoke application phase.

2006-05-11 Thread Arash Bijanzadeh
I want to implement a security layer based on listener. I need to find out wich action in wich class of application would be called in the PhaseListener and the decide if the user allowed to do it or not. After 2 days of googling I couldn't find out how can I get the method would be called at the

RE: [newbie]: click on commandButton does nothing. Why?

2006-05-11 Thread Matthias Klein
Thank you so much! Now it works. I _knew_ it was a stupid, little newbie mistake :-) Am Mi, 10.05.2006, 23:13, schrieb James Reynolds: Enclose your buttons in an h:form tag. -Original Message- From: Matthias Klein [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 3:11 PM To:

Re: When tomahawk-1.1.2 and myfaces-core-1.1.3 will be in ibiblio?

2006-05-11 Thread Bruno Aranda
Not sure, but in the meanwhile you can find them in the myfaces zone repository [1], so you can setup this repository in your pom file. Devs: to put the artifacts in ibiblio we should only deploy them in the apache repository, right? Is there any special reason we have not done that yet?

Re: t:inputDate off by one day!

2006-05-11 Thread Cosma Colanicchia
Mmmm, I've done a little research to better understand this issue, because this thread and the FAQ left my with some doubts. If someone's interested, this is the explanation I have found.A Date object internally always store its value as UTC (number of milliseconds from January 1, 1970 00:00:00

Re: linkDummyForm not rendering on every page

2006-05-11 Thread Michael Heinen
Hi,I am facing the same problem with new version 1.1.3. The linkDumyForm is not rendered on every page as in version 1.1.1.My welcome page index.jsp forwards the request to a faces page: jsp:forward page=/faces/launch.jsp/This page contains a commandLink outside a form (!) for a simple

Re: linkDummyForm not rendering on every page

2006-05-11 Thread Jonathan Harley
Michael Heinen wrote: I am facing the same problem with new version 1.1.3. The linkDumyForm is not rendered on every page as in version 1.1.1. My welcome page index.jsp forwards the request to a faces page: jsp:forward page=/faces/launch.jsp/ This page contains a commandLink outside a form

RE: linkDummyForm not rendering on every page

2006-05-11 Thread Michael Heinen
Thanks Jonathan. Yes, my ExtensionFilter is mapped to /faces/* The link works well when I use a redirect instead of a forward in my welcome page. I am just wondering because this differs from the behaviour in the previous myFaces version. Michael -Original Message- From: Jonathan

wiki correction

2006-05-11 Thread Kevin Galligan
On the Building With Maven page of the wiki...svn co http://svn.apache.org/repos/asf/myfaces/maven/trunk/maven-archetype myfaces-archetypeShould be...svn co http://svn.apache.org/repos/asf/myfaces/maven/trunk/myfaces-archetype myfaces-archetype And...mvn archetype:create

[newbie] Beginners questions regarding dynamic links

2006-05-11 Thread Scrut Inizer
After working through some tutorials and documentations I ran into some beginners questions while writing my own, little JSF application. I would really appreciate it if you could take some time to give me some hints because I am really lost. Reading the following text will probably take the

Redeploying myfaces applications in Tomcat 5.0.28

2006-05-11 Thread Jack Lin
Hi, Whenever I try to redeploy a myfaces application in Tomcat 5.0.28, I always get the following error: INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] (StandardHostDeployer.java:197) - Installing web application at context path /sandbox from URL

t:outputLabel for attribute and forceId=true

2006-05-11 Thread Locke, Richard
Hi All, I am creating a simple form using label tags to help with accessibility. I want to force the ids not to have the form prefixed so I can do more client-side coding (CSS, DOM, JavaScript etc). Here is a simple code fragment. t:outputLabel for=txtInputText id=lblInputText value=Label text

Re: wiki correction

2006-05-11 Thread Bruno Aranda
Yes, sure, you can change it yourself in the wiki. Thanks! Bruno On 5/11/06, Kevin Galligan [EMAIL PROTECTED] wrote: On the Building With Maven page of the wiki... svn co http://svn.apache.org/repos/asf/myfaces/maven/trunk/maven-archetype myfaces-archetype Should be... svn co

Re: [newbie] Beginners questions regarding dynamic links

2006-05-11 Thread Matthias Wessendorf
To make a long story short :-) JSF Core can mean MyFaces IMPL or SUN RI, since JSF is a spec (all h:*** and f:*** related stuff) Tomahawk is a set of custom components, like Tobago and the ADF Faces donation Reading myfaces.apache.org (and wiki.apache.org/myfaces) will help you on some

(D)Html Menu

2006-05-11 Thread Aleksei Valikov
Hi folks. I'm a bit tired of issues with HtmlCommandJSCookMenu. One of the biggest problems is that action bindings are coded in clear text on the client side (which is by the way a major security whole). Therefore I'm looking for an alternative component for menus. Another possibility is

Re: t:outputLabel for attribute and forceId=true

2006-05-11 Thread Matthias Wessendorf
That's all fine except that the label's for attribute has the 'form:' prefix. Why? I would not think that t:outputLabel tag would know anything about the rest of the page. That is a problem of JSF 1.1 spec t:outputLabel / (or h:outputlabe) BEFORE an input won't work since the label doesn't

How to make selectManyMenu depened on a combobox

2006-05-11 Thread Michael Ageeb
Hello, I've used the ajaxChildComboBox to make two combobox depened on each other.How can use the same technique or any other technique to make any type of selectManyMenu depened on ajaxChildComboBox. Regards,-- http://mageeb.netDon't send me any attachment in Micro$oft (.DOC, .PPT) format

Re: which method will be invoked in the invoke application phase.

2006-05-11 Thread vace117
I haven't done anything like that myself, but you could try the following. Let me know if it works for you. 1) Register your own ActionListener with action-listener in your jsf-config. 2) In the listener you will have access to the ActionEvent, which will give you access to the event source

Startup logging question for MyfacesConfig

2006-05-11 Thread Joey Geiger
I'm wondering why I'm seeing the following things *twice* in my logs when the application starts up. INFO MyfacesConfig - No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource INFO MyfacesConfig -

removal of actionForPhase

2006-05-11 Thread Peter Rohne
I noticed in bug TOMAHAWK-190 that the actionForPhase attribute was removed from commandLink and commandButton because it wasn't working. Is there a plan to fix this and bring it back and if so when? Peter Rohne IT Architect IBM Business Consulting Services 400 Ellice Avenue Winnipeg, MB. R3B

sandbox version with example

2006-05-11 Thread Marco Ceccarelli
Is there e recent release of myfaces with sandbox components (like ajaxInputSuggest) with (or witohout) example that work ? I've tried the version from http://cvs.apache.org/maven-snapshot-repository/org/apache/myfaces/tomahawk/tomahawk-sandbox/ with the 1.1.3 core but it doesn't work for me...

RE: t:outputLabel for attribute and forceId=true

2006-05-11 Thread Locke, Richard
Hi Matthias, Thanks for the very useful article. The solution was there on the first page! The h:panelGroup tag does the job perfectly. Rich -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: 11 May 2006 16:02 To: MyFaces

@lastmodified@ in AddResource.properties

2006-05-11 Thread Aleksei Valikov
Hi. When building MyFaces myself, I get @lastmodified@ in AddResource which basically disables client-side resource caching. What do I have to do to replace @lastmodified@ with the correct value? Do I miss something? Bye. /lexi

Re: [newbie] - simple custom tag problems

2006-05-11 Thread JSFSter Smith
Hi Volker, Thanks for your response! I attempted the forcing of the ValueBinding in the setProperties() since setting value of the tag attribute was not passed on to the Component Class. In a case like this: my:testTag value=My message (or) my:testTag value=#{datapanel.description} where

Re: which method will be invoked in the invoke application phase.

2006-05-11 Thread Craig McClanahan
On 5/11/06, Arash Bijanzadeh [EMAIL PROTECTED] wrote: I want to implement a security layer based on listener. I need to find out wich action in wich class of application would be called in the PhaseListener and the decide if the user allowed to do it or not. After 2 days of googling I couldn't

Re: which method will be invoked in the invoke application phase.

2006-05-11 Thread Cagatay Civici
Hi,The queued events in JSF are hold in a private list per phase and as far I know there is no way to access these list public.Since security is a crosscutting concern more than a layer, using aspects might work for you. All the events in JSF extends from FacesEvent which has a method called

Re: removal of actionForPhase

2006-05-11 Thread Martin Marinschek
Hi Peter, I've rethought about this attribute, and consider it invalid for the usecase I originally intended it for. What I wanted to do was optional validation. Now optional validation is nonsense, if in the update model phase the values won't be passed over from the submitted value attribute

when is form tag required?

2006-05-11 Thread Ken
Hi,Given commandButton, commandLink, and outputLink all render as html anchors, I only wrapped them with form tags when a form field was required (inputText, selectItem...). Everything worked fine across multiple browsers in myfaces 1.1.1.Now with myfaces 1.1.3 and tomahawk 1.1.2, I'm having a

svn problem

2006-05-11 Thread L Frohman
I can't get to the source repository with svn under eclipse (it used to work) It was the same yesterday. Is there a problem on the server, or has something changed? Thanks, Lance svn: PROPFIND of '/repos/asf/myfaces': could not connect to server (http://svn.apache.org) RA layer request

Re: [newbie] Beginners questions regarding dynamic links

2006-05-11 Thread Scrut Inizer
Thanks for your hints. However, as a JSF beginner I still don't know what to do. I spent the past 8 hours reading everything I found on the myfaces page including the wiki, reviewed the examples and used google extensively. All examples I found either used hard coded tabs and such or didn't

Re: svn problem

2006-05-11 Thread Dennis Byrne
Hello Lance, Infrastructure team is working on it . Dennis Byrne -Original Message- From: L Frohman [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 02:50 PM To: ''MyFaces Discussion'' Subject: svn problem I can't get to the source repository with svn under eclipse (it used to

Re: @lastmodified@ in AddResource.properties

2006-05-11 Thread Bruno Aranda
No, right now it is expected. After the move to myfaces this behaviour was not reimplemented, and stills need to be implemented. We need a way, a plugin or something, that updates the AddResources.properties file with the build date... Regards, Bruno On 5/11/06, Aleksei Valikov [EMAIL

Re: @lastmodified@ in AddResource.properties

2006-05-11 Thread Mike Kienenberger
There's an open JIRA issue on this if someone wants to attach a patch. On 5/11/06, Bruno Aranda [EMAIL PROTECTED] wrote: No, right now it is expected. After the move to myfaces this behaviour was not reimplemented, and stills need to be implemented. We need a way, a plugin or something, that

Re: svn problem

2006-05-11 Thread Bruno Aranda
There is a problem in the server that hosts the svn repository. The infrastructure team is working on that. Hopefully it will be solved in the next hours! Bruno On 5/11/06, L Frohman [EMAIL PROTECTED] wrote: I can't get to the source repository with svn under eclipse (it used to work) It was

Tomcat 5.5.16 problem

2006-05-11 Thread Garg, Apoorv
Title: Tomcat 5.5.16 problem Hello, I am trying to integrate a myfaces test app under my current webapp. Initially I thought I had it running but that was because I had the test app sitting under the CATALINA_HOME/webapp folder. I removed it from there, moved the required files around

InputDate problem

2006-05-11 Thread Patrick Dalla Bernardina
I have the following datatable: every input other than inputDate updates the correspondent bean property . Why inputDate doesn't updates the bean property associated with the value attribute? h:dataTable id=dependentes headerClass=portlet-section-header

Re: [newbie] - simple custom tag problems

2006-05-11 Thread Volker Weber
Hi, see inline JSFSter Smith wrote: Hi Volker, Thanks for your response! I attempted the forcing of the ValueBinding in the setProperties() since setting value of the tag attribute was not passed on to the Component Class. In a case like this: my:testTag value=My message (or)

Re: Tomcat 5.5.16 problem

2006-05-11 Thread Ken McArthur
Try removing a couple of jar files from WEB-INF/lib of the application in webapp.I'm pretty sure one of them is commons-el-1.0.jar. Don't remember the other one but the MyFaces Tomcat configuration help page lists it. They conflict with what's shipped with Tomcat. Good luck.On 5/11/06, Garg,

Re: removal of actionForPhase

2006-05-11 Thread Peter Rohne
On inspection of the validate logic I see what you're saying. The validation phase cannot be skipped because this is where the value gets populated from the submitted value. I don't see a reason to bring actionForPhase back. Here is a simplified description of my problem. Tell me if there is

Re: InputDate problem

2006-05-11 Thread Patrick Dalla Bernardina
I've updated to version 1.1.3 and everything worked. Patrick Dalla Bernardina wrote: I have the following datatable: every input other than inputDate updates the correspondent bean property . Why inputDate doesn't updates the bean property associated with the value attribute?

Re: [m2] Problems when getting artifacts using an internal repo (proxy problem?)

2006-05-11 Thread Sean Schofield
Maybe you could hack it by labeling your internal artifacts as snapshots and then listing my-repo as snapshot only? Still learning maven so that may be way off. Sean On 5/10/06, Bruno Aranda [EMAIL PROTECTED] wrote: Mmm, I see what is happening, When it goes to search a dependency already

RE: Tomcat 5.5.16 problem

2006-05-11 Thread L Frohman
jsp-2.0.jar and commons-el.jar see: http://myfaces.apache.org/tomcat.html From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken McArthurSent: Thursday, May 11, 2006 1:31 PMTo: MyFaces DiscussionSubject: Re: Tomcat 5.5.16 problem Try removing a couple of jar files from

Re: [m2] Problems when getting artifacts using an internal repo (proxy problem?)

2006-05-11 Thread Wayne Fay
You should send this to the Maven Users email list, not MyFaces. Someone there will help you out, I'm sure. ;-) users@maven.apache.org Wayne On 5/11/06, Sean Schofield [EMAIL PROTECTED] wrote: Maybe you could hack it by labeling your internal artifacts as snapshots and then listing my-repo as

Re: [newbie] - simple custom tag problems

2006-05-11 Thread JSFSter Smith
Hi Volker, Thanks! yes that was the problem. I am getting a better hang of the JSF rendering framework now and it is pretty powerful! Thanks again. -RajivOn 11/05/06, Volker Weber [EMAIL PROTECTED] wrote: Hi,see inlineJSFSter Smith wrote: Hi Volker, Thanks for your response! I attempted the

Re: removal of actionForPhase

2006-05-11 Thread Martin Marinschek
Hi Peter, yes, you're right. With JSF1.1 and JSP, you'll have to write your custom validation logic in the backing bean for this to work. so two options: 1 - write your own validation logic 2 - switch over to facelets. regards, Martin On 5/11/06, Peter Rohne [EMAIL PROTECTED] wrote: On