Re: DataConverter Initializazion

2006-10-18 Thread ::SammyRulez::
do you mean this http://jcp.org/en/resources/tdk. BTW also standard convertDateTime works well if you specify timezone but is is very boring to introduce it every time you have to display a date... also because you have locales manged by faces-config. 2006/10/17, Martin Marinschek [EMAIL

java.lang.IllegalStateException: Response already committed when using t:inputCalendar?

2006-10-18 Thread Bjørn T Johansen
I get the following exception when I just display the t:inputCalendar component (i.e pressing the button to show calendar)..: java.lang.IllegalStateException: Response already committed at weblogic.servlet.internal.ServletResponseImpl.objectIfCommitted(ServletResponseImpl.java:1345)

Re: Tobago on Websphere 6.1 layout problems

2006-10-18 Thread Bernd Bohmann
Hello, I'm not sure that tag files are working on websphere. Volker can you verify this? Regards Bernd goodusername wrote: Hi, I'm having problem running tobago application in websphere 6.1.0. My application is very similar to the example demo application. I installed the application

RE: Tobago on Websphere 6.1 layout problems

2006-10-18 Thread hermod.opstvedt
Hi Is'nt he missing a /jsp:body here? Hermod -Original Message- From: Bernd Bohmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 9:02 AM To: MyFaces Discussion Subject: Re: Tobago on Websphere 6.1 layout problems Hello, I'm not sure that tag files are working on

Re: Strange problem with myfaces components on a PDA

2006-10-18 Thread Stan81
Hello Matthias, what I get for the Trinidad project from apache.org is This project is currently undergoing the Incubation at Apache. I couldn't find binaries to download. Do I need to use a cvs to get tha jars ? Thanks Matthias Wessendorf-4 wrote: Stan, I am pretty much sure that

Re: Tobago on Websphere 6.1 layout problems

2006-10-18 Thread goodusername
Hi Hermod, I only forgot to close the jsp:doBody tag in the mail it is jsp:doBody / I actually use with my sample application I checked the syntax over and over and it's all right :( [EMAIL PROTECTED] wrote: Hi Is'nt he missing a /jsp:body here? Hermod goodusername wrote: my

Re: Tobago on Websphere 6.1 layout problems

2006-10-18 Thread goodusername
I sent the log as attachment it my first mail, maybe this is the reason you haven't received: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware

Re: New component colspan

2006-10-18 Thread Ricardo Tercero Lozano
Why not put a 'rowspan' attribute too?On 10/17/06, Jeff Bischoff [EMAIL PROTECTED] wrote: L Frohman wrote: I have already added a colspan attribute to the t:panelGroup and modified t:panelGrid to implement it. Ah I see that now - the TLD doc describes this colspan attribute.I think it is hard in

RE: Tobago on Websphere 6.1 layout problems

2006-10-18 Thread hermod.opstvedt
Hi Seems to me that there might be somthing wrong with the jsp:doBody tag. Now looking at you setup again, I wonder if tc:page tag actually is meant at toplevel meaning you might be trying to set up a new html block inside a html block. Maybe you should be using a tc:panel instead. Hermod

Re: Tobago on Websphere 6.1 layout problems

2006-10-18 Thread Stojan Peshov
I even tried without tc:page yesterday, only tc:out tagsand also tried without any tc tags, only plain textshaven't tried with tc:panel yet My guess is that it's problem with jsp:doBody to, but can I use some workaround? On 10/18/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:HiSeems to me that

DojoConfig Error?

2006-10-18 Thread Anne-Julia
It seems I have a problem with Tiles and the DojoConfig, but I don't know where to fix it.The Errorlog:1164468 [http-8080-Processor23] ERROR org.apache.struts.taglib.tiles.InsertTag - ServletException in '/jsp/editPack.jsp': org/apache/myfaces/custom/dojo/DojoConfig javax.servlet.ServletException:

Re: DojoConfig Error?

2006-10-18 Thread Cagatay Civici
Hi,Lately dojo moved to tomahawk, so try using a snapshot of tomahawk instead of 1.1.3.CagatayOn 10/18/06, Anne-Julia [EMAIL PROTECTED] wrote:It seems I have a problem with Tiles and the DojoConfig, but I don't know where to fix it. The Errorlog:1164468 [http-8080-Processor23] ERROR

Re: Tobago on Websphere 6.1 layout problems

2006-10-18 Thread Kliment Simoncev
jsp:doBody is not closed but it is re-typing error, I assumed. Kliment [EMAIL PROTECTED] wrote: Hi Is'nt he missing a /jsp:body here? Hermod -Original Message- From: Bernd Bohmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 9:02 AM To: MyFaces Discussion Subject:

Re: Tobago on Websphere 6.1 layout problems

2006-10-18 Thread Volker Weber
Hi, the tc:page tag renders the htmlhead.../headbody stuff. Page tag is mandatory for tobago. In my last project we where using the WS 6.1 but we did not use jsp tags, so i can't help. Volker 2006/10/18, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi Seems to me that there might be somthing wrong

collapsiblePanel prevents action from being called?

2006-10-18 Thread japplicoon
Hi! I just tried to split a very large (search-) form into several collapsiblePanels. Unfortunately, the submit button (outside the panels) doesn't call the required action anymore. Did I misunderstand the usage of the collapsiblePanel? I read here about action-components INSIDE the panel, but

Re: DojoConfig Error?

2006-10-18 Thread Anne-Julia
Thanks for the fast answer. I upgraded tomahawk an myfaces-core both to the 1.5 SNAPSHOT according to this: http://wiki.apache.org/myfaces/CompatibilityMatrix Now I have a different thing here with Serialisation (I think).Here goes the errorlog:INFO: Installing web application at context path

Re: DojoConfig Error?

2006-10-18 Thread Anne-Julia
I think I found out:web.xml = I switched from client to server, no it works, yippee.cheersaj context-param description State saving method: client or server (= default) See JSF Specification 2.5.2 /description param-namejavax.faces.STATE_SAVING_METHOD/param-name param-valueserver/param-value

Re: Strange problem with myfaces components on a PDA

2006-10-18 Thread Jeff Bischoff
Stan, I think many Trinidad users do check it out of SVN directly. (not sure!) But there do seem to be nightly builds available. See [1]. [1] http://people.apache.org/maven-snapshot-repository/org/apache/myfaces/trinidad/ Regards, Jeff Bischoff Kenneth L Kurz Associates, Inc. Stan81

Tree2- how to hide a branch

2006-10-18 Thread Jiang, Jane \(NIH/NCI\) [C]
I need to hide a branch of a tree for certain users due to configuration. I tried to use something like this f:facet name=Test Folder h:panelGroup rendered=#{node.render} /h:panelGroup /f:facet I could only hide a node this way, the little + sign

How to hide a tree2 branch

2006-10-18 Thread Jiang, Jane \(NIH/NCI\) [C]
Hi, I'd like to hide a branch of my tree based on some session settings, for example, user is a guest user. I tried to use the rendered attribute of the panelGroup. f:facet name=Secure Folder h:panelGroup rendered=#{user.hasAccess} ...

How to saveState / restoreState for properties that have value bindings

2006-10-18 Thread Randahl Fink Isaksen
I have been looking through a number of MyFaces components to see how state saving was implemented, and it turns out that all the components I have checked simply implement the saveState and restoreState methods by returning an Object[] containing their private properties. But I keep asking

Re: MyFaces dialog framework

2006-10-18 Thread Andrew Robinson
t:popup may work for you. For a more robust solution, jenia4faces [1] works just fine and is a very good dialog. I recommend their popupFrame but not their popupBox. The popup box saves the contents to the web page inside of a JavaScript string that causes all sorts of escaping problems as the

Re: Tree2- how to hide a branch

2006-10-18 Thread Andrew Robinson
You can do it via code in a custom tree node. Just don't return the node you don't want to show in the getChildren() method and don't count it in the getChildCount() method. AFAIK, there is no way to do it in the XHTML/JSP. On 10/18/06, Jiang, Jane (NIH/NCI) [C] [EMAIL PROTECTED] wrote: I need

Re: How to saveState / restoreState for properties that have value bindings

2006-10-18 Thread Randahl Fink Isaksen
Actually I finally found an example on the web in which the restoreState method actually takes responsibility of restoring the value bindings internal state (see below) - can anyone confirm that this is the right approach for properties with value bindings? Randahl public Object

RE: MyFaces dialog framework

2006-10-18 Thread Neuman, Ben J., AM IRM
My experience with Jenia4Faces popup IFRAME is that it works great on Firefox but has serious issues with IE. Or rather, IE has serious issues with IFRAMEs. ben Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 10:37 AM To: MyFaces

Re: MyFaces dialog framework

2006-10-18 Thread Andrew Robinson
What issues? I have had no problems with it on IE. On 10/18/06, Neuman, Ben J., AM IRM [EMAIL PROTECTED] wrote: My experience with Jenia4Faces popup IFRAME is that it works great on Firefox but has serious issues with IE. Or rather, IE has serious issues with IFRAMEs. ben Original

Re: Tree2- how to hide a branch

2006-10-18 Thread William Huang
that or since this is more of a business logic, you might want to apply the access logic before populating the treemodel. That way is more of a business logic and UI separation. Bill Andrew Robinson

Re: How to saveState / restoreState for properties that have value bindings

2006-10-18 Thread Cagatay Civici
The example you posted is the old code of UISaveState. It's has a special usage.Actually you don't need to care about valuebindings. There is a special map that holds the valuebindings of a component in UIComponentBase, this map is saved-restored in each postback. On 10/18/06, Randahl Fink Isaksen

Re: How to saveState / restoreState for properties that have value bindings

2006-10-18 Thread Randahl Fink Isaksen
I was wondering if there were any alternatives to this approach of creating and populating arrays in each and every one of your components - has anyone tried using reflection to do all of this automatically. Surely for simple components one could easily run through its getter methods and

inputCalendar doesn't give the value to the bean

2006-10-18 Thread Anne-Julia
Now I have the following setup: MyFaces 1.1.5-snapshottomahawk-sandbox-1.1.5-SNAPSHOTtomahawk-1.1.5-SNAPSHOTWhen I want to save the Bean-Objekt to the DB the t:inputCalendar didn't give the value of the chosen date to the bean. Instead the value ist still NULL. I wrote my own validator.Here is the

FYI...

2006-10-18 Thread Matthias Wessendorf
http://www.jsfmatrix.net/ -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com

Re: FYI...

2006-10-18 Thread Simon Lessard
Strange... How come they say that Trinidad does not handle popup dialogs? Nice matrix nonetheless though.On 10/18/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:http://www.jsfmatrix.net/ --Matthias Wessendorfhttp://tinyurl.com/fmywhfurther stuff:blog: http://jroller.com/page/mwessendorf mail:

Re: FYI...

2006-10-18 Thread Simon Lessard
And we do have tabs including AJAX through showOne component.Oh well...~ SimonOn 10/18/06, Simon Lessard [EMAIL PROTECTED] wrote:Strange... How come they say that Trinidad does not handle popup dialogs? Nice matrix nonetheless though. On 10/18/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:

Re: FYI...

2006-10-18 Thread Matthias Wessendorf
and noc doc. which is wrong ... :) On 10/18/06, Simon Lessard [EMAIL PROTECTED] wrote: Strange... How come they say that Trinidad does not handle popup dialogs? Nice matrix nonetheless though. On 10/18/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: http://www.jsfmatrix.net/ -- Matthias

Re: FYI...

2006-10-18 Thread Volker Weber
FYI: i just add as comment: Some changes for tobago: menu has no ajax, Upload and Progressbar components availiable, ajax autocomplete in input, tooltip on most components. Regards Volker 2006/10/18, Matthias Wessendorf [EMAIL PROTECTED]: and noc doc. which is wrong ... :) On 10/18/06,

RE: FYI...

2006-10-18 Thread Frank Russo
Does anyone know of a Matrix component? I may need to build one, but I thought I'd check to see if it exists first... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Wednesday,

Re: FYI...

2006-10-18 Thread Mike Kienenberger
What kind of a matrix component? I've used t:dataTable + t:columns to create matrixes of boolean checkboxes On 10/18/06, Frank Russo [EMAIL PROTECTED] wrote: Does anyone know of a Matrix component? I may need to build one, but I thought I'd check to see if it exists first... Frank Russo

differences betweens t:stylesheet and s:script

2006-10-18 Thread Rogerio Pereira
Hi guys,Why these both tags can't have the same attribute name for file paths? t:stylesheet has path attribute while s:script has src attribute, like any other component, why not value attribute instead of path or src? -- Yours truly (Atenciosamente),Rogério (_rogerio_)http://faces.eti.br

Float conversion difference?

2006-10-18 Thread David Van Stone
I'm using JSF 1.1.3. I have a property value in a backing bean which is a simple float: public float getValue() { return 8.3131313f; } In my jsp I use two outputFormats to display the value. Note the space after the first value: h:outputFormat value={0} f:param value=#{seqedit.value}

Fwd: [NOTICE] Scheduled downtime for critical infrastructure

2006-10-18 Thread Matthias Wessendorf
News from the president of the ASF, Mr. Sander Striker -- Forwarded message -- From: Sander Striker [EMAIL PROTECTED] Date: Oct 18, 2006 4:53 PM Subject: [NOTICE] Scheduled downtime for critical infrastructure To: [EMAIL PROTECTED] Hi, Upcoming Saturday 21st through Monday

RE: JSF and Java 5.0 Enums

2006-10-18 Thread Yee CN
*** Your mail has been scanned by InterScan MSS. *** Hi Mario, Yes - name() is better than toString(). That's what I do myself. What is appealing in Brodsema blog is really the following: Class enumType = comp.getValueBinding(value).getType(context);

RE: JSF and Java 5.0 Enums

2006-10-18 Thread Michael Matz
Hi, The ordinal can be just as easy to handle. Instead of ordinalToEnum() you could do: int pos = value.indexOf('@'); String clazz = value.substring(0, pos); int ordinal = Integer.parseInt(value.substring(pos+1), 10); Class enumType = Class.forName(clazz); return (Enum)

Re: JSF and Java 5.0 Enums

2006-10-18 Thread Mario Ivankovits
Hi Yee! Also why use ordinal? hehe, maybe I am an old school developer, in the past nearly everything was a number ;-) even on the GUI side, so, maybe I still feel more comfortable to use numbers, no longer on the GUI for sure, but for things like this one. For now I moved the EnumConverter to

Re: JSF and Java 5.0 Enums

2006-10-18 Thread Mario Ivankovits
Hi Michael! Instead of ordinalToEnum() you could do: return (Enum) enumType.getEnumConstants()[ordinal]; Thanks for the tip, I changed our converter to use getEnumConstants() now, though, did you have a look at its implementation? I'd say butt ugly ;-) Ciao, Mario