Re: [Trinidad] Aaaaaargg - validateDoubleRange broken on JSF RI 1.2

2007-08-29 Thread Matthias Wessendorf
Hi, > If I understand the problem correctly: > These methods > > org.apache.myfaces.trinidad.validator.DoubleRangeValidator.saveState()/restoreState() > do not save the fields minimumSet/maximumSet of superclass > javax.faces.validator.DoubleRangeValidator: I don't see a minimumSet/maximumS

Re: trinidad outputFormat and f:param support

2007-08-29 Thread Paul Mander
Andrew Robinson-5 wrote: > > Well, that is not localizable > > I think the use case that he means is more like: > > > > > > messages.properties > str = Test {0} param > > That's a better example. -- View this message in context: http://www.nabble.com/trinidad-outputFormat-and-f%3Ap

Re: [Trinidad] Pie chart breaking with 7 items

2007-08-29 Thread Florian Reiser
Thank you, Venkata. The JIRA ticket is opened under the id TRINIDAD-665. With kind regards Florian Reiser Original-Nachricht > Datum: Wed, 29 Aug 2007 14:34:05 -0600 > Von: "venkata guddanti" <[EMAIL PROTECTED]> > An: "MyFaces Discussion" > Betreff: Re: [Trinidad] Pie chart bre

RE: EL problem

2007-08-29 Thread Raphael Parree
Bruno, Thanks for your reply... Yes I had tried that it gave me the following error: #{..} is not allowed in template text Which makes sense, as the EL is not inside JSF but in the regular JSP part of the page. Where can I find myfaces-1.2.1-SNAPSHOT? On the snapshot page (http://people.apache

Re: Log each call to an JSF action method

2007-08-29 Thread Ryan Wynn
I like to use spring's variable resolver + support for proxy beans to do this. I guess the aspect oriented approach you were referring to. On 8/29/07, Svilen Ivanov <[EMAIL PROTECTED]> wrote: > Andrew, > > I think it is fine to wait for the action to end. However, if > NavigationHandlerImpl does

[Trinidad] Aaaaaargg - validateDoubleRange broken on JSF RI 1.2

2007-08-29 Thread Stephen Friedrich
Pheewww - spent a couple of hours chasing a bug - getting very late again ... After upgrading from Trinidad 1.0.1/MyFaces to Trinidad 1.2.1/JSF RI 1.2.04 all my "validateDoubleRange" tags stopped working completely. Probably other validators are also affected. If I understand the problem correct

Re: [Trinidad] Pie chart breaking with 7 items

2007-08-29 Thread venkata guddanti
I looked at this issue a bit more. The problem is the chartModel base class defines only six colors. You can override: public List getSeriesColors() // The default implementation is as follows: public List getSeriesColors() { return _defaultColors; } private static final List _defau

[Trinidad] change appearance os tableselectmany

2007-08-29 Thread Christian Klocker
i'd like to hide the checkbox because selected state should be marked by drawing a border on selected rows ... so, i'm wondering how this can be done? thanks chistian

RE: [Trinidad] trinidad 1.2.1 w/ ajax4jsf, richfaces and facelets possible?

2007-08-29 Thread Rich Schramm
I am using richfaces 3.0.1 (I don't think 3.1.0 is out until the end of this month, like a couple days) with facelets and JSF 1.2 RI on Tomcat 5.5. I have been trying to get Trinidad to work in this environment and I got it to the point that it will at least attempt to render the components, but i

RE: [Trinidad] - Javascript errors Integrating with JSF 1.2 RI / Facelets

2007-08-29 Thread Rich Schramm
Adam, See below for my web.xml as per your request. Any feedback appreciated. Rich http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>

Re: [Trinidad] - Javascript errors Integrating with JSF 1.2 RI / Facelets

2007-08-29 Thread Adam Winer
Could we see your web.xml? -- Adam On 8/29/07, Rich Schramm <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I would like to use the color picker and calendar components in Trinidad. > I am currently running JSF 1.2 RI with facelets and richfaces. I have > configured the installation as per the instr

Re: [Trinidad] trinidad 1.2.1 w/ ajax4jsf, richfaces and facelets possible?

2007-08-29 Thread Scott O'Bryan
Thai, Theoretically they should work together but some people have reported problems. That said, I don't think a4j gives you anything that Trinidad doesn't give you out of the box. Is there some piece of functionality you're looking for in a4j that Trinidad does not give you? Scott Thai D

[Trinidad] trinidad 1.2.1 w/ ajax4jsf, richfaces and facelets possible?

2007-08-29 Thread Thai Dang Vu
Hi everybody, I'd like to ask if it is possible to use trinidad 1.2.1 with richfaces 3.1.0 (which includes ajax4jsf) and facelets. This is my 1st day learning trinidad so I haven't got time to try different ways to configure the web.xml file to make trinidad and ajax4jsf work togeter. If you hav

Re: [Trinidad] ppr: partialTriggers doesn't work if there are validation messages?

2007-08-29 Thread Andrew Robinson
After thinking it on some more and researching how Trinidad is handling the PPR triggers more, I thought that maybe the best solution is just a new component. I am already using such a component in my own project for a site I own. I just posted the code to JIRA so that you all can see it, comment

Configured jsf forwarding to jsp

2007-08-29 Thread Earnest Dyke
Greetings, I have a simple JSF implementation (see below for faces-config) that has to jsf pages. When I go to http://localhost:8080/Sim/Sim.jsf it forwards to Sim.jsp and I can't figure out why. Should be pretty simple. I am running MyFaces 1.1.5 in JBoss 4.0.5 GA. My web.xml is below also. T

Re: [Trinidad] Pie chart breaking with 7 items

2007-08-29 Thread venkata guddanti
Can you please log a JIRA ticket? I will investigate and provide a patch. Regards, Venkata On 8/29/07, Florian Reiser < [EMAIL PROTECTED]> wrote: > > Hello, > > I want to draw a pie chart with a total of 15 data items in a series. > When I render the page the chart is not shown. > > So I limited

Re: Log each call to an JSF action method

2007-08-29 Thread Svilen Ivanov
Andrew, I think it is fine to wait for the action to end. However, if NavigationHandlerImpl does it for me - all I have to do is to enable the log. Thank you for your reply - I'll give it a shot. Regards, Svilen 2007/8/29, Andrew Robinson <[EMAIL PROTECTED]>: > If you can wait until after the ac

[Trinidad] - Javascript errors Integrating with JSF 1.2 RI / Facelets

2007-08-29 Thread Rich Schramm
Hi, I would like to use the color picker and calendar components in Trinidad. I am currently running JSF 1.2 RI with facelets and richfaces. I have configured the installation as per the instructions. When I display a page with the choosecolor component, it renders the table, but the transpar

Re: EL problem

2007-08-29 Thread Bruno Aranda
Hi, does it work if you use #{...} instead of ${...}? I seem to recall a bug in myfaces 1.2.0 that has been fixed recently and it should be fixed in the current snaphots (try myfaces-1.2.1-SNAPSHOT)... Cheers, Bruno On 29/08/2007, Raphael Parree <[EMAIL PROTECTED]> wrote: > Hi, > > This problem

Re: trinidad outputFormat and f:param support

2007-08-29 Thread Andrew Robinson
Well, that is not localizable I think the use case that he means is more like: messages.properties str = Test {0} param On 8/29/07, Danny Robinson <[EMAIL PROTECTED]> wrote: > Paul, > > I'm confused as to what that would give you over using something like: > > tr:outputFormatted value="Hello

Re: JSF Newbie needs help with selectOneMenu and valueChangeListener

2007-08-29 Thread Bruno Aranda
Hi, do you have an h:message/s component in your page to see if there is a validation error. Moreover, maybe the great information about the immediate attribute in this page can help you: http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works Cheers, Bruno On 28/08/2007, tfuda <[EMAIL

Re: tomahawk radio button

2007-08-29 Thread Bruno Aranda
What kind of errors? Can you show a snippet of your code? Cheers, Bruno On 29/08/2007, Wolfgang <[EMAIL PROTECTED]> wrote: > Hi, > > how can I create a tomahawk radio button or a radio button group? > I can just find examples for the standard html tags, but if I try those > examples > I always g

Re: Avoid line break

2007-08-29 Thread Bruno Aranda
Just nest them in the standard h:panelGroup (or use one of the more solutions using Trinidad). Is, by any chance, your inputText nested in a h:panelGrid (a panelGrid renders a table with the value of its "columns" attribute as the number of cells per row). Hope this helps, Bruno

Re: trinidad outputFormat and f:param support

2007-08-29 Thread Danny Robinson
Paul, I'm confused as to what that would give you over using something like: tr:outputFormatted value="Hello #{propsFile.world}" Can you provide a more complex example. Danny On 8/29/07, Paul Mander <[EMAIL PROTECTED]> wrote: > > > I'm having trouble getting variable substitution to work with

[Trinidad] JSF 1.2/Facelets and el expression for f:attribute name

2007-08-29 Thread Justin Mckay
I am currently migrating our ADF project to Trinidad 1.2.1 and have a question about the f:attribute. In our project we were using el expressions for the name value in our f:attribute. This does not seem to be the same for the Trinidad 1.2.1 /MyFaces 1.2/Facelets 1.1.6 combo. If I use a el expre

Re: [Trinidad] ppr: partialTriggers doesn't work if there are validation messages?

2007-08-29 Thread Andrew Robinson
I know this would be a major architectural change, but what if components queued a partial trigger event in each of the listeners? That way each listener would have the choice on the phase ID of the event and the ability to act on it if desired. Pseudo code using UIXCommand (component using Action

Re: Log each call to an JSF action method

2007-08-29 Thread Andrew Robinson
If you can wait until after the action has been called, you can use the ActionListener of the JSF Application or the NavigationHandler as both have access to the action EL expression. BTW - the myfaces NavigationHandlerImpl already logs each call at debug level. -Andrew On 8/29/07, Svilen Ivanov

Re: Avoid line break

2007-08-29 Thread Andrew Robinson
I believe renders as a TABLE with each component in on row, so it will never wrap. renders as a SPAN so, it would wrap. On 8/29/07, Florian Reiser <[EMAIL PROTECTED]> wrote: > Hello Wolfgang, > > if your using trinidad, then use: > > > This will align the containing elements horizontally. > Bu

Re: [Trinidad] Skinning tr:table lines on hover

2007-08-29 Thread Andrew Robinson
It doesn't look like the table renderer adds any style classes onto the TR elements. You could use CSS to do it. Have you tried: af|table:content > TR:hover { background-color: yellow; } This should theoretically work in IE7 and the "good" browsers On 8/29/07, Francisco Passos <[EMAIL PROTECTE

[Trinida] about managing table selection side-effects

2007-08-29 Thread Renzo Tomaselli
Hi, I'm looking for the least-dirty way to manage row selection client-side effects in tr:table. E.i. updating a counter along multiple selections, enabling/disabling buttons upon selecting certain rows, and things like that. I already performed similar actions by attaching js snippets to the se

Re: Which components to use? - Seam?!

2007-08-29 Thread Andrew Robinson
Seam is an extremely helpful library, especially if you are going to be using hibernate or EJB3 persistence. Its conversation scope is very robust as well as its navigation handling extensions. Its security is also fairly easy to work with (once you have it configured). The only thing you may noti

Log each call to an JSF action method

2007-08-29 Thread Svilen Ivanov
For audit and debugging purposes I want to log the name of action method that is being called. Is it possible to hook somewhere in JSF lifecycle? Or should I use Aspect oriented approach? Any ideas are appreciated? -- Svilen Ivanov http://svilen-online.blogspot.com There is no dark side of the

Re: [Trinidad] ppr: partialTriggers doesn't work if there are validation messages?

2007-08-29 Thread Andrew Robinson
Yes, I am just looking to be able to re-render items to reflect server-side messages. This could be actual message and label components, or other components (like for example, setting the style class of an input text that has a message). So it really should not be only message components, but all c

Re: tree2 row styles

2007-08-29 Thread Andrew Robinson
just put "display: block;" in the style of the element you render inside each node On 8/28/07, Dave <[EMAIL PROTECTED]> wrote: > How to apply style class to the tree2 node rows? Node rows, I mean that all > rows have the same width from left to right of the tree2 display area. > > ABC

Re: custom outputText

2007-08-29 Thread Mike Kienenberger
One other idea: Consider outputting the highlighted string in a span, and having a highlightedStyleClass (and/or highlightedStyle) attribute that you'd add to the span. That should allow a great deal of flexibility to what can be done with this component. On 8/29/07, Mike Kienenberger <[EMAIL

Re: custom outputText

2007-08-29 Thread Mike Kienenberger
Yes, I think you're on the right track. You don't need to create a custom OutputText component; you just need to create a custom OutputText renderer. If you're using facelets, you can probably do this by using a generic attribute, so you really only need to create a new renderer. If you're using

Re: custom outputText

2007-08-29 Thread Mike Kienenberger
Since the most likely place for an error to occur is dealing with creating and populating the attribute on the component, I'd recommend writing the renderer first, and hardcoding the value for the matchingValue at first. For example, in your custom renderer, public String getMatchingValue(UICompo

custom outputText

2007-08-29 Thread kewldude
Okay, I have no experience whatsoever in creating a custom component, but I just finished reading this http://www.jsftutorials.net/components/step1.html guide on creating custom components. What I want to achieve is to customize the outputText component wherein any value of the outputText com

EL problem

2007-08-29 Thread Raphael Parree
Hi, This problem might have been addressed already within the mailing list. I went trough the archives but was unable to find anything (now is the search string "EL problem" not the best search string) I'm in the process of upgrading to Tomcat 6 (6.0.14) and MyFaces 1.2.0. I have a major problem

[TRINIDAD] Proposal - fieldset/legend component

2007-08-29 Thread Danny Robinson
Would there be interest in a skinnable/ajaxified component that rendered output using html fieldset/legend. We'd like to include this in our applications and I'm keen to keep our users away from introducing other component libraries just for the odd extra component. I'm struggling to think of a n

Re: Tobago refresh

2007-08-29 Thread Volker Weber
What is the generated value of the onclick attribute of the link? Can you turn on javascript debugging to see whats the problem at the "error in page"? Maybe try firefox to debug the javascript. 2007/8/29, yazid <[EMAIL PROTECTED]>: > > Hi Volker; > I've inserted the attribute in a link ; and

trinidad outputFormat and f:param support

2007-08-29 Thread Paul Mander
I'm having trouble getting variable substitution to work with any of the trinidad tags. Using standard faces I can do the following to substitute parts of a message However, I cannot get any of the trinidad output tags to work with the f:param tag. The reason why I want to use a trini

Re: Avoid line break

2007-08-29 Thread Florian Reiser
Hello Wolfgang, if your using trinidad, then use: This will align the containing elements horizontally. But I think it will wrap when it gets too large. With kind regards Florian Reiser Original-Nachricht > Datum: Wed, 29 Aug 2007 11:21:19 +0200 > Von: Wolfgang <[EMAIL PROTEC

How to register treeModel listener to tree2 component

2007-08-29 Thread Sreemanth
can one help me on how to register treeModelListener to tree2 component. Is it possible? -- View this message in context: http://www.nabble.com/How-to-register-treeModel-listener-to-tree2-component-tf4347372.html#a12385771 Sent from the MyFaces - Users mailing list archive at Nabble.com.

expandPath problem

2007-08-29 Thread Sreemanth
I have treeData in session scope. When ever a new treenode is added i am rebuilding the tree. I want to remember the expanded nodes of tree. For this what i am doing is i am storing the expanded node id' s in separate list. While sending the data to browser that is in the getTreeModel() method i a

Re: AW: AW: AW: AW: Search Highlighting

2007-08-29 Thread Steffen
Hi, you could use some javascript highlighter like this: http://www.nsftools.com/misc/SearchAndHighlight.htm Bye, Steffen Hankiewicz Or I have no choice, but to code my own dataTable renderer given my requirements below?

Re: [Trinidad] tr:document

2007-08-29 Thread Matthias Wessendorf
Hi, the renderer for the component uses internally the renderers for: - - - using these instead, should work as well. See [1] for more on those components. -M [1] http://myfaces.apache.org/trinidad/trinidad-api/tagdoc.html On 8/29/07, Darren McEntee <[EMAIL PROTECTED]> wrote: > > > > > > Hi

[Trinidad] Skinning tr:table lines on hover

2007-08-29 Thread Francisco Passos
Hello all! I'm wondering if it is possible to change the css style for a tr:table line when the mouse is hovering. And if so, can one do it directly on the skin? Thank you, Francisco Passos

[Trinidad] tr:document

2007-08-29 Thread Darren McEntee
Hi Guys, Quick Trinidad question here... I am trying to use . This appears to work only in conjunction with the tag. However, we also have an <%@ include file="xyz.jsp" %> tag, that is incorporated in every page. The and <%@ include> tags do not appear to work well together. Whe

Avoid line break

2007-08-29 Thread Wolfgang
Hi, is it possible to avoid a line break after e.g. value="#{home.datasetName}"/>e.g. myDatase? Cheers, Wolfgang

Re: Tobago refresh

2007-08-29 Thread yazid
Hi Volker; I've inserted the attribute in a link ; and point the attribute to container box id; but I've an "error in page" when I click and nothing happens Cheers Volker Weber-5 wrote: > > Hi, > > you can use partial rendering e.g.: > > > ... > > > > > > > > in this case only

Re: Tobago refresh

2007-08-29 Thread Volker Weber
Hi, you can use partial rendering e.g.: ... in this case only the box is updated on button click. note: you may need to use absolute id in renderedPartially value, if the button and the box are not inside the same namingContainer. Regards, Volker 2007/8/29, yazid <[EMAIL

Re: HtmlResponseWriterImpl: HTML nesting warning on closing span

2007-08-29 Thread mraible
Adding the following to my log4j.xml fixed the problem: Matt mraible wrote: > > I get a similar error in an application that has no customized components. > > WARN - HtmlResponseWriterImpl.endElement(234) | HTML nesting warning on > closing td: element input rendered

Re: TObago

2007-08-29 Thread Volker Weber
Can you ensure that getDeleteRuleMessage() never returns null? Only in this case the NPE can happen. 2007/8/29, yazid <[EMAIL PROTECTED]>: > > Hi Volker; > Two of the popup have rendered="true" and the third have > rendered="#{ruleBrowserUI.deleteRuleMessage!=''}"; this method is a getter > of a

[Trinidad] Pie chart breaking with 7 items

2007-08-29 Thread Florian Reiser
Hello, I want to draw a pie chart with a total of 15 data items in a series. When I render the page the chart is not shown. So I limited the number of data items in the chart and found out, that the chart shows only with a maximum number of 5 data items. So the following works: public List> get

Tobago refresh

2007-08-29 Thread yazid
I'm using tobago for a big application. All the tobago object are usefull; except the page refreshing. My application is structure like as Tobago demo (menu, dobody...); when I click on any button or link in the page; the whole page is refreshed... Is there any to avoid this. Regard; -- View th

Re: TObago

2007-08-29 Thread yazid
Hi Volker; Two of the popup have rendered="true" and the third have rendered="#{ruleBrowserUI.deleteRuleMessage!=''}"; this method is a getter of a String public String getDeleteRuleMessage() { return deleteRuleMessage; } The version of Tobago I'm using is 1.0.11 Regards; yazid wrote:

tomahawk radio button

2007-08-29 Thread Wolfgang
Hi, how can I create a tomahawk radio button or a radio button group? I can just find examples for the standard html tags, but if I try those examples I always got nesting errors. Cheers Wolfgang

Re: TObago

2007-08-29 Thread Volker Weber
Hi Yazid, which version of tobago? this is UIPopup in trunk: 69 70 public boolean isRendered() { 71 ValueBinding valueBinding = getValueBinding("rendered"); 72 if (valueBinding!= null) { 73 return (Boolean) valueBinding.getValue(getFacesContext()); 74 } else { 75

Re: AW: AW: AW: AW: Search Highlighting

2007-08-29 Thread kewldude
Or I have no choice, but to code my own dataTable renderer given my requirements below? kewldude wrote: > > Just a simple exact match for the meantime will do. > > > Sertic Mirko, Bedag wrote: >> >> Are you using special characters for your search, a % or an *, AND or OR >> matching, >> or

Re: Which components to use? - Seam?!

2007-08-29 Thread x y
Anybody with JSF/Seam experience to share your thoughts? Thank you in advance. - Original Message From: x y <[EMAIL PROTECTED]> To: MyFaces Discussion Sent: Wednesday, August 29, 2007 9:08:47 AM Subject: Re: Which components to use? I am so sorry for the late reply. Thank you so much. Y

Re: Which components to use?

2007-08-29 Thread x y
I am so sorry for the late reply. Thank you so much. Your suggestion will be of great help. Cheers! - Original Message From: David Delbecq <[EMAIL PROTECTED]> To: MyFaces Discussion Sent: Wednesday, August 22, 2007 11:19:02 PM Subject: Re: Which components to use? Situation here: usi