Re: managed-bean - request scope question

2007-02-09 Thread Werner Punz
Lisa schrieb: As I understand it a managed-bean that is request scope will get instantiated each time (a request is submitted) and then destroyed (or sent for garbage collection) after the response. I put some print statements in the no arg constructor and see that it is instantiated (and

Re: Programmatic forward in action,

2007-02-09 Thread Mikael Andersson
The browser keeps waiting for the action method to finish (when submitting), that is why I thought it might be possible to force a redirect/forward programmatically so the action could do its length computation and the progress page could be redisplayed (without starting a new thread). - mike

Re: Programmatic forward in action,

2007-02-09 Thread Ricardo Tercero Lozano
Try AjaxAnywhere (http://ajaxanywhere.sourceforge.net/). Although it's an Ajax solution, the principal advantage is than this component hadly adds complexity to your page. I've used AjaxAnywhere for a similar functionality with success. Ricardo. On 2/9/07, Mikael Andersson [EMAIL PROTECTED]

Re: Tomahawk 1.1.3 inputFileUpload solution

2007-02-09 Thread raju
Hi, I was able to run this application.Please let me know how to migrate this application to use facelets with tomahawk if some one has tried it out.I am getting error:t:panelGrid Tag Library supports namespace: http://myfaces.apache.org/tomahawk, but no tag was defined for name: panelGrid I

Re: What are people using to replace an Editable JComboBox?

2007-02-09 Thread Gerald Müllan
Hi, you may have a look at InputSuggestAjax: http://example.irian.at/example-sandbox-20070209/inputSuggestAjax.jsf; cheers, Gerald On 2/9/07, Michael Margozzi [EMAIL PROTECTED] wrote: What JSF component are people using where they would have used an editable JComboBox? For those that may

Re: Programmatic forward in action,

2007-02-09 Thread Mikael Andersson
Hi, had it been solely up to me I would have pimped the page with ajax4jsf a while ago :) . On 09/02/07, Ricardo Tercero Lozano [EMAIL PROTECTED] wrote: Try AjaxAnywhere (http://ajaxanywhere.sourceforge.net/). Although it's an Ajax solution, the principal advantage is than this component

Re: Help! myfaces 1.1.1 popup div IE

2007-02-09 Thread Marc AMIR-TAHMASSEB
From: Yixing Ma Subject: Help! myfaces 1.1.1 popup div IE I have a problem with the tree2 and popup using together. See the attached picture. Myfaces version is 1.1.1. The problem is only for IE. The the popup doe not overlap the IFrame. The tree2 is inside div

Prevent MyFaces to autogen _idxx

2007-02-09 Thread Steve Torrefranca
How do we prevent MyFaces(tomahawk 1.1.5-SNAP) from adding a _idXX in between the form name and field id? Like this: t:commandButton id=submit value=Submit action=#{spendReportingBean.generateReport} / Will render: input *id**=**_formPage:_id1031:submit* name=_formPage:_id1031:submit

Re: Prevent MyFaces to autogen _idxx

2007-02-09 Thread Werner Punz
Steve Torrefranca schrieb: How do we prevent MyFaces(tomahawk 1.1.5-SNAP) from adding a _idXX in between the form name and field id? Like this: t:commandButton id=submit value=Submit action=#{spendReportingBean.generateReport} / Will render: input *id**=**_formPage:_id1031:submit*

Re: Prevent MyFaces to autogen _idxx

2007-02-09 Thread Steve Torrefranca
Werner Punz wrote: Steve Torrefranca schrieb: How do we prevent MyFaces(tomahawk 1.1.5-SNAP) from adding a _idXX in between the form name and field id? Like this: t:commandButton id=submit value=Submit action=#{spendReportingBean.generateReport} / Will render: input

panelGrid+columnClasses inside facet is no-go?

2007-02-09 Thread Novaree
Hi, I'm currently building a MasterDetail setup of a user list, and need to put user details inside the detailStamp. I do this by putting a panelGrid inside my detailStamp-facet, and it works so-and-so, except for one thing: When rendering, my columnClasses CSS class specifications are

FacesMessages not rendered

2007-02-09 Thread Pfau, Oliver
Hi, in my jsp theres a h:messages tag and i am setting faces messages like this: FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, strMsg, strMsg); FacesContext.getCurrentInstance().addMessage(null, msg); Unfortunately a message is never displayed. I use the same in other jsps

How to create and config a life scyle bean for automatic authenticate username and password when user open a browser on window XP?

2007-02-09 Thread Wong, Emmanuel \(Sam\)
Hi: Do anyone knows how to create and config JSF to have a life cycle bean that is initial active when JBOSS is started? For Example: When user login into their Win XP workstation, I would grab his creditenal username and password from his workstation, then I open a URL for my

RE: panelNavigation2 and navigationMenuItems [Solved]

2007-02-09 Thread AMIR-TAHMASSEB Marc
Dear Mike, thank you for this little lesson :) I'm pretty new on the JSF's and facelets' world... regards Marc -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: 09 February 2007 04:14 To: MyFaces Discussion Subject: Re: panelNavigation2 and

Re: How to create and config a life scyle bean for automatic authenticate username and password when user open a browser on window XP?

2007-02-09 Thread David Delbecq
You should ask this question to JBoss team. Basically, there is a way to have kerberos authentification shared between windows session and JBoss server (the user token is forwarded by browser to JBoss server which use it to authenticate user). JBoss team has most probably far more experience than

Unable to deploy Tobago 1.0.9 demo App in WebLogic 8.1.4

2007-02-09 Thread TUCKER Alan
Just trying to deploy the demo application (tobago-example-demo-1.0.9.war) as downloaded. I was presuming this contains everything it needs. Seems to be causing a problem with Commons Logging. WebLogic 8.1 sp4 Standard domain configured with the domain creation wizard - nothing special

Re: How to create and config a life scyle bean for automatic authenticate username and password when user open a browser on window XP?

2007-02-09 Thread John Burgess
This might be an area for NTLM authentication -- MS specific but quite widely supported by browsers. Using IE if a site says it needs authentication and says it wants it via NTLM then IE will automatically send the users credentials from the workstation (at least for intranet sites - for the

RE: How to create and config a life scyle bean for automatic authenticate username and password when user open a browser on window XP?

2007-02-09 Thread Beelen, Marco
An alternative to using authentication by the container is to use JCIFS to perform authentication based upon Windows credentials as a ServletFilter. See: http://jcifs.samba.org/src/docs/ntlmhttpauth.html With kind regards, Marco Beelen -Original Message- From: David Delbecq

Custom Component TLDs

2007-02-09 Thread Remo Liechti
Hi Guys I've a problem with my TLD. Because it is very big, I started to split it up in different files and include them in one file. The files are attached. When I start my Tomcat 5.5, I get an exeption(below). I googeld for this exception and find out to use xsd instead of DTD, but this did

Re: multiple rows of column headers possible?

2007-02-09 Thread Jeff Bischoff
Coop, This was asked before. Maybe the previous solutions could help you? [1] http://www.nabble.com/Hierarchial-Column-Labels-tf2346303.html#a6535068 [2] http://www.nabble.com/multi-column-row-header-with-t%3AdataTable-tf1982130.html#a5439972 Cooper, Stephen wrote: I would like to have

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

2007-02-09 Thread AMIR-TAHMASSEB Marc
Hi, I have also the same white empty box in IE ! I just put a word without any whitespace in my popup... It works fine under Firefox. Do you have any answer or solution ? thanks, Marc ayan amonpara at intralinks.com writes: Hi, Im also facing same prob with t:popup, When

Re: Anyone used s:pprPanelGroup and s:tableSuggestAjax ?

2007-02-09 Thread Laurentiu Trica
I found a way, I use the pprPanelGroup just for forcing to Partial Page Rendering. The TableSuggest is taking the values from the backing bean always using Ajax, so it's ok. Hope in the future the component will be more stable. Anyway, it's a great one. Thank you for answering. On 2/9/07,

Re: Programmatic forward in action,

2007-02-09 Thread Mike Kienenberger
Right. I'm saying that you only use the refresh as a one-time timer rather than an ongoing thing. You start at a page that is set to refresh. The refresh triggers a normal JSF action. The JSF servlet returns back an equivalent auto-refreshing page. Repeat until the action returns back a

Re: Programmatic forward in action,

2007-02-09 Thread Mikael Andersson
Hi, I'm afraid I don't quite understand. First a little more on my problem: I have a page with at table where each row contains the status of a task and a commandLink to execute that task (a bit simplified). When ever that page is refreshed it re-displays all tasks and their current status. My

RE: t:commandLink and image of button - how not to hard code

2007-02-09 Thread Cooper, Stephen
Here's an idea: Define a CSS class, say 'delete' .delete { background-image: url('path-to-image'); background-repeat: none; background-position: center; } Next, Make your command link have the class of 'delete', and put a 1x1 transparent gif image, sized to the correct size, inside the

Re: Programmatic forward in action,

2007-02-09 Thread Paul Spencer
Mikael, I suggest the action should spawn a thread or post a todo for another thread/process to do the actual work. This way the action will return quickly. Paul Spencer Mikael Andersson wrote: Hi, I'm afraid I don't quite understand. First a little more on my problem: I have a page

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

2007-02-09 Thread Cooper, Stephen
So, I have added the ability to hide/show columns. Here's the pop-up (in a column header) which allows the user to select the columns to re-display: f:facet name=header t:popup style=background-color:yellow;padding:1em; closePopupOnExitingElement=false

Re: Programmatic forward in action,

2007-02-09 Thread Mikael Andersson
Yeah, I guess I'll be going down the thread path after all :) If anyone comes up with a nice solution, please post it, I'd be very interested. Thanks, Mike (the beginner one) On 09/02/07, Paul Spencer [EMAIL PROTECTED] wrote: Mikael, I suggest the action should spawn a thread or post a todo

param not appearing in commandLink

2007-02-09 Thread lightbulb432
Within a h:dataTable's h:column I have a h:commandLink that I want to show a specific URL parameter. Within the commandLink I therefore add an f:param, but it doesn't seem to do anything in the generated URL. Even if I have a static value like below, nothing happens (shouldn't every generated

Re: param not appearing in commandLink

2007-02-09 Thread Mikael Andersson
Probably not the reply you want, but you would inject the param into your backing bean like this: managed-bean managed-bean-namebean/managed-bean-name managed-bean-class com.SomeBean/managed-bean-class managed-bean-scoperequest/managed-bean-scope managed-property

Re: Highlight current row - Facelets Bug?

2007-02-09 Thread Jeff Bischoff
Hey Guys, Can anyone confirm this for me? This highlight row trick works fine in JSP, but when I converted my application to Facelets, I get behaviour like opick is describing. I'm guessing that is his problem too, though he didn't say if he is using facelets or not. Is this a bug in

issue with component ids

2007-02-09 Thread Jorge Vásquez
Regards to all, I haven’t been able to establish different id’s for a HTMLCommandLink components inside a list. I have tried the following 2 scenarios with the respective result: 1. ui:repeat value=#{toolTabBean.toolbarElementList} var=toolbarElement

Re: issue with component ids

2007-02-09 Thread Jeff Bischoff
JV, From what I understand, setting component ids dynamically through EL is disallowed. There has been discussion of this, which can be found in the archives. Here is one example, see [1](tiny url) or [2](full url). [1] http://tinyurl.com/2o4bal [2]

Does SelectItem value have to be a string?

2007-02-09 Thread kal stevens
I have the code pasted below, and I get the following error javax.servlet.ServletException: Value is no String (class=java.util.ArrayList, value=[[2820] three, [2821] emi, [2822] emi_uk, [2823] itn, [2824] abc, [2825] ae, [2826] boomchicago, [2827] chillitv, [2828] comedytime, [2829]

Re: A sorting problems using t:dataTable and f:facet name=detailStamp.

2007-02-09 Thread Paul Spencer
Iakouchev, I see the same behavior. I was expecting one of the following behaviors: 1) The row bean that was expanded before the sort would be expanded after the sort. 2) No rows would be expanded after the sort. Paul Spencer Iakouchev Alexander-EAL027C wrote: I experienced a sorting

Re: Does SelectItem value have to be a string?

2007-02-09 Thread Andrew Robinson
Since the value is taken from HTML, it has to be represented as a string on the client. To do this you must use a converter on your listbox to convert to and from the object. On 2/9/07, kal stevens [EMAIL PROTECTED] wrote: I have the code pasted below, and I get the following error

Re: A sorting problems using t:dataTable and f:facet name=detailStamp.

2007-02-09 Thread Paul Spencer
Stephen, This is not working for me. Below is an excerpt from the jsp that displays a sortable table. I have added the rowId attribute in t:dataTable, but it is not working. t:dataTable id=vehicleTable var=vehicle value=#{vehicles}

facelets components

2007-02-09 Thread Mick Knutson
I am trying to create a user HTML for that is re-used by several other pages. So I have a layout.xhtml that has: ui:insert name=content div ui:include src=/tro/views/common/blank.jsf / /div /ui:insert Then my registration.xhtml has:

Re: [Solved] problem with tomahawk 1.1.5 tree2

2007-02-09 Thread dj69
Satish, I'm not familiar with Jdeveloper but under Websphere/RAD I've had to deal with a similar issue. There's two issues to solve. The first is making sure that only one jsf implementation is available or making sure the one you want to use is available FIRST. If you're okay with using