RE: HELP with h:selectOneRadio inside h:dataTable

2006-08-07 Thread Watson Mathew \(KVWA 431\)
If you're not generating the table from the bean, but rather in .jsp then the way I got round it (I saw this a discussion board) is to use a selectBooleanCheckbox: e.g. h:selectBooleanCheckbox value=#{item.selected} onclick=selectOne(this.form, this)

tobago wml

2006-08-07 Thread Tomer Ben David
Is there an example of how to use wml with Tobago? I want to use myfaces for wml, I understand I should use the Tobago sub project right? Tomer Ben David RD AxisMobile Ltd. Consumer Mobile Email Tel: Int +972-3-768 5501 Fax:

RE: jsf:include and portlets

2006-08-07 Thread Rønnevik , Eivind
Hi! I'm using MyFaces and Tomcat with Jboss, but I have a similar approach of including pages for example with header and footer. This is my header.jsp -header.jsp %@ taglib uri="http://java.sun.com/jsf/core" prefix="f"% %@ taglib

RE: Tree2 problem Error : Encountered a node [0:5] + with an illogical state. Node is expanded but it is also considered a leaf (a leaf cannot be considered expanded

2006-08-07 Thread Rønnevik , Eivind
Hi again :) I had some problems with classLoading and classNotFound exeptions as well when upgrading to 1.1.3, but I usually sorted them out. (Make sure that you dont have multiple .jars of myfaces and tomahawk with different versions, as this might cause you problems.) But it looks like the

Re: Selecting Row on sortable Datatable

2006-08-07 Thread Torsten Krah
Hm - thats not possible i guess. Using a SortableDataModel ( for example ) which is not serializable by default, you have to make a completly custom solution, extending and so on, to make it work. So this parameter to preserve the model is nice, you get a stateful model which can easily be sort by

How to re-submit request scope params to itself??

2006-08-07 Thread Rønnevik , Eivind
Hi! From a jsp-page I have an outputLink which creates a popup like this: h:outputLink value="displayData.faces?docId=#{doc.docId}sessionFactoryName=#{doc.sessionFactoryName}" h:outputText value="#{messages.docMetadata}" //h:outputLink I set the params in my bean through

h:graphicImage ID problem

2006-08-07 Thread Trica Laurentiu
Hi anyoneI'm a newbie in here.My problemis that h:graphicImage does not render the default ID on the HTML output.Can I force it to? I need the ID for getElementById _javascript_ function.Thanks.

setExternalLink on NavigationMenuItem not working as expected

2006-08-07 Thread octoberdan
The following code does not work as expected: NavigationMenuItem item = new NavigationMenuItem(proj.getName(), projectWiki); item.setValue(proj.getId()); item.setExternalLink(/projectWiki.jsf?dbId= + proj.getId()); I expect to be directed to /projectWiki.jsf?dbId=51966 (for example), but the

RE: graphicImage ID problem

2006-08-07 Thread Rønnevik , Eivind
UsethetomahawkgraphicImagecomponent ( t:graphicImage ),andsetforceIdtotrue.Thiswillkeepyouridasyousetit and you can get it from the _javascript_ side..:) Regards, Eivind From: Trica Laurentiu [mailto:[EMAIL PROTECTED] Sent: 7. august 2006 14:28To: users@myfaces.apache.orgSubject:

Re: h:graphicImage ID problem

2006-08-07 Thread Torsten Krah
Use the tomahawk one - all tomahawk components can have the attribute forceId, which does what you want. http://myfaces.apache.org/tomahawk/forceId.html kind regards Am Montag, den 07.08.2006, 15:28 +0300 schrieb Trica Laurentiu: Hi anyone I'm a newbie in here. My problemis that

Re: graphicImage ID problem

2006-08-07 Thread Trica Laurentiu
I want to write a new component.The t:graphicImage is inside a facet the component inspects. So the user should use t:graphicImage with the forcedId to true. It's a little too much for the user I think. I want something more general. Thanks again.On 8/7/06, Rønnevik, Eivind [EMAIL PROTECTED]

RE: setExternalLink on NavigationMenuItem not working as expected

2006-08-07 Thread Rønnevik , Eivind
So, does your dbID parameter contain a null value, or doesn't it try to find a param named dbId in the request scope at all? I managed to do something like this with an h:outputLink (the params I specify are filled), but if i try with a commandLink the setters of my bean are feeded with

RE: Error in log file when using t:saveState

2006-08-07 Thread Frank Russo
What I meant by getting a new bean was that the values entered on the last screen are not being saved. It behaves like a simple request bean with no saveState tag on the page. I'm using client side state saving. I'm actually not trying to save the whole bean. The bean contains a list of objects

Most stable version

2006-08-07 Thread Frank Russo
I was just reading that there is a significant in 1.1.3, but that is the latest released version. What version is the most stable current that people recommend using for a production system? Frank RussoSenior DeveloperFX Alliance, LLC

Re: Most stable version

2006-08-07 Thread Matthias Wessendorf
1.1.4 http://people.apache.org/builds/myfaces/core-1.1.x/ that has been patched during the weekend and was already stable before. We now will roll this out as the next released. TCK passed and compatible with tomahawk 1.1.3 - 1.1.5 (since the weekend the trunk (1.1.5) is again compatible with

RE: Most stable version

2006-08-07 Thread Frank Russo
Should I be using Tomahawk 1.1.4 as well? Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Monday, August 07, 2006 9:18 AM To: MyFaces Discussion Subject: Re: Most stable version

RE: Most stable version

2006-08-07 Thread Frank Russo
Is there a version of 1.1.4 in the maven repo? I can't find it... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Monday, August 07, 2006 9:18 AM To: MyFaces Discussion Subject:

RE: Most stable version

2006-08-07 Thread Leyzerzon, Simeon
I think it's here: http://people.apache.org/builds/myfaces/tomahawk-1.1.x/ -Original Message- From: Frank Russo [mailto:[EMAIL PROTECTED] Sent: Monday, August 07, 2006 9:37 AM To: MyFaces Discussion Subject: RE: Most stable version Is there a version of 1.1.4 in the maven repo? I can't

Re: Error in log file when using t:saveState

2006-08-07 Thread Mike Kienenberger
On 8/7/06, Frank Russo [EMAIL PROTECTED] wrote: What I meant by getting a new bean was that the values entered on the last screen are not being saved. It behaves like a simple request bean with no saveState tag on the page. I'm using client side state saving. I'm actually not trying to save the

Re: Selecting Row on sortable Datatable

2006-08-07 Thread Mike Kienenberger
On 8/7/06, Torsten Krah [EMAIL PROTECTED] wrote: Hm - thats not possible i guess. Using a SortableDataModel ( for example ) which is not serializable by default, you have to make a completly custom solution, extending and so on, to make it work. So this parameter to preserve the model is nice,

Re: Ajax - toggle display/edit mode?

2006-08-07 Thread John Ruffin
Thanks for the nugget - ajax4jsf did the trick. I can click on a link which has a4j:support added and reRender only the components of my choice - toggled by displayModeOnly(true||false). Sweet. -- View this message in context:

RE: Error in log file when using t:saveState

2006-08-07 Thread Frank Russo
I noticed that your id's name matches the name of bean's attribute. Is that important? That is the only thing I'm not doing... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Monday, August 07, 2006 9:49 AM To:

Automatic Forwarding of Page

2006-08-07 Thread kiran.gutta
Title: Message Hi, I have to show a progress page after submitting a page. After the processing is over, I need to show another page. Please help me how I can do in JSF. I tried the following h:form . h:commandButton value="Create" f:actionListener type="Creater"/

Re: How to define the default action of a form?

2006-08-07 Thread Hailong Zhang
Hi Andrew, It's helpful, thank you very much!Regards,Toby2006/8/7, Andrew Robinson [EMAIL PROTECTED] :You can use _javascript_ -- it is what I have done. Check out [1] andlook for the clickLink functionality. Then use a keyPress event to look for \n or \r (I think most or all browsers use \r as

Re: Selecting Row on sortable Datatable

2006-08-07 Thread Torsten Krah
Hm ok thats an idea and its working, however you have to be very careful for chained models. SortableDataModel - ListDataModel - ListTyp. Calling wrappedData on the first one is still not Serializable, you will have to call it twice to get the real Data. But thats implementation specific so its

myfaces and maven2

2006-08-07 Thread German de la Cruz
Hi guys! Can we publish the differents versions of myfaces into the apache maven2 repository, as the rsync can publish it in ibiblio?? Nowadays, only version 1.1.2 is there... Au-revoir! German.-

Fwd: Selecting Row on sortable Datatable

2006-08-07 Thread Mike Kienenberger
On 8/7/06, Torsten Krah [EMAIL PROTECTED] wrote: Hm ok thats an idea and its working, however you have to be very careful for chained models. SortableDataModel - ListDataModel - ListTyp. Calling wrappedData on the first one is still not Serializable, you will have to call it twice to get the

Re: myfaces and maven2

2006-08-07 Thread Matthias Wessendorf
1.1.3 is broken so you don't want it there 1.1.4 will be out soon, it will be there On 8/7/06, German de la Cruz [EMAIL PROTECTED] wrote: Hi guys! Can we publish the differents versions of myfaces into the apache maven2 repository, as the rsync can publish it in ibiblio?? Nowadays, only

Re: Error in log file when using t:saveState

2006-08-07 Thread Mike Kienenberger
On 8/7/06, Frank Russo [EMAIL PROTECTED] wrote: I noticed that your id's name matches the name of bean's attribute. Is that important? That is the only thing I'm not doing... In the real example, it doesn't match. The real example is t:saveState

Re: Fwd: Selecting Row on sortable Datatable

2006-08-07 Thread Torsten Krah
*light on* Yeah thats right. But still it doesnt work like preserveDataModel - the list is still sorted like initial state if i go back to the page with a forward from a detail one, so saving only the data is not enough, because like someone already mentioned in the thread, the real list isn't

Can I override a Redirect?

2006-08-07 Thread Adam Brod
Hi- I am trying to set up an error page in MyFaces. I have a PhaseListener that is invoked before the Render Phase. If the PhaseListener finds any errors, it sends the user to the error page. However, this is not working because the action that executes before the Render Phase is a redirect.

Re: Problem with value-binding with map attribute...

2006-08-07 Thread Jorge Vásquez
Hi, I forgot to include that part in the post, but of course I create the map object. The bean has session scope and its constructor includes the line: returnCheckBoxesMap = new HashMap(); Regards, Jorge Vasquez -- View this message in context:

Re: Fwd: Selecting Row on sortable Datatable

2006-08-07 Thread Mike Kienenberger
Well, this sounds like a design issue in SortedDataModel. There's two things that need to be saved. One is the backing list -- that's being done. The second is the sort order of the data. That seems like it needs to be exposed in SortedDataModel so you can also preserve that. If it were me

chat software

2006-08-07 Thread Dave
I am using JBoss and JSF. Can anyone recommenda chat software that enables instant conversation between two users? It is better to be open source, support audio and file transfer. Thanks! Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

t:inputCalendar ExtensionsFilter not correctly configured

2006-08-07 Thread Joe ersinghaus
Hello, I've got a simple myfaces form running using the normal myfaces controls like t:panelGrid, t:inputText and t:outputText tags. When I added a t:inputCalendar, my app broke. This is a portion of the stack trace I got: javax.servlet.ServletException: ExtensionsFilter not correctly

Re: inputCalendar ExtensionsFilter not correctly configured

2006-08-07 Thread Joe ersinghaus
Thanks Simeon for your quick reply. I added your filter and filter-mapping to my web.xml but still no go. There must be something in my web.xml that's just not set up correctly or I'm not using the correct library jar files. Of course, I can go back to 1.1.1 and get it to work or I can use

RE: Ajax and Portlets

2006-08-07 Thread Papaioannou, Todd
The most part of problems related with AJAX stuff is related with ServletResponse/Request beyond the URL portal thing that you mentioned. I'm checking DWR since yesterday and my first impression about JSF integration makes me see the backing bean working as normal java bean and doesn't

RE: Ajax and Portlets

2006-08-07 Thread Papaioannou, Todd
The lifecycle is part of it, but the rest of the problem is the action/render url abstraction that your portal uses. Let's say you have a basic command link in one of your pages. That's a pretty simple example, with what should be a simple form action url. However, once you've run that

Tomahawk PannelNavigation2 Problem

2006-08-07 Thread German de la Cruz
Hi people! I've a problem with the state of my PanelNavigator2. It works perfectly, but the state isn't saved. I mean, If I select an menuitem, it's not marked with the class defined for activeItemClass As I have a menuGroup, if I select it, the menu is expanded. But after select a child,

Re: Automatic Forwarding of Page

2006-08-07 Thread Chandra Sekhar
Title: Message Hi , You can setthe jsfresult outcome in the facesconfig.xml and can direct your page to the specified jsf basing upon the navigation rule and case.Navigation in facesconfig.xml will be able to solve your problem. Chandru. - Original Message - From: [EMAIL