Re: Simple PageFlow

2006-07-12 Thread Mike Duffy
This works. It is simple and seems efficient. Check the viewId, check the object state, then do nothing or forward to the appropriate page. Mike --- Mike Duffy <[EMAIL PROTECTED]> wrote: > Rather than using SEAM or Spring WebFlow, I am wondering if it might be > possi

Simple PageFlow

2006-07-11 Thread Mike Duffy
Rather than using SEAM or Spring WebFlow, I am wondering if it might be possible to use a PhaseListener to create a simplified page flow. By using facesContext.getViewRoot().getViewId(); it is possible to determine what page the user has landed on. By using facesContext.getApplication().get

Re: Page Navigation and Redirection

2006-07-10 Thread Mike Duffy
Stated another way: If a user bookmarks a JSF page that is in the middle of page sequence, what is the best way to redirect the user to the first page in the sequence? Mike --- Mike Duffy <[EMAIL PROTECTED]> wrote: > Assume page_B.jsf depends on page_A.jsf. > > The b

Page Navigation and Redirection

2006-07-10 Thread Mike Duffy
Assume page_B.jsf depends on page_A.jsf. The backing bean for page_B.jsf has request scope. The backing bean for page_A.jsf has session scope. In the constructor for the backing bean for page_B.jsf a check is made for the backing bean for page_A.jsf. If the user has first gone to page_A.jsf a

Re: JSF Performance Problems

2006-07-10 Thread Mike Duffy
Could you please rerun the metrics with the performance tuning suggestion found at: http://wiki.apache.org/myfaces/Performance Thx. Mike --- jfaronson <[EMAIL PROTECTED]> wrote: > > I grabbed the attachments from the original performance bug > https://javaserverfaces.dev.java.net/issues/sh

RE: Tree2 component in Version1.1.3 is not working

2006-07-06 Thread Mike Duffy
I went through a couple of experiences where components did not work when I upgraded to 1.1.3. When I completely gutted my web.xml and rebuilt it from scratch based on the web.xml in the examples SNAPSHOT, everything worked fine. Mike --- Kasturi Mudulodu <[EMAIL PROTECTED]> wrote: > Hi David

Re: Backing Bean in Request Scope Persists Beyond Request

2006-07-04 Thread Mike Duffy
s for the page I am working with). Is there a better solution? Mike --- Mike Duffy <[EMAIL PROTECTED]> wrote: > I have a JSP (some.jsp) which is mapped to a backing bean (SomeBean.java). > The scope is set to > "request". > > In some.jsp there are five h:outp

Backing Bean in Request Scope Persists Beyond Request

2006-07-04 Thread Mike Duffy
I have a JSP (some.jsp) which is mapped to a backing bean (SomeBean.java). The scope is set to "request". In some.jsp there are five h:outputLink tags each with its own f:param tags. The "value" for each of the h:outputLink tags is some.jsp. When a link is clicked I want to set the param val

Re: t:inputCalendar using MyFaces 1.1.3 and Tomahawk 1.1.3

2006-07-02 Thread Mike Duffy
ki documents [1] that may prove > helpful... > > Cheers, > > Bruno > > [1] > http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1%2e1%2e3 > http://wiki.apache.org/myfaces/More_tips_on_Upgrading_to_Tomahawk_1%2e1%2e3 > > On 6/28/06, Mike Duffy <[EMAIL

Problems with extensionsFilter

2006-06-30 Thread Mike Duffy
I have the configuration below in the web.xml in two different .war directories. I have an identical .jsp in both directories. In one the .jsp is processed by the extensionsFilter, in the other the .jsp is not processed (I can tell by examining the page output). Does anyone know of any issues t

RE: NoClassDefFoundError: org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper on server startup.

2006-06-28 Thread Mike Duffy
I was getting this same error. The cause turned out to be that I had dropped the new 1.1.3 jars into the WEB-INF/lib of an earlier examples 1.1.1 war directory. Going to the new 1.1.4 SNAPSHOT examples removed the problem. Mike --- Rick <[EMAIL PROTECTED]> wrote: > Seems right. > > If you

t:inputCalendar using MyFaces 1.1.3 and Tomahawk 1.1.3

2006-06-28 Thread Mike Duffy
Does anyone know where the styles for t:inputCalendar come from when renderAsPopup="true"? I and others (Google search) have had no luck in changing the styles for the popup calendar. Also, since I've updated to MyFaces 1.1.3 and Tomahawk 1.1.3 I have a problem where the button that should be

Re: NoClassDefFoundError; HtmlBufferResponseWriterWrapper in tomahawk package

2006-06-28 Thread Mike Duffy
onfig issues in JSF I could have gotten a lot more done using Struts. :( Mike --- Mike Duffy <[EMAIL PROTECTED]> wrote: > Did anyone find a solution to this? > > Here is my stack trace which is different from the one in this thread: > > java.lang.NoClassDefFoundError: &

Re: NoClassDefFoundError; HtmlBufferResponseWriterWrapper in tomahawk package

2006-06-28 Thread Mike Duffy
Did anyone find a solution to this? Here is my stack trace which is different from the one in this thread: java.lang.NoClassDefFoundError: org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Clas

Can Container Managed Security Be Used with MyFaces?

2006-06-26 Thread Mike Duffy
I tried the 1.1.4-SNAPSHOTs with container managed security and got the following error when trying to forward to the non JSF login page. Is there a "FormAuthenticator" called on every page, even the nonJSF pages? Thx. Mike java.lang.ClassNotFoundException: org.apache.jsp.view.common.login_js

Re: t:inputCalendar Renders Incorrectly

2006-06-26 Thread Mike Duffy
ple (http://myfaces.apache.org/tomahawk/calendar.html). The MyFaces example set has not been updated for the current release (http://www.irian.at/myfaces/calendar.jsf). Please help. Mike --- Mike Duffy <[EMAIL PROTECTED]> wrote: > >weekRowClass="weekHeader" > currentDayC

t:inputCalendar Renders Incorrectly

2006-06-26 Thread Mike Duffy
I am using the latest and greatest of both Tomahawk and MyFaces. t:inputCalendar used to work correctly. Now, the icon image appears several lines below the text box and the calendar renders as a hidden div not as a popup. Any suggestions? Thx. Mike __

Re: AUTO_SCROLL Kills Command Links

2006-06-20 Thread Mike Duffy
commandLinks inside h:form tags? > > > >Bruno > > > >On 6/17/06, Enrique Medina <[EMAIL PROTECTED]> wrote: > >> Me too :-( > >> > >> > >> On 6/16/06, Raj Rajendran <[EMAIL PROTECTED]> wrote: > >> > > >> > I

Re: AUTO_SCROLL Kills Command Links

2006-06-20 Thread Mike Duffy
nrique Medina <[EMAIL PROTECTED]> wrote: > > Me too :-( > > > > > > On 6/16/06, Raj Rajendran <[EMAIL PROTECTED]> wrote: > > > > > > I have also brought this issue up before, still have it with 1.1.4 > > Snapshot. > > > > > &g

Re: AUTO_SCROLL Kills Command Links

2006-06-17 Thread Mike Duffy
7;MyFaces Discussion' > >Subject: Re: AUTO_SCROLL Kills Command Links > > > >Me too :-( > > > >On 6/16/06, Raj Rajendran <[EMAIL PROTECTED]> wrote: > >> > >> I have also brought this issue up before, still have it with 1.1.4Snapshot. > >>

Row is not available. Rowindex = 4

2006-06-16 Thread Mike Duffy
FYI: This is already a JIRA issue (TOMAHAWK-467). Not fixed in the latest release of Tomahawk. If the actual number of rows in your data table is less then the default number of rows to be displayed you will get the following error message: 23:41:42,163 ERROR [HtmlTableRendererBase] Row is n

AUTO_SCROLL Kills Command Links

2006-06-16 Thread Mike Duffy
This issue has been brought up in multiple posts to this list. I am using MyFaces Core 1.1.3 and Tomahawk 1.1.3 (latest and greatest for both). When I configure AUTO_SCROLL to true, the command links do not function. Mike __ Do You Yahoo!? Tired o

AUTO_SCROLL

2006-06-16 Thread Mike Duffy
Using MyFaces 1.1.3 and Tomahawk 1.1.3 (just released), I am having problems configuring AUTO_SCROLL. Can anyone provide some links for guidance on configuration? I'v googled on this issue, but there is a great deal of noise. Thx. Mike __ Do You

Re: Re: commandLinks don't work on Tomcat 5.5.17

2006-06-10 Thread Mike Duffy
I am having this problem with the latest and greatest from JBoss. I have tried every combination of Tomahaw and MyFaces jar files (recent, old, nightly build). When I look at the link around the command string there definitely seems to be a problem with AUTO_SCROLL. Tonight or tomorow I'll t

Re: Re: SERIOUS BUG!!!!!!! Re: commandLinks don't work on Tomcat 5.5.17

2006-06-08 Thread Mike Duffy
off in your web.xml would do it. > I'm having the same problems. Where are you getting the sample > application at? Maybe I'll try that jar and see if it fixes it. > > Shawn > > -- Forwarded message -- > From: Mike Duffy <[EMAIL PROTECTED]> &

Re: SERIOUS BUG!!!!!!! Re: commandLinks don't work on Tomcat 5.5.17

2006-06-08 Thread Mike Duffy
test against Tomahawk 1.1.3 SNAPSHOT in the > nightly dir. This is basically a release candidate for the upcoming > release. If that works then we know the problem is in MyFaces core > (since its working fine with version 1.1.2 of the core for me.) > > Sean > > On 6/7/06, Mike Duffy

Re: SERIOUS BUG!!!!!!! Re: commandLinks don't work on Tomcat 5.5.17

2006-06-07 Thread Mike Duffy
styleClass="noborder" /> > > > styleClass="noborder" > > onmouseover="auiChangeImage(this,'${mouseoverImageUrl}')" > onmouseout=&

SERIOUS BUG!!!!!!! Re: commandLinks don't work on Tomcat 5.5.17

2006-06-06 Thread Mike Duffy
This did not work for me. The fact that the command link does not work is a SERIOUS BUG in MyFaces. Any suggestions on the best way to report this bug? Mike --- Garner Shawn <[EMAIL PROTECTED]> wrote: > I got my commandLinks to work by adding the JSP-API.jar that came with > facelets to my /

Re: commandLinks don't work on Tomcat 5.5.17

2006-06-05 Thread Mike Duffy
Here is the generated JavaScript for the command link: Select --- Mike Duffy <[EMAIL PROTECTED]> wrote: > I am having this same problem on JBoss 4.0.4 which uses Tomcat 5.5. > > Everything seems to be configured correctly, click on t

Re: commandLinks don't work on Tomcat 5.5.17

2006-06-05 Thread Mike Duffy
I am having this same problem on JBoss 4.0.4 which uses Tomcat 5.5. Everything seems to be configured correctly, click on the command link, and nothing happens. I do not even get an error message. I Googled for a solution. At one time this was a problem in the SUN RI and the solution was to s

Re: Good Resources for JSF Component Development?

2006-05-22 Thread Mike Duffy
ameters such as goodStyleClass, > badStyleClass, invalidStyleClass > etc. and allow your graphic designers to set the view style classes based on > the loaded > stylesheet. > > > > - Original Message > From: Mike Duffy <[EMAIL PROTECTED]> > To: users@myfaces.

Good Resources for JSF Component Development?

2006-05-22 Thread Mike Duffy
Does anyone have any good resources (books, links, etc.) for JSF component development? One good intro level link is: http://www-128.ibm.com/developerworks/java/library/j-jsf4/ The best resource will probably be the Tomahawk source, but before I dive into the source, I'd like to get my feet we

Anchor Tag

2006-05-20 Thread Mike Duffy
Basically, I want to enable the user to click on a link in the page header and go to another part of the page. Is there a simple way to create an anchor tag (the marker for the destination) using MyFaces and Tomahawk? The following is workable, but ugly: "> Any suggestions? Thx. Mike ___

Configuring MyFaces on JBoss

2006-05-19 Thread Mike Duffy
I have the latest and greatest from JBoss, MyFaces and Tomahawk. If I place the MyFaces jar files in the [app]/WEB-INF/lib directory of an exploded war directory, it doesn't work. If I place the MyFaces jar files in /usr/lib/jboss-4-0-4-CR2/server/all/lib, it works. If I place the Tomahawk jar

Re: How to improve JSF performance?

2006-05-19 Thread Mike Duffy
Wow! I just applied these changes to the test server running on my workstation. Performance is significantly better. Thx! Mike --- Murat Hazer <[EMAIL PROTECTED]> wrote: > did you see this on the wiki http://wiki.apache.org/myfaces/Performance > > regards... > > On 5/19/06, iSquareOne LLC <

Re: Can the FacesContext be Accessed from Outside of a Backing Bean?

2006-05-17 Thread Mike Duffy
he FacesContext is *created* > > HTH, > Matthias > > On 5/17/06, Mike Duffy <[EMAIL PROTECTED]> wrote: > > I guess my basic question is, shouldn't I be able to call > > "FacesContext.getCurrentInstance()" > from > > anywhere in my J

Re: Can the FacesContext be Accessed from Outside of a Backing Bean?

2006-05-17 Thread Mike Duffy
You need an inner class to be able to call > FacesContext.setCurrentInstance > // since it's a protected method > private abstract static class InnerFacesContext extends FacesContext { > protected static void setFacesContextAsCurrentInstance(FacesContext > facesContex

Can the FacesContext be Accessed from Outside of a Backing Bean?

2006-05-17 Thread Mike Duffy
If I call the following from inside a backing bean, everything works fine: User user = (User) FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get(Constants.USER_KEY); However, if I make the same call from an object in the session or from a utilty class, I get a null poi

Using MyFaces with Oracle's JDeveloper

2006-03-20 Thread Mike Duffy
Does anyone have a link to a tutorial or blog entry on using MyFaces with Oracle's JDeveloper? Thx. Mike __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: How Does JDeveloper Compare with Java Studio Creator

2006-03-02 Thread Mike Duffy
Darn. Does JSC have a component library that compares favorably with ADF Faces? Mike --- Werner Punz <[EMAIL PROTECTED]> wrote: > Mike Duffy schrieb: > > Thx Werner. > > > > Do you know if Java Studio Creator supports MyFaces and Tomahawk? > > >

Re: How Does JDeveloper Compare with Java Studio Creator

2006-03-02 Thread Mike Duffy
er meshes to a big degree with > the underlying adf foundation. > > > > > Mike Duffy schrieb: > > Oracle came to the Austin JUG on Tuesday night and gave a very cool > > presentation on JDeveloper > for > > JSF development. > > > > Does

How Does JDeveloper Compare with Java Studio Creator

2006-03-02 Thread Mike Duffy
Oracle came to the Austin JUG on Tuesday night and gave a very cool presentation on JDeveloper for JSF development. Does anyone have any thoughts on how JDeveloper compares with Sun's Java Studio Creator? Does anyone have any links for objective third party comparisons? Are there any other cho

[OT] Downloading J2EE Without the Sun App Server

2006-03-01 Thread Mike Duffy
Am I missing something? http://java.sun.com/j2ee/1.4/download.html#sdk Is there anyway to download the latest J2EE without downloading the Sun App server? Thx. Mike __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection arou

JSP 2.1 and JSF 1.2

2006-02-28 Thread Mike Duffy
In a previous post Craig stated that the rendering of children, "is one of the many things that works *much* better in a JSF 1.2 world." I see on the sun site that the Proposed Final Draft 2 for JSP 2.1 was posted on 17 Feb, 2006, and the Proposed Final Draft 2 for JSF 2.1 was posted on 15 Feb,

Re: Annoying INFO Message: Unable to find component

2006-02-27 Thread Mike Duffy
Basic question: If the component id is clearly referenced in the wrote: > Hi Mike, > > Mike Duffy wrote: > > I am seeing an annoying INFO message for every JSP that contains a JSF > > component: > > > > INFO [RendererUtils] Unable to find component 'proje

Annoying INFO Message: Unable to find component

2006-02-27 Thread Mike Duffy
I am seeing an annoying INFO message for every JSP that contains a JSF component: INFO [RendererUtils] Unable to find component 'projectTypeValue' (calling findComponent on component 'selectProjectTypeIssueType:_idJsp74'). We'll try to return a guessed client-id anyways - this will be a proble

FacesContext.getCurrentContext is null after login on Tomcat/JBoss

2006-02-25 Thread Mike Duffy
I just upgraded to JBoss 4.0.4RC1. I did not have this error in the previous version of JBoss. There is already a JIRA entry on this issue: http://issues.apache.org/jira/browse/MYFACES-1121 I just picked up the latest nightly build of MyFaces. This problem has not yet been fixed. There is

Re: Adding Image Icons to Drop Down Lists

2006-02-18 Thread Mike Duffy
> On 2/18/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > > Why bother? Just do > > > > > > > > L. > > > > Andrew Robinson wrote: > > > You could build your own custom renderer to do this. > > > > > > On 2/17/06, Mike Duffy &

Re: Internationalization for Error Messages

2006-02-18 Thread Mike Duffy
Exactly what I needed to know. Thx. Mike --- Jonathan Harley <[EMAIL PROTECTED]> wrote: > Mike Duffy wrote: > > What is the best way to do internationalization for error messages? > > > > For example, "Specified attribute is not between the ex

Adding Image Icons to Drop Down Lists

2006-02-17 Thread Mike Duffy
There is a cool technique to add image icons to drop-down lists: Some Label Is there anyway to do this with SelectItems in JSF? Thx. Mike __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Internationalization for Error Messages

2006-02-17 Thread Mike Duffy
What is the best way to do internationalization for error messages? For example, "Specified attribute is not between the expected values of 1 and 1000." According to the Kito Mann book on page 307, you can overwrite existing messages by creating the name value pairs in your own properties file

RE: display label in error message instead of id

2006-02-17 Thread Mike Duffy
Thanks for figuring this out. I had the exact same problem. If you look at the JSF book by Kito Mann, p 26, it shows an wrapped in an which is unnecessary (overall, it's a good book). Thanks again. Mike --- Michael Heinen <[EMAIL PROTECTED]> wrote: > Thanks a lot for your help. > Now it

How to access one managed-bean from another managed-bean?

2006-02-14 Thread Mike Duffy
This is a good FAQ: http://www.jsffaq.com/Wiki.jsp?ptitle=How+to+access+one+managed-bean+from+another+managed-bean%3F&page=HowToAccessOneManagedBeanFromAnotherManagedBean However, the solutions seem to require that both beans be in session scope. Let's say I have a form page that leads to anothe

Re: Tag Only Works Within a Request?

2006-02-04 Thread Mike Duffy
es at the beginning of the next cycle and then put the messages into the FacesContext. It seems like a cool approach. I shall give it a try. Thx to: mailto:[EMAIL PROTECTED]">Jesse Wilson BTW: Shouldn't this behavior be intrinsic to JSF? Mike --- Mike Duffy <[EMAIL PROTECTED

Tag Only Works Within a Request?

2006-02-04 Thread Mike Duffy
It seems that the tag only works within a request. If something goes wrong on the current page, the messages display fine. What I would like to be able to do is display a message on the next page (in a new request scope) once the current page has processed. I can't seem to get this to work.

Re: Best Way to Get Request Parameters

2006-02-04 Thread Mike Duffy
Perfect. Thx Matthias --- Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi Mike > > > HttpServletRequest request = > > > > (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest(); > > > > String someParameterValue = > > request.getParameter(Constants.SO

Best Way to Get Request Parameters

2006-02-03 Thread Mike Duffy
I have an tags that contains one or more tags; this of course creates an html href with request parameters. I want to pick up the request parameters in the backing bean for the page referenced in the tag (i.e., the page the user is going to). Is getting the HttpServletRequest through the Fa

RE: Oracle Donation (Again)

2006-01-24 Thread Mike Duffy
This looks very cool. Thx. Mike --- [EMAIL PROTECTED] wrote: > check out: > > http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchan > ge/jsf/doc/tagdoc/core/imageIndex.html > > > -Original Message----- > From: Mike Duffy [mailto:[EMAIL PR

Re: Oracle Donation (Again)

2006-01-23 Thread Mike Duffy
Is there a link that gives some information as to what this is all about? Thx. Mike --- Rafael Nami <[EMAIL PROTECTED]> wrote: > THANKS SEAN!! > :) > > 2006/1/23, Sean Schofield <[EMAIL PROTECTED]>: > > > > You can find it here. > > > > http://people.apache.org/~bdudney/apache-drop.zip >

PhaseListener

2006-01-18 Thread Mike Duffy
Is it possible to implement a PhaseListener on a backing bean? I tried to do this but could not get it to work. I'd like to be able to trace the phases as a page loads. Is there some standard way to know what phase of the component life cycle has been activated? Thx. Mike __

Confused by the Number of Method Calls

2006-01-17 Thread Mike Duffy
I have a JSF page with the following tag: Whether or not the panel is rendered is determined by a call to a method in the backing bean: rendered="#{home.hasIssuesAssigned}" When I trace the code path I see that this method is called four times. Can anyone provide a clear explanation as to why

[OT] Dynamic Updates for Internationalization

2005-12-28 Thread Mike Duffy
I am sending this [OT] topic to this list in hopes that someone has already solved this design problem. What is the best way to do dynamic updates for internationalization? Suppose you had a drop-down list and the labels for this list are translated into other locales; also, suppose that admi

Re: Sort Table - Page Refreshes - Then Auto Scroll Back to the Table

2005-12-26 Thread Mike Duffy
> able to restore the > former vertical scroll on every request. Convenient > feature if you have pages > with long lists and you do not want the browser page to > always jump to the top > if you trigger a link or button action that stay

Re: WARNING: Component _id229 just got an automatic id,

2005-12-24 Thread Mike Duffy
an _id3? Any such change would not be high priority > though; user code really should just set the id on any components it > creates. > > Cheers, > > Simon > > > > Mike Duffy wrote: > > I meant to say, "when I do a view source on the JSP [and look at the HT

Re: Which Components Require an ID to be Set and Why

2005-12-23 Thread Mike Duffy
--- Mike Kienenberger <[EMAIL PROTECTED]> wrote: > If you manually create and add a component to the component tree, you > also have to manually set the id. > > On 12/23/05, Mike Duffy <[EMAIL PROTECTED]> wrote: > > I am confused as to why you need to specifically set an I

Why are JSF Pages so Big?

2005-12-23 Thread Mike Duffy
If you do a view source on the HTML for a page that was generated with JSF you see lots of encrypted values. The pages seem ridiculously huge. Has anyone else noticed this? :) I am sure there must be some good reason. I'm just curious to know what that reason is. Thx. Mike

Which Components Require an ID to be Set and Why

2005-12-23 Thread Mike Duffy
I am confused as to why you need to specifically set an ID for a component. I can see the need to set an ID if you wanted to refer to the component through your own JavaScript or DHTML. For all other cases, I thought JSF automaticaly managed IDs. Is there some unique situation in MyFaces? Whic

Re: WARNING: Component _id229 just got an automatic id,

2005-12-23 Thread Mike Duffy
If this clientId just used internaly (for logging etc.) and not rendered > out then you won't found it in the html. > > Have you application generated UIComponents where no id is set explicitly? > > Mike Duffy wrote: > > I meant to say, "when I do a view source on t

Multiple Sortable Data Tables on the Same JSP Page

2005-12-23 Thread Mike Duffy
Has anyone been successful in creating a JSP with multiple sortable data tables? Thx. Mike __ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com

Re: WARNING: Component _id229 just got an automatic id,

2005-12-23 Thread Mike Duffy
won't see in the JSP source ;) > > You should be able to find it in the HTML source, though! > > regards, > > Martin > > On 12/23/05, Mike Duffy <[EMAIL PROTECTED]> wrote: > > I see this warning, "WARNING: Component _id229 just got an automatic id,&quo

WARNING: Component _id229 just got an automatic id,

2005-12-22 Thread Mike Duffy
I see this warning, "WARNING: Component _id229 just got an automatic id,", but when I do a view source on the JSP I can not find an identifier for _id229. This seems odd. Anyone know why the id wouldn't be there? Thx. Mike __ Yahoo!

DataScroller Style Classes

2005-12-22 Thread Mike Duffy
There us a DataScroller example at: http://www.irian.at/myfaces/dataScroller.jsp.source This example has three style elements: styleClass, paginatorTableClass, and paginatorActiveColumnStyle. Unfortunately, there is no documentation on these style elements (even the fact that they exist) a

Simple Anchor Tag Some Text

2005-12-20 Thread Mike Duffy
The h:outputLink tag creates an ; however, because there is no "name" attribute for this tag there does not seem to be an easy way to create an html anchor tag: Some Text. Any suggestions? Mike __ Do You Yahoo!? Tired of spam? Yahoo! Mail has th

RE: Why do h:message Tags Need to be enclosed in h:panelGroup or h:panelGrid Tags

2005-12-20 Thread Mike Duffy
ess you could go and download the source code for MyFaces > and create try to create your own div tag based on the example code from the > current div-tag and the panelGroup tag. I will be trying to do the same > thing tomorrow with the tag, I will let you know if it worked > out ok... >

Sort Table - Page Refreshes - Then Auto Scroll Back to the Table

2005-12-19 Thread Mike Duffy
I have implemented a sortable table with the tag. It's very cool. Thx to those who worked on this. I am not a JavaScript guru, so I am having some trouble with something that should be very basic: My sortable table is near the bottom of my page. After the page refreshes. I'd like to automa

Re: Dynamic Drop Down Lists

2005-12-17 Thread Mike Duffy
The solution can be found here: http://forum.java.sun.com/thread.jspa?messageID=4027008 Mike --- Mike Duffy <[EMAIL PROTECTED]> wrote: > What I am looking for is a way to automatically propagate a change from one > drop down list to > another without having to submit the form. &

RE: Why do h:message Tags Need to be enclosed in h:panelGroup or h:panelGrid Tags

2005-12-15 Thread Mike Duffy
hildren (because that's the > issue here, if I'm correct?) > > > Regards, > > Gert Vanthienen > > > -Original Message- > From: Mike Duffy [mailto:[EMAIL PROTECTED] > Sent: donderdag 15 december 2005 20:42 > To: users@myfaces.apache.org > Subject: Why do

Re: Dynamic Drop Down Lists

2005-12-15 Thread Mike Duffy
> > FacesContext.getCurrentInstance(); > > UIViewRoot view = > > context.getApplication().getViewHandler() > > .createView(context, viewId); > > view.setViewId(viewId); > >

Why do h:message Tags Need to be enclosed in h:panelGroup or h:panelGrid Tags

2005-12-15 Thread Mike Duffy
I am using the MyFaces tag to layout my pages, which works fine. However, because the tags are not contained in an h:panelGroup or h:panelGrid tag, errors like the following are generated when the page loads: 00:01:52,097 ERROR [HtmlMessageRendererBase] Could not render Message. Unable to fin

Re: AW: Dynamic Drop Down Lists

2005-12-14 Thread Mike Duffy
String viewId = "/search.jsp"; > FacesContext context = > FacesContext.getCurrentInstance(); > UIViewRoot view = > context.getApplication().getViewHandler() > .createView(context,

Dynamic Drop Down Lists

2005-12-14 Thread Mike Duffy
Is there any way to create dynamic drop down lists in JSF without using AJAX? Without JSF there are JavaScript techniques that can be used to dynamically change a drop down list (e.g., based on the selection of drop down list A, the values ion drop down list B are populated by an onclick functio

Error Generated by Tag

2005-12-13 Thread Mike Duffy
I am using the MyFaces tag to layout my pages, which works fine. The tags also work fine, but because they are not contained in an h:panelGroup or h:panelGrid tag, errors like the following are generated when the page loads: 00:01:52,097 ERROR [HtmlMessageRendererBase] Could not render Messag

RE: inputCalendar - popup - styles and other properties - problem

2005-12-12 Thread Mike Duffy
bug was fixed. > > http://issues.apache.org/jira/browse/MYFACES-370 > > We are stil using 1.0.9 so I could not test with 1.1.0 or the Nightly builds. > > Balaji > > -Original Message- > From: Mike Duffy [mailto:[EMAIL PROTECTED] > Sent: Sunday, 11 Decemb

Re:

2005-12-12 Thread Mike Duffy
I just went through the same thing. >From a previous post: It would be a good idea to add a note to the documentation page for (http://myfaces.apache.org/tomahawk/calendar.html), stating, "This component requires the MyFaces' Extensions Filter (http://myfaces.apache.org/tomahawk/extensionsFi

Re: inputCalendar - popup - styles and other properties - problem

2005-12-10 Thread Mike Duffy
Also, when I add a reference to the resource bundle it works fine. For some reason the component is not finding the reference to the style class specified in the page header. --- Mike Duffy <[EMAIL PROTECTED]> wrote: > I cannot set the styles (monthYearRowClass, wee

Documentation for

2005-12-10 Thread Mike Duffy
It would be a good idea to add a note to the documentation page for (http://myfaces.apache.org/tomahawk/calendar.html), stating, "This component requires the MyFaces' Extensions Filter (http://myfaces.apache.org/tomahawk/extensionsFilter.html)." Also, most of the documentation pages have a note

inputCalendar - popup - styles and other properties - problem

2005-12-10 Thread Mike Duffy
I cannot set the styles (monthYearRowClass, weekRowClass, currentDayCellClass) for For some reason, it always goes to the default colors. There was a thread on this back in September, but no answer: http://mail-archives.apache.org/mod_mbox/myfaces-dev/200509.mbox/[EMAIL PROTECTED] Does anyo

Re: does not reference an Object of type SelectItem

2005-12-05 Thread Mike Duffy
Martin van den Bemt <[EMAIL PROTECTED]> wrote: > > Mike Duffy wrote: > > > I am trying to create a value binding for a tag. The > > > object reference is > > > definitely a collection of SelectItem objects (I've even tried it with an > > > arr

does not reference an Object of type SelectItem

2005-12-05 Thread Mike Duffy
I am trying to create a value binding for a tag. The object reference is definitely a collection of SelectItem objects (I've even tried it with an array). However, I am getting an error that tells me the object reference does not contain SelectItem objects. The error message state, "but of t

Re: Sorting Multiple DataTables

2005-12-02 Thread Mike Duffy
Newbie error. Bad object reference. It works great!!! BTW, very cool. Mike --- Mike Duffy <[EMAIL PROTECTED]> wrote: > I have two DataTables on the same page, each backed by its own properties > (value, sortColumn, > sortAscending) in the same backing bean. Each table has

Re: styleClass on t:column

2005-12-02 Thread Mike Duffy
Can you use column styles and row styles at the same time? I am trying to do that. My row styles work fine, but a simple "align: right;" for a number column does not seem to work. Thx. Mike --- Bruno Aranda <[EMAIL PROTECTED]> wrote: > Travis, it is already implemented [1] and it is really

Sorting Multiple DataTables

2005-12-02 Thread Mike Duffy
I have two DataTables on the same page, each backed by its own properties (value, sortColumn, sortAscending) in the same backing bean. Each table has its own unique id. I am aslo saving the state of all the properties using tag. When I sort one table, the other table is also sorted. It seems