RE: Tomahawk datatable NewspaperColumns not working for dynamic value

2008-04-02 Thread Rønnevik , Eivind
Hi! I've been doing this both for tomahawk 1.1.5 and tomahawk 1.1.6, both worked fine. Currently I'm using myfaces-1.1.5 SNAPSHOT and tomahawk-1.1.6. :) - E - From: Pinal Patel [mailto:[EMAIL PROTECTED] Sent: 2. april 2008 04:25 To: MyFaces Discussion Cc: Rønnevik, Eivind

RE: Tomahawk datatable NewspaperColumns not working for dynamic value

2008-04-01 Thread Rønnevik , Eivind
Hi! I've been facing this issue as well, and my solution was to create the dataTable programmatically, cause if you set the number of newspaperColumns thereit works.. :) So, in your handler/backing bean you have a private property dataTable with getters and setters. In your getter

RE: Simple popup window with external URL

2008-03-13 Thread Rønnevik , Eivind
Kevin, Yes your url needs to start with http:// You can do a quick test trying to hardcode the url instead of getting it from #{nextBean.description.url}, using the url 'www.google.com' it fails (you get a 404 cause it looks for this page within your context root), but 'http://www.google.com'

RE: Change valueBinding of t:dataTable based on condition

2007-06-01 Thread Rønnevik , Eivind
valueBinding of t:dataTable based on condition Your understanding of value binding syntax is incorrect. Try this: t:dataTable value=#{myBean.boolean ? oneBean.dataModel : anotherBean.dataModel} I can't think of any reason why this won't work. On 5/31/07, Rønnevik, Eivind [EMAIL PROTECTED] wrote: Hi

Change valueBinding of t:dataTable based on condition

2007-05-31 Thread Rønnevik , Eivind
Hi! I was just curious, is there any way I can change the value of a dataTable based on different conditions? I'll try to give a simple example to explain what I want. :) Let's say I use the graphicImage tag, in the value property I could either write the path to the image

RE: Authentication doesn't trigger when using navigation rules ??

2007-04-25 Thread Rønnevik , Eivind
a submit. The respons to that submit is rendering of some page. Hermod -Original Message- From: Rønnevik, Eivind [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 8:16 AM To: MyFaces Discussion Subject: Authentication doesn't trigger when using

Authentication doesn't trigger when using navigation rules ??

2007-04-24 Thread Rønnevik , Eivind
Hi! In my application I have some jsp's that are public, others are protected. In my web.xml I have specified FORM as auth-method like this: login-config auth-methodFORM/auth-method form-login-config form-login-page/WEB-INF/jsp/Login.faces/form-login-page

Possible bug in t:inputHidden tag/component?

2007-03-27 Thread Rønnevik , Eivind
Hi! To explain shortly, I have a page with a dataTable, and for each item in the table I can click a link and open a popup (using the window.open function in javascript) with specified information. I also have some commandLinks and commandButtons inside my popup-page, and the backing bean

RE: How to submit a form using javascript

2007-01-19 Thread Rønnevik , Eivind
Hi! I can give you an example of how I use javascript to do a click on a button. :) You must remember that if your form id is myForm, and the button's id is myButton, the correct name of the button (element) in javascript is myForm:myButton (This changes is you use the tomahawk

How to respect / limit number of simultanously javascript popups allowed

2006-10-17 Thread Rønnevik , Eivind
Hi! To be short, I have a h:dataTable filled by values from a list. For each row/item the user can press a view details button, which opens a popup with the javascript-function window.open(). The user is also given the possibility to open several popups at a time to provide support for

When is messageResources.properties available?

2006-09-28 Thread Rønnevik , Eivind
Hi! I have a question when it comes to commandButtons and handling "parameters" to the action method: If I use the f:param way for sending parameters, I can use the #{messages.XX} in the value field of the f:param. h:commandLink action="#{myBean.MyAction}"

When is messageResources.properties available? #2

2006-09-28 Thread Rønnevik , Eivind
Hi again - pressed the wrong button :) I have a question when it comes to commandButtons and handling "parameters" to the action method: If I use the f:param way for sending parameters, I can use the #{messages.XX} in the value field of the f:param. h:commandLink

RE: Exception when using myfaces extensions

2006-09-25 Thread Rønnevik , Eivind
Your uri is incorrect :) It should be %@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"% Regards, Eivind From: Kelvin James [mailto:[EMAIL PROTECTED] Sent: 25. september 2006 13:11To: MyFaces DiscussionSubject: Exception when using myfaces extensions HI I am getting the

Tag reference sheet for Tomahawk 1.1.3 is not correct?

2006-09-22 Thread Rønnevik , Eivind
Hi all! If I go to the tag reference sheet for Tomahawk and select dataScroller (http://myfaces.apache.org/tomahawk/tagreference.html#dataScroller), it says that the dataScroller has an onclick and an ondblclick attribute. However, from my jsp I don't get these attributes displayed when

RE: AW: Problem with duplicated Ids on t:dataScroller component

2006-09-21 Thread Rønnevik , Eivind
Hi! If I remember correctly I had a similar problem with the dataScroller. What I did was to add id's to the images, and this corrected the problem.. :) So, something like this: f:facet name=first

RE: tomahawk 1.1.3

2006-09-21 Thread Rønnevik , Eivind
Hi! Perhaps these are some silly questions, but i struggled to get this File-uploader to work as well, and I sorted out some issues (not saying that you have these problems.) - What version of myfaces' jars are you using? At first I tried to use this with tomahawk.1.1.3.jar and

Is it possible to submit/click commandButton programmatically? (Like javascript)

2006-09-18 Thread Rønnevik , Eivind
Title: Is it possible to submit/click commandButton programmatically? (Like javascript) Hi! I just wondered if it is possible in any way to execute an action method by clicking a button from the javaside. :) Or is _javascript_ getElementById .. .click(); the only way? Conceptually

Can t:dataScroller's for-attribute reference UIData object in another form?

2006-08-23 Thread Rønnevik , Eivind
Hi! My question is this: I have a dataScroller, and want to specify the for-reference to a dataTable, only thing is thatI see the need of having the two objects (scroller and table)in two different forms (layout issues). I've tried something like this, with no success: t:dataScroller

RE: inputCalendar ExtensionsFilter not correctly configured

2006-08-09 Thread Rønnevik , Eivind
with links to the following pages (which look like they should be combined in my opinion). http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1%2e1%2e3 http://wiki.apache.org/myfaces/More_tips_on_Upgrading_to_Tomahawk_1%2e1%2e3 On 8/8/06, Rønnevik, Eivind [EMAIL PROTECTED] wrote: Hi! I'm using

RE: inputCalendar ExtensionsFilter not correctly configured

2006-08-08 Thread Rønnevik , Eivind
Hi! I'm using myfaces 1.1.3 and tomahawk 1.1.3 running on Jboss, and tested one of my .jsps by including an inputCalendar. Worked fine for me. I'm including my web.xml, perhaps you can pick up something. But I just wanted to point out that I'm using the new location for the Extension filter

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
/faces-config Hope this can help you :) Regards, Eivind -Original Message- From: Mr Arvind Pandey [mailto:[EMAIL PROTECTED] Sent: 4. august 2006 11:50 To: MyFaces Discussion; Rønnevik, Eivind Subject: RE: Tree2 problem Error : Encountered a node [0:5] + with an illogical state

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

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: 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

parent/child relations to itself in MyFaces - anyone have experience?

2006-08-03 Thread Rønnevik , Eivind
Hi all :) I have an abstract Folder class which contains: Long folderId String folderName Folder parentFolder And then I have different specifications of folders extending the abstract one. The problem here is the self-reference of the parentFolder param, but I don't see why this should be

RE: Pleas e respond to my problem of file upload;

2006-08-01 Thread Rønnevik , Eivind
the earlier version of this. In that I could not find the Extensions Filter in the Jar with this Filter Class org.apache.myfaces.webapp.filter.ExtensionsFilter. SOI cannot use this. Regards, Chandru. - Original Message - From: Rønnevik, Eivind

RE: Pleas e respond to my problem of file upload;

2006-08-01 Thread Rønnevik , Eivind
my problem of file upload; Hi, I'm using the earlier version of this. In that I could not find the Extensions Filter in the Jar with this Filter Class org.apache.myfaces.webapp.filter.ExtensionsFilter. SOI cannot use this. Regards, Chandru. - Original M

RE: Pleas e respond to my problem of file upload;

2006-08-01 Thread Rønnevik , Eivind
DiscussionSubject: Re: Pleas e respond to my problem of file upload; It is the reference of the file uploaded that is null. Regards, Chandru. - Original Message - From: Rønnevik, Eivind To: MyFaces Discussion Sent: Tuesday, August 01, 2006 7:49 PM Subject: RE: Pleas e

commandLink and onclick event

2006-07-31 Thread Rønnevik , Eivind
Hi! Can anyone tell me why something like this would work: t:commandLink value="#{messages.deleteRow}" action="#{selectRowHandler.deleteRow}" onclick="if (!confirm('Are you sure you want to delete this record?')) return" / But that a similar approach (firing the _javascript_ AND the

RE: commandLink and onclick event

2006-07-31 Thread Rønnevik , Eivind
Message- From: Sloan, Noah M [mailto:[EMAIL PROTECTED] Sent: Monday, July 31, 2006 10:34 AM To: MyFaces Discussion Subject: RE: commandLink and onclick event I think return false aborts the form submission. _ From: Rønnevik, Eivind [mailto:[EMAIL PROTECTED] Sent: Mon 31-Jul-06 9:28

RE: Tomahawk Tree2 Problem

2006-07-28 Thread Rønnevik , Eivind
Hi! I haven't done this myself, but have a look at http://wiki.apache.org/myfaces/Tree2 under Changing the Content of the Tree. There are two examples there of lazy loading that maybe could put you in the right direction at least. :) Regards, Eivind -Original Message- From: Kunaal

Problem with h:dataTable and conditional rowClasses

2006-07-27 Thread Rønnevik , Eivind
Hi! I have a problem which I hoped somebody could have a look at. It might be that what I'm trying to do isn't possible, but I think it should have worked ;) To give you a quick presentation of my "case" or problem: - I have a dataTable which is filled with Document objects retrieved