Re: JSCookMenu, actionListener and Facelets

2007-04-25 Thread Sam Wang
Try to update the Tomahawk to 1.1.5. luis.roche wrote: Hi all! I would like know if someone had problems with JSCookMenu, actionListener (t:navigationMenuItem) and Facelets. I'm porting an application from JSP/JSF to Facelets and ran into a problem with the menus' actionListeners

NavigationMenuItem does not have onclick

2007-04-25 Thread Dave
A javascript code needs to be called when user clicks a NavigationMenuItem inside a panelNavigation2. But it does not have onclick attribute. Is there a way? panelNavigation2 has onclick attribute. How do I know which one is clicked? Thanks! Dave

Re: redirect / and FacesMessage problem

2007-04-25 Thread Mario Ivankovits
Hi! So I don't need to register a PhaseListener or anything? Yep, no additional registration required. You'll get it automatically through the tomahawk sandbox jar. --- Mario Shawn -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007

Re: [Tobago] how I can set the tabindex attribute

2007-04-25 Thread Bernd Bohmann
Hello David, it's not possible to set the tabindex. Please add a feature request. http://myfaces.apache.org/tobago/issue-tracking.html It's not possible to use one gridlayout? Regards Bernd David Steinkopff wrote: Hi, I have different gridlayouts into a other gridlayout. now it the

Re: [Tobago] How to make button disable when user inputing a text field by using tc:in?

2007-04-25 Thread Volker Weber
Hi, just a litle improvment: If you just want to add the disabled style instead of replacing all styles use Tobago.addCssClass('page:clickMe', 'tobago-button-disabled'); you can also use Tobago.removeCssClass(element, className) to remove a specific class from a element. Regards, Volker

Re: [Tobago] how I can set the tabindex attribute

2007-04-25 Thread David Steinkopff
Hello Bernd, its only possible if I think row-orientend with many times the same column layout and I believe that blow up unnecessarily the source code. I consider about a feature request. Regards David 2007/4/25, Bernd Bohmann [EMAIL PROTECTED]: Hello David, it's not possible to set the

[Tobago] Special Needs

2007-04-25 Thread yazid
Hi All; I've to display a window from my application, this popup should be moveable and resizable and display reporting in real time. Excatly Like the tobago demo debug window Please Help; Thanks for all; -- View this message in context:

RE: Authentication doesn't trigger when using navigation rules ??

2007-04-25 Thread Rønnevik , Eivind
Ok, is there a similar way to solve this when using security-constraint (and not security-filter)? The only settings I can see for security-constraint is related to the http-method on which to apply to security (post, get, put).. Or is the solution to start to use a security-filter instead?

Re: [Tobago] Special Needs

2007-04-25 Thread Volker Weber
Hi yazid, for info about the tobago clientside javascript log window see the logging.js in standard theme. This window uses effects.js from script.aculo.us to make it moveable, you can use a kind of reload facet or custom javacript with ajax to update the content. Regards, Volker

Re: tomahawk master/detail table expandAll, collapseAll feature

2007-04-25 Thread simon.s
Mikhail Grushinskiy-2 wrote: Although I've found work-around to implelemt expand/collapse all details Hi! Can you post the work-around? Simon -- View this message in context: http://www.nabble.com/tomahawk-master-detail-table-expandAll%2C-collapseAll-feature-tf1347593.html#a10176344

jsf link to local file

2007-04-25 Thread Brummeline Braathen
I would like to open a file from my local filesystem when I click on an outputlink. The link I would like to open is on the path: F:\dev\dir.pdf When I try to open it with this link: h:outputLink value=#{tabnavigering.nettAdresse} target=_blank id=fulltekstlink h:outputText

RE: Authentication doesn't trigger when using navigation rules ??

2007-04-25 Thread hermod.opstvedt
Hi In that case, you need to provide your own phaselistener where you can do autentication/autorization (isUserInRole etc). Hermod -Original Message- From: Rønnevik, Eivind [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 9:46 AM To: MyFaces Discussion Subject: RE:

Unable to setup MyFaces without jsf-api.jar and jsf-impl.jar

2007-04-25 Thread Bailey Peng
Hi all, I'm new to JSF and would like a few pointers to get started. After downloading the examples, I saw no reference to jsf-api.jar and jsf-impl.jar in WEB-INF/lib, which is what the myfaces website tutorial suggests. However, I'm unable to use myfaces-api-1.1.5.jar and

Problem with tc.link

2007-04-25 Thread Kristoff . Kiefer
Hello, me again I'm afraid This time it's tc.link. If I do something like: tc:link label=BLAH link=http://google.de/ The resuilting Link will get mangled and rendered unusable (in a portal context at least) I think the reason is, that in the course of processing,

Re: jsf link to local file

2007-04-25 Thread Volker Weber
Hi, try file://F:\dev\dir.pdf are you sure the error is ... c is not connected ...? should be ... F is not connected ... in this case. Regards, Volker 2007/4/25, Brummeline Braathen [EMAIL PROTECTED]: I would like to open a file from my local filesystem when I click on an outputlink. The

Re: jsf link to local file

2007-04-25 Thread Brummeline Braathen
Volker Weber v.weber at inexso.de writes: Hi, try file://F:\dev\dir.pdf are you sure the error is ... c is not connected ...? should be ... F is not connected ... in this case. Ops, it was F is not connected, a little writing error:) I tried your suggestion, but then nothing

Re: jsf link to local file

2007-04-25 Thread Volker Weber
Hi, 'file:///F:/dev/dir.pdf' is OK on linux systems (if /F:/dev/dir.pdf exists), i don't know how to make this work on windows, you can try file:/F:\dev\dir.pdf maybe there is just one '/' to much after 'file:' Regards, Volker 2007/4/25, Brummeline Braathen [EMAIL PROTECTED]: Volker

RE: Automatic page refresh

2007-04-25 Thread Cormier, Matthieu
Simon Thank you for the suggestion. I now have a workaround using a hidden form. M@ -Original Message- From: Simon Kitching [mailto:[EMAIL PROTECTED] Sent: Monday, April 23, 2007 5:07 PM To: MyFaces Discussion Subject: Re: Automatic page refresh Cormier, Matthieu wrote: Hello all,

Re: How to configure a custom Lifecycle?

2007-04-25 Thread Volker Weber
Hi, yes it is, but that's not what i need. Is there no way to do this on library level, e.g. somehow inside the tobago-core.jar? Regards, Volker 2007/4/6, Matthias Wessendorf [EMAIL PROTECTED]: 't that a web.xml context-param ? On 4/6/07, Volker Weber [EMAIL PROTECTED] wrote: Hi *,

[Tobago] Need helps : tc:out autamatic reload

2007-04-25 Thread yazid
Hi all; I need to reload automatically a tc:out value; my code is : tc:out value=#{monitor.liveReporter.message} f:facet name=reload tc:reload frequency=1000 update=true / /f:facet /tc:out which does'nt work; I've to refresh manually the page . the message

sort arrows for t:column

2007-04-25 Thread eric . jung
Hi, I'm trying to get t:column/ elements to display custom ascending/descending sort arrows. I've converted the following code (which works well but displays the default text sort arrows): t:column sortable=true f:facet name=header h:outputText value=Column 0/ /f:facet

myfaces supports ajax framework

2007-04-25 Thread deepraj
anyone knows can i use ajax and myfaces together -- View this message in context: http://www.nabble.com/myfaces-supports-ajax-framework-tf3645195.html#a10180178 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: [Tobago] Need helps : tc:out autamatic reload

2007-04-25 Thread Volker Weber
Hi yazid, put the tc:out inside a tc:panel tc:panel f:facet name=reload tc:reload frequency=1000 update=true / /f:facet tc:out value=#{monitor.liveReporter.message} / tc:panel Regards, Volker 2007/4/25, yazid [EMAIL PROTECTED]: Hi all; I need to reload automatically a tc:out

[Tobago] c:forEach doesn't work anymore with myFaces 1.1.5

2007-04-25 Thread Helmut Swaczinna
Hi, I use the c:forEach tag in some pages and it worked with myFaces 1.1.4. Now I had to switch to myFaces 1.1.5 (because there was an other bug with Tobago and myFaces 1.1.4) and it doesn't work anymore. When the page is displayed for the first time everything is ok. But when the number of

JSF Myfaces and XHTML

2007-04-25 Thread Kevin Gutch
Does JSF and MyFaces only require HTML 4.01 validation. I have a site that uses Facelets and MyFaces and it fails validation. The biggest error I see repeatadly is: /there is no attribute xmlns:/ Does anyone know a way around this? Thanks, Kevin smime.p7s Description: S/MIME Cryptographic

Re: jsf link to local file

2007-04-25 Thread Mike Kienenberger
I've done it like this: h:outputLink value=#{bean.imageURL}Image/h:outputLink managed-bean

Re: Unable to setup MyFaces without jsf-api.jar and jsf-impl.jar

2007-04-25 Thread Mike Kienenberger
Remove the web.xml listener line pointing to the Sun JSF RI. It probably looks something like this: listener listener-classcom.sun.faces.config.ConfigureListener/listener-class /listener If there's no listener-classcom.sun.faces... line in your web.xml file, that means you've somewhere got the

RE: [Tobago] How to make button disable when user inputing a text field by using tc:in?

2007-04-25 Thread Wong, Emmanuel \(Sam\)
Thanks Volker and Madan. It works great as you suggested. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Volker Weber Sent: Wednesday, April 25, 2007 3:12 AM To: MyFaces Discussion Subject: Re: [Tobago] How to make button disable when user inputing a

Re: JSF Myfaces and XHTML

2007-04-25 Thread Mike Kienenberger
Yes, JSF 1.1 only requires HTML 4.01 validation. However, aren't you providing xmlns: attributes in your xhtml files for facelets? On 4/25/07, Kevin Gutch [EMAIL PROTECTED] wrote: Does JSF and MyFaces only require HTML 4.01 validation. I have a site that uses Facelets and MyFaces and it fails

Running MyFaces 1.1.3 on Tomcat 4.1.18

2007-04-25 Thread Frank Russo
I'm getting the following exception: 2007-04-25 13:04:04 StandardContext[/HMDA]: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException at

Re: JSF Myfaces and XHTML

2007-04-25 Thread Kevin Gutch
Yes. I am doing this: html xmlns=http://www.w3.org/1999/xhtml; xmlns:ui=http://java.sun.com/jsf/facelets; xmlns:h=http://java.sun.com/jsf/html; xmlns:f=http://java.sun.com/jsf/core; xmlns:t=http://myfaces.apache.org/tomahawk; xmlns:c=http://java.sun.com/jstl/core_rt;

Re: JSF Myfaces and XHTML

2007-04-25 Thread Mike Kienenberger
I think you'll have to give more details. Explain what you you did, what you expect to see and what you actually see. On 4/25/07, Kevin Gutch [EMAIL PROTECTED] wrote: Yes. I am doing this: html xmlns=http://www.w3.org/1999/xhtml; xmlns:ui=http://java.sun.com/jsf/facelets;

Re: Running MyFaces 1.1.3 on Tomcat 4.1.18

2007-04-25 Thread Mike Kienenberger
I show line 149 as: private void feedStandardConfig() throws IOException, SAXException { InputStream stream = ClassUtils.getResourceAsStream(STANDARD_FACES_CONFIG_RESOURCE); I'm not sure what version of ClassUtils is in there as it's in Shared, and shared isn't using the same

t:tooltip display issues w/ IE...

2007-04-25 Thread Nebinger, David
I'm using t:popup to display some popup help (nothing fancy). In firefox and opera, the popup appears with all words on a single line (just as I'd expect). However, under IE, each word is on it's own line. Generated HTML (copied below) for each of the browsers are exactly the same, use the same

JSF Value Binding Technique

2007-04-25 Thread bansi
Wondering if its feasible to set the values for java.util.Set using JSF value binding expression For example h:selectOneMenu id=contact value=#{backingBean.model.contacts} f:selectItems value=#{backingBean.contactList} / /h:selectOneMenu Please note contacts is defined as java.util.Set in

Re: t:tooltip display issues w/ IE...

2007-04-25 Thread eric . jung
David, I got around the problem you describe by applying a style to h:outputText/; e.g., h:outputText styleClass=popupDescription of the security role./h:outputText .popup { height: 5em; width: 35em; } Nebinger, David [EMAIL PROTECTED] 04/25/2007 01:36 PM Please respond to MyFaces

RE: Running MyFaces 1.1.3 on Tomcat 4.1.18

2007-04-25 Thread Frank Russo
So, because of this, there is a dependency on JSP 2.0, even though I'm running in a 1.2 container (but I won't be using JSP's for this.) -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 1:31 PM To: MyFaces Discussion Subject: Re:

RE: t:tooltip display issues w/ IE...

2007-04-25 Thread Nebinger, David
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 1:48 PM David, I got around the problem you describe by applying a style to h:outputText/; e.g., h:outputText styleClass=popupDescription of the security role./h:outputText .popup { height: 5em;

Re: Running MyFaces 1.1.3 on Tomcat 4.1.18

2007-04-25 Thread Mike Kienenberger
Sounds like it. I think I had MyFaces (probably 1.0.9) working under Tomcat 4.1.27. It was just a matter of providing that jsp jar file explicitly as part of my project. jsp-2.0.jar, jstl.jar While it'd be possible to provide patches to get around this, I think it's probably not worthwhile.

Re: JSF Myfaces and XHTML

2007-04-25 Thread Kevin Gutch
I am sorry I misspoke. Everything renders correctly. However, using the Firefox Web Developer toolkit I select Tools/Validate HTML. The results report errors for the namespace. Here is the error: Error /Line 2 column 92/: there is no attribute xmlns:c. |...ttp://java.sun.com/JSP/Page

Re: JSF Myfaces and XHTML

2007-04-25 Thread Mike Kienenberger
I don't know if this is the problem, but I use xmlns:c=http://java.sun.com/jstl/core; On 4/25/07, Kevin Gutch [EMAIL PROTECTED] wrote: I am sorry I misspoke. Everything renders correctly. However, using the Firefox Web Developer toolkit I select Tools/Validate HTML. The results

Re: JSF Myfaces and XHTML

2007-04-25 Thread Kevin Gutch
I will try it but this error repeats itself for all of the namespaces. I just picked that one. Mike Kienenberger wrote: I don't know if this is the problem, but I use xmlns:c=http://java.sun.com/jstl/core; On 4/25/07, Kevin Gutch [EMAIL PROTECTED] wrote: I am sorry I misspoke.

RE: t:tooltip display issues w/ IE...

2007-04-25 Thread eric . jung
Good point. I've not been able to figure this out, and my popups definitely suffer from it--fixed dimensions don't look so good. Perhaps there is a way to make the popup size dynamic through CSS. In any case, you might want to open a bug about it and/or post it to the developer's group so

Re: JSF Myfaces and XHTML

2007-04-25 Thread Kevin Gutch
Can I ask this. Has anyone else tried validating? Do you get this message? I have a feeling the validator just does not know what to do with them. Mike Kienenberger wrote: Ok. I wasn't sure if you picked it because that was wrong (it looked wrong to me) or if it was happening for all of

RE: Problem with tomahawk calendar in remote browser

2007-04-25 Thread buzo
Fraley, Taylor wrote: Yup, I was able to track it down. Thanks for the help! Taylor Can you please share your solution? I have the same issue... -- View this message in context: http://www.nabble.com/Problem-with-tomahawk-calendar-in-remote-browser-tf2604832.html#a10188382 Sent

Re: JSF Myfaces and XHTML

2007-04-25 Thread Mike Kienenberger
Ok. I wasn't sure if you picked it because that was wrong (it looked wrong to me) or if it was happening for all of them. I can't be of much more help. On 4/25/07, Kevin Gutch [EMAIL PROTECTED] wrote: I will try it but this error repeats itself for all of the namespaces. I just picked that

Re: Unable to setup MyFaces without jsf-api.jar and jsf-impl.jar

2007-04-25 Thread Simon Kitching
Just to clarify: jsf-api.jar and jsf-impl.jar are the Sun implementation of JSF. You must EITHER use these (the Sun RI implementation) OR the myfaces-api.jar/myfaces-impl.jar pair. Mixing the Sun and MyFaces jars does not work. J2EE appservers typically bundle one or the other implementation

Re: According to TLD or attribute directive in tag file, attribute value does not accept any expressions

2007-04-25 Thread Simon Kitching
netfish wrote: Hello, I'm sure i'm missing something basic here. I have a servlet that puts an ArrayList into session say EmployeeList and this is my JSF snippet.. c:forEach var='item' items='${EmployeeList}' tr tdh:commandLink action='#{empInfo.getEmployeeInfo}'

RE: t:tooltip display issues w/ IE... (SOLVED)

2007-04-25 Thread eric . jung
Doesn't appear to work if you have markup in the popup facet; e.g.,: t:popup h:graphicImage url=images/icons/info.gif styleClass=info-icon/ f:facet name=popup h:panelGroup styleClass=popup h:outputText value=blah blah blah/

RE: t:tooltip display issues w/ IE... (SOLVED)

2007-04-25 Thread eric . jung
It would appear that changing the nested h:panelGroup/ to h:panelGrid/ solves the problem with other markup in the popup. Eric Jung/X/PH/Novartis 04/25/2007 05:30 PM To MyFaces Discussion users@myfaces.apache.org cc Subject RE: t:tooltip display issues w/ IE... (SOLVED) Doesn't appear

How to display popup using t:popup only on click of a link?

2007-04-25 Thread Madhav Bhargava
Hi All, I have a requirement where I need to mimic the directory structure of windows. The tree directory structure can be changed by right clicking on one of the items, similar to what windows has. What I have done is the following: I have defined a tree structure using t:tree2

Re: Problem with tc.link

2007-04-25 Thread Bernd Bohmann
Hello Kristoff, can you reproduce this behavior with the current snapshot? Regards Bernd [EMAIL PROTECTED] wrote: Hello, me again I'm afraid This time it's tc.link. If I do something like: tc:link label=BLAH link=http://google.de/ The resuilting Link will get mangled and rendered unusable

Use jsCookMenu without the extension filter

2007-04-25 Thread Jörg Herbst
Hi, I've got a JSF application which is pretty performance critical. For this reason I'm trying to get rid of the tomahawk extension filter. I've tried to reused it using the desciption at http://wiki.apache.org/myfaces/Performance. But when I display a site using the jsCookMenu I alway get