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ønnev

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 (o

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
Your suggestion worked :) I was on to it myself, but guess I mixed up a bit with my string-representation.. ;) Thanks for sorting it out! -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: 31. mai 2007 15:49 To: MyFaces Discussion Subject: Re: Change valueBindin

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
ering 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 navigation rules ??

Authentication doesn't trigger when using navigation rules ??

2007-04-23 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: FORM /WEB-INF/jsp/Login.faces /WEB-INF/jsp/LoginFailed.faces And my security constraint is set like this:

Possible "bug" in 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 live

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-16 Thread Rønnevik , Eivind
Hi! To be short, I have a 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 comparing to or

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 way for sending parameters, I can use the #{messages.XX} in the value field of the f:param. When is messageResources.properties available?
Hi!   I have a question when it comes to commandButtons and handling "parameters" to the action method:   If I use the way for sending parameters, I can use the #{messages.XX} in the value field of the f:param.

RE: Exception when using myfaces extensions

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 th

Tag reference sheet for Tomahawk 1.1.3 is not correct?

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

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 myfaces-all.jar,

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

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:

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

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?

Hi!   My question is this:   I have a dataScroller, and want to specify the for-reference to a dataTable, only thing is that I 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:     Then of

RE: inputCalendar ExtensionsFilter not correctly configured

the wiki front page 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 PROT

RE: inputCalendar ExtensionsFilter not correctly configured

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 i

RE: setExternalLink on NavigationMenuItem not working as expected

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 (the params I specify are filled), but if i try with a commandLink the setters of my bean are feeded with null-values. Haven'

RE: graphicImage ID problem

  Use the tomahawk graphicImage component ( ), and set forceId to true. This will keep your id as you set it 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.orgSubj

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

Hi!   From a jsp-page I have an outputLink which creates a popup like this:           value="displayData.faces?docId=#{doc.docId}&sessionFactoryName=#{doc.sessionFactoryName}" >        I set the params in my bean through faces-config:      docId   #{param['docId']}   sessionFactoryName   #

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

) 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. Node is expanded but it is also considered a le

RE: and portlets

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 uri

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

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

Hi! I had this problem as well.. When you create the treeNodes you have to set a boolean value whether the node is a leaf or not. But whatever I did, and even if my values were set correctly, I got this error. My solution was to upgrade to Myfaces 1.1.3 and tomahawk 1.1.3, never seen that err

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

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

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

l Message - From: Chandra Sekhar To: MyFaces Discussion Sent: Tuesday, August 01, 2006 6:12 PM Subject: Re: Pleas e respond to 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 wi

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

oad; 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 Message -

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

What version of myfaces are you using?   If it's 1.1.3 the location/package of the extensions filter has changed, and your web.xml should be configured like this:   extensionsFilterfilter-name> org.apache.myfaces.webapp.filter.ExtensionsFilterfilter-class>

RE: commandLink and onclick event

prise Stone & Lime Co., Inc. http://www.nesl.com <http://www.nesl.com/> = -Original 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 submissio

commandLink and onclick event

Hi!   Can anyone tell me why something like this would work: But that a similar approach (firing the _javascript_ AND the ac

RE: Tomahawk Tree2 Problem

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 and conditional rowClasses

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 f