Check out this post
http://www.jboss.org/index.html?module=bbop=viewtopict=105780
Last post in that thread. Using binding as described worked for me.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122796#4122796
Reply to the post :
I want thank the posters of this thread so much for this topic. I am learning
JSF, Seam and Facelets all at the same time. (I have been coding Java since
version 1.0.2, but slipped a bit behind the curve as of late.) I didn't see
the messages.properties connection in the Seam documentation I
Can anyone explain why I can control the message for @Pattern, but the message
for @NotNull is ignored.
Explanation:
If I annotate a field on an @Entity with these annotations
| @NotNull(message=field is null)
| @Pattern(^\W$,message=field not valid)
|
and then reference the entity
Indeed, I'm in the same boat. Hopefully we'll get an explanation here.
In the orignial posting, I saw in supplier.xhtml
| h:commandButton action=#{supplierMaintenance.save} value=Save
| s:conversationPropagation type=join /
| /h:commandButton
Looks like desperation, I don't think you
[EMAIL PROTECTED] wrote :
| Is the bean deployed at startup?
I believe so. In any case this was related to the JSF binding issues you
pointed out in another thread.
http://docs.jboss.org/seam/2.0.1.CR1/reference/en/html/conversations.html#d0e5171
thanks for you responses and help!!
The seam manual here
http://docs.jboss.org/seam/2.0.1.CR1/reference/en/html/conversations.html#d0e5171
says, alternatively to using bindings, do the following. However, I can't get
this to work. uiComponent doesn't seem to exist, but I'm not sure
| h:dataTable id=lineItemTable
I have this Seam POJO Action
@Name(bean)
@Scope(ScopeType.CONVERSATION)
@Conversational
public class BeanAction implements Serializable
{
@Begin(join=true)
@Create
public void create(){
log.debug(Starting Conversation id: +
such that the Conversation context is maintained.
I have tried every variation of h:commandButton I can think of. I have data
going into the form like this
h:dataTable value=#{bean.things} var=thing binding=#{bean.table}
h:column
OK Matt, thanks for the reply.
| http://labs.jboss.com/jbossseam/faq/#get
|
Is this the FAQ item? It talks about SeamRedirectFilter in web.xml. I'm not
100% sure my problem needs this solution.
Am I on the right track?
View the original post :
I'm having trouble getting a Conversation to work correctly with a However, I
can get the app to function correctly with a s:button/ The problem is that
the s:button doesn't send the form data.
Is there a way to get the form data sent into the context with a s:button
with just JSF,
10 matches
Mail list logo