securityContext does not work in rendered from h:panelGroup

2007-07-03 Thread Alin Dosoniu
Hi, I think securityContext does not work in rendered attribute of a h:panelGroup. I am using myfaces 1.1.5. Can someone confirm this? Thank you, Alin.

Re: securityContext does not work in rendered from h:panelGroup

2007-07-03 Thread Alin Dosoniu
of security management are you using? Container managed or something like Acegi or etc? Regards, Cagatay On 7/3/07, Alin Dosoniu [EMAIL PROTECTED] wrote: Hi, I think securityContext does not work in rendered attribute of a h:panelGroup. I am using myfaces 1.1.5. Can

Re: tiny mce and ajax4jsf

2006-12-08 Thread Alin Dosoniu
Kevin, Thank you, I will try to use it. Alin. - Original Message - From: Kevin Galligan To: MyFaces Discussion Sent: Friday, December 08, 2006 4:29 PM Subject: Re: tiny mce and ajax4jsf Its in the wiki. Pretty simple, actually...

Re: tiny mce and ajax4jsf

2006-12-07 Thread Alin Dosoniu
Hi, I have a similar problem but using t:inputHtml control. When it is used with ajax4jsf it does not work... the value from bean is not shown in the control and if editing something into it and submit, the value does not get to server. Is there a tiny mce control in myfaces? Where can I find

re: cannot run examples with Tomcat 5.5.20

2006-12-06 Thread Alin Dosoniu
someone adds the listener in web.xml. Alin. On 11/27/06, Alin Dosoniu [EMAIL PROTECTED] wrote: The bug number is 41043, you can reach it here. http://issues.apache.org/bugzilla/show_bug.cgi?id=41043 Alin.

cannot run examples with Tomcat 5.5.20

2006-11-27 Thread Alin Dosoniu
Hi, After installed Tomcat 5.5.20, every time when try to see tomahawk-sandbox-examples or myfaces-example-simple I have to manually add the folowing lines to web.xml. listener listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class /listener The error that I

Re: cannot run examples with Tomcat 5.5.20

2006-11-27 Thread Alin Dosoniu
. If you add them it works again? Then it's a bug in Tomcat, please file it in their bug-tracker - but if you can, add a compatibility section in our WIKI. regards, Martin On 11/27/06, Alin Dosoniu [EMAIL PROTECTED] wrote: Hi, After installed Tomcat 5.5.20, every time when try to see tomahawk

Re: cannot run examples with Tomcat 5.5.20

2006-11-27 Thread Alin Dosoniu
bug here ? Thx, Matthias On 11/27/06, Alin Dosoniu [EMAIL PROTECTED] wrote: Hi Martin Yes. It works after adding the listener entry in web.xml. I will add it to tomcat's bug-tracker. Can you tell me on which page is the compatibility section in myfaces's WIKI? Is this one? http://wiki.apache.org

s:inputSuggestAjax's style attribute is not used

2006-11-26 Thread Alin Dosoniu
Hi, I think the style attribute of s:inputSuggestAjax is not used when rendering the selectbox control. I checked this in tomahawk-sandbox-example.war build today. On inputSuggestAjax.jsp page the style values are width:100px; and width:250px; but the width of the controls is same for both.

Re: Problem with t:inputDate and ajax4jsf

2006-10-20 Thread Alin Dosoniu
Also t:inputHtml is not working with ajax4jsf. I build myfaces-example-simple.war with sources from svn (from today) and only added the ajax4jsf's filter into web.xml and tested inputHtml.jsp page. The inputHtmlcontrol does not get initial value andafter submitting there is no text in

Re: TOMAHAWK-322: InputSuggestAjax: False Encoding with German Umlauts

2006-10-11 Thread Alin Dosoniu
Hi, Only wanted to tell you the following scenario I did: In example from tomahawk I altered a little bit the code like this: public String getSuggestValue() { if (suggestValue == null) { suggestValue = \u015F; } return suggestValue; } the value \u015F represents 1

Re: TOMAHAWK-322: InputSuggestAjax: False Encoding with German Umlauts

2006-10-09 Thread Alin Dosoniu
Hi Gerald, Did you found anything that could solve this issue? Thank you, Alin. Ok, thx werner for the work on this topic and your corresponding comments. I will have a deeper look into it the next days. regards, Gerald On 9/27/06, Werner Punz [EMAIL PROTECTED] wrote: Ok I looked deeper

Re: TOMAHAWK-322: InputSuggestAjax: False Encoding with German Umlauts

2006-09-27 Thread Alin Dosoniu
Hi, No there is nothing with %20 in strings. I log the string in a file and there is ?. :(. I don't know how to do to see exactly the string representation :(. Maybe if I look with a hexeditor. Just wanted to tell you that something is not ok with s:dojoInitializer. I added

Re: TOMAHAWK-322: InputSuggestAjax: False Encoding with German Umlauts

2006-09-26 Thread Alin Dosoniu
Hi, I found this page in wiki http://wiki.apache.org/myfaces/DojoInitializer?highlight=%28dojo%29 But I don't know which is the name of the central encoding property in dojo in order to set it :(. I searched in dojo.js, there is no charset string. In dojo.js.uncompressed.js there is one

logout-login problem

2006-08-23 Thread Alin Dosoniu
Hi, I have an application that is using form based authentication. Supposean user with many rights is logged in and visiting a page (/app/page_for_admin.jsp)then s/he isclicking on logout button.On the server the session isinvalidated,then the user is redirectedto a page from restricted

Re: logout-login problem

2006-08-23 Thread Alin Dosoniu
Bischoff Kenneth L Kurz Associates, Inc. Alin Dosoniu wrote: Hi, I have an application that is using form based authentication. Suppose an user with many rights is logged in and visiting a page (/app/page_for_admin.jsp) then s/he is clicking on logout button. On the server the session

Re: logout-login problem

2006-08-23 Thread Alin Dosoniu
, interesting... I'm afraid I can't speak to that myself, as we use a phase listener for security. Is anyone here using the built-in FORM security model with Tomcat? Alin Dosoniu wrote: Hi Jeff, Thank you for your quick answer. Let me tell you more details about my application. So, I use

valid html code - when tbody is empty

2006-06-15 Thread Alin Dosoniu
Hi, I tried to validate the html code generated by myfaces, in case the tbody of a table is empty it looks the tbody should not be present. This is from http://www.w3.org/TR/html401/struct/tables.html#edef-TBODY "When present, each THEAD, TFOOT, and TBODY contains a row group. Each row

Re: tiles support and the latest myfaces

2006-05-03 Thread Alin Dosoniu
Hi, You have to change the view-handler to view-handlerorg.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl/view-handler. There is a tomahawk between myfaces and application in path of class. Alin. Greetings. Does the latest myfaces (1.1.4 tomawak 1.1.3) from the svn

Re: NullpointerException in JspStateManager

2006-05-02 Thread Alin Dosoniu
Hi, I get the same exception. I didn't know there is a jira issue on this. I reported the problem in an email with subject NullPointerException when save serialize view on 4/26/2006, but got no answer :(. In order to use myfaces I added a test for null in SerializedViewCollection.add method.

NullPointerException when save serialize view

2006-04-26 Thread Alin Dosoniu
Hi, I have an application with tiles and use myfaces build yesterday from svn. I get these errors after visiting a number of pages from application (I think many times this number is equal with org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION from web.xml but not all the time is this value).

Re: t:inputDate: how to trigger script when date selected from popup?

2006-04-13 Thread Alin Dosoniu
I had the same problem in IE with t:inputCalendar. You can search for t:inputCalendar onchange not working in IE in january. This is what I said in last mail: Thank you for page suggestion. I tried what is explained there, but it still cannot work on IE. I found an explanation of the problem

Re: Picklist problem

2006-03-29 Thread Alin Dosoniu
:-) Regards, Bruno On 2/23/06, Alin Dosoniu [EMAIL PROTECTED] wrote: Hello, Any chance for this problem to be solved? I checked it in myfaces-example-sandbox from today and I can reproduce it. Thank you, Alin. Hi I've tried the examples which where build with the svn source from 16.02

Re: Picklist problem

2006-02-23 Thread Alin Dosoniu
Hello, Any chance for this problem to be solved? I checked it in myfaces-example-sandbox from today and I can reproduce it. Thank you, Alin. Hi I've tried the examples which where build with the svn source from 16.02. the picklist shows the same error. If i select some values and click

MYFACES-1125

2006-02-23 Thread Alin Dosoniu
Hello, Can someone to check this jira issue and apply the solution in svn. If you agree there is a bug and what I proposed is a solution, there are only 2 lines that have to be added. Thanks, Alin.

wrong anonymous link on source-repository page?

2006-02-20 Thread Alin Dosoniu
Hi, I wanted to checkout MyFaces sources from svn and tried 3 times this link: $ svn checkout http://svn.apache.org/repos/asf/myfaces/site/current myfaces from http://myfaces.apache.org/source-repository.html, Anonymous access section. After that I tried the link without /site/, from

Re: problem that blocks tests with htmlunit

2006-02-15 Thread Alin Dosoniu
ExternalContext.getRequestHeaderMap() to return a non-null Map.If so, the fix would probably be in the setup of ExternalContext rather than in each usage of ExternalContext.getRequestHeaderMap ().Kind Regards,John Fallows. On 2/14/06, Wayne Fay [EMAIL PROTECTED] wrote: On 2/14/06, Alin

Re: sending bytes from server does not work correctly

2006-02-14 Thread Alin Dosoniu
Hi, In case that someone have the same problem, I can confirm that with sources from svn from 14.02.2006 this problem does not appear anymore. Best regards, Alin. Hi, I used a nightly build version from december in my project. Now I want to update to last version from svn but I

problem that blocks tests with htmlunit

2006-02-14 Thread Alin Dosoniu
Hi, I want to write a testcase for my application with HtmlUnit. Everytime when I make a request to first page of the application I get this in log: java.lang.NullPointerExceptionat org.apache.myfaces.renderkit.html.HtmlRendererUtils.selectContentType(HtmlRendererUtils.java:995)at

sending bytes from server does not work correctly

2006-02-10 Thread Alin Dosoniu
Hi, I used a nightly build version from december in my project. Now I want to update to last version from svn but I have a problem when transferring files from server to client. I generate pdf and rtf files on server and then try to send them to client. Using the version from december

mock classes in a jar?

2006-02-08 Thread Alin Dosoniu
Hi, I want to write a testcase and need MockFacesContext and all the others.I found some of them in core folder some in tomahawk folder. For my testcase it was enough to use those from tomahawk. I noticed that not allMock classesfrom core are completly implemented. Is there a possibility

s:selectManyPicklist's value is required to be String[]?

2006-01-18 Thread Alin Dosoniu
Hello, I am interested if the value attribute of a s:selectManyPicklist is required to be a String[]. My managed been is returning a Long[] for value of selectManyPicklist and I can correctly select some values from the available list. But when trying to edit the selected list, reenter on

t:inputCalendar onchange not working in IE

2006-01-18 Thread Alin Dosoniu
Hi, I want to submit the form when the value of a t:inputCalendar is changed. If I give to onchange attribute a value like this: , it works on Firefox but does not work in IE. If the value is like this: , it does not work on Firefox nor on IE. The error that I get on Firefox is this

Re: t:inputCalendar onchange not working in IE

2006-01-18 Thread Alin Dosoniu
/SubmitPageOnValueChange On 1/18/06, Alin Dosoniu [EMAIL PROTECTED] wrote: Hi, I want to submit the form when the value of a t:inputCalendar is changed. If I give to onchange attribute a value like this: onchange=document.forms['calendar:calendarForm1'].submit();, it works on Firefox but does not work in IE

Re: s:selectManyPicklist's value is required to be String[]?

2006-01-18 Thread Alin Dosoniu
. Try using a converter to convert between String[] and Long[]. Also, it's possible that s:selectManyPicklist needs to be improved to perform automatic conversion better. See if you can patch the code and and submit patches to fix the issue. On 1/18/06, Alin Dosoniu [EMAIL PROTECTED] wrote

Re: JSF support East Asian characters ?

2006-01-07 Thread Alin Dosoniu
Hi, Are you using tiles for your application? I had similar problems when tried to add the meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8"/ in html from another jsp than the one that was base template (that specified in definition name="layout"

Re: utf-8 from resource bundle?

2006-01-04 Thread Alin Dosoniu
This is how I solve the problem: into resource files I write the Unicode of special charcters. So, for your Español I write in msg_es.properties something like this Espa\uUnicode_Code_for_ñol. You can use native2ascii tool to convert a properties file from Español to

selectManyPicklist for edit

2006-01-02 Thread Alin Dosoniu
Hello, I want to use selectManyPicklist component for editing a list of values that were selected on a previous access of the page. I don't know how I can have some elements in selected option. I tried to use the "value" attribute of selectManyPicklist but I get this error: Caused by:

Re: selectManyPicklist for edit

2006-01-02 Thread Alin Dosoniu
selectManyComponents. You have to pass an array with the items you want to be preselected to the value attribute... Can you show some of your code? Regards, Bruno 2006/1/2, Alin Dosoniu [EMAIL PROTECTED]: Hello, I want to use selectManyPicklist component for editing a list of values that were selected

dataScroller can control 2 dataTables?

2005-12-04 Thread Alin Dosoniu
Hello, I want to put on one page 2 dataTables and both of them to be controled by one dataScroll tag. In fact, I need to put 2 dataTables on one page and to have only one dataScroll to control them. If I need to add a hidden dataScroll, this will not be a problem. When clicking on one link

Re: How to find out the co-ordinates when I click on a world map(Image)?

2005-08-17 Thread Alin Dosoniu
Hi, You need to use usemap attribute of an img html element. Usemap attach a map defined in your html to the image and that map defines different areas on your image. The you can set specific link on every area from your image. I sow something nice with images with map used in reports

Re: t:dataTable columnHeaders not updated when changeing the number of columns

2005-08-17 Thread Alin Dosoniu
. regards, Martin On 8/16/05, Alin Dosoniu [EMAIL PROTECTED] wrote: Martin, Thank you for quick answer but I already used t:columns tag. I also used t:commandSortHeader in header facet. I removed it, but the problem persists. I am a little curious why the Paged and Sortable (dynamic number

Re: t:dataTable columnHeaders not updated when changeing the number of columns

2005-08-16 Thread Alin Dosoniu
tag inside the dataTable for dynamic amounts of columns; e.g: t:datatable value=#{rows} var=row t:columns value=#{cols} var=column f:facet name=header value=#{column.name}/ h:outputText value=#{row.columnValue}/ /t:columns /t:datatable regards, Martin On 8/16/05, Alin

delete a message from FacesContext messages list

2005-07-19 Thread Alin Dosoniu
Hello, Is there a possibility to access the list of messages from FacesContext and to remove an item from it? I had a look at the sources and did not see one. I have a page with an inputTextcontrol and it has a validator. The scenario that I wish to implement is like this: - user goes on

Re: delete a message from FacesContext messages list

2005-07-19 Thread Alin Dosoniu
Yes, it works! I forgot about immediate :( .. Thank you, Alin. I don't know if I understand you correctly. But, could be useful to you to use the 'immediate' attribute in your button? Bruno 2005/7/19, Alin Dosoniu [EMAIL PROTECTED]: Hello, Is there a possibility to access the list

x:inputCalendar disabled attribute

2005-05-23 Thread Alin Dosoniu
Hi, I would need disabled attribute on x:inputCalendar. Is there a way to achive same functionality without this attribute? Thanks, Alin.

x:inputCalendar disabled attribute

2005-05-23 Thread Alin Dosoniu
Hi, I would need disabled attribute on x:inputCalendar. Is there a way to achive same functionality without this attribute? Thanks, Alin.

onchange attribute of h:selectOneMenu

2005-02-04 Thread Alin Dosoniu
Hello, With 1.0.7 I used the following code to make a call to the server in order to fill other controls from the same form with different values. h:selectOneMenu id="year" value="#{dateBean.year}" required="true" f:selectItems id="years" value="#{dateBuss.years}" //h:selectOneMenu

escape attribute for h:commandLink

2005-01-28 Thread Alin Dosoniu
Hello, I need the same functionality of escape attribute from h:outputText for h:commandLink. I know that this should be in JSF specification, but it is possible that this to be added to MyFaces? Or, is thereanother way to get the same functionality with existing implementation? Thanks,