Did you add it to the faces config file?
_
From: Jon Steelman [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 14, 2006 6:10 PM
To: users@myfaces.apache.org
Subject: Custom Converter exception during processing of faces-config.xml
Hi - When I try to use a custom Converter, I get a
Ok, so its time I addressed this issue:
datatable provides a single headerClass attribute which is applied to all
th elements of the table. Using text-align CSS attributes within a CSS
class allows the table header to align all th the same way.
So, how to align individual table header elements
://myfaces.apache.org/tomahawk/tagreference.html#column
On 12/14/06, Julian Ray [EMAIL PROTECTED] wrote:
Ok, so its time I addressed this issue:
datatable provides a single headerClass attribute which is applied to
all th elements of the table. Using text-align CSS attributes within
a CSS class allows
Wouldn't singletons need to be multi-threaded otherwise you will get probems
with concurrency. Would a pooled resource pattern make more sense if you
validators/converters are costly to create?
_
From: Iordanov, Borislav (GIC) [mailto:[EMAIL PROTECTED]
Sent: Friday, December 08, 2006
Hmmm, run into this one before. Best idea is to change to JRockit and this
problem never happens again :) Next best is to change the permgen space
using -XX:MaxPermSize=256m
_
From: kindsol [mailto:[EMAIL PROTECTED]
Sent: Monday, November 27, 2006 1:07 PM
To:
to that action String and to
the rules defined in faces_config.xml let the faces Servlet do the
forward. Again, I want to
do
an explicit forward from an action method to a specific page, how can
I accomplish this?
Regards,
JV
De: Julian Ray [mailto:[EMAIL
Its easy to create one. Just use a session scoped bean and add a stack to
it. You can get the last view rendered using the following
return FacesContext.getCurrentInstance().getViewRoot().getViewId();
_
From: Jorge Vásquez [mailto:[EMAIL PROTECTED]
Sent: Friday, November 24,
You could use a iFrame on each tabbed pane and load the PDF and XLS data
into iFrame using a JSF session-aware servlet or phaseListener.
_
From: Leyzerzon, Simeon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 9:19 AM
To: 'users@myfaces.apache.org'
Subject: Pdf and tabbed
Ray,
Thanks for the response, I understand the iframe part, could you please
elaborate on the JSF session-aware servlet/phaseListener?
Thanks,
Simeon
_
From: Julian Ray [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 10:13 AM
To: 'MyFaces Discussion'
Subject: RE: Pdf
Is there a good place to post help-wanted ads for the MyFaces community?
, or know
anyone who might be interested in this work, please send a resume, hourly
rates and other pertinent information to me directly (not the list!).
Julian Ray
Julian J Ray, Ph.D.
C2G Logistics Inc.
Chief Technical Officer
Suite 316
One Apple Hill
Natick MA 01760
email: [EMAIL
We use a filter which examines the request and creates a bean detailing the
client's capabilities and other info which is then pushed into the session.
Hidden JS-driven form fields in the form capture any aspect we wish to track
while the rest of the info comes from the headers. Our backing beans
Subject: Re: Get browsers resolution
So i need to to recursively to find all forms and add them hidden field and
javascript? And how i get this info when the user session is created so the
first opened page could be rendered according to this info?
2006/11/17, Julian Ray [EMAIL PROTECTED
One way is to use the tomahawk saveState control. Use a single request level
bean to collect your form data. Save the bean use saveState in each page of
the wizard. If the user wants to cancel use an action which either navigates
to a page where there is not saveState (the wizard backing bean is
Why not simply store the current background color in the onmouseover event
and replace it in the onmouseout event?
-Original Message-
From: Nebinger, David [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 01, 2006 10:36 AM
To: MyFaces Discussion
Subject: rowClasses is cool, but how
What browser are you using on the PDA? IE does not support JavaScript on the
the PDAs so many of the Tomahawk actions fail. You could try Mozilla's new
browser minimo or Opera for mobile. Does anyone know of any other browsers
which work?
-Original Message-
From: Stan81 [mailto:[EMAIL
We use Hibernate and JSF but don't use Spring. We use a
Shale-like framework where each JSF viewhas a single backing bean which is
Hibernate-session-aware. Works great.
From: Mosimann Matthias
[mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006
8:14 AMTo: MyFaces DiscussionSubject:
classes. And between them you have this shale-like framework. Do I understand
that right?
regards
Matthias
Von: Julian Ray [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 12. Oktober 2006 14:24An: 'MyFaces
Discussion'Betreff: RE: Combine Hibernate and JSF, but
how?
We use Hibernate and JSF
using Facelets?
Jurgen
Op ma, 11-09-2006 te 09:15 -0700, schreef Julian Ray:
Does anyone have any ideas on this? I've been pulling my hair out over it
for
two days now :)
Thanks
Julian
Julian Ray wrote:
I'm having problems getting the clicked entry from the scheduler
Julian Ray:
Hi Jurgen,
I'm back on this and still have not found a resolution.
Looking at the code, example 5 does not return the selected entry but
simply
identifies that an entry was clicked in the mouse listener and the action
method simply returns success. Am I missing something here
You are probably better managing the backing bean in the session in that
case.
-Original Message-
From: mjovanov [mailto:[EMAIL PROTECTED]
Sent: Monday, September 18, 2006 5:27 PM
To: users@myfaces.apache.org
Subject: Question About saveState
Hi everyone,
On page X I have a saveState
Does anyone have any ideas on this? I've been pulling my hair out over it for
two days now :)
Thanks
Julian
Julian Ray wrote:
I'm having problems getting the clicked entry from the scheduler. The
ScheduleMouseEvent is set to SCHEDULE_ENTRY_CLICKED but in the mouse
listener event
I'm having problems getting the clicked entry from the scheduler. The
ScheduleMouseEvent is set to SCHEDULE_ENTRY_CLICKED but in the mouse
listener event and the action event the getModel().getSelectedEntry() is
always null and isEntrySelected() always returns false.
Have I missed something? Do
-
From:
Julian
Ray
To: 'MyFaces Discussion'
Sent: Sunday, September 10, 2006 11:21
AM
Subject: RE: Schedule Tomahawk
Component
Its in the Tomahawk jar.
From: Stephen Osella
[mailto:[EMAIL PROTECTED] Sent: Sunday, September 10, 2006
12:19 PMTo: users
Its in the Tomahawk jar.
From: Stephen Osella
[mailto:[EMAIL PROTECTED] Sent: Sunday, September 10, 2006 12:19
PMTo: users@myfaces.apache.orgSubject: Schedule Tomahawk
Component
I can't find the custom Schedule component (that is
advertised in
We put all our session scoped variables into a managed bean which has
session scope. It then becomes easy
#{SessionBean.foo.bar}
-Original Message-
From: James Reynolds [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 2:41 PM
To: MyFaces Discussion
Subject: RE: is there a way to
Perhaps a good strategy would be to add bindings to all the form elements
you need to validate and a hidden form element at the bottom of the page and
perform a backing-bean validation on this hidden element. You can validate
all the values in the bound form elements at one time and as complicated
Did you register the validator in the faces-xml file?
-Original Message-
From: Ali Abdel-Aziz Ali [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 26, 2006 6:52 AM
To: MyFaces Discussion
Subject: Custom Validation Problem
Hi All,
I have problem in building Custom Validation.
I want
Has anyone managed
to get a JSF page to automatically refresh. Using meta tags is out because the
URL lags behind the actual view in the browser soit refreshes the previous
view.
I would think that
you couldadd a timer and refresh current view using _javascript_ and a
hidden submit button
Here are some solutions
[1] Use the rowClasses to set a CSS style with the
background image set.
[2] use a nbsp; and styles again!
[3] h:columnh:panelGroupitem1, item 2, item
3...,item,n/h:panelGroup/h:column
From: Jorge Vásquez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 25, 2006
Hi Kuni,
We have a solution which does exactly what you want. However, it requires a
bit or organization of your JSF files. In particular:
A session-scoped stack to store previous views
A view-specific mechanism to push each new view to the stack
A standardized means to associate a view name
Please keep this on the list for everybody to read.
-Original Message-
From: Kuni [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 25, 2006 4:38 PM
To: Julian Ray
Subject: Re: [Fwd: RE: 'dynamic' breadcrumb navigation -- possible?]
that is exactly that what i mean!
i hope there is enough
Add immediate=true to the command button. This will by pass any updates.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 4:37 PM
To: MyFaces Discussion
Subject: how do you folks handle a Cancel button?
hello to everyone,
I have a
This would be a good topic for the wiki.
-Original Message-
From: Kuni [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 22, 2006 7:03 AM
To: MyFaces Discussion
Subject: breadcrumb navigation
Hello,
i need a breadcrumb-navigation for my actual project. i have no ideas how to
realize this
this is useful for others too.
can you (again) put it to our wiki ?
Thank you!
On 7/18/06, Julian Ray [EMAIL PROTECTED] wrote:
We do exactly the same thing. Here is my JS.
Note how the checkboxes are named. We have one funcrtion which toggles
checks on and off and another which checks for one
Is is a container such as a gridPanel that you need? If so, you could
probably subclass the gridpanel and use a backing bean to add other
components on demand. We do this for our tab menus.
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006
Our project started off using Suns Creator which is JSF-RI + a few
additional components. We quickly found
the MyFaces + Tomahawk provides a much better option and moved our entire
project suite (6 apps) over to it. I purposfully stayed away from ADF when
making a choice as it still belonged to
Would that be English-English, US English or Bush-English?
-Original Message-
From: Mario Ivankovits [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 6:48 AM
To: MyFaces Discussion
Subject: Re: [OT] Mailing list Support in other languages, was Re:
question
ironic
Ask
An update on this. After doing a comparison of changes between the dev with
the just-compiled myfaces 1.1.5 and my last working version (8 days ago) I
found that I have somehow missed copying the new build for myfaces.impl
snapshot.
When I copied the impl everything started to work fine.
--
To do this you will need to use bindings into the backing bean which does
the validation. You might also want to take a look at the validateCompareTo
validator and see if this does what you need.
-Original Message-
From: Ali Abdel-Aziz Ali [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July
We do exactly the same thing. Here is my JS.
Note how the checkboxes are named. We have one funcrtion which toggles
checks on and off and another which checks for one or more checked.
/*
* Browser-safe get object. Tries all three approaches to get an object
* by its element Id.
*
* Param:
Take a look at the saveState tag. It might do what you need.
-Original Message-
From: Aleksei Valikov [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 11:51 AM
To: MyFaces Discussion
Subject: Process scope
Hi.
In web applications, it is often desirable to have a process scope of
We download the exe from Suns web site then change the
default install location to c:\jsk1.5 and don't install the optional JRE. Works
like a charm.
From: Bret Kumler
[mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 6:43
PMTo: MyFaces DiscussionSubject: OT: jdk
1.5
Anyone know
Why not create a list in your backing bean to store the rows. Add the
backing bean to session scope or (a better approach) use the t:saveState tag
to store the list in the request.
-Original Message-
From: Purvesh [mailto:[EMAIL PROTECTED]
Sent: Monday, July 10, 2006 6:27 AM
To:
Have you tried the selectManyPicklist from the sandbox? Works like a charm!
-Original Message-
From: sarma [mailto:[EMAIL PROTECTED]
Sent: Monday, July 10, 2006 7:16 AM
To: users@myfaces.apache.org
Subject: selectonemenuitem problems Value is not a valid option
Hi,
I am working
Actually, the AbstractUIBean is a base class which is not part of the
JSF/MyFaces/Tomahawk framwework but is part of our own implementation and
provides basic functions (such as session participation, messages etc.)
which all our managed beans use.
-Original Message-
From: Torsten Krah
A simple way would be to create a container such as a h:groupPanel for each
tabbed pane in the JSP and use a binding to it in a backing bean, then add
to the panel from the backing bean.
-Original Message-
From: janw [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 05, 2006 10:33 AM
To:
Hi Paul,
We use JFreeCharts by creating a servlet which serves up the charts and then
creating a URL in the backingbean which is set as the value for the
graphicImage
Eg h:graphicImage styleClass=... value=#{myBackingBean.chartURL} /
-Original Message-
From: Paul Spencer [mailto:[EMAIL
Use f:verbatim or t:htmlTag or h:outputText escape=false
value=#{myBackingBean.htmlText}
-Original Message-
From: ldr [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 5:29 AM
To: users@myfaces.apache.org
Subject: html text TabbedPane?
Is it possible to have plain html text in a
is created, i.e. in the managed bean
or servlet, how the servlet gets what is needs, and any housekeeping that is
performed.
Paul Spencer
Julian Ray wrote:
Hi Paul,
We use JFreeCharts by creating a servlet which serves up the charts
and then creating a URL in the backingbean which is set
Hmmm, let see...
as many of our charts require different params, as well as some core params
to be sent, we naturally end up duplicating a lot of code in the backing
beans. Even refactoring this code into base classes did little to help. This
duplicated code has as couple of negatives: [1] its
Hi Michael,
You might want to check to see if your login page is
entering into a session. When the server restarts and the same page has not been
refreshed in the browser it might be associated with a stale session. When the
browser refreshs a new (and valid) session will be created. Two
Moved to Tomahawk in the latest builds.
-Original Message-
From: ::SammyRulez:: [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 5:04 AM
To: MyFaces Discussion
Subject: Re: myfaces tomahawk components
schedule component is not in 1.1.3 neither :-(
2006/6/21, Julian Ray [EMAIL
A couple of thoughts
[1] Use a join to get a composite row back from the database which contains
the complete set of data you need
[2] In your backing bean create a set of methods to get the required column
data from whichever table it exists in This can be done as follows
t:column
Some suggestions
[1] Use client-side population of teh drop
downs
[2] Use 2 backing beans, 1 for the drop down and 1 for the
articles. Lazily load all getters. Use t:saveState to store the filter
bean.
[3] Use Ajax
From: Gregg Bolinger
[mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28,
Julian,Thanks for the suggestions. How would I go about
populating _javascript_ values with data from the backing bean if I were to go
with [1]? Any links with this info?Thanks.
On 6/28/06, Julian
Ray [EMAIL PROTECTED]
wrote:
Some
suggestions
[1] Use
client-side population of teh
Type
Question
Thanks Julian. *Unfortunately* I'm well adapt at _javascript_ so
I already know how to do that. What I don't know is how to populate
_javascript_ arrays with data from my backing bean.Aside from a custom
component, I'd assume I need to do something like that. Thanks.
On 6/28/06, Julian
estion
Doh! Didn't even think about that. Thanks.
On 6/28/06, Julian
Ray [EMAIL PROTECTED]
wrote:
Couldn't
you use a h:outputText value="#{myBackingBean.}} / and
either (a) write out the whole _javascript_ or (b) just write out the array
part?
From:
Am I doing this wrong?
Thanks.
On 6/28/06, Julian
Ray [EMAIL PROTECTED]
wrote:
Make
sure to use forceId on the select items so the JS can find them otherwise
you will have to prefix the component ids with "formname:"
ue="0"ALL/option/selectWhich is accurate as to:
t:selectOneMenu forceId="true" id="catSelect"
value="#{ArticleListBean.category}"
f:selectItem itemLabel="ALL" itemValue="0" //t:selectOneMenu
Anything jump out?
On 6/28/06, Julian
Ray [E
o:
t:selectOneMenu forceId="true" id="catSelect"
value="#{ArticleListBean.category}"
f:selectItem itemLabel="ALL" itemValue="0"
//t:selectOneMenu Anything jump
out?
On 6/28/06, Julian
Ray [EMAIL PROTECTED]
wrote:
You can add a properties file which overrides the default messages. Here are
some that we have used in the past
javax.faces.component.UIInput.REQUIRED=* value required.
javax.faces.component.UIInput.CONVERSION=* invalid.
javax.faces.validator.NOT_IN_RANGE=* value must be between {0} and {1}.
Hi Maria,
The book Core JavaServer Faces has a whole chapter on using datatables
with lots of examples which you might want to take a look at.
-Original Message-
From: Maria G [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 10:37 AM
To: users@myfaces.apache.org
Subject: creating
I don't think that there is any direct way you can change the column class
for an individual cell without writing your own renderer. You can always
have outputText elements in the cells which you can use either EL or a
backing bean to set the styleClass. For example using EL
h:column
Hi John,
How about creating a filter which performs a redirect to a
logon page if the session has expired.
Here is some code
which outlines the basic idea. You need to deal with pages such as logon and
password retrieval pages (isAllowedPage() performs this function and figure out
the
,
Will this approach protect from a user clicking on an
action within anorphanedpage where the session has expired, or will
it only function if the user does a refresh (reloading the
page)?
John
From: Julian Ray [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 25, 2006 2:00 PMTo: 'MyFaces
Discussion'Subject
Try this
protected void clearMessages() {
Iterator iter = getFacesContext().getMessages();
while (iter.hasNext()) {
iter.remove();
}
}
-Original Message-
From: sarma [mailto:[EMAIL PROTECTED]
Sent: Friday, June 23, 2006 5:56 AM
To:
CTED] Sent: Wednesday, June 21, 2006
10:04 AMTo: MyFaces DiscussionSubject: Re: Typical
Validation Issues
[1] Not really. The user needs the Category Name field along
with it's Add button to be able to add a Category.[2] I could probably do
that (worst case)[3] This sounds feasable. Could
me Required",
null);
throw new
ValidatorException(facesMessage);
} }
On 6/21/06, Julian
Ray [EMAIL PROTECTED]
wrote:
Hi
Gregg,
here is
some code for [3]
[1]
example bean-based validation. Here is a function we use to validate
anew user name for a customer accou
I'm no expert on EL but what you are describing sounds like a good candidate
for a custom component.
-Original Message-
From: Anders W. Tell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 11:05 AM
To: MyFaces Discussion
Subject: Looping in JSF?
Hi,
I want to create list of
to today in
t:inputCalendar?
Thanks Julian for your quick reply and suggestion.
It looks very good for my needs. I haven't used the sandbox. Do I need any
additional jars?
Thanks,
Emily
On 6/21/06, Julian
Ray [EMAIL PROTECTED]
wrote:
Rather
than writing your own, check out
Try
h:outputText value=#{Welcome authedUser.firstName}/
-Original Message-
From: Troy Bull [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 3:07 PM
To: users@myfaces.apache.org
Subject: Something Simple
Greetings:
I have an attribute in a backing bean and I want to display
Of course its always best to
useCSSso
h:outputTextstyleClass="myHeaderClass"
value="Welcome#{authedUser.firstName}"/
From: CD [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 3:10 PMTo: MyFaces
DiscussionSubject: Re: Something Simple
f:verbatim
h2
/f:verbatim
af:outputText
Does anybody use
this channel? whenever I check it seems somewhat under-represented
:)
If you are using tomahawx then t:htmlTag value=br / will work. Otherwise
use f:verbatimbr//f:verbatim
-Original Message-
From: Troy Bull [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 4:33 PM
To: MyFaces Discussion
Subject: Re: Something Simple
Ok, in the vein of avoiding
There is some discussion on this topic in the WIKI that you might want to
look at.
-Original Message-
From: Mario Ivankovits [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 20, 2006 1:47 AM
To: MyFaces Discussion
Subject: Re: exceptions
Hi!
I am having the same old issue with exception
try adding h:column
around the commandLink tag.
From: Gregg Bolinger
[mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 10:42
AMTo: MyFaces DiscussionSubject: dataList displaying
horizontal
I created a dataListt:dataList var="category"
value="#{CategoryAdminBean.categories}"
a bunch Julian!
Julian Ray wrote:
I have started this section, please contribute where you can -- if you
look on the WIKI I added a new section on handling messages/errors.
There was also some earlier discussion about handling server 500
errors which should be added as well. If I can dig
This link might help
http://wiki.apache.org/myfaces/_javascript_WithJavaServerFaces
From: Meghana [mailto:[EMAIL PROTECTED]
Sent: Monday, June 19, 2006 3:59 PMTo:
users@myfaces.apache.orgSubject: Navigation problem with _javascript_
Hi, I am using a _javascript_ function to check a
I have started this section, please contribute where you can -- if you look
on the WIKI I added a new section on handling messages/errors.
There was also some earlier discussion about handling server 500 errors
which should be added as well. If I can dig it out of the posts I will add.
--
View
I posted some code oin the forum which shows how to get the faces context from within a servlet. You might want to do a search and get take a look.
- Original Message From: Gregg Bolinger [EMAIL PROTECTED]To: MyFaces Discussion users@myfaces.apache.orgSent: Thursday, June 15, 2006 1:42:28
You can always use an included JSP and use tomahawk's aliasBean. Not as good long-term solution as facelets but is less invasive on an existing code base.
- Original Message From: Andrew Robinson [EMAIL PROTECTED]To: MyFaces Discussion users@myfaces.apache.orgSent: Thursday, June 15, 2006
?
On 6/15/06, Julian
Ray [EMAIL PROTECTED]
wrote:
I
posted some code oin the forum which shows how to get the faces context
from within a servlet. You might want to do a search and get take a look.
-
Original
You need to override the default stylesheet settings using !important. For
example:
td.activeTab {
background-color: #FEFEFE ! important;
border-top: 1px solid #91A0CA ! important;
}
-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 6:19
.
Julian,
This does not work for the font-weight attribute. ! important is not need
for background-color. I am not sure about other attributes.
Paul Spencer
Julian Ray wrote:
You need to override the default stylesheet settings using !important.
For
example:
td.activeTab {
background
Hi John,
We use JDK 1.5_06 for all our builds and it works fine. As the libs are
compiled with 1.4 there are a few warnings generated against collections
coming from the libs but that is the only issue.
_
From: John Mani [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 2:30 PM
Hi Daniel
Here are a couple of things you could try
[1] Your page includes all the components but you use the rendered=
attribute on each panel using EL or a backing bean to determine if a
particular panel should be rendered
[2] Dynamically create the contents of the panel using a backing bean
What is the scope for your backing bean? It probably needs to be request
otherwise it will only be craeted once. Also, how are you calling the method
which creates the view components? If you call it in the constructor it will
get built too early so you need to find some way to build the
I faced a similar problem when using conditionally rendered panes. The best
solution I found was to render them all with JSP but use javascript to hide
the unused panes. Works like a charm and is actually better as I can switch
the rendered pane without requiring a round-trip to the server.
We use sandbox compoenns but to control the process we have
the sandbox source and compile the sandbox ourselves -- on our schedule. This
way any issues which show up can be dealt with and we can debug. Changes to the
tomahawk or sandbox components are downloaded from svn and tested before
Title: panelTabbedPane question
try using a value binding for the tabChangeListener handler
eg. x:tabChangeListener
type="#{myBackingBean}"
From: James Richards
[mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006
12:30 PMTo: users@myfaces.apache.orgSubject:
panelTabbedPane question
Has anyone figured
out how to include some comments in the JSP files which are output to the
finished JSP page eg. copyright statements etc. but have other comments which
are removed by the JSF servlet (eg version info, authorship, change log
etc.)
Thanks
.
Both accept multilign comments
2006/6/7, Julian Ray [EMAIL PROTECTED]:
Has anyone figured out how to include some comments in the JSP files
which are output to the finished JSP page eg. copyright statements
etc. but have other comments which are removed by the JSF servlet (eg
version
(a) your converter has to implement the Conveter interface
(b) if it does not require params you can simply create a converter
reference in the faces config xml file which would look like
converter
converter-idmy.package.Nl2brConverter/converter-id
Ooops. The JSP ref should read
t:outputText convertermy.package.Nl2brConverter
value=#{someBean.someAttr} /
-- forgot to remove the closing }
-Original Message-
From: Julian Ray [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 1:24 PM
To: 'MyFaces Discussion'
Subject: RE
Try
h:outputText escape=false value=... Etc,
-Original Message-
From: Wolf Benz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 4:30 PM
To: MyFaces Discussion
Subject: t:htlmTag bug (I think)
Hi List,
I think there is a bug in the t:htmlTag:
First some explanantion about
I just pulled the
latest nightly build and found some new behaviour in the wayan included
backing bean is being addressed.
Each of our JSP
pages includes a page snippet (jspf) which renders a tab menu. The menu is
generated dynamically from a backing bean in request scope by binding
Hmmm, I always thought that the model had not been updated when the
ValueChangeListener event is sent in which case the value would be the old
value and the new value is only available via event.getNewvalue(). If you
call renderResponse() from the value change listener it bypasses all model
Hi Purvesh
You need to implement a tabChangelistener. Heres one way to
do it.
[1] Set serverSideTabSwitch to true
serverSideTabSwitch="true"
[2] Add
a tab change listener as a child component to the
panelTabbedPane
t:tabChangeListener
type="cms.beans.inventory.StorageArea"/
Ok,
Here is a first cut at some specs:
Name: dialogBox
Synopsis: renders a formatted and styled container which can include other
JSF components. The dialogBox can render in open mode which displays the
body area or closed mode which hides the body and only displays the title
area. The
1 - 100 of 165 matches
Mail list logo