Re: SIMPLE question - How can I get nbsp; to work

2007-03-22 Thread Mads Henderson
I use stuff like h:outputText escape=false value=nbsp;nbsp;nbsp;/ or h:outputText escape=false value=p// all the time How is this not working for you, do you get an error or does it simply not get rendered? Another way to type html inside you page is to use f:verbatim like:

Re: does anyone have sample code for a tooltip-like display?

2006-09-09 Thread Mads Henderson
I have also had odd behaviour with t:popup on IE, but I worked around it by substituting all whitespaces with nbsp; (remember to set escape=false).There is also a pretty good and easy to use _javascript_ you can use at http://www.walterzorn.comHope that helps.MadsOn 9/8/06, Mike Kienenberger

Null pointer in variable resolver

2006-08-18 Thread Mads Henderson
Hi.I frequently - but far from always get a NPE when I use the variable resolver to resolve a session scope variable. Does anyone have any idea of what I am doing wrong?The setup is this.I have set up a session scope backing bean let's call it my myBean. I have a servlet that generates graphic

Re: Autorefreshing a jsf page or parts of it

2006-06-16 Thread Mads Henderson
I have done something similar (inspired by the wiki):SCRIPT LANGUAGE=_javascript_!-- Beginning of _javascript_ -function refresh(){ setTimeout(clickLink() , 6) }function clickLink(){ var fireOnThis = document.getElementById(content:theIdOfLinkOnThePageToSimulateClickOn) if

Re: Output an image

2006-06-02 Thread Mads Henderson
I think you need to create a servlet that outputs the image. You can then use the servlet url in you h:graphicimage tagHope that helpsMadsOn 6/1/06, Ondrej Svetlik [EMAIL PROTECTED] wrote: Hello all,I have image data in the database and want to simply send them out withpropper mime type. Is there

Re: tag to truncate outputText?

2006-04-08 Thread Mads Henderson
I don't want to hijac this thread, but can some one point me to some where, where I can read more about facelet functions that Andrew talks about? It seems pretty useful but searching google or yahoo doesn't give any answers. Thanks Mads On 4/7/06, Andrew Robinson [EMAIL PROTECTED] wrote: I

Clientside statesaving and linkDummyForm

2006-04-05 Thread Mads Henderson
Hi, We are using client side state saving and are having some problems with the amount of data sent to the client. It appears that all forms on the page contains a hidden input field containing the (same) object representing the state. One form linkDummyForm is always present, and then of course

Re: PermGen Space problem???

2006-01-25 Thread Mads Henderson
Are You running JBOSS on a windows platform? In that case you may get this exception when you have hotdeployed enough times. Taking the server down is the only thing that helps. Hope that helps Mads On 1/25/06, Julien Martin [EMAIL PROTECTED] wrote: Hello, I get a permgen error. Can anyone

Re: Changing web.xml properties at runtime

2005-08-13 Thread Mads Henderson
To be honest I have trouble understanding exactly what you are trying to do. You talk about changing navigation at some point though. If you want navigation to be more dynamic, e.g. let the user go to different pages depending on some state information, you can simply make the action attribute of

Re: regarding h:selectOneMenu

2005-05-05 Thread Mads Henderson
Hi, I am strugling with the same issue, and am of course pleased to see that it can be solved :-) My only problem is that I can't follow the idea schetched here, are you able to provide a code example? In my case I also need to suply an f:param for the page I am navigating to, but I suspect I