Thanks Greg. I had implemented the solution
where I was setting the rowClasses using a comma-delimited string of styles
but obviously your solution is a million times better. I guess I was looking
at the reference implementation docs not the tomahawk one so I didn't spot
the rowStyleClass
Emmanuell,
this
is the right renderer-type / component-family. You can find it by looking into
the sources of the component you want to extend.
here i
found it in:
javax.faces.component.html.HtmlSelectOneRadio {
---
private static final String DEFAULT_RENDERER_TYPE =
Hi!
I have a working TabChangeListener, but no time to provide an example this
month. I think this would be possible next month...
-Matthias
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Mike Kienenberger
Gesendet: Dienstag, 21. März 2006
Great - it thought it was only me going crazy :-)
/Daniel
-Original Message-
From: Gerald Müllan [mailto:[EMAIL PROTECTED]
Sent: 22 March 2006 18:31
To: MyFaces Discussion
Subject: Re: InputSuggestAjax - binding the value
Yes, you are right. I have also recognized this issue
Aleksei Valikov schrieb:
Hi.
I have tried inputSuggestAjax from the sandbox. The component works more
or less fine (sometimes it fails to find target components, but that's
not a big problem).
However what bothers me is that web pages are becoming really much
slower. inputSuggestAjax is
Aleksei Valikov schrieb:
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.
For components that implements EditableValueHolder (i.e. inputText) there is a 'submittedValue' that if exists is taken over attribute binding on page rendering. I have the same behavior in my application when an edition is cancelled: the bean data is refreshed from database, but page don't take
Aleksei Valikov schrieb:
I just think that inputSuggestAjax does not really need 100Kb scripts.
(I would be pretty much surprized if that would be the case). So I
really hope that scripts will be optimized...
Getting down on the code amount is up to the dojo guys, but as soon as
the scripts
Have you guys looked into Weblets? It serves resources from JAR files without
- no Servlet filters or anything; it registers itself automatically as a
PhaseListener. It also allows the resources to be cached by the browser.
https://weblets.dev.java.net/
Cheers,
Daniel
-Original
Hi,
I have talked to werner about this performance issue;
Should be only a matter of configuration after implementing this
possibility to our dojo comps.
Then it will be no problem to load all needed dojo packages as one
bigger (also compressed) .js file at the beginning.
So, currently not
Hi, this thread is a little old, but I maybe someone stumbles on it like
I did some days ago.
The proposed solutions still don't allow the event listeners registered
on the form's submit event to be called (e.g. using
form.addEventListener()). Calling form.onsubmit() eplicitely doesn't
help.
Oh..Werner was faster in responding :)
Thx for the explanation Werner!
On 3/23/06, Gerald Müllan [EMAIL PROTECTED] wrote:
Hi,
I have talked to werner about this performance issue;
Should be only a matter of configuration after implementing this
possibility to our dojo comps.
Then it will
Werner, Gerald,
Thank you guys for responding.
I do understand that inputSuggestAjax is in the sandbox. Only wanted to
make sure that you are aware of the issues and are somehow intending to
resolve them.
Thanks again for your answers.
Bye.
/lexi
Hello,
I have a form with
several input elements with required=true for the build-in required
validation.
I turned global
messages on under the form.
h:messages styleClass="errorText" globalOnly="false" /
The thing i don't like is:
When there are more then oneorm fields which are'nt filled
Does t:saveState requires submitting the page? Cause I can see
that the data I have insert in input text in tab1 does not update the value in
my Bean
.
From: Murat Hazer
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 22, 2006
10:24 PM
To: MyFaces Discussion
Subject: Re:
Wiell, Daniel (FONL) schrieb:
Have you guys looked into Weblets? It serves resources from JAR files without
- no Servlet filters or anything; it registers itself automatically as a
PhaseListener. It also allows the resources to be cached by the browser.
https://weblets.dev.java.net/
Yes
Hi Adam,
sorry that it took me 2 days to reply but I was working on a different project.
Using JSP and MyFaces is kind of a historical thing. I started with JSP and
Struts, added Tiles, replaced Struts with MyFaces and now added ADF.
Facelets is something I haven't tried yet.
About the
How can we do submit and navigation in
same time?
How can I update bean from couple of pages
when I am navigating from one page to the other?
Why the data I insert in one page doesnt save
in bean when I navigate to other page?
(Each tab is rendered as iframe).
From: Hagay
Actually this seems either like a bug in the RI to me, since savestate
does nothing fancy which should not work in the RI. It basically just
does what every component does in the save and restore phase. Or a bug
by the user.
Maybe some of the classes in the original tree are not serializable,
Hi Sunil,
Just a guess
Would
t:dataTable rows=#{(int)bundle.MaxRecordsDisplayed_PerPage}
Or
t:dataTable rows=#{(Integer)bundle.MaxRecordsDisplayed_PerPage}
Work?
HTH,
Fintan
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of sunil
Sent: 21 March 2006 22:45
To:
I really wonder how the RI goes about providing a different state tree
for a user if the user has two requests running from the same browser.
regards,
Martin
On 3/23/06, Werner Punz [EMAIL PROTECTED] wrote:
Actually this seems either like a bug in the RI to me, since savestate
does nothing
I found a myfaces post with the same exact question but no answer(search
for tree and popup). I am hoping someone might know this time.
I have a tree, and inside that tree I have a popup for all the folders.
When I first bring up the tree, in html, there is one folder displayed
called Main
Hi, All
I just started use component saveState from Tomahawk.
I have two pages page1
(managed-bean {#page1}) and page2
(managed-bean {#page2}). All these beans are in request scope
Is it possible to pass from page1 data {#page1.mapping} to page2 ?
Thanks for any help,
Yura.
I am using tomcat, and have the below contents in
webroot/WEB-INF/classes/logging.properties. biz.xsoftware and every
logger below that logs just fine, but no myfaces logs nor javax.faces
logs show up at all. thanks for any suggestions.
dean
handlers = org.apache.juli.FileHandler,
Thanks!
I regard this vote as closed out, as 72 hours are over and we have 3
+1 votes from incubator PMC members.
Tobago team, welcome to the Apache MyFaces community!
regards,
Martin
On 3/23/06, James Holmes [EMAIL PROTECTED] wrote:
+1
James
-Original Message-
From: Martin
I am using tomcat, and have the below contents in
webroot/WEB-INF/classes/logging.properties. biz.xsoftware and every
logger below that logs just fine, but no myfaces logs nor javax.faces
logs show up at all. thanks for any suggestions.
dean
handlers = org.apache.juli.FileHandler,
Title: Message
Hi
Yura,
The
simplest way to pass data from page1 to page2 is to use
onemanaged bean, and use t:saveState on both pages referring to that onemanaged bean.
If the
managed-bean is in request scope, then when you move from page1 to page2 you
will lose the data in managed-bean
Title: Message
Thanks, Faintan
But I can use jsf session
beans as it, because on our project we are using JBoss 4.0.3 in cluster and for
all JSF UI components I will get NonSerializable exception. Also I can not use
one manage bean on two pages, because I have actually wizard
Hi !!!
I have a lot of troubles with encoding UTF-8 and in particular when I
post some data by forms.
When I write the post received data in a page I cannot see the right
characters.
For example:
Name: èèè (three e with an accent)
Surname: èèè
I get the following output: èèè
The same
Hi, Nicola
You can try to use on your jsf page:
%@ page language=java session=true contentType=text/html;
charset=UTF-8; pageEncoding=UTF-8 %
Thanks,
Yura.
-Original Message-
From: Nicola Benaglia [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 23, 2006 4:14 PM
To: MyFaces
Hi all,
I need some assistance with a custom autoscroll
function and immediate links.
My page contains a datatable inside a scrollable div
tag.
When the page is entered again I want to scroll back
to the last position inside the div (e.g. the last selected row).
This is working so
Hi Nicola,
If you what to save using some encoding specify for your form
encoding="multipart/form-data"
and
the page encoding:
%@ page language="java" contentType="text/html;
charset=UTF-8;" pageEncoding="UTF-8" %
.
I don't know why this is happen. Maybe is a bug.
Cristi
Nicola
Hi Nicola!
Name: èèè (three e with an accent)
Surname: èèè
I get the following output: èèè
You have to create a servletFilter.
See: http://wiki.apache.org/tomcat/Tomcat/UTF-8
*See Alternative solution which uses the filter - dont waste your time
with the toUTF8() stuff.
Ciao,
Mario
*
Hi Matthias Wessendorf
Thanks for your help
Regards
Johnny Sutherland
Hi,Had a similiar problem once and solved it with a filter approach as Mario already suggested.Cagatay Civici,On 3/23/06, Mario Ivankovits
[EMAIL PROTECTED] wrote:Hi Nicola! Name: èèè (three e with an accent)
Surname: èèè I get the following output: èèèYou have to create a servletFilter.See:
Sounds like a good control for the sandbox
On 3/22/06, Krause, Nico [EMAIL PROTECTED] wrote:
Hello Emmanuell,
I did the following for my problem - so i assume you can do the same.
1. I made a new class (HtmlRadioRendererExtendedBase) from
HtmlRadioRendererBase (see sources attached)
2.
Hi,
I have a form and some inputs on it. I marked one input as required.
Then I expected to get a error message when posting an empty form. By I
did not get any messages. Then I added a length validator with a
minimum = 1. And again I had not got any messages. Then I started
debugging and found
On 3/23/06, [EMAIL PROTECTED]
But I can use jsf session beans as it, because on our project we are using
JBoss 4.0.3 in cluster and for all JSF UI components I will get
NonSerializable exception. Also I can not use one manage bean on two pages,
because I have actually wizard application with
On 3/23/06, Serge Bogatyrjov [EMAIL PROTECTED] wrote:
I have a form and some inputs on it. I marked one input as required. Then I
expected to get a error message when posting an empty form. By I did not get
any messages.
It should be as simple as adding
required=true
as an attribute for
On 3/23/06, Hagay Avisar [EMAIL PROTECTED] wrote:
Does t:saveState requires submitting the page? Cause I can see that the
data I have insert in input text in tab1 does not update the value in my
Bean….
Yes. t:saveState is a server-side process, not a javascript trick.
On 3/23/06, Hagay
Hi, All!!!
Ive confused with it in JSF. I have some
validation logic on my form:
2 textboxes which have required attribute
And also one drop-down ( I used immediate=true,
because I dont want to run validation before valueChangeListener ).
In my valueChangeListener I tried to ignore
Hi!
Do you know how JSF associates a session to a specific client? I thought
this will either work with a session ID or a cookie. But when I open a new
browser window and copy the session-ID-less URL from the other browser,
which is already in a session, the new browser will be associated to the
Short answer: immediate doesn't skip validation phase.
Long answer:
http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works
On 3/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi, All!!!
I've confused with it in JSF. I have some validation logic on my form:
2 textboxes
I know this, but for skip validation phase I'm using
call:
FacesContext context =
FacesContext.getCurrentInstance();
context.renderResponse();
Thanks,
Yura.
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 23, 2006 6:26 PM
To:
How did you open a new browser? IE's new window and firefox by default
do not start new instance of browsers on most platforms, so memory
cookies are kept.
If you are on firefox and use the Web Developer Toolbar extension,
you can use it to clear all session cookies.
I believe (I am pretty sure
If you're using Facelets the only way is making a filter and adding two
silmple lines:
request.setCharacterEncoding(encoding);
response.setCharacterEncoding(encoding);
Where encoding is the String UTF-8.
Hi !!!
I have a lot of troubles with encoding UTF-8 and in particular when I
In server-side state saving? The 1.1 RI doesn't support simultaneous
requests from the same user from two windows; it only works for client-
side state saving. The JSF 1.1 algorithm for server-side state saving -
just storing the UIViewRoot - necessarily implies that saveState() will
not be
As of JSF 1.2, both server-side and client-side state saving will
end up invoking saveState(), because the algorithm for server-side
Good, this means t:saveState will work w/ both implementations using server
side state saving.
-- Adam
Dennis Byrne
Ok, Thanks. Do you know any solution which will be usefull for me?
Thanks,
Yura.
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 23, 2006 6:42 PM
To: MyFaces Discussion
Subject: Re: Skip Validation Phase
On 3/23/06, [EMAIL PROTECTED]
I know
My first attempt to solve such a problem was to create the
OptionalValidationFramework discussed on the wiki, but I don't really
like that approach. It worked for me because I had a lot of
dropdowns on the page.
You might take a look at using the Sandbox subform validation as an
alternate way
What do you do with the results of saveState()? Just discard 'em?
-- Adam
On 3/23/06, Martin Marinschek [EMAIL PROTECTED] wrote:
Ok, I didn't know that it was explicitly mentioned in the JSF1.1 spec
that saveState is not to be called for server-side state saving.
Cause as Manfred
I'm having a JSF issue that seems (at least from the stack trace) to
have its root cause in a MyFaces/JBoss class loader issue. I was hoping
someone on this list might be able to help shed some light on the problem.
I'm running JBoss 4.0.3SP1, with the EJB3 final draft upgrade (RC5?)
Hi Mike,
Have been on vacation to Maui :) and I couldn't see any reply to your
email. I wrote a HowTo a while back on how to use MyFaces with
JDeveloper, but it is a bit outdated. Essentially, to get it to work
you add the myfaces libraries to your project BEFOR you start adding
JSF pages to
How did you open a new browser? IE's new window and firefox by default
do not start new instance of browsers on most platforms, so memory
cookies are kept.
If you are on firefox and use the Web Developer Toolbar extension,
you can use it to clear all session cookies.
I believe (I am pretty
There are lots of options. They can be serialized and stored in the session,
not serialized, serialized and stored in a collection of view states, w/ or
w/out encryption, etc. etc. saveState() is always called though.
Dennis Byrne
-Original Message-
From: Adam Winer [mailto:[EMAIL
Seems unlikely. I recommend posting your actual page code.
I use facelets and jetty 5.1.x, and I haven't had these problems.
On 3/23/06, Serge Bogatyrjov [EMAIL PROTECTED] wrote:
Thanks, but when I were writing marked one input as required, I meant thу
following:
h:inputText
Hi,
I have one question for you. For the solution posted on wiki page of large data set t:dataTable, when you select several rows on the first page, then goto thenext page, the selection is gone. It only knows what selected in the current page. I have two questions now:
1. What is the best
I am using maven-jetty-plugin based on jetty6. This plugin is good for
development. But this is a snapshot and there are bugs. Some days ago a
have written a converter to convert a submitted empty string to null.
But today I encountered with nulls in request parameters. Definitely, I
do not sure,
On 3/23/06, Serge Bogatyrjov [EMAIL PROTECTED] wrote:
Some days ago a have
written a converter to convert a submitted empty string to null.
Are you talking about a JSF String Converter?
If so, JSF String Converters are not allowed in JSF 1.1. You'll need
to wait until JSF 1.2 (It was only
Well, that is a bit odd. I don't see anything wrong with the code you posted.
How are you including your ui:composition in your master page?
Things I would try if I were you:
1) Another browser -- the submitted values from your form are
generated by your browser -- maybe the one you're using
I have two portlets that both work when they are loaded into my portal
on their own. I can hammer them to my heart's content as long as only
one is loaded. When I load the second one and try to click on any link,
or do any type of action, the follow exception gets thrown:
Caused by:
PLEASE IGNORE THIS EMAIL MAIL / THREAD
I apologise to one and all. __Sorry__.
--
Peter Pilgrim
Organiser / Founder ( JAVAWUG
http://developers.sun.com/jugs/display/europe/gbr/london )
( ( ( ( (
(
How could I call a jsf page from a jsp page passing a property form a backing bean?-- Vladimir M Coutinho
Hi,
i wish to create an ajax component panel that is simply a panel with
particular javascript effect to expand and contract. However i found a
solution but i don't know if this is the right solution. I will use dwr
servlet to communicate by ajax (as explained in blue prints catalog
article)
You might take a look at the
org.apache.myfaces.custom.accordion.HtmlAccordionPanel in the MyFaces
Tomahawk sandbox.
On 3/23/06, John Slave [EMAIL PROTECTED] wrote:
Hi,
i wish to create an ajax component panel that is simply a panel with
particular javascript effect to expand and contract.
If I have:t:div id="div1" rendered="false" Blah blah blah h:inputText id="it1" value="text"//t:divit will still render Blah blah ... Isn't the text between the jsf tags buffered or something?Thanks
7 bucks a month. This is Huge Yahoo! Music Unlimited
Take a look at http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls
Hubert
On 3/23/06, Vladimir Coutinho [EMAIL PROTECTED] wrote:
How could I call a jsf page from a jsp page passing a property form a
backing bean?
--
Vladimir M Coutinho
You have to surround your plain HTML with f:verbatim tags.
t:div id=div1 rendered=false
f:verbatimBlah blah blah/f:verbatim
h:inputText id=it1 value=text/
/t:div
Hubert
On 3/23/06, Costa Basil [EMAIL PROTECTED] wrote:
If I have:
t:div id=div1 rendered=false
Blah blah blah
You are right, but in my case I have a lot of html, specifically tables and divs embedding other jsf components. I can't use the verbatim tag because the page doesn't compile. I am thinking of implementing my own tag...Hubert Rabago [EMAIL PROTECTED] wrote: You have to surround your plain HTML
Partially solved:
The problem is if you define adf core render kit as the default default
render kit, some of the tomahawk/myfaces/facelets components have no
rendering context (not sure which component, cos the exception helpfully
does not tell me), hence the null pointer.
application
I am debugging tree and popup in JSF ( without logs too :( ). All
my posts about tree have went unanswered so far, but this one should be
a bit easier and maybe someone will know
Anyways, I now see that the id of every popup that is attached to the
node of every folder in the
Good day,
I am thinking now I can say that this was jetty. That is text from the eclipse Display window (debug perspective).
facesContext.getExternalContext().getRequestParameterMap().get(_id4:tit)
null
(java.lang.String)
facesContext.getExternalContext().getRequestParameterMap().keySet()
I suggest using a phaseListener instead of a filter. if you use a filter it will mess up the css files( effects mozilla) the sample phaseListener is in the facelets wikiOn 3/23/06,
Alexander Panzhin [EMAIL PROTECTED] wrote:
If you're using Facelets the only way is making a filter and adding
I have two selectionOneMany in page, one for county and the other for city.
A valueChangeListener stick with country, after change city will be
fetch new value corspand with county.
Everything is fine for displaying and change county. But if I update
this form after change a county, there is a
74 matches
Mail list logo