a externalContext.dispatch(viewId). This dispatch returns an
error with status 404. Than it's called:
wrappedResponse.flushToWrappedResponse();
Mojarra does after that a responseComplete, MyFaces does not.
Could that be the problem?
regards
Marcus Büttner
.
regards,
Leonardo Uribe
2012/4/16 Marcus Büttner buettner.mar...@gmail.com:
Hi,
This following example works with MyFaces 2.1.6 but not with 2.1.7.
mycc.xhtml:
cc:interface
cc:attribute name=state
type=ExampleModel.State/
/cc:interface
cc:implementation
Hi,
This following example works with MyFaces 2.1.6 but not with 2.1.7.
mycc.xhtml:
cc:interface
cc:attribute name=state type=ExampleModel.State/
/cc:interface
cc:implementation
h:selectBooleanCheckbox value=#{cc.attrs.state.state}
f:ajax execute=@this render=@form/
Hi Pieter,
the behavior which you describe is provided by ViewScope. If you navigate to
a different view the old bean is destroyed.
Regards
Marcus
2011/6/23 Pieter Martin pieter.mar...@gmail.com
Hi,
I trying to use @ViewAccessScoped beans but am not getting the expected
behavior.
I
I've chosen tomahawk because of the clear and simple html output. if you
want to render xhtml conform output (which means for example do not use
tables for creating layout) with tomahawk there's a chance. ;-)
Sure, you have to spend more time in css and styling but only in the
beginning of the
Hi,
in the current sandbox project 1.1.11-SNAPSHOT the fieldset is already
removed.
regards,
Marcus
2011/5/1 Anton Gavazuk antongava...@gmail.com
Hi Leonardo,
you are absolutely right,
I had 2 fieldset packages - first was coming from tomahawk library
and second was from tomahawk-sandbox
have to build at least sandbox/core and sandbox/core12.
I don't know, if there's a better and easier way.
regards,
Marcus
2011/5/2 Anton Gavazuk antongava...@gmail.com
Hi Marcus,
could you suggest where can I download latest sandbox binaries/sources?
2011/5/2 Marcus Büttner buettner.mar
Hi,
is there a possiblity to trigger PreRenderView event when I navigate via
action to another page?
small example:
I'm on page1.xhtml an there's a button:
h:commandButton action=page2/
page2.xhtml includes:
f:metadata
f:event type=preRenderView/
/f:metadata
When I use the button then
is
not processed for all requests.
As you want to register this listener to the view root it should be a child
of f:view (or at least a top level tag if you don't use f:view).
regards
Michael
Am 13.07.2010 14:37, schrieb Marcus Büttner:
Hi,
is there a possiblity to trigger PreRenderView event when I
didn't look into the details but I think f:metadata
is
not processed for all requests.
As you want to register this listener to the view root it should be a
child
of f:view (or at least a top level tag if you don't use f:view).
regards
Michael
Am 13.07.2010 14:37, schrieb Marcus
Hi,
a small example:
h:form id=myForm
h:selectOneMenu id=selectMenu value=#{myBean.menuValue}
valueChangeListener=#{myBean.menuValueChangedListener}
f:selectItem itemValue=true itemLabel=Yes/
f:selectItem itemValue=false itemLabel=No/
f:ajax event=change render=output/
Thanks for fix. Now it works!
Marcus
Werner Punz schrieb:
Am 12.07.10 14:07, schrieb Werner Punz:
Am 12.07.10 14:02, schrieb Bruno Aranda:
Uhm, just opened a new thread about the same bug. It is an
uninitialized variable in the _AjaxUtils class.
Jepp as I said I am working on it currently
Hi,
I've a similar problem with primefaces and myfaces. The standard
f:ajax to rerender a component works as espected but p:ajax do not
update other primefaces components. I've posted it to the primefaces
forum but with mojarra it seems to work.
my example:
h:form id=myForm
Hi,
I have a problem with input elements in an UIData (e.g. datatable).
Example code:
h:dataTable value=#{myBean.valueList} var=val
h:column
h:outputText value=#{val.description}/
/h:column
h:column
h:selectBooleanCheckbox id=flag value=#{val.flag}/
/h:column
/h:dataTable
Ok, I think I found the problem.
I created an Issue and attached a patch.
https://issues.apache.org/jira/browse/MYFACES-2788
Marcus
Marcus Büttner schrieb:
Hi,
I have a problem with input elements in an UIData (e.g. datatable).
Example code:
h:dataTable value=#{myBean.valueList} var=val
In either case with a stock serializable page scoped bean thew
example works as expected. I have closed the issue for now, please
give me notice if the latest trunk works for you, if not we will
investigate a little bit more.
Werner
Am 29.06.10 12:56, schrieb Marcus Büttner:
Thx for your
Hi,
I have the following example:
h:outputLabel for=val1 value=Value1/
h:inputText id=val1
value=#{myBean.val1}
valueChangeListener=#{myBean.val1ChangedListener}
f:ajax render=myText event=change /
/h:inputText
Hi,
a small example with two input fields, both with valueChangeListener and
a f:ajax for rerendering the output field:
h:form id=myForm
h:outputLabel for=val1 value=Value1/
h:inputText id=val1
value=#{myBean.val1}
29.06.10 11:05, schrieb Marcus Büttner:
Hi,
a small example with two input fields, both with valueChangeListener and
a f:ajax for rerendering the output field:
h:form id=myForm
h:outputLabel for=val1 value=Value1/
h:inputText id=val1
value=#{myBean.val1}
valueChangeListener
Hi,
is there an Issue, to make an DTD strict valid xhtml output with MyFaces2.
1.) There are two hidden input fields in every form (_SUBMIT and
javax.faces.ViewState) which are not inside a block element like a div.
Is it possible, to embed those fields inside a div?
2.) Form elements are
Hi,
the HtmlResponseWriter from MyFaces does not render the comment end in a
script section if other html elements are rendered in this script
sections, like primefaces does in DataTable with columnFilter.
The DataTable renders e.g. input tags in the javascript part and
therefore it uses
Hi,
I have a problem with ValueExpression which includes Parameters for
DataTables.
Example:
ui:repeat var=master value=#{myBean.masterList} /
h:dataTable vardetail value=#{myBean.getDetailList(master)} /
...
/h:dataTable
...
/ui:repeat
Rendering works fine, but after rendering
Hi,
I have a problem with primefaces dataTable in combination with MyFaces.
The DataTable restoreState method reads from state Object with index 4:
Object[] savedState = (Object[]) ((Object[]) state)[4];
This causes an IndexOutOfBoundException.
I've seen that Mojarra saves the state of
a PrimeFaces bug. If PrimeFaces wants to use the state
of the super class, it has to save and restore this state too, otherwise it
accesses illegal data.
Regards,
Jakob
2010/4/13 Marcus Büttner m...@buett.at
Hi,
I have a problem with primefaces dataTable in combination with MyFaces
Hi,
if I use an Ajax Event in my case a primefaces ComanndButton then
ViewParameter are decoded, validated but not encoded.
That's a problem when requried is set to true in ViewParameter because
validation set submitted value to null and encodeAll should set
submitted value to current value.
Hi,
I have a problem with BeanValidation in myfaces 2.0.
The method getUELValueReference in _BeanValidatorUELUtils calls the
getValueReference methode from the given ValueExpression.
In el-api 2.2 this method always returns null and e.g. in
TagValueExpression in myfaces the method is not
Hi
I think you must use
type=javax.faces.event.PreRenderViewEvent
regards,
Marcus
Bruno Aranda schrieb:
Hi,
I am testing a webapp with the latest myfaces snapshot, and the f:event tag
is throwing a ClassNotFoundException because it is not able to find the type
preRenderView...
f:event
Hi,
but if you will register the name you have to take the name property
instead of type in f:event.
The type property requires a class name.
Isn't?
regards,
Marcus
Leonardo Uribe schrieb:
Hi
It seems we don't have it on org.apache.myfaces.config.NamedEventManager, so
f:event is unable to
Hi,
t:dataTable supports this 2 properties:
sortColumn=#{customerSearchBean.sort}
sortAscending=#{customerSearchBean.ascending}
regards,
Marcus
Anton Gavazuk schrieb:
Hi Guy,
I'm using commandSortHeader in such manner
tm:commandSortHeader columnName=NAME
Hello,
if I use an action outcome like this:
mypage?faces-redirect=trueincludeViewParams=truemyParam=myValue
then myParam is not appended to query string in the redirect url.
I've seen in NavigationHandlerImpl where the redirect url is built,
there's a comment, that the behaviour of adding
Hi,
maybe I don't understand your problem. But could you add the title in
this way?
items.add(new SelectItem(, Some title));
if the user selects the title you get a null value I think. So you do
not need the converter.
(except tomcat from version 6.0.18 without the zero flag)
lg Marcus
Hello,
I have a question to the behaviour of UIViewParameter. At the moment the
submitted value of a viewParam is overriden if this paremeter is absent
in RequestParameterMap.
This behaviour causes some problems e.g. if the view metadata contains a
required view parameter and you have a an
Hello,
I have a question to the behaviour of UIViewParameter. At the moment the
submitted value of a viewParam is overriden if this paremeter is absent
in RequestParameterMap.
This behaviour causes some problems e.g. if the view metadata contains a
required view parameter and you have a an
33 matches
Mail list logo