[jboss-user] [JBoss Seam] - Failed Validation Reload

2007-11-05 Thread davidfed
Seam 1.2.1, JBoss 4.0.5 I see that when a form page fails validation or an action method returns null that the conversational parameters on the URL disappear. e.g. http://localhost/edit/provider.seam?cid=5&clr=true becomes http://localhost/edit/provider.seam when the page is reloaded with valida

[jboss-user] [JBoss Seam] - Re: How to let user print off a list?

2007-07-27 Thread davidfed
I needed a way to print content without showing it first. And it is a completely different layout than the visible page and required data that was just entered on the page. I have this at the bottom of the visible page (Event.observe() is from Prototype): | | | | Event.observe(wind

[jboss-user] [JBoss Seam] - Re: Adding attributes to s:fileUpload

2007-06-29 Thread davidfed
Thanks! I look forward to using it once I get to update my seam version. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059317#4059317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059317 _

[jboss-user] [JBoss Seam] - Re: Decorating with a fileUpload tag

2007-06-27 Thread davidfed
I should have mentioned that I do not get any complaints from equivalent decorate structures that have inputText and selectOneMenu as the editable value. The "for" attributes are set correctly. And I saw in another topic that this problem is fixed in seam 2.0 as fileUpload has been made an Ed

[jboss-user] [JBoss Seam] - Adding attributes to s:fileUpload

2007-06-26 Thread davidfed
-- Seam 1.2.1 standard setup -- I needed to add onclick, onfocus and onblur events to my s:fileUpload tags but the attributes weren't showing up in the html. So I added them to UIFileUpload.java. Is this the correct way to do this? | Index: UIFileUpload.java | | ==

[jboss-user] [JBoss Seam] - Decorating with a fileUpload tag

2007-06-26 Thread davidfed
--Seam 1.2.1 standard setup-- I have this page source: | | | #{messages.attachFileLabelFile} | | | #{messages.attachFileGuidanceFile} | | | | with this template: | | | | | | | | | |

[jboss-user] [JBoss Seam] - Re: with and

2007-06-21 Thread davidfed
I have to keep using 1.2.1 as we have an imminent milestone. However, I was able to get it working by moving the Hibernate annotations from the fields to the accessors. So, instead of: | @Id @GeneratedValue | private Long id = null; | I now have: | @Id @GeneratedValue | public Long

[jboss-user] [JBoss Seam] - Re: selectItems and enums

2007-06-20 Thread davidfed
It shows up with jboss-el. It was an item in the release notes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056261#4056261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056261 __

[jboss-user] [JBoss Seam] - with and

2007-06-20 Thread davidfed
I'm trying to present a drop-down list for users to select from which is built from a list queried from the database. I will attach the selected entity to another entity. The problem is that I get value="0" for every in the list and I get this exception (full dump at bottom) when submitting th

[jboss-user] [JBoss Seam] - Re: selectItems and enums

2007-06-18 Thread davidfed
Yep, that's what I tried and that's how it didn't work. So I just have an external getter for now. It looks like Seam 1.3 EL will allow Enum.values() in a value expression. That will simplify this and a number of things like it. View the original post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Seam] - Re: selectItems and enums

2007-06-14 Thread davidfed
Can you post the code you came up with? I tried some things based on your description but am not succeeding. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054580#4054580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Seam] - Re: Help with StaleObjectStateException needed

2007-05-09 Thread davidfed
I had almost exactly the same problem while trying to get a password changing UI working. It would work the first time and lose its optimism the second time. I finally noticed while comparing against your code that I had: entityManager.merge(currentUser); instead of: currentUser = entityManag