Re: [Trinidad] XMLMenuModel bug

2007-08-27 Thread Luka Surija
Any idea? Luka Surija wrote: Actually nothing happens, I've found that Firebug is displaying this error message: validatorArray has no properties: _multiValidate(form#j_id1 index.xhtml, j_id5:0:j_id6, [j_id28, 0, undefined, 17 more...])Common1_0_3.js (line 5248) _validateInline(form#j_id1

Ajax4jsf and trinidad question...

2007-08-27 Thread Julien Martin
-- Hello, I am trying to get a4j and trinidad working together. I have not being able to download the a4j-trinidad.war file due to restriction policies on downloading (in my company). I use the following jars: -a4j 1.1.1 -myfaces 1.1.5 -trinidad 1.0.2

Clustering MyFaces application with Tomcat

2007-08-27 Thread Svilen Ivanov
I'm trying to cluster a certain MyFaces (1.1.5, tomahawk 1.1.6) application in Tomcat 5.5.20. The applications heavily relies on session beans which use ListDataModel and HtmlDataScroller as properties. When I setup Tomcat to replicate sessions I got NotSerializableException for HtmlDataScroller.

cambo list with multiple choice

2007-08-27 Thread lmk
helloo guys; Im struggled to find a useful JSF component that looks like a cambo but with a multiple choice possibility; the myfaces or tomawahk selectManyListbox can' be rendered as well as a cambo list.. Im using myfaces,facelets,rich faces and rcFaces.. do you have any solution for select

[Tobago] How to change the order of the columns of a sheet?

2007-08-27 Thread Helmut Swaczinna
Hi, I want to change the order of the columns of a sheet programmaticly before the sheet is rendered the first time. I can't do this in the setter method for the sheet binding because the columns don't exist when the setter for the binding is called the first time. I dont't want to generate

Re: [Trinidad] Understanding Trinidad Skinning?

2007-08-27 Thread Simon Lessard
Hello Andrew, Disabling compression does just that... .af_inputText_content is very readable imho. the underscore after af is always coming from | while all other underscores were translated from ::, also you can always remove the dot if the generated selector starts with .af_. So,

kein Betreff

2007-08-27 Thread Matthias Imhof
thank for your response. I want to highlight one of the option in a listbox. so I have to set the style explicitly to one SelectItem, but the class doesn't provide a method for that. do I have to write my own renderer for that ? greetings matze Settting the style (styleClass or style

Problem with class loading and forceId for dataList

2007-08-27 Thread Umar Zubair
I have included following jar files in my WEB-INF/lib folder Jsf-api, jsf-impl, myfaces-api, myfaces-impl and tomawahk. I have a linux box with two tomcat instances using same jdk. Even tomcat instance version is same. For one tomcat, application is running perfect but for other instance on

Problem with class loading and forceId for dataList

2007-08-27 Thread Umar Zubair
I have included following jar files in my WEB-INF/lib folder Jsf-api, jsf-impl, myfaces-api, myfaces-impl and tomawahk. I have a linux box with two tomcat instances using same jdk. Even tomcat instance version is same. For one tomcat, application is running perfect but for other instance on

Re: [Trinidad] Understanding Trinidad Skinning?

2007-08-27 Thread Petr Kotek
Hello Andrew, I am using also debug-outputtrue/debug-output in trinidad-config.xml But I am not sure if this is responsible to decrypt css style names ... Regards, Peter Simon Lessard wrote: Hello Andrew, Disabling compression does just that... .af_inputText_content is very readable imho.

Dynamic tabs in panelTabbedPane

2007-08-27 Thread geirgp
Hi, Is it possible for the panelTabbedPane to iterate over a java.util.List and create one tab for each entry in the list? I tried enclosing the panelTabs in a dataList (see below) but then no tabs were created and all information from all objects in the list were printed on the same panel.

ForceId=true not working continuously on one page

2007-08-27 Thread Umar Zubair
Even forceid=true is not working for each second click. I just did following change in forceId.jsp page included in myfaces-example-simple-1.1.6. But it is not working t:dataList layout=unorderedList value=#{forceIdBean.choices} var=choice id=testId forceId=true t:commandLink

Re: Link to a new site

2007-08-27 Thread Bruno Aranda
Welcome Wolfgang, One of the features of the tree2 model is that you can extend its model objects to accommodate the tree to your needs. For example, you can have a specific extension of TreeNodeBase that contains an action method for navigation: public class TreeNodeNavigation extends

Re: cambo list with multiple choice

2007-08-27 Thread Bruno Aranda
What about the standard h:selectManyMenu? Cheers, Bruno On 27/08/07, lmk [EMAIL PROTECTED] wrote: helloo guys; Im struggled to find a useful JSF component that looks like a cambo but with a multiple choice possibility; the myfaces or tomawahk selectManyListbox can' be rendered as well as

Re: ForceId=true not working continuously on one page

2007-08-27 Thread David Delbecq
Umar Zubair a écrit : Even forceid=true is not working for each second click. I just did following change in forceId.jsp page included in myfaces-example-simple-1.1.6. But it is not working t:dataList layout=unorderedList value=#{forceIdBean.choices} var=choice id=testId forceId=true

Re: cambo list with multiple choice

2007-08-27 Thread lmk
the standard selectManyMenu render is not like a cambo list.. see the render ont the right selectManyMenu, on the left selectManyListBox http://www.nabble.com/file/p12350965/debug.jpg Bruno Aranda wrote: What about the standard h:selectManyMenu? Cheers, Bruno On 27/08/07, lmk

Re: Integrate AjaxAnywhere with Trinidad Poll

2007-08-27 Thread Andrew Robinson
Why use AA with Trinidad. AA doesn't give you any functionality that Trinidad already has. My suggestion is to definitely stop using AA. On 8/26/07, pdt_p [EMAIL PROTECTED] wrote: Hi guys, I just wonder is there anyone has successfully integrate AjaxAnywhere with Trinidad poll element? I

Re: [Trinidad] Understanding Trinidad Skinning?

2007-08-27 Thread Andrew Robinson
yes, I also have the debug-output set to true in my trinidad-config.xml. But I am still getting the .x6v type of CSS styles with org.apache.myfaces.trinidadinternal.DISABLE_CONTENT_COMPRESSION set to true in the web.xml FYI, this is version 1.0.2 that I am using On 8/27/07, Petr Kotek [EMAIL

Re: cambo list with multiple choice

2007-08-27 Thread Bruno Aranda
Sorry, then I do not know what a cambo list is. I was thinking that you were refering to a combo list, which for me is what the selectManyMenu does - a drop down list that allows multiple selection. Can you explain what a cambo list is? Cheers, Bruno On 27/08/07, lmk [EMAIL PROTECTED] wrote:

Re: [Trinidad] Understanding Trinidad Skinning?

2007-08-27 Thread Andrew Robinson
As I mentioned, disabling the compression did not work. As you can see from my post, I am getting CSS styles like .x6v. On 8/27/07, Simon Lessard [EMAIL PROTECTED] wrote: Hello Andrew, Disabling compression does just that... .af_inputText_content is very readable imho. the underscore after af

Re: cambo list with multiple choice

2007-08-27 Thread lmk
sorry i talk about combo list .. I'd like to use standard components but i dont have the render that i want.. with h:selectManyMenu/ i dont get a select box but thing like text area with values to select.. Bruno Aranda wrote: Sorry, then I do not know what a cambo list is. I was

Re: cambo list with multiple choice

2007-08-27 Thread Andrew Robinson
h:selectOneMenu / On 8/27/07, lmk [EMAIL PROTECTED] wrote: sorry i talk about combo list .. I'd like to use standard components but i dont have the render that i want.. with h:selectManyMenu/ i dont get a select box but thing like text area with values to select.. Bruno Aranda

Re: cambo list with multiple choice

2007-08-27 Thread lmk
But I'd like to a get multiple select .. Andrew Robinson-5 wrote: h:selectOneMenu / On 8/27/07, lmk [EMAIL PROTECTED] wrote: sorry i talk about combo list .. I'd like to use standard components but i dont have the render that i want.. with h:selectManyMenu/ i dont get a select

Re: cambo list with multiple choice

2007-08-27 Thread Andrew Robinson
That is what h:selectManyMenu is. What HTML control are you trying to produce? A select box with multiple selection enabled is just a control with a border with one line per option tag, so it looks like a text area. On 8/27/07, lmk [EMAIL PROTECTED] wrote: But I'd like to a get multiple

Re: [Trinidad] Understanding Trinidad Skinning?

2007-08-27 Thread Simon Lessard
Hello Andrew, It works perfectly fine for me ... What container are you using? Is it possible that's a very strange container that isn't greedy at all about trimming white space and that you configured your web.xml the following way? context-param param-name

Re: [Trinidad] Understanding Trinidad Skinning?

2007-08-27 Thread Andrew Robinson
Yes, I stepped through the code and saw that it checked the parameter fine. The thing is that it is checked in SkinImpl.java but it doesn't seem to have had any affect on FileSystemStyleCache._getShortStyleClassMap which is what is creating the .x* type of class names. With that said, some class

Re: cambo list with multiple choice

2007-08-27 Thread lmk
ok but i have a long list, and it's not eazy to have all choices..i thinks that it exists a select box like h:selectOneMenu/ with possibility to selet many items with the CTRL key.. Andrew Robinson-5 wrote: That is what h:selectManyMenu is. What HTML control are you trying to produce?

Re: [Trinidad] Understanding Trinidad Skinning?

2007-08-27 Thread Scott O'Bryan
Andrew, Could it also be possible that your stylesheet is cached? Try clearing you cache. This works for me as well. Scott Simon Lessard wrote: Hello Andrew, It works perfectly fine for me ... What container are you using? Is it possible that's a very strange container that isn't greedy

Re: cambo list with multiple choice

2007-08-27 Thread Andrew Robinson
Yes, that is h:selectManyMenu / The HTML control is: select size=5 multiple=true option value=11/option /select the size tells the browser how many options should be visible at one time. So in this case, 5 will be displayed, and if there are more than 5, a scroll bar will be used. A combo

Re: Dynamic tabs in panelTabbedPane

2007-08-27 Thread Shane Petroff
I don't know if it is doable with the declarative syntax via jsp/facelets, but it would be easy to use a parent panel's binding, then build your tabs in java code. Shane geirgp wrote: Hi, Is it possible for the panelTabbedPane to iterate over a java.util.List and create one tab for each

Re: [Trinidad] Understanding Trinidad Skinning?

2007-08-27 Thread Andrew Robinson
Stopped tomcat (version 6 btw), cleaned out the work directory completely and the temp directory, ran an mvn clean on my project and re-deployment my application, and am still getting the shortened class names. I checked /tmp also and didn't see any files there. Is there anywhere else I should be

Re: cambo list with multiple choice

2007-08-27 Thread lmk
it's weird!! here the code i use: h:selectManyMenu value=#{queryBean.test} f:selectItem itemLabel=allo itemValue=allo/ f:selectItem itemLabel=ballo itemValue=ballo/ f:selectItem itemLabel=allo itemValue=allo/

tomahawk panelTabbedPane with multiple dataTable and dataScroller

2007-08-27 Thread �rico
I have a panelTabbedPane and 4 panelTabs declared int it : t:panelTab id=tab1 label=Tab1 rendered=true ui:insert name=sub1 ui:include src=tab1.xhtml / /ui:insert /t:panelTab ... In all my four tabs I would like to use dataTable and dataScroller It works ok for the dataTable in my first tab

Re: cambo list with multiple choice

2007-08-27 Thread Andrew Robinson
That looks right. If you want it to look better, try: h:selectManyMenu value=#{queryBean.test} style=width: 150px; height: 150px; ... Modify to get the effect you want -Andrew On 8/27/07, lmk [EMAIL PROTECTED] wrote: it's weird!! here the code i use: h:selectManyMenu

Re: [Trinidad] Understanding Trinidad Skinning?

2007-08-27 Thread Scott O'Bryan
Your browser cache. I must say that I've been trying this on the Trinidad 1.2 branch and I know it works there. I havn't used 1.1 in a while so it's possible something might be broken.. Scott Andrew Robinson wrote: Stopped tomcat (version 6 btw), cleaned out the work directory completely

Re: [Trinidad] Understanding Trinidad Skinning?

2007-08-27 Thread Andrew Robinson
Since I stepped through the code in the server, I can see that the short names are in that map (FileSystemStyleCache._getShortStyleClassMap). Besides, I can see all my changes to the skin reflected in the CSS on the client, so I know it is not a client side cache issue. Here is the contents of

Re: Integrate AjaxAnywhere with Trinidad Poll

2007-08-27 Thread Scott O'Bryan
Yeah, I totally agree with this. Having 2 js libraries interact with the XMLHttpRequest is bound to cause some problems. I imagine that the issue your facing is that AA's AJAX implementation is conflicting with Trinidad's AJAX implementation. Either way, there should be no reason to use AA

@PostConstruct - managed properties not set first

2007-08-27 Thread mraible
I'm trying to use @PostConstruct with MyFaces 1.2.0 as described by Jacob Hookom: http://weblogs.java.net/blog/jhook/archive/2007/05/jsf_12_ri_backi.html I added the javax.annotation dependency to my pom.xml: dependency groupIdjavax.annotation/groupId

Re: Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-08-27 Thread mraible
Werner - do you have an example of initializing a FacesContext in a JUnit Test? Thanks, Matt Werner Punz-2 wrote: Ok Matt I ran into a similar problem in a testmigration of an old project to myfaces 1.2. Following, make sure that you are on a current container version implementing

RE: [Trinidad] Upgrading to 1.0.2

2007-08-27 Thread Perkins, Nate-P63196
Can this be expected in 1.0.3? Nate Perkins 480-441-3667 [EMAIL PROTECTED] This email message is for the sole use of the intended recipient(s) and may contain GDC4S confidential or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not

Re: Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-08-27 Thread Matthias Wessendorf
see http://svn.apache.org/viewvc/myfaces/core/branches/1_2_1/impl/src/test/java/org/apache/myfaces/FacesTestCase.java?revision=555932view=markup or, using Shale Tiger (MockFacesContext12):

Re: Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-08-27 Thread mraible
Thanks Matthias. Since I sent this message, I dug into MyFaces test tree and found you were using AbstractJsfTestCase. So I started to play with it and got everything passing. Now I need to create a version that subclasses Spring's AbstractTransactionalDataSourceSpringContextTests so I can get

Re: Russian characters of a filename in the dialogue to open or to save the file, turn to hieroglyphs. (tomcat apache Myfaces)

2007-08-27 Thread David Delbecq
Здравствуйте Владимир! did you try response.setContentType(application/bin; charset=utf-8); ? The main problem is that http header field value only accept brute ISO-8859-1, which does not contains cyrilic i think. According to http specification, it MAY contain characters from character sets

[Trinidad] panelLabelAndMessage doesn't render message?

2007-08-27 Thread Andrew Robinson
I presume this is a bug, but wanted to make sure before reporting it. Code from PanelLabelAndMessageRenderer in 1.0.2: @Override protected boolean hasMessage( FacesContextcontext, RenderingContext arc, UIComponent component, FacesBean bean) {

Re: Myfaces 1.1.5 and JSTL 1.1.0

2007-08-27 Thread Francisco Passos
Thank you for clearing this up for me. Is it part of the plan to make these situations work? Or are they structural limitations with no workaround? On 8/25/07, simon [EMAIL PROTECTED] wrote: On Fri, 2007-08-24 at 10:12 +0100, Francisco Passos wrote: Good day! I know JSTL is more fully

Re: Russian characters of a filename in the dialogue to open or to save the file, turn to hieroglyphs. (tomcat apache Myfaces)

2007-08-27 Thread Volker Weber
Hi, to get the correct encoded filename i do this: String encoding = request.getCharacterEncoding(); if (encoding == null) { encoding = UTF-8; } String fileName = new String(attachment.getName().getBytes(), encoding); Regards, Volker 2007/8/25, Владимир

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

2007-08-27 Thread Andrew Robinson
I have a login form with a login command link. The form is a panelFormLayout with panelLabelAndMessage components with inputText components (username and password). I have: tr:panelFormLayout partialTriggers=login ... f:facet name=footer tr:group tr:commandLink id=login

HtmlResponseWriterImpl: HTML nesting warning on closing span

2007-08-27 Thread mraible
I have a custom PanelGrid component and for some reason when I use h:panelGroup, it spits out the following warning: WARN [btpool0-1] HtmlResponseWriterImpl.endElement(234) | HTML nesting warning on closing span: element input rendered by component : {Component-Path : [Class:

Re: @PostConstruct - managed properties not set first

2007-08-27 Thread mraible
Is there a working example that uses @PostConstruct I can look at? Google doesn't seem to help much on this one. A bunch of folks saying it works, but no proof. ;-) Thanks, Matt mraible wrote: I'm trying to use @PostConstruct with MyFaces 1.2.0 as described by Jacob Hookom:

Re: HtmlResponseWriterImpl: HTML nesting warning on closing span

2007-08-27 Thread mraible
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 by component : {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /userForm.xhtml][Class:

Re: [Fwd: Re: [Fwd: Re: [Trinidad] XMLMenuModel bug]]

2007-08-27 Thread Luka Surija
I think that you didn't read carefully my first post. Maybe I give you to little information. Here are some additional infos: If I call my action by tr:commandButton everything works (navigation + internal code execution). It doesn't work only in XMLMenuModel. Of course I've setup my

[Trinidad] Howto enable scollbars on tr:table

2007-08-27 Thread Christian Klocker
actually i simple use a css-style like (height:400px;overflow:auto) to get a vertical scrollbar on tr:table. the problem withit is, that now the header is also scrolling ... at http://www.oracle.com/technology/products/adf/adffaces/11/doc/multiproject/adf-richclient-api/enhanced-tagdoc.html i

Re: Integrate AjaxAnywhere with Trinidad Poll

2007-08-27 Thread pdt_p
Hi guys, Thank you for the suggestion. the reason I am using AA with Trinidad because Tomahawk Tree2. I have to expand or collapse the tree without need reloading the page but only the Tree2 zone. As you guys said that there should be no reason to use AA if I am using Trinidad. Please suggest

Re: Integrate AjaxAnywhere with Trinidad Poll

2007-08-27 Thread Andrew Robinson
Why not switch from tree2 to tr:navigationTree? Also Trinidad is a full AJAX library, you do not need A4J or AA (I have used all three, and the Trinidad one is flexible enough for me). -Andrew On 8/27/07, pdt_p [EMAIL PROTECTED] wrote: Hi guys, Thank you for the suggestion. the reason I am

Re: [Trinidad] panelLabelAndMessage doesn't render message?

2007-08-27 Thread Adam Winer
Huh. That's WEIRD. -- Adam On 8/27/07, Andrew Robinson [EMAIL PROTECTED] wrote: I presume this is a bug, but wanted to make sure before reporting it. Code from PanelLabelAndMessageRenderer in 1.0.2: @Override protected boolean hasMessage( FacesContextcontext,

Re: [Trinidad] Upgrading to 1.0.2

2007-08-27 Thread Adam Winer
A JIRA issue + a patch would make it more likely. :) -- Adam On 8/27/07, Perkins, Nate-P63196 [EMAIL PROTECTED] wrote: Can this be expected in 1.0.3? Nate Perkins 480-441-3667 [EMAIL PROTECTED] This email message is for the sole use of the intended recipient(s) and may contain GDC4S

Search Highlighting

2007-08-27 Thread kewldude
I know this is a little bit off topic here, but I need to ask it here because I'm using MyFaces in this project, so here it goes... I need to present a dataTable that represents search results coming from a search query (query of books, articles,documents etc. ). Lets say I have 4 columns to