Antwort: Re: Re: Problem with tc.link / Deployment Problem with current snapshot

2007-04-27 Thread Kristoff . Kiefer
Hi, Okay, with the nightly build as of today it works again, but the Link problem persists I'm afraid Mit freundlichen Grüßen / kind regards Kristoff Kiefer - NORD/IT NORD/LB Informationstechnologie GmbH

force to start a new servlet session

2007-04-27 Thread Dave
On JSF page, click a button to open a new window. The request will join the existing session. Is there a way to create a new HTTP servlet session for the request(clicking the button)? public HttpSession getSession(boolean create) Create a new session only when no session already exists

RE: force to start a new servlet session

2007-04-27 Thread Conway. Fintan \(IT Solutions\)
Hi Dave, In the Sandbox there is a killSession (I think that is what it is called) tag that should refresh the session state. HTH, Fintan -Original Message- From: Dave [mailto:[EMAIL PROTECTED] Sent: 27 April 2007 09:41 To: Tomcat Users List;

Modifying XHTML through a filter

2007-04-27 Thread Rudi Steiner
Hi, I have still the problem with the generated XHTML from myFaces. I reduced my app to a few basic mechanisms, but this basic mechanisms must produce XHTML strict. To achieve this, i would like to wirte a filter, which makes light modifications of the generated markup, just to satisfy the

Re: [Tobago] Problem with JSTL and multiple markup attributes

2007-04-27 Thread Helmut Swaczinna
Hi Volker, ok, I thought I can specify a markup attribute more than once because I get no error doing this without JSTL. But I don't understand why the valdation is only executed, when the JSTL taglib is included. Can you explain this to me? Regards Helmut - Original Message -

Antwort: Re: file-upload

2007-04-27 Thread Martin . Kelm
Hi, my file upload does still not work. I try now a simple example. @Bernd: thanks for your code snippets. The value attribute is binded in your example to a managed-bean-funtion value anlagenController.newFileItem Do you access the file contents via the FileItem in this function or is the

[Tobago] Skip a row while displaying tc:sheet/

2007-04-27 Thread Madan Narra
Hi All, I have a condition to check while displaying a sheet records. I need to skip a record(row) based upon the condition. I can do this in the Controller( Modify the object to not include this record) but the same object is being used in other places which will effect the whole flow. I

Re: [Tobago] Problem with JSTL and multiple markup attributes

2007-04-27 Thread Volker Weber
Hi,Helmut, no i can't. what happens when you specifiy any other attribute multiple times? Regards, Volker 2007/4/27, Helmut Swaczinna [EMAIL PROTECTED]: Hi Volker, ok, I thought I can specify a markup attribute more than once because I get no error doing this without JSTL. But I don't

Re: Antwort: Re: file-upload

2007-04-27 Thread Helmut Swaczinna
Hi Martin, yes I access the contents of the FileItem in the bean function via the get() method of FileItem that gives me a byte[]. But the file is also temporary stored in the specified directory or in the directory specified by java.io.tempdir, wich is $CATALINA_HOME/temp under tomcat. But I

Re: [Tobago] Problem with JSTL and multiple markup attributes

2007-04-27 Thread Helmut Swaczinna
Hi Volker, I can specify every attribute more than once as long as I don't include the JSTL taglib. Regards Helmut - Original Message - From: Volker Weber [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Friday, April 27, 2007 11:56 AM Subject: Re: [Tobago]

selectOneRadio in tree2 ?

2007-04-27 Thread Michael Heinen
Could anybody give me a hint how to use a selectOneRadio inside tree2? Every node should have a radio button but only one of them should be selected. This is no problem inside datatables with spread layout and access over an index. But I have no right idea how this could work inside tree2.

Re: Modifying XHTML through a filter

2007-04-27 Thread Mike Kienenberger
Rudi, The Tomahawk Extensions filter does something similar -- it modifies the generated html. I'd recommend using it as a model for changing the generated xhtml. On 4/27/07, Rudi Steiner [EMAIL PROTECTED] wrote: Hi, I have still the problem with the generated XHTML from myFaces. I reduced

Re: Access to context of HTTP session

2007-04-27 Thread Mike Kienenberger
I'm changing this to the [EMAIL PROTECTED] mailing list. The dev list is for working on the MyFaces source code. FacesContext.getCurrentInstance() is only non-null during the JSF lifecycle. Apparently you're executing your backing bean code external to JSF. On 4/27/07, Trumml [EMAIL

Re: Access to context of HTTP session

2007-04-27 Thread Trumml
Well, thanks for the fast answer but what do you mean by executing external to JSF? Why isn't my backing bean inside the JSF lifecycle? Mike Kienenberger wrote: I'm changing this to the [EMAIL PROTECTED] mailing list. The dev list is for working on the MyFaces source code.

Re: Access to context of HTTP session

2007-04-27 Thread Mike Kienenberger
I'm assuming you're asking why your backing bean code isn't being called from inside the JSF lifecycle. I don't know. You haven't provided any information about what code is being called or how. On 4/27/07, Trumml [EMAIL PROTECTED] wrote: Well, thanks for the fast answer but what do you

Antwort: Re: Antwort: Re: file-upload

2007-04-27 Thread Martin . Kelm
Hi Helmut and all others, sorry for calling you Bernd, I have now completely written my simple example for file upload with tc:file. This one works. Still, file upload does not work flawless in my large application. Firstly, I get an ERROR message. Trying the upload for the second time, it

Re: [Tobago] c:forEach doesn't work anymore with myFaces 1.1.5

2007-04-27 Thread Helmut Swaczinna
Hi, I was able to create a (not really) simple example to reproduce the described behavior but with two differences: First, I get only the second exception and second, the exception is also thrown with myFaces 1.1.4. With a really simple example there's no problem. But life isn't such simple

Populate fields based on radio button row selection in dataTable using AJAX4JSF

2007-04-27 Thread bansi
I got thru first hassle of Select only one radio button row per dataTable using Tomahawk component version 1.1.5 with forceId=true forceIdIndex=false as attributes to t:selectOneRadio Now based on the selected radio button row i wanna populate other fields in JSF page Please note my

intro and q about sandbox in liferay portal.

2007-04-27 Thread Alexander Wallace
Hi All! This is my first message to the list and therefor my intro! I'm currently testing different UI components in liferay portal... I've been creating portletets and got tomahawk to work, using tomahawk bridge... I will need a modal dialog so I decided to try the sandbox's one... It is

Re: intro and q about sandbox in liferay portal.

2007-04-27 Thread Mike Kienenberger
public static DojoConfig getDjConfigInstance(FacesContext context) { // we wont have a need for a synchronized here, since // we are in a single request cycle anyway // but take care if you use the djconfig in multiple threads! DojoConfig djConfig = (DojoConfig)

Configuring ajax4jsf to run with facelets and myfaces implementation

2007-04-27 Thread Eugine F
Hello experts, I am struggling to use ajax to run an JSf application that I have written with facelets. Without ajax everything was running fine. I looked at the documentation for the ajax4sf at https://ajax4jsf.dev.java.net/nonav/documentation/ajax-documentation/developerGuide.html and

Re: Configuring ajax4jsf to run with facelets and myfaces implementation

2007-04-27 Thread Mike Kienenberger
Your error message states that ajax4jsf has a dependency on opensymphony (com/opensymphony/oscache/base/NeedsRefreshException). Find the correct jar and add it to your classpath. On 4/27/07, Eugine F [EMAIL PROTECTED] wrote: Hello experts, I am struggling to use ajax to run an JSf application

Re: Modifying XHTML through a filter

2007-04-27 Thread Jonathan Harley
Rudi Steiner wrote: I have still the problem with the generated XHTML from myFaces. I reduced my app to a few basic mechanisms, but this basic mechanisms must produce XHTML strict. To achieve this, i would like to wirte a filter, which makes light modifications of the generated markup, just to

Re: According to TLD or attribute directive in tag file, attribute value does not accept any expressions

2007-04-27 Thread netfish
Simon, Thanks for your answer, after reading it and googling around a bit more things are getting clearer. But even with dataList, is it possible at all to get a Arraylist object stored in session as its value? The JSTL tags have no issues with this (using ${..}). The list i'd like to iterate

Re: According to TLD or attribute directive in tag file, attribute value does not accept any expressions

2007-04-27 Thread netfish
It looks like theres no straightforward way to get session values into JSF tags atleast in 1.1. I kinda gave up on this and used a workaround i found on another site. basically just made a URL (using c:url) which passes an id req parameter to my next page (employee details JSF). As the first

Problem using Map to populate selectItems

2007-04-27 Thread Joost Schouten
Hi, I try to populate a selectItems with a Map from my backing bean (as described at [1]) but have no success. When I use t:selectItems t:selectOneMenu value=#{myBean.loggedAction} t:selectItems value=#{ myBean.loggedDropDownActions.entrySet} var=mapEntry itemValue=#{mapEntry.key}

Re: Problem using Map to populate selectItems

2007-04-27 Thread Mike Kienenberger
You need to use t:selectItems. f:selectItems does not support var or value (at least, it's not supposed to). On 4/27/07, Joost Schouten [EMAIL PROTECTED] wrote: Hi, I try to populate a selectItems with a Map from my backing bean (as described at [1]) but have no success. When I use

RE: force to start a new servlet session

2007-04-27 Thread Dave
Hi Fintan, Thanks! Will killSession kills existing session? I like to keep the original session, but start a new session for a new request(for example, click a button). Dave Conway. Fintan (IT Solutions) [EMAIL PROTECTED] wrote: Hi Dave, In the Sandbox there is a

RE: Problem using Map to populate selectItems

2007-04-27 Thread Joost Schouten
Mike, Thanks. I guess I'll go for the t:selectItems then. But that doesn't explain why t:selectItems produces an empty t:selectOneMenu. Do you have any idea why? Thanks, Joost Schouten -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Saturday, April 28, 2007