Re: can we change the arrow icon of sortable coloumn of table.

2007-07-09 Thread eric . jung
IIRC, that does not work if you use t:column/... only if you use t:columns/ Cagatay Civici [EMAIL PROTECTED] 07/06/2007 03:45 PM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org cc Subject Re: can we change the arrow icon of

Re: can we change the arrow icon of sortable coloumn of table.

2007-07-06 Thread eric . jung
Cagatay, that is not accurate. You can change it by subclassing HtmlLinkRenderer. I have done it. Cagatay Civici [EMAIL PROTECTED] 07/06/2007 02:33 AM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org, [EMAIL PROTECTED] cc

Re: problem with Fixed header in data table

2007-07-06 Thread eric . jung
Put the header in an IFRAME. Arvind Pandey [EMAIL PROTECTED] 07/06/2007 09:01 AM Please respond to MyFaces Discussion users@myfaces.apache.org To 'MyFaces Discussion' users@myfaces.apache.org cc Subject problem with Fixed header in data table Hi all ! I have a data

Re: problem with Fixed header in data table

2007-07-06 Thread eric . jung
Have you tried a div/ with absolute fixed positioning? Arvind Pandey [EMAIL PROTECTED] 07/06/2007 09:33 AM Please respond to [EMAIL PROTECTED] To 'MyFaces Discussion' users@myfaces.apache.org, [EMAIL PROTECTED] cc Subject problem with Fixed header in data table Hi Eric !

extending t:inputText to support oninput, onpaste, oncut

2007-06-29 Thread eric . jung
Hi, I want to support non-standard event handlers like oninput, onpaste, oncut in t:inputText. I know I can create my own tag (and tld), extend HtmlInputText, and extend HtmlTextRenderer to accomplish this, but is there a lighter way to achieve the same thing? Thanks, Eric Jung

Re: selectOneListBox and inputText

2007-06-08 Thread eric . jung
Anoe, Can you post your solution? I'm working on the same problem. Thanks, Eric Mike Kienenberger [EMAIL PROTECTED] 06/07/2007 03:18 PM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org cc Subject Re: selectOneListBox and

Re: Change valueBinding of t:dataTable based on condition

2007-05-31 Thread eric . jung
Use the rendered attribuet. Rønnevik, Eivind [EMAIL PROTECTED] 05/31/2007 08:24 AM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org cc Subject Change valueBinding of t:dataTable based on condition Hi! I was just curious,

dataGrid filtering?

2007-05-30 Thread eric . jung
Hi, Has anyone implemented filtering on the dataGrid component (e.g., something like http://www.javascriptkit.com/script/script2/tablefilter.shtml)? I seem to remember something in Tomahawk sandbox, but can no longer find it. Thanks, Eric _ CONFIDENTIALITY NOTICE

dataTable rows per page--user-defined??

2007-05-23 Thread eric . jung
) ... 56 more Anyone know what I'm doing wrong? Thanks, Eric Jung _ CONFIDENTIALITY NOTICE The information contained in this e-mail message is intended only for the exclusive use of the individual or entity named above and may contain information that is privileged

Re: dataTable rows per page--user-defined??

2007-05-23 Thread eric . jung
Nevermind, I figured it out: t:dataTable binding=#{myBean.dataTable} rows=#{myBean.rowsPerPage} ... ... h:outputText value=Rows per page:/ h:inputText value=#{myBean.rowsPerPage}/ ... Thank you, Eric Jung Eric Jung/X/PH/Novartis 05/23/2007 10:37 AM To users@myfaces.apache.org cc Subject

Re: Why so many problems with MyFaces?

2007-05-23 Thread eric . jung
Ignore this troll. Emails with his address now go right to my trash folder. Matthias Wessendorf [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/23/2007 12:23 PM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org cc Subject Re: Why

enumerated type and f:selectItems

2007-05-22 Thread eric . jung
Hi, What's the best way generate UISelectItems from an enumerated type? I'd like to populate a UISelectOne-based component with enumerated type values and back the component with an enumerated type variable instance. This seems like it should be a common pattern in JSF with JDK 1.5+. In fact,

Re: enumerated type and f:selectItems

2007-05-22 Thread eric . jung
Thanks! If I understand correctly, this converter is for the variable which is value-bound to a UIOutput/UIInput-derived classes (e.g. UISelectOne), but not for UISelectItems. In other words, is there a way to get f:selectItems/ to output options for all values of the enumerated type? I tried:

Re: enumerated type and f:selectItems

2007-05-22 Thread eric . jung
Typo below: selectItems.put(new Integer(o.ordinal()), o.getName()) should be: selectItems.put(o, o.getName()); In any case, I'm still trying to figure out how to use the EnumConverter with h:selectOneRadio/ and friends. [EMAIL PROTECTED] 05/22/2007 02:49 PM Please respond to MyFaces

Re: how to execute one-time start-up code?

2007-05-18 Thread eric . jung
Excellent idea. Thanks for the reply, Cagatay. Since I need to initialize application-scoped managed beans in this code, the listener must execute after org.apache.myfaces.webapp.StartupServletContextListener. Is the best way to do this to subclass

how to execute one-time start-up code?

2007-05-18 Thread eric . jung
Hi, This is a general JSF question; probably not MyFaces-specific. Can anyone tell me how to get one-time initialization code executed during application startup? With Spring and Struts, this was really easy to do. With JSF, it's not obvious to me how to do it. Thanks for any suggestions,

Re: how to execute one-time start-up code?

2007-05-18 Thread eric . jung
Actually, I should also have asked: at what point is it safe to call FacesContext.getCurrentInstance()? After org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized() is complete? Eric Jung/X/PH/Novartis 05/18/2007 10:42 AM To MyFaces Discussion users

Re: how to execute one-time start-up code?

2007-05-18 Thread eric . jung
Hi, Calling FacesContext.getCurrentInstance() returns null from my own ServletContextListener.contextInitialized(), even though I've written the web.xml like so: listener listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class /listener

Re: how to execute one-time start-up code?

2007-05-18 Thread eric . jung
What I'm trying to do is cache database data in a bunch of managed beans at startup. This data rarely changes, so it doesn't make sense to run the queries again and again. I've seen other people on the list do it this way: h:commandLink actionListener=#{myManagedBean.init}

Re: how to execute one-time start-up code?

2007-05-18 Thread eric . jung
That worked. Thanks, Craig. Craig McClanahan [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/18/2007 12:16 PM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org cc Subject Re: how to execute one-time start-up code? On

how to reference tomahawk-sandbox on a JSP?

2007-05-18 Thread eric . jung
tomahawk-sandbox? Thanks for any help, Eric Jung _ CONFIDENTIALITY NOTICE The information contained in this e-mail message is intended only for the exclusive use of the individual or entity named above and may contain information that is privileged, confidential or exempt from

Re: how to reference tomahawk-sandbox on a JSP?

2007-05-18 Thread eric . jung
://myfaces.apache.org/sandbox; prefix=s% ***The absolute uri: http://myfaces.apache.org/sandbox cannot be resolved in either web.xml or the jar files deployed with this application Are there other steps I should take in order to use tomahawk-sandbox? Thanks for any help, Eric Jung

Re: how to reference tomahawk-sandbox on a JSP?

2007-05-18 Thread eric . jung
=s% ***The absolute uri: http://myfaces.apache.org/sandbox cannot be resolved in either web.xml or the jar files deployed with this application Are there other steps I should take in order to use tomahawk-sandbox? Thanks for any help, Eric Jung _ CONFIDENTIALITY

Re: JSF, Tomcat memory usage

2007-05-14 Thread eric . jung
Why are you storing such a large object in session scope in the first place? What's wrong with a different scope? Andrew Robinson [EMAIL PROTECTED] 05/14/2007 10:52 AM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org cc Subject

Re: Calling JSF page from html page

2007-05-10 Thread eric . jung
How would one's code be called to manipulate this managed bean when such a request comes through? Is the only way with a PhaseListener? Scott O'Bryan [EMAIL PROTECTED] 05/10/2007 03:06 PM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion

Re: sort arrows for t:column

2007-04-26 Thread eric . jung
within this t:dataTable/ t:dataTable id=dt value=#{bean.dataObjects} var=row binding=#{bean.dataTable} preserveDataModel=false preserveSort=true What might I be doing wrong? Thank you for any advice, Eric Jung _ CONFIDENTIALITY NOTICE The information

sort arrows for t:column

2007-04-25 Thread eric . jung
be doing wrong? Thank you for any advice, Eric Jung _ CONFIDENTIALITY NOTICE The information contained in this e-mail message is intended only for the exclusive use of the individual or entity named above and may contain information that is privileged, confidential or exempt

Re: t:tooltip display issues w/ IE...

2007-04-25 Thread eric . jung
David, I got around the problem you describe by applying a style to h:outputText/; e.g., h:outputText styleClass=popupDescription of the security role./h:outputText .popup { height: 5em; width: 35em; } Nebinger, David [EMAIL PROTECTED] 04/25/2007 01:36 PM Please respond to MyFaces

RE: t:tooltip display issues w/ IE...

2007-04-25 Thread eric . jung
Good point. I've not been able to figure this out, and my popups definitely suffer from it--fixed dimensions don't look so good. Perhaps there is a way to make the popup size dynamic through CSS. In any case, you might want to open a bug about it and/or post it to the developer's group so

RE: t:tooltip display issues w/ IE... (SOLVED)

2007-04-25 Thread eric . jung
Doesn't appear to work if you have markup in the popup facet; e.g.,: t:popup h:graphicImage url=images/icons/info.gif styleClass=info-icon/ f:facet name=popup h:panelGroup styleClass=popup h:outputText value=blah blah blah/

RE: t:tooltip display issues w/ IE... (SOLVED)

2007-04-25 Thread eric . jung
It would appear that changing the nested h:panelGroup/ to h:panelGrid/ solves the problem with other markup in the popup. Eric Jung/X/PH/Novartis 04/25/2007 05:30 PM To MyFaces Discussion users@myfaces.apache.org cc Subject RE: t:tooltip display issues w/ IE... (SOLVED) Doesn't appear

help with graphic arrows for t:column

2007-04-23 Thread eric . jung
, but the data is displayed in the same order). Sorting works fine with the previous code. The column is contained within this t:dataTable/ t:dataTable id=dt value=#{bean.dataObjects} var=s binding=#{bean.dataTable} preserveDataModel=false preserveSort=true Thank you for any advice, Eric