Re: WIKI on Trinidad maven-faces-plugin

2007-09-27 Thread Matthias Wessendorf
cool ! On 9/26/07, Andrew Robinson [EMAIL PROTECTED] wrote: Okay, I'm all WIKI'd out for a while. I just posted a new article on the MyFaces WIKI that is a getting started guide for using the Trinidad 1.2.3 version of the maven-faces-plugin with JSF 1.1 and Facelets 1.1. Tiny URL:

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

2007-09-27 Thread Matthias Wessendorf
Uh, oh, I just realized that the fix is in 1.2 version only, but I had to switch to JSF 1.1 because I am stuck on Tomcat 5.5. Will ask at java.net if the fix can be backported to 1.1. Or maybe it is possible to run JSF 1.2 on an older Tomcat if I am using facelets instead of JSP

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

2007-09-27 Thread Stephen Friedrich
to JSF RI before going live with my app, because server-side state-saving is broken is there an issue for it already ? Now there is one: https://issues.apache.org/jira/browse/MYFACES-1733 I send an e-mail to this list about two weeks ago, but never got any response, so I was discouraged to

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

2007-09-27 Thread Matthias Wessendorf
On 9/27/07, Stephen Friedrich [EMAIL PROTECTED] wrote: to JSF RI before going live with my app, because server-side state-saving is broken is there an issue for it already ? Now there is one: https://issues.apache.org/jira/browse/MYFACES-1733 thanks! I send an e-mail to this list

[Trinidad] tree component - how to open a node programmatically on the Java side?

2007-09-27 Thread wolfgang . toepfer
Hi, Naively I followed the instructions on building a tree i.e. sth. like * Example: Given the following class: * pre * public class Person * { *public Person(String name) *{ * _name = name; *} * *public String getName() *{ * return _name; *} *

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

2007-09-27 Thread Stephen Friedrich
Sure enough, and in general this list is very helpful. It was mostly my frustration that got me agitated because _each_ framework I turned to had at least one bug that caused interoperability issues and several others bugs that I had to work around. Also I was not that familiar with all the

RE: panelNavigation2: Old issue...multiple entries on postback, if STATE_SAVING_METHOD=client

2007-09-27 Thread Drinkwater, GJ \(Glen\)
Hi I have recently upgraded to tomahawk 1.6 and I am using glassfish v2, and in v2 I have found I need to put the h:form around my t:panelNavigation2 to make this work, previously I did not with gfv1. Since this change, the state is not saved for me either, with client or server!? Again the same

Re: [tobago] JSTL problem

2007-09-27 Thread Zied Hamdi
Hi again, So to answer to people who could encounter the same problem as me: facelets is bundled with its ows JSTL implementation (you were right Volker ;-) that has nothing to do with the standard one except that it copies its syntax:

Re: [tobago] JSTL problem

2007-09-27 Thread Zied Hamdi
Sorry erratum, The namespace used by facelets jstl is http://java.sun.com/jstl/core and not http://java.sun.com/jsp/jstl/core that was the problem. Too much noise for nothing. Regards, Zied 2007/9/27, Zied Hamdi [EMAIL PROTECTED]: Hi again, So to answer to people who could encounter the

Re: General JSF Question regarding duplicate component ID

2007-09-27 Thread Martin Marinschek
Hi CD, Volker, in MyFaces this isn't necessary anymore - and hasn't been for over a year. If you are using Facelets, though - there is a bug in Facelets with Facets handling (so with unique ids of components in Facets), which has only been resolved after the last production release (so 1.11.

Re: error page not working in MF 1.2?

2007-09-27 Thread Martin Marinschek
Hi Piotr, can you please open an issue, and attach a small sample app? regards, Martin On 9/27/07, Piotr [EMAIL PROTECTED] wrote: Hi users, I have upgraded recently MF to 1.2 version and I'm facing strange situation where in case of error with 500 code instead of my custom error page

RE: Exadel with Trinidad?

2007-09-27 Thread mike . sauer
There was nothing in particular. I was trying to see what my options were regarding using various component libraries. I like what I see in Trinidad and I especially like what I see in the upcoming Rich Client Components donated from Oracle. But not knowing when those will be available I

Perfomance problem with JSF

2007-09-27 Thread Angel Miralles Arevalo
Hi everybody, I have a perfomance problem with JSF. I have a java arraList attribute. This attribute have getter and setter methods. It is used to store LDAP users, so I have to access LDAP in getter method. Because of the lifecycle the getter is invoked twice, so LDAP access is twice too. The

Re: Perfomance problem with JSF

2007-09-27 Thread Adrian Mitev
When you load data from ldap cache it in the request, next time the getter is invoked check if this object exists in the request scope if it does, don't load it again. 2007/9/27, Angel Miralles Arevalo [EMAIL PROTECTED]: Hi everybody, I have a perfomance problem with JSF. I have a java arraList

Simple MyFaces and JDO example

2007-09-27 Thread Stephen More
Does anyone have a simple myFaces and JDO example ( without spring ) ? I have enhanced the object I wish to persist. But when I try to use that object as a backing bean I get: Exception sending context initialized event to listener instance of class

Re: Perfomance problem with JSF

2007-09-27 Thread Richard Yee
How are you using your LDAP ArrayList? Should you be using a Map instead? Is the getter/setter in a ManagedBean or somewhere else? Are you doing more in your getter than just returning an instance variable? Angel Miralles Arevalo wrote: Hi everybody, I have a perfomance problem with JSF. I

Re: Simple MyFaces and JDO example

2007-09-27 Thread Richard Yee
Can you elaborate more on how you have 'enhanced' the object. You shouldn't really be using a Model object as a view object(backing bean). _Richard Stephen More wrote: Does anyone have a simple myFaces and JDO example ( without spring ) ? I have enhanced the object I wish to persist. But

RE: Perfomance problem with JSF

2007-09-27 Thread jkvandel
Putting logic (especially expensive database or LDAP calls) inside a getter method is a bad practice. Everytime I do that, I run into the same problems as you do. An option can be something like this: class MyRequestBean { private List list; public List getList() { if

Re: Simple MyFaces and JDO example

2007-09-27 Thread Stephen More
Classes need to be enhanced according to a JDO metadata specification before they are used in a JDO environment. I used the jpox-maven-plugin to bytecode enhance my model objects. Why shouldn't you use a model object as a backing bean ? A User model object will have: getFirstname

Re: Perfomance problem with JSF

2007-09-27 Thread Angel Miralles Arevalo
I forget about t:dataTable datascroller. I know during request lyfecycle first time getter method is invoked, some internal datascroller variables are calculated, for example: pageIndex, pageCount, in order to paginate. So , I wonder if it is possible to alter request lyfecycle. I tried it

Re: Perfomance problem with JSF

2007-09-27 Thread Angel Miralles Arevalo
Well I'm using an arrayList to charge a t:dataTable uicomponet. Here is my code, sorry about not sending it before: Here es the managed-bean: public List getUserList() { // Service Locator instance IServiceLocator iSL = ServiceLocator.getInstance().getIServiceLocator(); try

[Trinidad] inputText validation.

2007-09-27 Thread Darren McEntee
Hi, I have a tr:inputText field, which can only be numeric and max 7 in length, and a required field: tr:inputText maximumLength=7 label=#{bundle.test} required=true value=#{bean.test} tr:convertNumber type=number/ /tr:inputText I had a tr:resetButton to reset values entered, but

DataTable not render complete after Submit

2007-09-27 Thread Michael Vorschutz
Hi All, I have a strange Problem with the dataTable Component. I have a facelets side with nested dataTable. In the first Table I have a commandLink which sets a editable attribute to true. Then the table renders inputText Fields. Beyond the row is a new dataTable which renders also inputText

Re: [Trinidad] inputText validation.

2007-09-27 Thread David Uebelacker
Hi, you can add immediate=true to your tr:commandButton. That's the way i solved that problem... David Hi, I have a tr:inputText field, which can only be numeric and max 7 in length, and a required field: tr:inputText maximumLength=7 label=#{bundle.test} required=true

[a4j] Combine commandButton with link

2007-09-27 Thread Wolfgang
Hi, is there a possibility to combine the a4j:commandButton with the a4j:commandLink? So if I click on the button a new jsf site will be opened? Cheers, Wolfgang

Re: help, with ppr and multiple selectonemenu nested

2007-09-27 Thread Ernst Fastl
Generally your code looks fine as far as I can see. 2 questions 1) is the third panelGroup rendered from the beginning? 2) which version of the tomahawk-sandbox are you using? kind regards Ernst On 9/26/07, alvaro tovar [EMAIL PROTECTED] wrote: hi all, i can't make this, if some one have a

Re: help, with ppr and multiple selectonemenu nested

2007-09-27 Thread alvaro tovar
hello, thaks, i am using myfaces, tomahok and sandbox 1.5, i will look the code, i can´t remenber if is there a panel grid containing all, but is a to rare this, unmmm, i am loking what hapend, maybe is because i am using the popup of myfaces for the selectonemenu but maybe is other problem,

[Trinidad] tr:iterator

2007-09-27 Thread Francisco Passos
Good afternoon! I'm using tr:iterator to present various commandLinks on a page. The problem is: they are always duplicated. I've checked and the list on the bean only has 2 elements. However 4 links are generated. Here's the xhtml: tr:iterator id=tabber value=#{fichaBean.gruposAtributos}

[Trinidad] Are you using Trinidad ?

2007-09-27 Thread Matthias Wessendorf
Hi, are you using Apache MyFaces Trinidad ? Please add your company to this list, if not already listed. http://wiki.apache.org/myfaces/Companies_using_Trinidad Thanks! Matthias -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail:

Are you using MyFaces ?

2007-09-27 Thread Matthias Wessendorf
If your are using MyFaces (1.1.x || 1.2.x) and your company isn't listed here: http://wiki.apache.org/myfaces/Companies_Using_MyFaces Please add it! Thx, Matthias -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org

[Trinidad] support non-tree models in tr:breadCrumbs?

2007-09-27 Thread Andrew Robinson
I'm having a usage issue with tr:breadCrumbs. The breadCrumbs is build as a list of links, and as such I would expect it to be able to have a list as a data model. But this is not the case, it is using a TreeModel as the only supported object for the value property. This is all well and good if

Re: [jira] Commented: (MYFACES-1714) submitted (or local) values are not erasable after conversion or validation error

2007-09-27 Thread Matthias Wessendorf
I agree with volker. -Matthias On 9/25/07, Volker Weber [EMAIL PROTECTED] wrote: Hi, just to put my 2¢ here and to show the advantages of tobago ;-) In tobago the ajax requests are full integrated into the lifecycle. We did this by taking and extending a copy of the Lifecycle impl from

RE: [Trinidad] tr:iterator

2007-09-27 Thread William Gosse
I've seen tr:iterator not behave well when laying out commandLinks horizontally. I've had much better luck with the Facelets ui:repeat tag for this kind of stuff. Unfortunately it doesn't have a varStatus. From: Francisco Passos [mailto:[EMAIL PROTECTED]

Re: [Trinidad] tr:iterator

2007-09-27 Thread Martin Marinschek
May I also suggest to look at t:dataList? regards, Martin On 9/28/07, William Gosse [EMAIL PROTECTED] wrote: I've seen tr:iterator not behave well when laying out commandLinks horizontally. I've had much better luck with the Facelets ui:repeat tag for this kind of stuff. Unfortunately

Re: [Trinidad] support non-tree models in tr:breadCrumbs?

2007-09-27 Thread Andrew Robinson
For my own use I created a new MenuModel implementation that works on a data list. Each level only has one node. This way you can fool the breadCrumbs and other components that use menus to use a list instead. Here is my model that seems to be working for breadCrumbs at least. Do you think there

tomahawk datatable columnClasses

2007-09-27 Thread Lea Vogt
I tried setting my style classes in the attribute columnClasses of t:dataTable like this: t:dataTable id=myDetailDataTable var=row value=#{botDetailList.rows} cellspacing=0 columnClasses=columnUnlock,columnLock headerClass=headerClassTopLock rowClasses=rowOdd,rowEven styleClass=dataTable

RE: Simple MyFaces and JDO example

2007-09-27 Thread Yee, Richard K CTR DMDC
I wouldn't use a model object as a backing bean because the backing bean is intended to mediate between the model and view layers. You could compose the backing bean with the model object instead to achieve your objectives and also reduce the number of attributes/getters/setters in your backing

Page blank problem

2007-09-27 Thread Arvind Pandey
Hi all, I am using myfaces 1.1.5 with ajax4jsf on JBoss 4.x . Everything works fine if we have one GUI connected to server. But with several GUIs (I have tested for 12 GUIs) connected to server, few GUIs go blank. May be due to Ajax call it goes blank, but I am not sure. can

JSF EL collection size + message for null table + if condition in EL

2007-09-27 Thread Anton Gavazuk
Hello all! I suspect I am not first who ask this but is there way to determine size of collection in JSF EL (MyFaces 1.1.5)? How to implement condition statements in JSF EL? I now that JSTL tags using are prohibited in JSF pages (but c:choose is working well :))... And some months age I saw