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.
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
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...
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
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.
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
.
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
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
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.
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
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
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
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
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
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
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
, 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
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
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
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.
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).
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
:-)
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
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
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.
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
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
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
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
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
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
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
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
/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
.
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
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"
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
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:
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
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
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
.
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
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
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
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
Hi,
I would need disabled attribute on x:inputCalendar.
Is there a way to achive same functionality without this attribute?
Thanks,
Alin.
Hi,
I would need disabled attribute on x:inputCalendar.
Is there a way to achive same functionality without this attribute?
Thanks,
Alin.
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
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,
49 matches
Mail list logo