Re: tobago extra component

2006-04-12 Thread Bernd Bohmann
Yes, there is some need for declaring visual text decoration and some other visual decoration. Please add an issue for this. After the 1.0.7 release we should discuss this. Regards Bernd Nazar Stasiv schrieb: Hi all, I need to manage t:link component text decoration. I have sheet

action can used when target other page,so it navigate itself.why???

2006-04-12 Thread 马东生
users: hello! i use tomcat5.5 and myfaces1.1 .one web page use FRAME, h:commandLink immediate=true actionListener=#{t.setNodeSelected} action=#{treeBaker.clickNode} target=other

Difference between javadoc and tomahawk.jar (t:panelNavigation2/)

2006-04-12 Thread Rudi Steiner
Hi all, I'm using the component t:panelNavigation2/ and my problem is, that in the newest jar-file from the myFaces-website some methods are not available which are listet in the javadoc and which are also used in the examples. Example: I would like to use the Method

Icefaces community edition and tomahawk

2006-04-12 Thread John Slave
Does icefaces and tomahawk components live together without problems? (Some with normal render and other ones with ajax render) Yours faithfully John Slave

Re: Improving AJAX support in MyFaces

2006-04-12 Thread Lisaa
Hi., I just came accross an AJAX oriented DWR (Direct Web Remoting) . Please take a look at the following pages if you are interested.. http://getahead.ltd.uk/dwr/overview/dwr JSF-Integration http://getahead.ltd.uk/dwr/server/jsf Just a few minutes back I got this info...I have to start my

Re: Newbie help - Java script to submit on accessing commandLink

2006-04-12 Thread Volker Weber
Hi Rajiv, Take a look into the generated html source if unclear about the generated id of the link. Have you done this? I don't have any experience with 'forceId' and i would disadvise to use it unless ther are no other ways to accomplish what you want. but your use of forceId is wrong,

RE: tag to truncate outputText?

2006-04-12 Thread Michael Heinen
Greg, Many thanks for your answer. This morning it is running and working perfectly. I assume that my tld file was not found also other tags were working well. BTW I use Tomcat 5.5.12. Maybe anybody is interested in this add-on for your TruncateConverter. When the text is truncated I display

Column width and truncation in a dynamic datatable

2006-04-12 Thread Michael Heinen
Hi all, I have a dynamically configurable datatable. That means the user can select on a configuration screen which columns should be displayed in this datatable. This is all working fine with the t-columns tag. Now I have two requirements: a) calculate the width for each column

Re: Empty h:inputText field is being submitted with value - Is that right???

2006-04-12 Thread Rafael Nami
Thanks Mike, I've done a workaround quite similar using Reflection on my DAO base class to populate a Criteria Object with my filter. I think there's a more elegant way to do this using Hibernate's PropertyResolver, but I'll switch to this in the next refactoring. Best Regards Rafael Mauricio

RE: tag to truncate outputText?

2006-04-12 Thread Michael Heinen
Greg, Does the truncateOutput tag work with JSF EL? The following snippet causes a NullPointerException in the TruncateConverterTag at line 62, which is marked below because the Object o is always null. t:columns id=columns value=#{MyControllerBean.columnHeaders} var=columnHeader

Re: MyFaces, Tiles and Renaming Elements

2006-04-12 Thread Matthias Wessendorf
depends on that ID being unchanged. But, tiles changes it to content:selectTable as mike pointed out, this comes from JSF you may try the MyFaces' specific forceID. See [1] as an example (source code for the jsf page is visible) [1] http://www.irian.at/myfaces/forceId.jsf -Matthias

ADF + myfaces + Facelets not completely compatible?

2006-04-12 Thread Murray Brandon
I'm starting to come across some really serious showstoppers and I can't help think the versions of ADF faces/Myfaces/Tomahawk/Facelets I am using are totally incompatible with each other. Surely somebody out there has some ideas what I can try to fix this? Anyway, below is a list of just

Validation in valueChangeListener

2006-04-12 Thread Joerg Bredlau
Hello, I'm working on validation for my InputComponents. For each of the components I want individual messages if the field is empty. I know, thats impossible with the standard required-Validator. I tried out OptionalValidatorFramwork, but it doesn't work for me. Now I want to make the

Validation in valueChangeListener

2006-04-12 Thread Joerg Bredlau
Hello, I'm working on validation for my InputComponents. For each of the components I want individual messages if the field is empty. I know, thats impossible with the standard required-Validator. I tried out OptionalValidatorFramwork, but it doesn't work for me. Now I want to make the

Re: Validation in valueChangeListener

2006-04-12 Thread Volker Weber
Hi Joerg, Joerg Bredlau wrote: Hello, I'm working on validation for my InputComponents. For each of the components I want individual messages if the field is empty. I know, thats impossible with the standard required-Validator. I tried out OptionalValidatorFramwork, but it doesn't work

outputLabel, accessibility and yellow text field

2006-04-12 Thread Dean Hiller
I have two text fields generated from MyFaces in IE. One is yellow and one is white in IE. In firefox, both are white. Does this have to do with accessibility? When I tab, I expected the yellow field to move from field to field but it did not. I look at the generated html from MyFaces

hibernate and myfaces...newb design question

2006-04-12 Thread Dean Hiller
I don't know if this is the best design, but I use the files AddChildForm.java ChildBean.java ParentBean.java My ChildBean and ParentBean are EJB3 objects(ie. hibernate if using that implementation). AddChildForm has a pulldown which lists all the parents and optionally a none in case it is

Re: dataScroller with newspaperTable?

2006-04-12 Thread Marcus Beyer
Marcus Beyer wrote: hello all, Is it possible to apply a dataScroller on a newspaperTable? I tried this with newspaperColumns=2 but got only one column. plase! no idea? thanx! Marcus

Tobago t:sheet and big string values

2006-04-12 Thread Nazar Stasiv
Hi all, There a t:sheet component with few columns. Items displayed in sheet have the details field, but it stretches height to value which is not visually pleasant. So I decided to have details displayed in a panel below t:sheet component. It works this way : click item in t:sheet and panel

Why SelectManyCheckBox does not render the VALUE attribute of the INPUT tag?

2006-04-12 Thread Cristofer Weber
I have two applications whith the same Tree2 model and same facets contents. Identical in all aspects. In the facet that represents the leaf nodes, I've included a SelectManyCheckBox with some options for each node. In the first app (without Struts Tiles) all INPUT tags have the VALUE attr

Re: Tobago t:sheet and big string values

2006-04-12 Thread Volker Weber
Hi Nazar, you can use a additional link or button in combination with javascript and a hidden input to make this work. e.g. -- begin jsp --- tc:script function showDetail(link) { var detailId = link.id.replace(/link$/, detail); // should give you the id of the

Re: enctype=multipart/form-data not persisting text fields back into my model.

2006-04-12 Thread Mike Kienenberger
On 4/11/06, Murray Brandon [EMAIL PROTECTED] wrote: However, if I change ONLY the form encoding type to be multipart/form-data, the bean.property never gets set. What gives? Do I have to do something special for multipart form submits? I don't know the answer to this, but do you have the

RE: IllegalStateException when rapidly clicking tree2 component in Jetspeed portlet

2006-04-12 Thread Stan Silvert
Title: IllegalStateException when rapidly clicking tree2 component in Jetspeed portlet I havent heard about this one. Can you try it on a different portal implementation? Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert From: Springer, Martin

Re: hibernate and myfaces...newb design question

2006-04-12 Thread Mike Kienenberger
On 4/12/06, Dean Hiller [EMAIL PROTECTED] wrote: unfortunately, when JSF/MyFaces calls AddChildForm.getChildBean().getParent(), that returns a ParentBean. I think JSF wants a String so it knows which item in the list is currently selected. It seems as if I can't just pass around objects. I

RE: tag to truncate outputText?

2006-04-12 Thread Lindholm, Greg
The value binding logic is taken right out of a book. I tested it getting the truncateAt position from a bundle and it worked fine. (Are you sure your #{columnHeader.truncateAtPosition} is returning a non-null?) Need to add a check for null coming back from the getValue(). I haven't done

Re: Validation in valueChangeListener

2006-04-12 Thread Mike Kienenberger
On 4/12/06, Joerg Bredlau [EMAIL PROTECTED] wrote: I'm working on validation for my InputComponents. For each of the components I want individual messages if the field is empty. Or is there another approach for validation with individual messages to empty fields? As of JSF 1.1, there is not

Re: tag to truncate outputText?

2006-04-12 Thread Mike Kienenberger
I think having a truncating converter in tomahawk would be worthwhile. You can open a JIRA issue and submit patches to make this happen, if you want.

Myfaces, Spring and Hibernate

2006-04-12 Thread Kranthi Parasu
Title: Myfaces, Spring and Hibernate Hello All, Iam currently in the process of evaluating Myfaces for my new project, all of our previous projects are Struts based. I have liked Myfaces so far but I am interested in an sample application involving Myfaces, spring and hibernate, I have

Re: Myfaces, Spring and Hibernate

2006-04-12 Thread Faisal Mahmoud
I haven't seen anything on the web that uses the MyFaces implementation of JSF, but I am currently working on a project that uses the Sun JSF RI, Spring, Hibernate (backed by Postgresql) running on Tomcat 5.0. JSF+Spring+Hibernate is a really great combination for my work so far. If you have any

AW: Myfaces, Spring and Hibernate

2006-04-12 Thread andreas.mitter
Title: Myfaces, Spring and Hibernate Hi, perhaps this helps you: http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-jsf.html At the bottom of the page you can download a sample application. It's not with Myfaces but with Suns JSF, but this shouldn't be a problem i think Regards, Andy

Why I cannot get the path of WEB-INF folder(or any file) on Sun Java System Application Server

2006-04-12 Thread Dudu
If I run on JDev embebbed server, the code below return the path right, like /d:/jdev/apps/ myapp/WEB-INF/But when I deploy the app on sun app server, the path returned is virtual, or wrong, I do not know. The path returned is /server/myapp/WEB-INF/I think there are a thing wrong inside the file

RE: Myfaces, Spring and Hibernate

2006-04-12 Thread Kranthi Parasu
Title: Myfaces, Spring and Hibernate Thanks Andy! I will cetainly take a look at this. Kranthi -From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Wednesday, April 12, 2006 1:20 PMTo: users@myfaces.apache.orgSubject: AW: Myfaces, Spring and Hibernate Hi, perhaps this helps

RE: Myfaces, Spring and Hibernate

2006-04-12 Thread Jeremy Sager
Title: Myfaces, Spring and Hibernate My company is doing the web client version of our flagship product with JSF+Spring+Hibernate and we definitely feel that it was the right choice. I obviously cant send you a copy of the app, but I can offer a testimonial. The Delegating Variable

The killer stack was RE: Myfaces, Spring and Hibernate

2006-04-12 Thread rhightower
Mega Ditto We also have done a lot with that combination. See http://www.thearcmind.com/confluence/display/SpribernateSF/Home for more details. However, Spring's JSF support is seriously lacking IMO. I found the DelegatingVariableResolver did not do enough (BTW you don't need

The killer stack was RE: Myfaces, Spring and Hibernate

2006-04-12 Thread rhightower
Mega Ditto We also have done a lot with that combination. See http://www.thearcmind.com/confluence/display/SpribernateSF/Home for more details. However, Spring's JSF support is seriously lacking IMO. I found the DelegatingVariableResolver did not do enough (BTW you don't need

RE: Myfaces, Spring and Hibernate

2006-04-12 Thread Lance Frohman
Title: Myfaces, Spring and Hibernate Try Appfuse https://appfuse.dev.java.net/ From: Kranthi Parasu [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 12, 2006 10:17 AMTo: 'MyFaces Discussion'Subject: Myfaces, Spring and Hibernate Hello All, Iam currently in the process of evaluating

Re: Problem with getDummyFormResponseWriter

2006-04-12 Thread udokrass
Hi, i have the same problem as Dudu had. I found that method in an old release of myfaces: 1.0.9 (sourcecode appends). Don't know why it was removed!?!?! Which component you used? I tried the graphicImageDynamic-tag and get the error. Greetz, Udo /* * Copyright 2004 The Apache Software

Wishlist for rendering

2006-04-12 Thread Rhys Parry
All, I am having a problem in achieving the behaviour I desire for rendering responses. I would like to, at PhaseId.RENDER_RESPONSE, iterate the component tree, and based on clientId setRendered(true | false). The problem is that I never get the component tree. It seems that the tree is

Re: ADF + myfaces + Facelets not completely compatible?

2006-04-12 Thread Jacob Hookom
I can't believe that you are getting duplicate Ids with and upgrade to MyFaces 1.1.3 The c:forEach varStatus produces a serializable object that gets captured within the expression assigned to the JSF component-- so it should still exist. Murray Brandon wrote: I'm starting to come across

Re: Validation in valueChangeListener

2006-04-12 Thread Joerg Bredlau
Sorry for double posting. I thought my mailprovider would have a problem ... On Wed, 12 Apr 2006, Joerg Bredlau wrote: Hello, I'm working on validation for my InputComponents. For each of the components I want individual messages if the field is empty. I know, thats impossible with the

JsCookMenu and CSS

2006-04-12 Thread benJsf
Hi, I've finally got the JsCookMenu working (tomahawk-1.1.2-SNAPSHOT), now I want to be able to use my own CSS, is there a way to this ? i've tried adding this at the top of my page, but it doesn't work : script src=../css/myTheme/theme.js type=text/javascript/script link

RE: JsCookMenu and CSS

2006-04-12 Thread Lindholm, Greg
Take a look at this thread http://thread.gmane.org/gmane.comp.jakarta.myfaces.user/16858/focus=1692 1 -Original Message- From: benJsf [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 12, 2006 2:33 PM To: users@myfaces.apache.org Subject: JsCookMenu and CSS Hi, I've finally got the

Re: File upload problem - setFile( ) never called, please help!

2006-04-12 Thread Mike Kienenberger
On 4/11/06, Murray Brandon [EMAIL PROTECTED] wrote: I added an h:messages/ tag and there are none - I haven't plugged in any validation yet anyway. I redid a clean example (ie. vanilla myfaces/tomahawk) to be sure I wasn't wasting your time. ;-) Murray, I know this has been mentioned to you

Do write methods in application scoped beans need to be syncronized?

2006-04-12 Thread Bjørn T Johansen
If I have an application scoped bean and methods that changes the state of this bean, does these methods need to be declared as syncronized? Regards, BTJ -- --- Bjørn T Johansen [EMAIL PROTECTED]

Re: Wishlist for rendering

2006-04-12 Thread Mike Kienenberger
I believe this is not possible under vanilla JSF 1.1. It's my understanding that the component tree is build as the components are rendered. Under JSF 1.2 as well as under JSF 1.1 + facelets, the component tree is build first, then the components are rendered. So it was a known design flaw of

RE: JsCookMenu and CSS

2006-04-12 Thread benJsf
thanks I think that'll fix my problem. -Ben -- View this message in context: http://www.nabble.com/JsCookMenu-and-CSS-t1439790.html#a3888663 Sent from the MyFaces - Users forum at Nabble.com.

Has the tobago uri changed again?

2006-04-12 Thread John
Now, the uri http://myfaces.apache.org/tobago/component results in a page notfound. John

Re: Has the tobago uri changed again?

2006-04-12 Thread Bernd Bohmann
The taglib uri has changed from http://www.atanion.com/tobago/component to http://myfaces.apache.org/tobago/component at 30.11.05. But we don't install the tld under this uri until now. Regards Bernd John schrieb: Now, the uri http://myfaces.apache.org/tobago/component results in a page

Re: File upload problem - setFile( ) never called, please help!

2006-04-12 Thread Matthias Wessendorf
Indeed, today I tested the MyFaces example because of your posts and it works fine for me, like expected. -Matthias On 4/12/06, Mike Kienenberger [EMAIL PROTECTED] wrote: On 4/11/06, Murray Brandon [EMAIL PROTECTED] wrote: I added an h:messages/ tag and there are none - I haven't plugged in

Conversion Error XXX: Error during model data update

2006-04-12 Thread Betto McRose G,
hi all I'm getting this error: Conversion Error partyIdInputText: Error during model data update. dunno why because the inputText for that Id is no required -- Betto McRose G, WPG Team

RE: Conversion Error XXX: Error during model data update

2006-04-12 Thread Balaji Kalyansundaram
Did you check the data type in the model??/ Balaji -Original Message- From: Betto McRose G, [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 April 2006 9:30 AM To: users@myfaces.apache.org Subject: Conversion Error XXX: Error during model data update hi all I'm getting this error:

Re: Conversion Error XXX: Error during model data update

2006-04-12 Thread Betto McRose G,
yes, they are string the inputText has no converter tag on it Balaji Kalyansundaram wrote: Did you check the data type in the model??/ Balaji -Original Message- From: Betto McRose G, [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 April 2006 9:30 AM To: users@myfaces.apache.org

RE: Conversion Error XXX: Error during model data update

2006-04-12 Thread Balaji Kalyansundaram
It will be better if we could look at the jsp, backing bean and model code. -Original Message- From: Betto McRose G, [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 April 2006 9:42 AM To: MyFaces Discussion Subject: Re: Conversion Error XXX: Error during model data update yes, they are

Re: File upload problem - setFile( ) never called, please help!

2006-04-12 Thread Murray Brandon
Mike Kienenberger wrote: On 4/11/06, Murray Brandon [EMAIL PROTECTED] wrote: I added an h:messages/ tag and there are none - I haven't plugged in any validation yet anyway. I redid a clean example (ie. vanilla myfaces/tomahawk) to be sure I wasn't wasting your time. ;-) Murray, I know

Re: File upload problem - setFile( ) never called, please help!

2006-04-12 Thread Murray Brandon
Yes, I tested that too before posting to be sure it wasn't something simple. I'm sure it's some issue with the combination of everything I'm using - could be ordering of extension filters. Looking at that next. Matthias Wessendorf wrote: Indeed, today I tested the MyFaces example because of

My experience with GBO

2006-04-12 Thread Lance Frohman
For anyone interested in using IBM's GBO (Global Business Objects), I spent some time trying it out, and I wasn't able to use it for various reasons. The developer, Steve Li, was extremely helpful, and offered to make changes for me. Below is my final email to him, and his responses.

Re: File upload problem - setFile( ) never called, please help!

2006-04-12 Thread Mike Kienenberger
On 4/12/06, Murray Brandon [EMAIL PROTECTED] wrote: I've attached my web.xml and faces.config.xml which I think are right. Would be nice to get a second opinion tho. Ok. The first problem is that web.xml elements are not in the correct order. You're probably getting warnings about this, and

Re: File upload no longer a problem - setFile( ) called! Updated web.xml attached.

2006-04-12 Thread Murray Brandon
Thanks Mike, Great advice! - I reordered my web.xml and now the ADF file upload and the multi-part mime encoded form works fine. For those interested, I've attached the new web.xml I'm still having issues with the missing myfaces clear_formname( ) javascript and the af:table not rendering