Re: regarding t:popup

2005-12-28 Thread Martin Marinschek
Hi Arshad, if I comment out these lines, the popup will not work for IE and dropdown-menus. They will show above the popup... regards, Martin On 12/28/05, Arshad Ali [EMAIL PROTECTED] wrote: Hi, Martin I guess I solved the problem. I checked JSPopup.js file and during debugging I made

Partial validation

2005-12-28 Thread Martin Marinschek
Hi *, I've implemented a proposal for partial validation and model update. Essentially what I've done is I've given the commandLink and commandButton a new attribute, actionFor. This attribute is a comma-separated lists of container-component-ids for which validation and model update should

Re: regarding t:popup

2005-12-28 Thread Martin Marinschek
try it out - position a drop-down-menu at a position where the popup shows. It will show _over_ the popup menu in IE if you comment out this code. regards, Martin On 12/28/05, Arshad Ali [EMAIL PROTECTED] wrote: Humm, Martin what do you mean by the popup will not work for IE and

Re: error in jscookmenu.

2005-12-28 Thread Dudu
*Someone is using (and working fine) the nightly build of NavigationMenuItems(with actionListener support) and JscookMenu??? Can send me part of code to me see if run here? thanks all. * Dudu wrote: Thanks for replied Dennis, but I downloaded the latest nightly build, and it is not working

Error with RemoteUser after upgrading from MyFaces 1.09 to 1.1

2005-12-28 Thread EXTERNAL Willinger Markus (Diplomand; CC/EMT1)
Title: Error with RemoteUser after upgrading from MyFaces 1.09 to 1.1 Hello, We are using Tomcat 5.5, JDK 1.5, MyFaces 1.1. In our web-application we get an error when trying to login, after upgrading MyFaces from version 1.09 to 1.1. Here is our login process in steps: 1.) Login via

Re: set UIParameter in backing bean

2005-12-28 Thread Mike Kienenberger
On 12/27/05, Saumil Mehta [EMAIL PROTECTED] wrote: Uip.setParent(Evt.getComponent()); This probably will not solve your problem, but you should *NEVER* call setParent. Use Evt.getComponent().getChildren().add(Uip) instead.

Re: error in jscookmenu.

2005-12-28 Thread Dennis Byrne
Again - there is a bug in the nightly build. It will be fixed with time. -Original Message- From: Dudu [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 08:42 AM To: 'MyFaces Discussion' Subject: Re: error in jscookmenu. *Someone is using (and working fine) the nightly build

Re: Duplicate id IllegalStateException upon submitting an empty h:datatable form

2005-12-28 Thread Martin Marinschek
Ok, I did change something again - so you might need to check again with the nightly build that comes out today - sorry for the inconvenience, but the situation was still not perfect :( regards, Martin On 12/28/05, xzuma [EMAIL PROTECTED] wrote: Tried Dec 27 build. Everything works without

Re: error in jscookmenu.

2005-12-28 Thread Dudu
Thanks, I'm easy and I will wait some days. =) Dennis Byrne wrote: Again - there is a bug in the nightly build. It will be fixed with time. -Original Message- From: Dudu [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 08:42 AM To: 'MyFaces Discussion' Subject: Re:

Reset the dataScroller Page Number

2005-12-28 Thread Miller, John
Could anyone tell me the best way to reset a dataScrollers page number to 1 from within an actionListenter? Thanks ! NOTICE: This message, including all attachments transmitted with it, is for the use of the addressee only. It may contain proprietary, confidential and/or legally

[OT] Dynamic Updates for Internationalization

2005-12-28 Thread Mike Duffy
I am sending this [OT] topic to this list in hopes that someone has already solved this design problem. What is the best way to do dynamic updates for internationalization? Suppose you had a drop-down list and the labels for this list are translated into other locales; also, suppose that

Re: [OT] Dynamic Updates for Internationalization

2005-12-28 Thread Martin Marinschek
In fact, I do think that we should all stop using f:loadBundle right away - it causes too many problems, e.g. with partial page rendering. Instead I'd use some managed-bean for i18n, and retrieve the values for this managed bean from the database, just as you pointed out. I have to solve this for

JSF portlets and the mystery of the span.

2005-12-28 Thread Henrik Bentel
Hi This question is related to issue MYFACES-702 (http://issues.apache.org/jira/browse/MYFACES-702) I've got a couple of JSF Portlet which are running on Liferay 3.6.1. And I'm also experiencing the issue mentioned in MYFACES-702 except that pretty much all my page components gets wrapped in a

Re: [OT] Dynamic Updates for Internationalization

2005-12-28 Thread Craig McClanahan
On 12/28/05, Martin Marinschek [EMAIL PROTECTED] wrote: In fact, I do think that we should all stop using f:loadBundle rightaway - it causes too many problems, e.g. with partial page rendering.Shale has a utility class that would deal with this problem (as well as provide programmatic access to

Is there a way to change the icon of the tree table provided by MyFaces?

2005-12-28 Thread Emily Gu
Hi, I haven't see a way to change those yellow folder icons for tree table and get rid of those sub-tree item connection line. It is very much appreciated if you can point me in how to do it. Thanks, Emily

How to create JSF pages on the fly?

2005-12-28 Thread Matthias Kahlau
Hi all! I have a use case which demands some JSF pages to be created on the fly. Can you share experiences and thoughts about this use case? I can imagine two different solutions: 1) Writing the hole JSF pages from scratch by using the Servlet API. Not really satisfying, I think - bad to

Re: How to create JSF pages on the fly?

2005-12-28 Thread Werner Punz
Matthias Kahlau wrote: Hi all! I have a use case which demands some JSF pages to be created on the fly. Can you share experiences and thoughts about this use case? I can imagine two different solutions: 1) Writing the hole JSF pages from scratch by using the Servlet API. Not really

Re: JSF portlets and the mystery of the span.

2005-12-28 Thread Martin Marinschek
The reasoning is that every id which doesn't start with _id is meant to be a user-set id. If the user sets an id, the assumption is that he wants to do something with it - so this is the reason for rendering out a span, cause if you don't, the id won't be accessible from CSS or javascript.

Re: How to create JSF pages on the fly?

2005-12-28 Thread Alexandre Poitras
I would use Shale-Clay for that. It allows you to define a *place holder* component in a jsf view tree and define your components at run time. Take a look at the rolodex use case. It use a shapeValidator method, wich allows you to create a view at runtime programmatically. Hope it helps! On

Re: Error with RemoteUser after upgrading from MyFaces 1.09 to 1.1

2005-12-28 Thread Alexandre Poitras
Your problem comes from the fact you are trying to retrieve a request-scoped value from a session-scoped bean wich is illegal in JSF. It was probably a bug in the previous version that could have give you some weird exceptions. But I think the bug come from the request class design. Why is the

Re: Error with RemoteUser after upgrading from MyFaces 1.09 to 1.1

2005-12-28 Thread Alexandre Poitras
I just taught you could also use the jsf-security project made by some people from Oracle : http://jsf-security.sourceforge.net/ It should help you. On 12/28/05, Alexandre Poitras [EMAIL PROTECTED] wrote: Your problem comes from the fact you are trying to retrieve a request-scoped value from a

Re: How to create JSF pages on the fly?

2005-12-28 Thread Werner Punz
Alexandre Poitras wrote: I would use Shale-Clay for that. It allows you to define a *place holder* component in a jsf view tree and define your components at run time. Take a look at the rolodex use case. It use a shapeValidator method, wich allows you to create a view at runtime

Re: tree2 and the icons

2005-12-28 Thread sri
Did any body has solution for this problem ? SrikanthOn 12/14/05, sri [EMAIL PROTECTED] wrote: I have tried the simple examples code installed on my server that works fine, my code doesn't. I still have that issue. SrikanthOn 12/8/05, Kurt Edegger [EMAIL PROTECTED] wrote: Hion 12/8/2005 7:07 AM

Re: tree2 and the icons

2005-12-28 Thread sri
Seems like if the images are in the same folder as the jsp (or in a folder with in the jsp's folder) its working fine. My images are outside the folder containing the jsp. Kurt Edegger also described the similar situation, is there a solution to this problem. SrikanthOn 12/28/05, sri [EMAIL

Re: tree2 and the icons

2005-12-28 Thread sri
Ok, if I provide the absolute path the images are shown correctly. The relative paths are not working correctly. Thanks SrikanthOn 12/28/05, sri [EMAIL PROTECTED] wrote: Seems like if the images are in the same folder as the jsp (or in a folder with in the jsp's folder) its working fine. My

AW: How to create JSF pages on the fly?

2005-12-28 Thread Matthias Kahlau
No need for shale clay in this case, just add a placeholder in the page (a facet or a panelGroup are perfect) do a binding var on it into the backend bean and then add the elements as child elements into the placeholder. JSF has all the APIs in place to do that. Didn't you implement a

Re: How to create JSF pages on the fly?

2005-12-28 Thread Alexandre Poitras
Most custom ViewHandler use a decorate approach (facelets, shale, ...), ie you specify the extension you want the viewhandler to handle in your web.xml file. When a view is requested, the custom viewhandler check if the extension of the url matches the value of the parameter. If yes, it handles

Re: How to create JSF pages on the fly?

2005-12-28 Thread Alexandre Poitras
Yeah you are right if your page is totally dynamic wich is rarely the case in my mind. Using your approach, the backing bean would have to reattach everything to the last children added wich is rather ugly and complex. You can insert the clay component anywhere in your page and just don't care

SelectOneMenu

2005-12-28 Thread Vladimir Coutinho
I have a form in jsf and all the SelectOneMenus are not validating when the property is short. I got the following error: Invalid value. Coud someone help me?

Re: JSF portlets and the mystery of the span.

2005-12-28 Thread Henrik Bentel
thanks, that makes perfect sense. The natural followup question is: Would it makes sense to change HtmlTextRendererBase to check for index of _id instead? I dug around in the myfaces code and it seems PortletExternalContextImpl.encodeNamespace(...) is where the portlet name is appended to the

what is technically diffrent between a page fragment and a page

2005-12-28 Thread Legolas Woodland
Hi Thank you for reading my post. can some one tell me what is different between a jsf page fragment and a jsf page ? Thanks

RE: Reset the dataScroller Page Number

2005-12-28 Thread Yee CN
Hi John, You dont set anything for the datascroller but the table. You can try placing something like the following in the action listener. FacesContext context = FacesContext.getCurrentInstance(); UIViewRoot view = context.getViewRoot(); HtmlDataTable table = (HtmlDataTable)

Re: JSF portlets and the mystery of the span.

2005-12-28 Thread Henrik Bentel
you're right. That sounds like a great idea. It's a nice one line fix. I did a cheap grep check through the source code for the use of UNIQUE_ID_PREFIX (the constant which defines String _id) and it's always used checking for component ID's starting with _id. So unless anyone else knows any

TreeTable nested inside Data Table problem

2005-12-28 Thread Nikita Shah
Hello I am using the MyFaces treeTable component. I have a list of tasks and their subtasks. I want to display task as the root node and sub-tasks as its children. I have a Task bean that will return me tree structure of subtasks. Following is my jsp page -t:dataTable id="taskTable"

Null child not allowed on the TreeTable

2005-12-28 Thread Nikita Shah
Hello Sebastein, Did you have a workaround for the problem you were facing of null child..? I am also using the MyFaces treeTable component. I have a list of tasks and their subtasks. I want to display task as the root node and sub-tasks as its children.Following is my jsp page -