[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread umk
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

[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread umk
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! |

[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread umk
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 :

[jboss-user] [JBoss Seam] - model validation failed:String index out of range: -1

2007-05-26 Thread umk
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 |

[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-25 Thread umk
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 :

[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-21 Thread umk
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 ___

[jboss-user] [JBoss Seam] - Re: DataModel: Row is not available

2007-05-07 Thread umk
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 :

[jboss-user] [JBoss Seam] - Re: Example: OneToMany Composite Key

2007-04-30 Thread umk
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

[jboss-user] [JBoss Seam] - Re: Example: OneToMany Composite Key

2007-04-30 Thread umk
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

[jboss-user] [JBoss Seam] - Re: Example: OneToMany Composite Key

2007-04-28 Thread umk
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

[jboss-user] [JBoss Seam] - Re: Example: OneToMany Composite Key

2007-04-28 Thread umk
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

[jboss-user] [JBoss Seam] - Example: OneToMany Composite Key

2007-04-27 Thread umk
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

[jboss-user] [JBoss Seam] - Re: AnnotationException: no persistent id property

2007-02-27 Thread umk
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 :