Hi,
I am using @PreRenderView and was wondering if there could be an optional
attribute like @PreRenderView (onPostback=false) ?
Cheers,
markus
--
View this message in context:
http://old.nabble.com/Option-to-disable-%40PreRenderView-for-postbacks--tp33549501p33549501.html
Sent from the
hi markus,
you can inject RequestTypeResolver and
call RequestTypeResolver#isPostRequest
regards,
gerhard
http://www.irian.at
Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
2012/4/4 markuslachat
Hi im new with CODI Messages Module, im reading this page:
https://cwiki.apache.org/EXTCDI/message-usage.html
but i cant find a way to use codi msgs with properties file, it is
possible?.
Normally i use properties file where the use can change their msgs but here
in CODI.
--
hi jose,
in a jsf application:
just configure your std. jsf application message bundle.
regards,
gerhard
http://www.irian.at
Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
2012/4/4 José Luis Cetina
My JSF app use this:
resource-bundle
base-namemy.package.i18n.messages/base-name
varprop_general/var
/resource-bundle
In my xhtml page i use
#{prop_general.mykey}
but i dont know how i can use this with CODI Messages,
I see this example:
String messageText =
I have 2 resource bundle:
resource-bundle
base-namemy.package.i18n.messages/base-name
varprop_general/var
/resource-bundle
resource-bundle
base-name my.package2.i18n.messages/base-name
varprop_users/var
/resource-bundle
and in my class:
@Inject
I found a solution, creating my own MessageResolver, thanks, i will share
later.
El 4 de abril de 2012 10:57, José Luis Cetina maxtorz...@gmail.comescribió:
I have 2 resource bundle:
resource-bundle
base-namemy.package.i18n.messages/base-name
varprop_general/var
hi jose,
i said: std. jsf application message bundle.
-
application
message-bundle.../message-bundle
/application
see e.g. [1]
regards,
gerhard
[1]
Is there a way to override MessageContext for set the messageResolver
always to my own resolver?
Beacuse in each managed bean i have to do this after use it:
@Inject
@Jsf
private MessageContext messageContext;
//some method
* messageContext.config().change().messageResolver(new
hi jose,
if you really need it for advanced use-cases, you can create your own cdi
producer-method - e.g.:
@Produces
@Enhanced
@Dependent
protected MessageContext createCustomMessageContext(@Jsf MessageContext
jsfMessageContext)
{
return
Hello,
I think there is a bug in tomahawk's selectManyPicklist component: Although
the POST values have been sent they are not assigned to the corresponding
bean's property if the picklist component is nested in a h:dataTable or
ui:repeat component (tested with both components but may also affect
Great!! Thanks, i can do it with my own CDI Producer Method and works!!
Thanks
2012/4/4 Gerhard Petracek gerhard.petra...@gmail.com
hi jose,
if you really need it for advanced use-cases, you can create your own cdi
producer-method - e.g.:
@Produces
@Enhanced
@Dependent
12 matches
Mail list logo