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
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
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'
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
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
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
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
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
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
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
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}"
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
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
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
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
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
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
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
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
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
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
/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
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
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:
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
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
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
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
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
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
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
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
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
33 matches
Mail list logo