master detail bean

2006-07-03 Thread Alexandre Jaquet
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

Re: Understanding phases and UIInput inside of UIData

2006-07-03 Thread Jana Parvanova
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. -

Re: jsp:include and JSF

2006-07-03 Thread R. Müller
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

Re: [SOLVED] jsp:include and JSF

2006-07-03 Thread R. Müller
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

datatable presentation providing accessibility

2006-07-03 Thread Elenh Tsigka
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

Re: datatable presentation providing accessibility

2006-07-03 Thread Mario Ivankovits
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

Tomahawk Sandbox: s:inputTextAjax does not display error msg when field focus changes

2006-07-03 Thread Kevin Shale
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"

Re: datatable presentation providing accessibility

2006-07-03 Thread Elenh Tsigka
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

Portlet Can not call encodeNamespace() error

2006-07-03 Thread John Singleton
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

Re: datatable presentation providing accessibility

2006-07-03 Thread Mario Ivankovits
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

calendar setup

2006-07-03 Thread ldr
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.

Custom Component: adding an onLoad event

2006-07-03 Thread octoberdan
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.

Re: Shale and Trinidad

2006-07-03 Thread Cosma Colanicchia
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

schedule component month view

2006-07-03 Thread ldr
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.

RE: schedule component month view

2006-07-03 Thread David Friedman
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,

Re: Custom Component: changing attributes of other components

2006-07-03 Thread octoberdan
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.

Dependency Injection ,POJO Entity, Design Question

2006-07-03 Thread Paul Sideleau
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

Re: Shale and Trinidad

2006-07-03 Thread Craig McClanahan
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

Value is not a valid option on a selectOneMenu

2006-07-03 Thread Steven Peacock
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

RE: Value is not a valid option on a selectOneMenu

2006-07-03 Thread Neuman, Ben J., AM IRM
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

RE: Value is not a valid option on a selectOneMenu

2006-07-03 Thread Steven Peacock
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

Tree Table support, it does not seem to handle the rendered attribute correctly

2006-07-03 Thread Rick
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

RE: Tree Table support, it does not seem to handle the rendered attribute correctly

2006-07-03 Thread Rick
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,

Re: Tree Table support, it does not seem to handle the rendered attribute correctly

2006-07-03 Thread Dennis Byrne
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:

Possible Patch for java.lang.NullPointerException in HtmlTree.addToModelListeners

2006-07-03 Thread Rick
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

Re: Possible Patch for java.lang.NullPointerException in HtmlTree.addToModelListeners

2006-07-03 Thread Matthias Wessendorf
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

Setter not called for value binding

2006-07-03 Thread Rob99
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

required attribute of h:inputText consider space as valid value

2006-07-03 Thread Anthony Hong
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

Re: required attribute of h:inputText consider space as valid value

2006-07-03 Thread Dennis Byrne
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

Re: required attribute of h:inputText consider space as valid value

2006-07-03 Thread Anthony Hong
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