Re: Switching from RI to myfaces...

2006-04-26 Thread Dennis Byrne
Somewhere in an ArrayList there is an object that is not serializable. When you went from RO to MyFaces, did you also go from server side saving to client? Another possible answer to your problem would be to set the following context parameter to false:

HTMLOutputFormat

2006-04-26 Thread ravikumar_s
Hi All, I wnet through Using MessageBundle through HTMLOutputFormat ( h:outputformat) . But kind of not agree why the implementation class is HTMLOutputFormat. Do we have any other class representing the behaviour ? View this message in context: HTMLOutputFormat Sent from the MyFaces - Users

Re: Switching from RI to myfaces...

2006-04-26 Thread Bjørn T Johansen
No, still using server side saving.. But setting org.apache.myfaces.SERIALIZE_STATE_IN_SESSION to false solved this exception problem but now I get another problem... I store an object in the session scope when I login, but when I try to get this object now, this object is now null.. Do I need

JSF Client Side Validators Reloaded

2006-04-26 Thread Cagatay Civici
Hi,Client side validators library is released at jsf-comp. Current version is 0.9.0.More info about the features can be reached at; http://www.jroller.com/page/cagataycivici?entry=jsf_client_side_validators_reloadedI'll be glad to receive feedback.Regards,Cagatay,

Re: AW: Re: Datatable and Request scope

2006-04-26 Thread Werner Punz
[EMAIL PROTECTED] schrieb: Hi Werner! Thx for the link, this sounds quite easy... Is this everything I have to implement? No changes in the jsf pages? The data table accepts a datamodel parameter you have to use that one for your datamodel but you have set that one on the list. besides

Re: Sheet - HowTo

2006-04-26 Thread Nils Drews
Thank you very much. I started with a standrad jsf-page and tried to convert it to tobago, but i didn't relaize, that there have to be changes in the web.xml too. I only added tobago-config.xml and thought everything is ok now!! Another question: how do i manage it to get a box or smth else

Re: Switching from RI to myfaces...

2006-04-26 Thread Matthias Wessendorf
can you post web.xml ? On 4/26/06, Bjørn T Johansen [EMAIL PROTECTED] wrote: No, still using server side saving.. But setting org.apache.myfaces.SERIALIZE_STATE_IN_SESSION to false solved this exception problem but now I get another problem... I store an object in the session scope when I

Re: Sheet - HowTo

2006-04-26 Thread Arvid Hülsebus
Another question: how do i manage it to get a box or smth else centered on the page. I'm thinking of a Login/Password Box simply centered on the page A simple login page could look like this: f:view tc:page label=${title} id=page width=1010 height=636 f:facet name=layout tc:gridLayout

Re: Switching from RI to myfaces...

2006-04-26 Thread Bjørn T Johansen
My web.xml looks like this..: ?xml version=1.0 encoding=UTF-8? web-app xmlns=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; version=2.4 descriptionNew

Re: Switching from RI to myfaces...

2006-04-26 Thread Matthias Wessendorf
Interesting, that you get the loaded twice notification, since your value is /WEB-INF/components-faces-config.xml and the FacesConfigurator compares to /WEB-INF/faces-config.xml instead -Matthias On 4/26/06, Bjørn T Johansen [EMAIL PROTECTED] wrote: My web.xml looks like this..: ?xml

Sponsoring

2006-04-26 Thread Frank Felix Debatin
Hi, please let me kindly know if this message is inappropriate for this thread. I'm not really familiar with commercial considerations and issues of open source, that's why I'm asking ... Let's say, a company may need a particular control or component that it does not find in the various JSF

NullPointerException when save serialize view

2006-04-26 Thread Alin Dosoniu
Hi, I have an application with tiles and use myfaces build yesterday from svn. I get these errors after visiting a number of pages from application (I think many times this number is equal with org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION from web.xml but not all the time is this value).

Re: Sponsoring

2006-04-26 Thread Martin Marinschek
Hi Frank, three options: 1) the component is developed in the MyFaces codebase by an ASF committer - no preconditions, a CLA by the company paying for the development would be good, but that depends on the contract between the ASF committer and the company and specifically, who has the

RE: ManagedBean Get and Set Values on Constructor

2006-04-26 Thread Uri Kalish
Thanks for the solution, but... If I understand correctly these are all solutions just to make the passing of the selected employee id parameter from the table on the employees list page to the employees list bean more elegant without using java script and hidden field. Still... Case 1. The

Re: ManagedBean Get and Set Values on Constructor

2006-04-26 Thread Matthias Wessendorf
well, t:updateActionListener allows you to pass objects, that's what I have done with it. ids are possible at all -Matthias On 4/26/06, Uri Kalish [EMAIL PROTECTED] wrote: Thanks for the solution, but... If I understand correctly these are all solutions just to make the passing of the

Re: Datatable and Request scope

2006-04-26 Thread Werner Punz
Travis Reeder schrieb: I've been thinking about this same issue lately, it seems to me that the only component that must stores it's data in the session is the DataTable (the DataModel may be lazy, but it still must be in the session) and other Collection based components like dataList. Other

RE: ManagedBean Get and Set Values on Constructor

2006-04-26 Thread Uri Kalish
But only to the first bean connected to the page. We need this data on the second bean. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Wednesday, April 26, 2006 12:43 PM To: MyFaces Discussion Subject: Re: ManagedBean Get and

Can t:dataTable support multi-merge table header?

2006-04-26 Thread Antonio Huang
Hi dears,    Can t:dataTable support multi-merge table header?For example: th class=standardTable_Header colspan=/thth class=standardTable_Header colspan=2    222/thth class=standardTable_Header colspan=1333/th/tr trth class=standardTable_HeaderEXP_CODE/thth

Getting the myFaces Sources for Dummies

2006-04-26 Thread FSchaare
Hi, i spent a few hours searching the mailing-list about this issue. It seems to be the No. 1 FAQ, so please help me (and a lot of others) out and answer this thread if you have some information. My Task: i need the myFaces (|| tomahawk || sandbox) sources. What i did: read the f** manual.

Re: ManagedBean Get and Set Values on Constructor

2006-04-26 Thread Matthias Wessendorf
have you used t:saveState/ or did I just get you wrong ? On 4/26/06, Uri Kalish [EMAIL PROTECTED] wrote: But only to the first bean connected to the page. We need this data on the second bean. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: Getting the myFaces Sources for Dummies

2006-04-26 Thread Nils Drews
1. Your not the only dummy: Yesterday I asked a question, which could simply be answered by looking at the sources more carefully. 2. After Maven finhes there are a few directories more in your tobago source directory: simply search for target or *SNAPSHOT* or *.jar. Each of the terms should work.

Cut off Boxes and Tables

2006-04-26 Thread Nils Drews
Hello, OK, now I'm getting a box, everything is rendered fine ... except for the only Problem, that each Box is cut off on the right side. It seems, that there are only a few px missing, but it's still annoying. Anyone got the same problem ?? Just another Dummy-Question!! Ciao, Nils Drews --

Myfaces 1.1.2 ClassCastException

2006-04-26 Thread mindu
hi,i update the libs in my project for myfaces core 1.1.2, tomahawk-1.1.2-SNAPSHOT.jar and tomahawk-sandbox-1.1.2-SNAPSHOT.jar.i'm having some errors with ClassCastException in HtmlDataTablesomebody has some idea ? thanksmindu-- Comunidade IRC de Usuários Java.#java -

Re: Myfaces 1.1.2 ClassCastException

2006-04-26 Thread Matthias Wessendorf
can you provide the stack trace? On 4/26/06, mindu [EMAIL PROTECTED] wrote: hi, i update the libs in my project for myfaces core 1.1.2, tomahawk-1.1.2-SNAPSHOT.jar and tomahawk-sandbox-1.1.2-SNAPSHOT.jar. i'm having some errors with ClassCastException in HtmlDataTable somebody has some

Re: Myfaces 1.1.2 ClassCastException

2006-04-26 Thread mindu
stack trace:java.lang.ClassCastException: javax.faces.component.html.HtmlDataTable at org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.renderRowStart(HtmlTableRenderer.java:148) at org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.encodeInnerHtml

Re: Myfaces 1.1.2 ClassCastException

2006-04-26 Thread Matthias Wessendorf
can you check against nightly build? HtmlTableRenderer has been modified. -Matthias On 4/26/06, mindu [EMAIL PROTECTED] wrote: stack trace: java.lang.ClassCastException: javax.faces.component.html.HtmlDataTable at

Re: Cut off Boxes and Tables

2006-04-26 Thread Volker Weber
Hi Niels, you still speaking about tobago? Please prefix tobago issues with '[tobago]' in the subject. could you please post the jsf code? And maybe a screenshot. Without more info my guess is a misconfiguration of the layout constraints. Regards, Volker Nils Drews wrote: Hello, OK,

Help me understand component lilfecycle please.

2006-04-26 Thread Neuman, Ben J., AM IRM
I'm hoping someone could tell me why the following happens: My UIComponent is 'bound' to a property on a managed bean, which is also a PhaseListener. In any (all) phases, I call myUIComponent.setRendered(false). When the appropriate view is first requested (via commandLink), the component is

Custom response writer

2006-04-26 Thread Alexey Maksimov
Hello I need to generate something like this: script var s; s = 'table'; s += 'trtdsome \string\/td/tr'; s += '/table'; /script Well, I can write my own custom 'script' tag. Is there any simple and correct way to generate that code with standard dataTable tag? Like supplying custom

DojoInserter component

2006-04-26 Thread Rafael Nami
Hi folks. I've read (don't remember where) that in sanbox is a component that uses Dojo. Werner, can you explain a little bit about this component (with a tiny example)? Best Regards, keep up theexcellent work

Re: DojoInserter component

2006-04-26 Thread Werner Punz
Rafael Nami schrieb: Hi folks. I've read (don't remember where) that in sanbox is a component that uses Dojo. Werner, can you explain a little bit about this component (with a tiny example)? There are a handful of components first of all for component hacking and quick results you have the

RE: ManagedBean Get and Set Values on Constructor

2006-04-26 Thread Uri Kalish
If you use save state to save the whole object it will require you to serialize your whole object which we don't like. If you use save state to save just the object id you still have a problem because you don't know when to load the object from the database on the second bean (employee details).

Re: Getting the myFaces Sources for Dummies

2006-04-26 Thread FSchaare
Hi, getting rid of the sublibse plugin was a good tip. With tortoisesvn, i was able to checkout the sources and build it like described in the Wiki. But whats next ? Maven has compiled the following jars: - myfaces-api-1.1.4-SNAPSHOT.jar - myfaces-shared-core-2.0.2-SNAPSHOT.jar -

Re: DojoInserter component

2006-04-26 Thread Rafael Nami
WoW lol!! Very very good stuff, folks. I'll try to get my brain work in this kinda thing now :). Thanks and Best Regards Rafael Mauricio Nami 2006/4/26, Matthias Wessendorf [EMAIL PROTECTED]: here are the exampleshttp://wuerg.kicks-ass.net:8080/myfaces-example-sandbox/home.jsf dojo is

selectListBox

2006-04-26 Thread sjarlier
Hi! Does somebody know if there is a way to display a list of String without selectItems. I do not want the user to select an item of this list, I just want to display it. It does not seem possible to use selectOneListBox without retrieving an item: h:selectOneListbox value=#{Class.list}

RE: selectListBox

2006-04-26 Thread Conway. Fintan \(IT Solutions\)
Hi Sophie, There is a 'disabled' attribute for the selectOneListbox. E.g. h:selectOneListbox value=#{Class.list} id=list disabled=true f:selectItems value=#{Class.item}/ /h:selectOneListbox There is also a 'disabledItem' attribute for f:selectItem E.g. h:selectOneListbox

Re: [tobago] Re: Cut off Boxes and Tables

2006-04-26 Thread Volker Weber
This looks like something with the theme configuration is wrong. Looks like layout calculating is done for speyside theme but rendering is in scarborough theme. I have no idea how this could be possible. Could you send me the war file to investigate this? Which tobago-theme-*.jar are in

Re: selectListBox

2006-04-26 Thread CD
Hi Sophie, You might also try the readonly attribute as well. On 4/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi!Does somebody know if there is a way to display a list of String withoutselectItems. I do not want the user to select an item of this list, I just want to display it.It does

RE: selectListBox

2006-04-26 Thread sjarlier
Thanks a lot!:) Sophie De: CD [mailto:[EMAIL PROTECTED] Envoyé: mercredi 26 avril 2006 16:51 À: MyFaces Discussion Objet: Re: selectListBox Hi Sophie, You might also try the readonly attribute as well. On 4/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: selectListBox

2006-04-26 Thread Mike Kienenberger
On 4/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Does somebody know if there is a way to display a list of String without selectItems. I do not want the user to select an item of this list, I just want to display it. Depending on how you want them displayed, you can also use t:dataList.

Re: Getting the myFaces Sources for Dummies

2006-04-26 Thread Mike Kienenberger
On 4/26/06, FSchaare [EMAIL PROTECTED] wrote: Whats´s next ? Let´s have a look in the Wiki. There is an article 'Building With Maven' which explains how to check out the sources and build it with maven. Sounds great and just three little steps to get through. Step1 - Get SVN Client: I´m

Re: Custom response writer

2006-04-26 Thread Mike Kienenberger
t:dataList allows you to interate through a set of values like dataTable. You're free to output (or not output) anything you like with each value. On 4/26/06, Alexey Maksimov [EMAIL PROTECTED] wrote: Hello I need to generate something like this: script var s; s = 'table'; s +=

error while resolving artifact xslt-plugin

2006-04-26 Thread Rogerio Pereira
Hi guys i got this error while maven was downloding the artifacts:Downloading: http://cvs.apache.org/maven-snapshot-repository/org/codehaus/mojo/xslt-maven-plugin/1.0-SNAPSHOT/xslt-maven-plugin-1.0-SNAPSHOT.pom[WARNING] Unable to get resource from repository apache-maven-snapshots (

Re: Sponsoring

2006-04-26 Thread Mike Kienenberger
On 4/26/06, Frank Felix Debatin [EMAIL PROTECTED] wrote: I'd also be interesting in whether there are contributions to Tomahawk, the sandbox, or others that have been developed in companies that have no open source business model, but instead a policy such as if you want to make it open

Re: Colons in component ids

2006-04-26 Thread Adam Winer
This isn't a very restrictive definition at all - if I want to release a component library, I shouldn't have to release two versions, one for JSF 1.1 and one for JSF 1.2; and developers moving to JSF 1.2 shouldn't be forced to wait until all their component providers have provided new versions.

Re: error while resolving artifact xslt-plugin

2006-04-26 Thread Rogerio Pereira
And with tobago too:Downloading: http://www.apache.org/dist/maven-repository//org/apache/maven/wagon/wagon-ssh-external/1.0-alpha-6/wagon-ssh-external-1.0-alpha-6.pom [INFO] [ERROR] BUILD ERROR[INFO]

TabbedPane selectedIndex not working.

2006-04-26 Thread Julian Ray
I'm having problems trying to get the tabbedPane to select the selectedIndex from a backing bean using a ValueBinding I have just downloaded and compliled the latest from the svn repository and am using Version Tomahawk 1.1.3, Myfaces 1.1.4 on Tomcat 5.15 Has anyone experience with

Re: error while resolving artifact xslt-plugin

2006-04-26 Thread Arvid Hülsebus
Hello, It looks like you have some problems with your network connection. You can navigate your browser to the location where Maven tries to locate the plugin in question: http://www.ibiblio.org/maven2/org/apache/maven/wagon/wagon-ssh-external/1.0-alpha-6/ The plugin is there. You can try to

Re: error while resolving artifact xslt-plugin

2006-04-26 Thread Rogerio Pereira
So i must add ibiblio repo here.

Re: error while resolving artifact xslt-plugin

2006-04-26 Thread Sean Schofield
Ahh this is because we dropped the atanion snapshot repo since this plugin has been finalized. The issue has already been resolved on the latest maven/shared/core branches and so will be fixed on the trunk as soon as I merge them down (probably tomorrow.) @Bernd: You want to address the tobago

Re: TabbedPane selectedIndex not working.

2006-04-26 Thread robinhoo
Hi Julian,you may fix this problem by doing the following:you will use tappedPane with the property selectedIndext:panelTabbedPane selectedIndex=#{sessionBean.selectedTabIndex} and in your Bean u will use this

Datascroller problem Myfaces/Tomahwak verion compatibility

2006-04-26 Thread Ajit Tripathi
Hi, I am using myfaces1.1.1 tomahawk libs 1.1.1 for my project. Using Datascroller component gives me a / by zero error. Had also ensured that my dataTable had the 'rows' attribute in it. I tried with updating the myfaces .jar to 1.1.2 and using the snapshot builds of tomahawk 1.1.2 as

TabbedPane selectedIndex not working.

2006-04-26 Thread Julian Ray
I'm having problems trying to get the tabbedPane to select the selectedIndex from a backing bean using a ValueBinding I have just downloaded and compliled the latest from the svn repository and am using Version Tomahawk 1.1.3, Myfaces 1.1.4 on Tomcat 5.15 Has anyone experience with

Re: error while resolving artifact xslt-plugin

2006-04-26 Thread Arvid Hülsebus
No, it's already configured... the URL http://repo1.maven.org/maven2 will redirect you to http://www.ibiblio.org/maven2/ So http://www.ibiblio.org/maven2/org/apache/maven/wagon/wagon-ssh-external/1.0-alpha-6/ is equivalent to

Re: t:tree2 id=eventTree reposition to the top

2006-04-26 Thread MYyfaces Chaminda Siyasin
HI All, I am using tree2 with server side functions.Can any one help me to solve this problem Regards, Chaminda -- View this message in context: http://www.nabble.com/%3Ct%3Atree2-id%3D%22eventTree%22-reposition-to-the-top-t1494057.html#a4109630 Sent from the MyFaces - Users forum at

attributes for dataTable's styleClass?

2006-04-26 Thread Jeff Bischoff
I realize that styleClass is a CSS class, but what are valid entries to describe a DataTable? Is there a resource somewhere detailing the valid attritubes for CSS that affects dataTable specifically? Searching the web for this information leads to confusion. We would like to remove the

Re: attributes for dataTable's styleClass?

2006-04-26 Thread Dennis Byrne
dataTable is rendered as an HTML table, so you will want to use Google to find out how you can manipulate table display w/ regular CSS. Dennis Byrne -Original Message- From: Jeff Bischoff [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 05:09 PM To: users@myfaces.apache.org

Component state management inside portlets

2006-04-26 Thread Marcio E Miranda
Hi, We have some custom JSF components in our project that save and restore state. The state management works fine if the components are used in a web application, but if they are used inside a portlet, the save and restore methods are never called. Ive tried using the client and server

Re: attributes for dataTable's styleClass?

2006-04-26 Thread Matthias Wessendorf
Jeff- perhaps [1] is useful for you. -Matthias [1] http://www.exadel.com/tutorial/jsf/jsftags-guide.html On 4/26/06, Dennis Byrne [EMAIL PROTECTED] wrote: dataTable is rendered as an HTML table, so you will want to use Google to find out how you can manipulate table display w/ regular CSS.

RE: TabbedPane selectedIndex not working.

2006-04-26 Thread Julian Ray
Hi Ali Thanks for the note. Actually I am doing the equivalent of your code, however, it is getting the value back from the selectedIndex when the user clicks on a non-selected tab that I am having problems with. It seems that the tabbedPane is not setting the setSelectedIndex(Integer index)

RE: Component state management inside portlets

2006-04-26 Thread Marcio E Miranda
Forgot to mention that Im using MyFacesGenericPortlet as the JSF portlet implementation. Regards From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 26 de abril de 2006 18:56 To: MyFaces Discussion Subject: Component state management inside portlets Hi,

What to do when form depends on querystring params?

2006-04-26 Thread benjamin van der veen
Hello, I'm coming from a PHP background, and I've run into a wall with JSF. I know how I'd get around it with PHP or ASP.NET, but for JSF I'm stumped. Here's the scenario: I'm making a message board. It has multiple forum each of which has many topics, each of which has many posts. Very

Strings in Request Scope -- Data Scroller and Others

2006-04-26 Thread Julian Ray
So I have been struggling with this for a while now but it seems that the answer should be straight forward. The Tomahawk data scroller and other components place parameters such as pageIndex in request scope. I have been trying to access these by going through the variableResolver and have

Re: Strings in Request Scope -- Data Scroller and Others

2006-04-26 Thread Dennis Byrne
Perhaps you are looking for #{requestScope.pageIndex} or a component binding can help. For example, by setting the binding attribute to something like #{managedBean.dataScroller} , you can access the properties of the dataScroller component instance via value binding (which I think it what you

RE: Component state management inside portlets

2006-04-26 Thread Stan Silvert
I dont see how this is possible. The same LifeCycleImpl.response() is called whether in a portlet or a servlet. The MyFacesGenericPortlet doesnt have anything to do with calling StateHolder objects. Maybe you have StateHolder A that wraps StateHolder B. StateHolder A forgets to call

Re: error while resolving artifact xslt-plugin

2006-04-26 Thread Sean Schofield
The xslt ref is SNAPSHOT though and that was only on the antanion server. So that remains a problem AFAIK. Sean On 4/26/06, Arvid Hülsebus [EMAIL PROTECTED] wrote: No, it's already configured... the URL http://repo1.maven.org/maven2 will redirect you to http://www.ibiblio.org/maven2/ So

Re: Switching from RI to myfaces...

2006-04-26 Thread Bjørn T Johansen
No one knows why this happends? On Wed, 26 Apr 2006 08:25:49 +0200 Bjørn T Johansen [EMAIL PROTECTED] wrote: No, still using server side saving.. But setting org.apache.myfaces.SERIALIZE_STATE_IN_SESSION to false solved this exception problem but now I get another problem... I store an