Hi,
I'm looking for the code behind this methods :
of the master detail example :
action=#{detailToggler.toggleDetail}
from the following example :
http://www.irian.at/myfaces/masterDetail.jsf
I doesn't found the managed bean used by this example
Regards
Hi!
I don't know whether this would help u, but this is what i do:
- Set immediate=true for both inputs in table and action
- When action executes, call first table.processUpdates, where table is the
UIData bound to table. This would copy submitted values into model.
Hope this helps.
-
Thank you for your reply Richard,
basically i followed you suggestion, i just putted the f:subview tag
into the file to include.
Nevertheless i took them away there, to put it into the main-page - the
same result!
here is my minimal test-case :
main-page :
%@ page pageEncoding=UTF-8
hi group,
for some reasons you souldn't change the file-extension for
include-Files in conjunction with dynamic includes jsp:include
page=yourPage.jsp(f)
even though you configured the new extension in you web.xml
i.e. jspf for file fragments
servlet-mapping
servlet-nameFaces
Hi all,
I want to use a datatable element and render it as an HTML table
element, following some rules which provide accessibility. As you may
know accessibility rules demand a caption rendered for each HTML table,
and some attributes rendered for each cell of the table.
Concerning the
Hi Elenh!
I want to use a datatable element and render it as an HTML table
element, following some rules which provide accessibility. As you may
know accessibility rules demand a caption rendered for each HTML
table, and some attributes rendered for each cell of the table.
According to
Does anyone have an idea why the
s:inputTextAjax tag might not display the error message when the input
field focus changes?
I have copied the source code directly from http://www.irian.at/myfaces-sandbox/inputAjax.jsp.source
h:panelGrid
h:outputText styleClass="standard_bold"
Mario Ivankovits wrote:
Hi Elenh!
I want to use a datatable element and render it as an HTML table
element, following some rules which provide accessibility. As you may
know accessibility rules demand a caption rendered for each HTML
table, and some attributes rendered for each cell of the
I have a simple page (using facelets but I think its a faces problem).
xmlns:f=http://java.sun.com/jsf/core;
xmlns:h=http://java.sun.com/jsf/html;
h:form
h:outputLabel for=listfoo/h:outputLabel
h:selectOneMenu value=${booleanTest.choice} id=listf:selectItems
Hi!
First of all, thank you a lot for the immediate reply.
Accessibility is something we have to take more care of, I think.
In my previous post I forgot to mention that I'm using My Faces
through the project seam of JBoss. Seam adds some new tags but the
element datatable I use comes from My
Is it possible only to show back, month, forward and omit days?
moreover is it possible to use images as back and forward?
thanks in advance, Chris
--
View this message in context:
http://www.nabble.com/calendar-setup-tf1884742.html#a5152266
Sent from the MyFaces - Users forum at Nabble.com.
How would I add an onload event to the page containing my custom component?
--
View this message in context:
http://www.nabble.com/Custom-Component%3A-adding-an-onLoad-event-tf1884783.html#a5152381
Sent from the MyFaces - Users forum at Nabble.com.
I can see that the shale filtered and viewhandler are triggered.. all
seems configured correctly, but the view controller isn't working.
Can you explain a little how it is supposed to work? Where are the
requests intercepted and those callback methods called? I see those
some code in your
Is it possible to add row in the top wich shows days in month view and how
would one go about doing that?
thanks, ldr
--
View this message in context:
http://www.nabble.com/schedule-component-month-view-tf1885063.html#a5153242
Sent from the MyFaces - Users forum at Nabble.com.
Add this to your t:schedule tag:
headerDateFormat=E dd-MM-
And be sure to set your mode to ScheduleModel.MONTH (kidding!). Want more?
Read:
http://myfaces.apache.org/tomahawk/schedule.html
Regards,
David
-Original Message-
From: ldr [mailto:[EMAIL PROTECTED]
Sent: Monday, July 03,
I ran out of time and used javascript (ewww!)
--
View this message in context:
http://www.nabble.com/Custom-Component%3A-changing-attributes-of-other-components-tf1884783.html#a5155013
Sent from the MyFaces - Users forum at Nabble.com.
I have a design question regarding a POJO entity bean,
dependency injection, and storing the POJO in the
user's session.
For example, there is a web application where you
update some entity through several wizard like
screens. Then, this information is persisted to a
database. The information is
On 7/3/06, Cosma Colanicchia [EMAIL PROTECTED] wrote:
I can see that the shale filtered and viewhandler are triggered.. allseems configured correctly, but the view controller isn't working.Can you explain a little how it is supposed to work? Where are therequests intercepted and those callback
I am having a problem that is vexing me, and I can't seem to find a reference to exactly what I am experiencing.
I have a jsp with the following code:
h:outputLabel for="" styleClass=label
h:outputText value=#{bundle.projManagerLabel} /
/h:outputLabel
h:selectOneListbox
Steven,
is
ProjectBean.projectManager an instance of OrganizationPeople or
Integer?
[Neuman,
Ben J., AM IRM]
-Original
Message-From: Steven Peacock
[mailto:[EMAIL PROTECTED]Sent: Monday, July
03, 2006 2:22 PMTo: MyFaces DiscussionSubject: Value is
not a valid option on a
It has evolved into an Integer.
My original code was :
h:selectOneMenu id=projMgr value=#{ProjectBean.project.organizationPeople.peopleId}
which eventually maps back to my HIbernate stuff.
I thought I'd simplify it and just see if I could get the integer value back into the Bean, so I
I have a tree table that I only want to display if direct is true.
The direct flag is a property of the backing bean and is used as follows:
table jsfc=t:tree id=treeRollup var=employee
Thanks!
Ouch. This is where pair programming could have saved an embarrassing
moment.
I am working on two projects. One has contacts and one has contracts...
After awhile they start looking the same
-Original Message-
From: Dennis Byrne [mailto:[EMAIL PROTECTED]
Sent: Monday,
Yes, the booleans get everyone. I seem to remember ${b.nonExist} silently
evaluating to false, so it's probably a carry over from JSP EL.
Dennis Byrne
-Original Message-
From: Rick [mailto:[EMAIL PROTECTED]
Sent: Monday, July 3, 2006 04:17 PM
To: ''MyFaces Discussion''
Subject: RE:
HtmlTree.java (the original not HtmlTree 2) was throwing and
exception on the following line (line 806 for version 1.1.3)
public void addToModelListeners()
{
Collection
listeners =
getModel(FacesContext.getCurrentInstance()).getTreeModelListeners(); !
NullPointer exception
Rick-
thanks for the patch. might be true. anyway, can you bring it up to JIRA?
Would be great!
-Matthias
On 7/3/06, Rick [EMAIL PROTECTED] wrote:
HtmlTree.java (the original not HtmlTree 2) was throwing and exception on
the following line (line 806 for version 1.1.3)
public void
I'm adding an HtmlSelectOneMenu component programmatically like this
HtmlSelectOneMenu menu = new HtmlSelectOneMenu();
menu.setId(123);
menu.setValueBinding(value, app.createValueBinding(#{MyBacking.x}));
menu.setConverter(new IntegerConverter());
Backing bean MyBacking has a
h:inputText can set required attribute to true, that means this field
is a mandatory fields.
But it does not trim string before validation. So an empty space also
a valid value for input text with required attribute.
How to solve this problem, that I do not have to add trim string
function in
Anthony,
Try writing a custom validator ... something like IsEmptyValidator.
Dennis Byrne
-Original Message-
From: Anthony Hong [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 4, 2006 12:09 AM
To: 'MyFaces Discussion'
Subject: required attribute of h:inputText consider space as valid
Is it possible to modify current required validation that I do not
have to change anything.
On 7/4/06, Dennis Byrne [EMAIL PROTECTED] wrote:
Anthony,
Try writing a custom validator ... something like IsEmptyValidator.
Dennis Byrne
-Original Message-
From: Anthony Hong [mailto:[EMAIL
30 matches
Mail list logo