Nikita,
You use a styleclass called
sortable but your css definition is sort_table.
I implemented it this way
(for IE):
JSP:
t:div
styleClass=doc-list-div id=docsdiv
forceId=true
t:dataTable id=doclist
value=#{MyBean.documents}
var=doc
works for me. I changed mine to *.leg and left all my files to be
called *.jsp with this web.xml file..
My index.jsp does a redirect to my home.leg url.
web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Hi all,Isn't there any way to set the style of a selectItem?Thanks,Emmanuel
Hi Matthias,
I believe this is the dreaded converter timezone problem which can be
fixed by using your own special converter.
What I generally do is put a component-binding on the calendar
component and then create the component in the backend, and there I
set stuff which is repeatable across
have
the same problem. I think we have to write our own selectItem which supports
it.
i want
to use it in a radio button and i have another requirement:
i like
to click on the label of a select item so the radio button switches its status.
Nico
Nico
Krause|Software
Development|
Tobago team,
When are you going to make stable official release?
We would like our application to stick to some definite version and
not to update tobago and deal with changes (like deprecated
components) every time something is changed or fixed.
Releases would also give release notes and list
Hi.
I have tried the dojo inputSuggest in a few applications, never had
problems with slow loading times. Now with server side state saving,
as you have said, every needed dojo class is loaded, and this results
in many js files.
I've studied it a bit closer. Here's a small log of what's
A simple page has two linkst:commandLink
id=link1 actionListener=#{backer.edit} value=Edit
rendered=#{back.enabled} /
t:commandLink id=link2
actionListener=#{backer.enableEdit} value=Enable Edit /When the enable edit link
is cliked 'enabled' property of the backing bean is changed to true so that
I am pretty much a newb myself to all this, but what do you have in your
welcome file list. If you have index.jsp, that could be screwing things
up maybe? I read in a book that a JSF app usually bootstraps with an
index.html that redirects to the first jsf page sort of like
index.html -
Hello!
I have a problem with a form that has commandlinks with target=_blank.
The problem is that sometimes the new window opens with the same page I
am coming from, sometimes it opens the correct new page I have defined
in faces-config.xml. The behaviour is completely random. I tried to have
hmmh ok, I guess the way is to create a custom renderer for it then.For your problem you can use a valueChangeListener for server side or the tomahawk jsValueChangeListener.Emmanuel
On 3/21/06, Krause, Nico [EMAIL PROTECTED] wrote:
have
the same problem. I think we have to write our own
Hi,
so far I have only used MyFaces and currently I am trying to use the ADF-Faces
Components with it.
The impression I had about using Tiles with ADF and MyFaces was that I should
use the Tiles Servlet because ADF uses its own ViewHandler which would collide
with the MyFaces
Hi,
I'm using Jenia Popups with MyFaces and it works...
What problems do you have?
Any error stack?
Regards,
Andy
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 18. März 2006 12:00
An: MyFaces Discussion
Betreff: jenia and myfaces 1.1.1
Hi all,
I need also an expanded tree without navigation icons
and I dont know how to achieve this.
Do you have a sample of how to use the (new)
TreeWalker? Is it part of 1.1.2 or 1.1.3 ?
Or does anybody know an alternative which can be used
with stable 1.1.1 ?
Michael
Hi all MyFaces users
Are there any good, sound ways of having a table with some special
header-object? Something, which in terms of HTML requires the usage of
attributes colspan and rowspan?
In particular, I am interested in a layout like the attached file
RequestedDataTable.png (- I hope this
We're using the 3rd choice, with no problems. Incidentally, the third
choice also works nicely if you use pop-up windows and then return to
the main window.
- Brendan
-Original Message-
From: Aleksei Valikov [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 8:22 AM
To: MyFaces
so I spent hours debugging something that was not my apps bug.
Basically I clicked a commandLink on my app. I clicked IE back button
and clicked a different commandLink button(this resulted in refreshing
the page). I then clicked the same commandLink and this time it went to
the page it was
Hi.
so I spent hours debugging something that was not my apps bug.
Basically I clicked a commandLink on my app. I clicked IE back button
and clicked a different commandLink button(this resulted in refreshing
the page). I then clicked the same commandLink and this time it went to
the page
Hi.
3. Use client-side state saving. Then, when users go back, they also go
back to the old state (serialized on the client side).
We're using the 3rd choice, with no problems. Incidentally, the third
choice also works nicely if you use pop-up windows and then return to
the main window.
Hi Matthias,
I believe this is the dreaded converter timezone problem which can be
fixed by using your own special converter.
What I generally do is put a component-binding on the calendar
component and then create the component in the backend, and there I
set stuff which is repeatable
Perhaps you were referencing the bean using JSP notation instead of
JSF notation?
If that's the case, you'll only get errors from the container's JSP compiler.
On 3/20/06, Dean Hiller [EMAIL PROTECTED] wrote:
The solution to my earlier exception was I named the backing bean
incorrectly. funny
My guess is that you are not persisting the value of #{back.enabled}
between requests.
In order for a UICommand to work, it must remain enabled
(rendered=true) from the first request renderResponse phase to the
next request's invokeApplication phase.
Maybe all you need to do is use t:saveState
Hi Matthias,
I use the methods below to convert back and forth.
Because our app uses java.util.Calendar, the method toNormalizedDate is
used to convert the calendar to a date suitable for JSF, and
fromNormalizedDate to convert it back.
Frank Felix
/**
* Required to work
Hi Matthias,
I use the methods below to convert back and forth.
Because our app uses java.util.Calendar, the method toNormalizedDate is
used to convert the calendar to a date suitable for JSF, and
fromNormalizedDate to convert it back.
Many thanks. So you don't use the convertDateTime
I've noticed that a lot of posters have asked for help with
t:panelTabbedPane's selectedIndex and TabChangeListener over the last
few months.
Would someone be willing to expand the sandbox example (or provide a
new example) showing how to use these features of panelTabbedPane?
It will enable new
MyFaces lost some logging value when we went to a build process that changed
many of the package names. For example, if you want to get the logs for
org.apache.myfaces.shared.util.StateUtils, you now must configure your logging
provider with the following:
You may want to look on the wiki for this. Find the FAQ section and scroll
all the way to the bottom.
Dennis Byrne
-Original Message-
From: Murat Hazer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 07:10 AM
To: users@myfaces.apache.org
Subject: actionListener not invoked
A
I'm using f:convertNumber type=number pattern=#,##0/ to save a integer property. But I'm getting conversion error when I type a number like 23,000h:inputText styleClass=text value=#{
bean.intProp} f:convertNumber type=number pattern=#,##0 locale=pt-BR//h:inputText-- Vladimir M Coutinho
Hi Matthias,
actually I'm using the ADF calendar component - in the way described below,
The calendar class picks up the CET locale ... but I'm not sure how and why.
Frank Felix
af:selectInputDate
label=#{bundle['...']}
value=#{bean.date}
I confess, I haven't tried Tiles with ADF, largely because Facelets templating
is so vastly superior to Tiles (esp. Tiles w/JSF, which is not a good
combination.)
I'm curious about this class-cast exception you're seeing: why do
you have a UIXComponentTag that isn't using a UIXComponent?
What
if you use the s:convertDateTime converter, you're fine.
regards,
Martin
On 3/21/06, Frank Felix Debatin [EMAIL PROTECTED] wrote:
Hi Matthias,
actually I'm using the ADF calendar component - in the way described below,
The calendar class picks up the CET locale ... but I'm not sure how and
Thanks for all answers, i solved the problem with t:savestate. (also al80 on the IRC channel helped me to solve the problem.)On 3/21/06, Dennis Byrne
[EMAIL PROTECTED] wrote: (You may want to look on the wiki for this.Find the FAQ section and scroll all the way to the bottom.
Dennis
This is a good question.
We are very close to a release but a release before leaving incubator
needs an approval of the Incubator PMC.
Please look at the roadmap on the project page.
The roadmap contains all task that we like to finished before a release.
Maybe we are moving some tasks to the
Hi,
I want to limit the No. of Rows that can be displayed in the table by using the
Value from the Resource Bundle (something like below ):
#JSP page
t:dataTable rows=#{bundle.MaxRecordsDisplayed_PerPage}
# Resource bundle File
MaxRecordsDisplayed_PerPage=20
But I am getting a
I haven't tried what you're proposing, but I've accomplished the same
thing through the backing bean using prepared statements like thus:
PreparedStatement ps = conn.prepareStatement(sql);
ps.setMaxRows(2);
If you must store the value in a properties file. Maybe you could
replace the digit
Hi Bernd,
I must admit that I agree with Iryna - it would make life much easier
for all projects using tobago (and providing feedback - thats what we
all are interested in!) if there was a release available - better call
it labled version. That way everyone could decide (on a per project
level)
I'm in the process of converting my jsp files to jspx. I set up one
test case and I was surprised by a 404 error. Do I need to add some
configuration in my web.xml? In my faces-config I have:
navigation-rule
from-view-id/welcome.jsp/from-view-id
navigation-case
You are only allowed to have one suffix with the default JSF implementation.
context-param
param-namejavax.faces.DEFAULT_SUFFIX/param-name
param-value.jsp/param-value
/context-param
or
context-param
param-namejavax.faces.DEFAULT_SUFFIX/param-name
I am filtering the data in a datatable so the backing datamodel shrinks, but if a user has already paged past the first page and the size of the data is less then a single page, it appears that the datascroller stays on the second (or later) page.
For example, there are 15 items in the data model
I don't know jsp notation actually, and actually below I was trying to
say The solution was I named the backing bean incorrectly not that I
was using jsp notation. Sorry as I am sometimes not good at being clear
about this. I was just posting the solution in case someone else ran
into it.
Hello,
I am successfully (and happily) using MyFaces tomahawk and sandbox
components with Tiles integration as suggested on your web site. I
would really like to use a selectManyPicklist component. I was
wondering if someone could help complete either of these two options:
1) If someone could
wow!!! thanks for all the response.
cool,
dean
Aleksei Valikov wrote:
Hi.
3. Use client-side state saving. Then, when users go back, they also go
back to the old state (serialized on the client side).
We're using the 3rd choice, with no problems. Incidentally, the third
choice also
I am confused by the response. if back.enabled was false, he would not
be able to click the commanLink, would he?
It sounds like he was saying backer.edit was not working. Maybe my
question is a stupid question from a newb(me), but could you explain
that response more so I can understand.
huh, I was just trying
org.apache.myfaces.level=FINEST
and
javax.faces.level=FINEST
and
biz.xsoftware.level=FINEST
in a logging.properties file I copied off the bottom of this tomcat
page( http://tomcat.apache.org/tomcat-5.5-doc/logging.html ) and placed
in my WEB-INF/classes directory. All
There are others problems saving state in the client?On 3/21/06, Dean Hiller [EMAIL PROTECTED] wrote:
wow!!! thanks for all the response.cool,deanAleksei Valikov wrote: Hi.
3. Use client-side state saving. Then, when users go back, they also go back to the old state (serialized on the client
As for me, I can't use client side state saving because of
AjaxAnywhere. I needed multiple AJAX zones inside of my form.
Unfortunately (with facelets at least) state is saved right below the
form. So with AA and client side state, my state was never updated due
to the fact it was outside of the
On 3/21/06, Andrew Robinson [EMAIL PROTECTED] wrote:
As for me, I can't use client side state saving because ofAjaxAnywhere. I needed multiple AJAX zones inside of my form.Unfortunately (with facelets at least) state is saved right below theform. So with AA and client side state, my state was
Also, I am not a big fan of client side state due to security and performance.
http://wiki.apache.org/myfaces/Secure_Your_Application
I just hope that Sun figures out a way to have multiple view server
side states.
context-param
descriptionOnly applicable if state saving method is server
Your search field would probably need a valueChangeListener method
which if residing in xBean then whatever xBean.aTable is returning,
i.e. the IUData component, then can set the first row to be shown as
zero, i.e. UIData.setFirst(0);
I'd be interested to know how many times per request the db
Hi,Let me explain the problem briefly; Enable Edit link (id=link2) is always rendered on the page, when user clicks this link the Edit link's (id=link1)' rendered attribute converted false to true, now at that time two links rendered on the page. If i don't use savestate (another solution is put
50 matches
Mail list logo