RE: Custom Converter exception during processing of faces-config.xml

2006-12-15 Thread Julian Ray
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

datatable headerClass

2006-12-14 Thread Julian Ray
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

RE: datatable headerClass

2006-12-14 Thread Julian Ray
://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

RE: singleton validators and converters

2006-12-08 Thread Julian Ray
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

RE: Newbie: OutOfMemoryError: PermGen space Question

2006-11-27 Thread Julian Ray
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:

RE: navigation pages history...

2006-11-26 Thread Julian Ray
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

RE: navigation pages history...

2006-11-25 Thread Julian Ray
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,

RE: Pdf and tabbed pane

2006-11-22 Thread Julian Ray
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

RE: Pdf and tabbed pane

2006-11-22 Thread Julian Ray
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

OT - Looking for help

2006-11-19 Thread Julian Ray
Is there a good place to post help-wanted ads for the MyFaces community?

[OFFTOPIC] MyFaces Help Wanted

2006-11-19 Thread Julian Ray
, 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

RE: Get browsers resolution

2006-11-17 Thread Julian Ray
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

RE: Get browsers resolution

2006-11-17 Thread Julian Ray
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

RE: Using myfaces for a wizard type application

2006-11-17 Thread Julian Ray
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

RE: rowClasses is cool, but how to handle javascript events?

2006-11-01 Thread Julian Ray
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

RE: Strange problem with myfaces components on a PDA

2006-10-17 Thread Julian Ray
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

RE: Combine Hibernate and JSF, but how?

2006-10-12 Thread Julian Ray
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:

RE: Combine Hibernate and JSF, but how?

2006-10-12 Thread Julian Ray
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

Re: Scheduler: Getting Clicked Entry

2006-09-20 Thread Julian Ray
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

Re: Scheduler: Getting Clicked Entry

2006-09-20 Thread Julian Ray
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

RE: Question About saveState

2006-09-18 Thread Julian Ray
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

Re: Scheduler: Getting Clicked Entry

2006-09-11 Thread 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. The ScheduleMouseEvent is set to SCHEDULE_ENTRY_CLICKED but in the mouse listener event

Scheduler: Getting Clicked Entry

2006-09-10 Thread Julian Ray
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

RE: Schedule Tomahawk Component

2006-09-10 Thread Julian Ray
- 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

RE: Schedule Tomahawk Component

2006-09-10 Thread Julian Ray
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

RE: is there a way to pull a session scope variable directly into a jsf tag?

2006-07-27 Thread Julian Ray
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

RE: partial validation of value

2006-07-26 Thread Julian Ray
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

RE: Custom Validation Problem

2006-07-26 Thread Julian Ray
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

Automatic Page Refresh

2006-07-26 Thread Julian Ray
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

RE: Help in table conversion from HTML to JSF...

2006-07-25 Thread Julian Ray
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

RE: 'dynamic' breadcrumb navigation -- possible?

2006-07-25 Thread Julian Ray
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

RE: [Fwd: RE: 'dynamic' breadcrumb navigation -- possible?]

2006-07-25 Thread Julian Ray
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

RE: how do you folks handle a Cancel button?

2006-07-24 Thread Julian Ray
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

RE: breadcrumb navigation

2006-07-22 Thread Julian Ray
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

RE: need javascript syntax to loop through checkbox list from dataTable

2006-07-21 Thread Julian Ray
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

RE: Component tag with variable componenttype, howto?

2006-07-20 Thread Julian Ray
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

RE: JSF-RI, ADF, MyFaces, Facelets. I'm lost.

2006-07-19 Thread Julian Ray
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

RE: [OT] Mailing list Support in other languages, was Re: question

2006-07-19 Thread Julian Ray
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

RE: add resource woes (list is growing)

2006-07-19 Thread Julian Ray
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. --

RE: Custom Validator problem.

2006-07-18 Thread Julian Ray
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

RE: need javascript syntax to loop through checkbox list from dataTable

2006-07-18 Thread Julian Ray
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:

RE: Process scope

2006-07-17 Thread Julian Ray
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

RE: jdk 1.5

2006-07-17 Thread Julian Ray
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

RE: Dynamically adding row in datatable.

2006-07-10 Thread Julian Ray
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:

RE: selectonemenuitem problems Value is not a valid option

2006-07-10 Thread Julian Ray
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

RE: AbstractUIBean class - where to find?

2006-07-06 Thread Julian Ray
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

RE: Dynamically adding tabs to t:panelTabbedPane

2006-07-05 Thread Julian Ray
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:

RE: How to displayi an images generated by a managed bean?

2006-06-29 Thread Julian Ray
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

RE: html text TabbedPane?

2006-06-29 Thread Julian Ray
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

RE: How to displayi an images generated by a managed bean?

2006-06-29 Thread Julian Ray
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

RE: How to displayi an images generated by a managed bean?

2006-06-29 Thread Julian Ray
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

RE: LoginAction not executed after server restart

2006-06-28 Thread Julian Ray
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

RE: myfaces tomahawk components

2006-06-28 Thread Julian Ray
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

RE: dataTable get datas from multiple table

2006-06-28 Thread Julian Ray
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

RE: Design Type Question

2006-06-28 Thread Julian Ray
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,

RE: Design Type Question

2006-06-28 Thread Julian Ray
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

RE: Design Type Question

2006-06-28 Thread Julian Ray
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

RE: Design Type Question

2006-06-28 Thread Julian Ray
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:

RE: Design Type Question

2006-06-28 Thread Julian Ray
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:"

RE: Design Type Question

2006-06-28 Thread Julian Ray
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

RE: Design Type Question

2006-06-28 Thread Julian Ray
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:

RE: Adding star while rendering all required InputText

2006-06-27 Thread Julian Ray
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}.

RE: creating datatable at runtime

2006-06-26 Thread Julian Ray
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

RE: datatable, different cell attribures?

2006-06-25 Thread Julian Ray
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

RE: Protecting pages from expired sessions

2006-06-25 Thread Julian Ray
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

RE: Protecting pages from expired sessions

2006-06-25 Thread Julian Ray
, 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

RE: how can i remove message from faces context

2006-06-23 Thread Julian Ray
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:

RE: Typical Validation Issues

2006-06-21 Thread Julian Ray
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

RE: Typical Validation Issues

2006-06-21 Thread Julian Ray
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

RE: Looping in JSF?

2006-06-21 Thread Julian Ray
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

RE: Is there already a way to restrict users selecting the date prior to today in t:inputCalendar?

2006-06-21 Thread Julian Ray
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

RE: Something Simple

2006-06-21 Thread Julian Ray
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

RE: Something Simple

2006-06-21 Thread Julian Ray
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

IRC Channel #myfaces

2006-06-21 Thread Julian Ray
Does anybody use this channel? whenever I check it seems somewhat under-represented :)

RE: Something Simple

2006-06-21 Thread Julian Ray
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

RE: exceptions

2006-06-20 Thread Julian Ray
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

RE: dataList displaying horizontal

2006-06-19 Thread Julian Ray
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}"

RE: Handling and displaying action errors

2006-06-19 Thread Julian Ray
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

RE: Navigation problem with Java Script

2006-06-19 Thread Julian Ray
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

Re: Handling and displaying action errors

2006-06-18 Thread Julian Ray
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

Re: Force creation of managed bean

2006-06-15 Thread Julian Ray
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

Re: Creating a custom Component for a whole page that renders any other component

2006-06-15 Thread Julian Ray
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

RE: Force creation of managed bean

2006-06-15 Thread Julian Ray
? 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

RE: Setting styleClass on the text in the tab, active or inactive, of the Tabbed Pane t:panelTabbedPane.

2006-06-14 Thread Julian Ray
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

RE: Setting styleClass on the text in the tab, active or inactive, of the Tabbed Pane t:panelTabbedPane.

2006-06-14 Thread Julian Ray
. 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

RE: Any problems using external JDK1.5 based libraries?

2006-06-14 Thread Julian Ray
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

RE: Dynamically Changing Panel Grid

2006-06-13 Thread Julian Ray
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

RE: jsf-comp OptionalValidation

2006-06-13 Thread Julian Ray
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

RE: Conditionally rendered fields not retaing values

2006-06-13 Thread Julian Ray
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.

RE: Can Sandbox components be used in production app?

2006-06-09 Thread Julian Ray
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

RE: panelTabbedPane question

2006-06-08 Thread Julian Ray
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

Comments in JSP files

2006-06-07 Thread Julian Ray
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

RE: Comments in JSP files

2006-06-07 Thread Julian Ray
. 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

RE: Converter usage

2006-06-07 Thread Julian Ray
(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

RE: Converter usage

2006-06-07 Thread Julian Ray
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

RE: htlmTag bug (I think)

2006-06-07 Thread Julian Ray
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

New Behaviour -- lastest nightly build

2006-06-03 Thread Julian Ray
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

RE: HtmlSelectOneMenu value is not set during ValueChangeListenerexecution

2006-06-02 Thread Julian Ray
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

RE: Solution for Which tab i have clicked

2006-05-29 Thread Julian Ray
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"/

RE: Images as Borders component

2006-05-27 Thread Julian Ray
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   2   >