matt.drees wrote : Are you using a s:validate or s:validateAll on that
h:inputText? If so, I'm fairly certain you can't do that.
Nope. Not using either. I've posted the complete page code below. Any other
ideas? Thanks.
| !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
matt.drees wrote : What's layout/edit.xhtml look like?
Ok. Looks like you're onto something. Below is the code from edit.xhtml where
you'll see validateAll is being called. I don't understand why validateAll is
problematic. Maybe you can point me somewhere so I can educate myself. Thanks!
|
I've done some reading here:
http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/validation.html
There's no mention of using Maps. I suppose that's why you suggested that using
s:validate may not work. How would one validate the inputField?
Appreciate your help...
View the original post :
Hello,
I'm trying to bind a Map entry to h:inputText. The code below successfully
extracts the value for the key when the page is loaded, but when I submit it,
the page reloads with an error alongside the field: model validation
failed:String index out of range: -1
From the .xhtml
|
Am I asking a dumb question that doesn't warrant a reply :) ? Or is the answer
readily available in the docs/samples? I've looked but I haven't come across an
answer.
Thanks to anyone who can offer some assistance!
View the original post :
Could someone please make a suggestion... Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4047410#4047410
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047410
___
For what it's worth, I'm seeing the same behavior with a java.util.Set -
doesn't work.
As soon as I changed to java.util.List, the dataTable rendered properly...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043672#4043672
Reply to the post :
Can anyone offer some insight? Please!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041972#4041972
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041972
___
jboss-user mailing
petemuir wrote : There are lots of examples of mappings in the hibernate
annotations test's - this is really a hibernate question - you should take this
to hibernate forums.
I considered that before posting this question here but if you go to the
Hibernate User forum, you'll see that they ask
petemuir wrote : All of the examples in the seam distribtution work - or do
you want a specific example?
|
| Show the entity that is producing the error - perhaps someone can help you
:)
Yes, I'm looking for a specific example: one that shows use of a Composite
Primary key - as the order
Actually, use this code instead of the above to invoke the entities. I just
changed one line to make it standalone.
| ...
| // code that invokes above entities to produce the problem
| CollectionRecordData biomarkers = new ArrayListRecordData(1);
| RecordData biomarker = new
Hello: i'm trying to put together a working Seam example showing a OneToMany
relationship using a composite primary key. Something like Order LineItems
from the Java EE 5 tutorial. My attempts have been unsuccessful so I'm hoping
someone can tell me where I can find a Seam deployable example
I knew it was something silly. I forgot to include getters/setters in my
composite key class. Maybe someone else will benefit from this posting...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023005#4023005
Reply to the post :
13 matches
Mail list logo