[jboss-user] [JBoss Tools (users)] - Seam validation issues

2009-04-15 Thread pdhaigh
Hi, I am using JBDS v2. The Seam support is great, but there seem to be a reasonable number of flaws in the validation. To list a few: ERROR: Duplicate variable name when using @DataModel and @Factory: @DataModel public ArrayList bookingsForApproval;

[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread pdhaigh
Hi, I am definately using the GA: JBoss Developer Studio Version: 2.0.0.GA Build id: R200903141247-H4 Build date: 200903141316 And the version of JBoss Tools update site is: JBoss Tools 3.0.0.GA-R200903141626-H5 The Seam bit is: Seam Tools for Eclipse Version: 3.0.0.GA-R200903141626-H5 any

[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread pdhaigh
Nope, clean install. Same workbench folder as I had with JBDS v1 - can that have impact? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225695#4225695 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225695

[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread pdhaigh
Yes, cleaned several times.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225700#4225700 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225700 ___ jboss-user mailing list

[jboss-user] [JBoss Tools (users)] - Re: Seam validation issues

2009-04-15 Thread pdhaigh
That seemed ok - deleting all of the Eclipse meta files from my project (including .project) and then recreating the project seems to have resolved the issue. Thanks for your help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4225716#4225716 Reply to the

[jboss-user] [EJB 3.0] - Re: EJB timers ignoring start date

2008-07-18 Thread pdhaigh
Should I raise a JIRA issue for this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165285#4165285 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165285 ___ jboss-user mailing

[jboss-user] [EJB 3.0] - Re: Annotation @TransactionTimeout not honoured for asynchro

2008-07-18 Thread pdhaigh
Should I raise a JIRA issue for this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165286#4165286 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165286 ___ jboss-user mailing

[jboss-user] [EJB 3.0] - Re: Annotation @TransactionTimeout not honoured for asynchro

2008-07-18 Thread pdhaigh
thanks for the reply. So this means that this annotation simply cannot be used with a Seam component? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165296#4165296 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165296

[jboss-user] [EJB 3.0] - Re: EJB timers ignoring start date

2008-07-18 Thread pdhaigh
cheers: https://jira.jboss.org/jira/browse/JBAS-5779 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165312#4165312 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165312 ___

[jboss-user] [EJB 3.0] - Annotation @TransactionTimeout not honoured for asynchronous

2008-07-14 Thread pdhaigh
Hi, I have found that if I have method that requires a longer transaction timeout, I can use | @TransactionTimeout(1500) Unless the method is scheduled using the EJB timer service: async:timer-service-dispatcher/ , in which instance the timout modifier appears to simply be ignored. Is

[jboss-user] [EJB 3.0] - EJB timers ignoring start date

2008-07-14 Thread pdhaigh
Hi, I am using the EJB timer scheduler for some recurring tasks in my application. There are 3 of them, designed to run overnight, every night (i.e. every 24hours). All works well when I deploy the application, and on subsequent deployments. However, when I restart JBoss, the timers run every

[jboss-user] [JBoss Seam] - Transaction.instance().setTransactionTimeout();

2008-01-23 Thread pdhaigh
Hi all, I'm trying to force an increase to a transaction timeout within a particular method... I'm using this: public void doScheduledSend(@Duration Long waitBeforeStart, @IntervalDuration Long interval) | { | | log.info(Processing scheduled email tasks); |

[jboss-user] [JBoss Seam] - Re: login-view-id on page element of pages.xml

2008-01-17 Thread pdhaigh
Thanks Pete http://jira.jboss.org/jira/browse/JBSEAM-2504 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121064#4121064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121064 ___

[jboss-user] [JBoss Seam] - login-view-id on page element of pages.xml

2008-01-16 Thread pdhaigh
Hi, Is there any chance of allowing specification of login-view-id on elements of pages.xml? There must be many examples of applications where this would be of use - for example, a system that has a customer facing front end, and a staff-only backend: page view-id=/backend/*

[jboss-user] [JBoss Seam] - changing response headers to modify filename for excel

2007-12-13 Thread pdhaigh
Hi, I'm trying to open a report in Excel, with a specified dynamic filename I have an xhtml page that spits out simple tabulated data. On viewing that page ID I call a method from pages.xml that does this: String fileName=Charity_Report+i+.xls; | | HttpServletResponse

[jboss-user] [JBoss Seam] - Problem using identity roles

2007-11-07 Thread pdhaigh
Hi, I have having an issues using identity roles. I have previously used this: restrict#{!s:hasRole('participant')}/restrict With no issues, but on my current development (using Seam 2.0.0.GA), this is not working. I did some investigtation, and tried the following in my authenticate method:

[jboss-user] [JBoss Seam] - order by RAND() not working in 2.0.0.CR3

2007-10-27 Thread pdhaigh
Hi, [url] http://jira.jboss.com/jira/browse/JBSEAM-2099 [/url] This patch appears to have removed the ability to do: framework:orderrand()/framework:order Is there another method by which to accomplish the same? cheers phil View the original post :

[jboss-user] [JBoss Seam] - Re: order by RAND() not working in 2.0.0.CR3

2007-10-27 Thread pdhaigh
http://jira.jboss.com/jira/browse/JBSEAM-2169 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4099608#4099608 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099608 ___ jboss-user

[jboss-user] [JBoss Seam] - Elegant handling of foreign key constraints

2007-10-08 Thread pdhaigh
Hi, Is there an elegant way of handling a delete that fails due to a foreign key constraint? @Transactional | public String remove() | { | try | { | return super.remove(); | } | catch

[jboss-user] [JBoss Seam] - Re: limiting size of query/result set

2007-10-03 Thread pdhaigh
ah excellent, thanks. It doesn't really matter, but I noticed that this actually translates to LIMIT maxResults+1: framework:entity-query | name=randomPageImagesSmall | max-results=3 | | framework:ejbqlfrom PageImage/framework:ejbql |

[jboss-user] [JBoss Seam] - Re: Validation messages with Seam 2.0 and Richfaces 3.1.0

2007-09-19 Thread pdhaigh
Interestingly, this only seems to affect s:validateAll... if I put s:validate/ within a component, it works. So, to summarise: This doesn't work: h:form | f:facet name=afterInvalidField | h:panelGroupbr/s:message//h:panelGroup | /f:facet | f:facet

[jboss-user] [JBoss Seam] - Validation messages with Seam 2.0 and Richfaces 3.1.0

2007-09-18 Thread pdhaigh
Hi, I am using the tabbed panel from Richfaces 3.1.0, and cannot get validation to work properly. Anything that is required=true correctly validates, but any other validation is simply not fired - e.g. max/min length etc: the form is just allowed to submit and throws an error when attempting

[jboss-user] [JBoss Seam] - required=true validation messages

2007-09-14 Thread pdhaigh
Hi, Is there any way Seam can help in providing useful validation messages for inputs with required=true? I.e. using a friendly name for the given field rather than just the ID (which is generally unwieldy and ugly). Generally speaking it's not an issue, as you just put the validation message

[jboss-user] [JBoss Seam] - Re: required=true validation messages

2007-09-14 Thread pdhaigh
Perfect, thank you very much indeed :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4084672#4084672 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084672 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: s:selectDate startYear problem

2007-09-11 Thread pdhaigh
I must be being pretty stupid... where is the Richfaces date control? It doesn't appear to have one in 3.0.1 (the latest)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082972#4082972 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss AS transactions

2007-09-10 Thread pdhaigh
Thanks, Can you point me in the direction of the documentation that shows which versions of such things are included with the AS release? The jar-versions.xml file just lists most things (including TS) as v4.2.1.GA.. cheers phil View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss AS transactions

2007-09-09 Thread pdhaigh
Hi, I am seeing the following error in my logs: Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key com.arjuna.ats.internal.jta.transaction.arjunacore.syncwhenaborted I've found this mentioned in the (closed) jira issue:

[jboss-user] [JBoss Seam] - Re: s:selectDate startYear problem

2007-09-07 Thread pdhaigh
Thats rather unfortunate to need to include RichFaces for a project just for the date feature.. :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082035#4082035 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082035

[jboss-user] [JBoss Seam] - s:selectDate startYear problem

2007-09-06 Thread pdhaigh
Hi, h:inputText size=10 id=dobinput value=#{customer.dob} | s:convertDateTime pattern=dd/MM// | a4j:support event=onblur reRender=dob ajaxSingle=true/ | /h:inputText | s:selectDate for=dobinput startYear=1910 dateFormat=dd/MM/ | h:graphicImage

[jboss-user] [JBoss Seam] - Re: Absolute application path

2007-09-04 Thread pdhaigh
Does that only give you the path of the HTTP request though? I am looking for the file system path of the files... e.g. /etc/jboss/server/default/tmp/deploy/my.ear-contents/my-exp.war/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080807#4080807 Reply to

[jboss-user] [JBoss Seam] - Re: Scheduled tasks

2007-09-03 Thread pdhaigh
That is perfect. Extremely elegant :-) cheers! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080406#4080406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080406 ___ jboss-user

[jboss-user] [JBoss Seam] - Absolute application path

2007-09-03 Thread pdhaigh
Hi, Is there a suitable equivalent available in a Seam application to get the absolute filepath of the application web root? From a servlet you do this: String applicationPath=((ServletContext)this.getServletContext()).getRealPath(/); Can seam do similar? cheers phil View the original

[jboss-user] [JBoss Seam] - Scheduled tasks

2007-09-02 Thread pdhaigh
Hi, Is there an accepted best practice for created scheduled/recurring tasks in a Seam application? I want to schedule a daily recurring task when the application is deployed. This task will perform a basic query and email the results out. There is the @Asynchronous annotation I know, but I

[jboss-user] [JBoss Seam] - Re: Cleanup JBossAS deploy dir on redeploy of EAR

2007-08-27 Thread pdhaigh
in /server/default/tmp/deploy on 4.2.0.GA yes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078411#4078411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078411 ___

[jboss-user] [JBoss Seam] - Re: Cleanup JBossAS deploy dir on redeploy of EAR

2007-08-27 Thread pdhaigh
ok, will do. I *thought* that it had been fine for Seam 1.2.1 apps on AS 4.2.0, but I can't be 100% sure, and it's not worth the backtracking to find out - as I say, it doesn't seem to actually cause any harm! View the original post :

[jboss-user] [JBoss Seam] - Transactional issues

2007-08-26 Thread pdhaigh
Hi all, I'm seeing a sporadic transactional problem in my seam apps. 2007-08-26 10:40:25,474 ERROR [org.jboss.aspects.tx.TxPolicy] IllegalStateException while setting transaction for rollback only | java.lang.IllegalStateException:

[jboss-user] [JBoss Seam] - Cleanup JBossAS deploy dir on redeploy of EAR

2007-08-26 Thread pdhaigh
Hi, I've noticed an oddity since moving to Seam 2.0 from CVS.. Applications using this version, when deploying their EAR file, do not remove the old exploded ear-contents files from {serverhome}/tmp/deploy/ | tmp16401sundial.ear-contents | tmp16402sundial.ear-contents |

[jboss-user] [JBoss Seam] - Re: Transactional issues

2007-08-26 Thread pdhaigh
Hi Christian, Thanks for the reply. I've got instances where there is nothing erroneous in the log for up to 40 minutes prior to seeing this.. is that sort of timescale possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078118#4078118 Reply to the

[jboss-user] [JBoss Seam] - Re: Ajax4JSF and s:selectItems

2007-08-19 Thread pdhaigh
Hi guys, yes, i had tried that too. Here's a stripped down example: h:form | f:facet name=afterInvalidField | h:panelGroupbr/s:message//h:panelGroup | /f:facet | f:facet name=aroundInvalidField | s:span styleClass=error/ | /f:facet |

[jboss-user] [JBoss Seam] - Re: Ajax4JSF and s:selectItems

2007-08-19 Thread pdhaigh
not sure I understand your question...? regions is an entityquery defined in components.xml fwk:entity-query name=regions | fwk:ejbqlfrom Region/fwk:ejbql | fwk:ordername/fwk:order | /fwk:entity-query | Feedback is a model class that has references

[jboss-user] [JBoss Seam] - Re: Ajax4JSF and s:selectItems

2007-08-19 Thread pdhaigh
hi, actually, the destination on the feedback bean is being correctly set, as indeed is the region (if I add in some outputText fields and get them to be re-rendered it shows the correct values). The problem is just that the selected value in the drop down is not being updated on re-render. I

[jboss-user] [JBoss Seam] - Ajax4JSF and s:selectItems

2007-08-17 Thread pdhaigh
I'm having some difficulty getting an a4j action trigger a re-evaluation of the value in a h:selectOneMenu using s:selectItems. Is there anything wrong with the following? | h:form id=mainForm | f:facet name=afterInvalidField | h:panelGroupbr/s:message//h:panelGroup |

[jboss-user] [JBoss Seam] - Re: Ajax4JSF and s:selectItems

2007-08-17 Thread pdhaigh
no joy... it is re-rendering this part correctly: h:outputText value=Region: #{pressArticle.region.name} rendered=#{pressArticle.region!=null}/ so the problem isn't that it's not rerendered the section, but that it's not re-evaluating the value set in the drop down View the original

[jboss-user] [JBoss Seam] - Re: Seam 1.2.1, AS 4.2.0 and TinyMCE

2007-08-14 Thread pdhaigh
I'm guessing that's a no? This is actually quite a pain - because you can't use the work around in a multipart form. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073958#4073958 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam 1.2.1, AS 4.2.0 and TinyMCE

2007-08-14 Thread pdhaigh
I've since discovered that you also can't use the above workaround with tinymce mode set to mode : exact But, it seems there is a superior work around.. still a bit of a pain, but it works. Call the following on submitting the form. function updateValue() | { |

[jboss-user] [JBoss Seam] - Seam + Ajax4JSF

2007-08-13 Thread pdhaigh
Hi, I'm using seam with a4j for dynamic validation etc etc. However, all of my a4j enabled parts of the form are actually written to the database on every change. E.g. | h:form id=webpageForm | f:facet name=afterInvalidField |

[jboss-user] [JBoss Seam] - Re: Seam + Ajax4JSF

2007-08-13 Thread pdhaigh
thanks, is there a way to set the flush mode globally? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073752#4073752 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073752 ___

[jboss-user] [JBoss Seam] - Re: s:selectDate js error in IE in Seam 2.0 Beta

2007-07-27 Thread pdhaigh
I'm using the released Beta 1. The error reported is: Line: 459 | Char: 7 | Error: Function expected | Code: 0 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4068125#4068125 Reply to the post :

[jboss-user] [JBoss Seam] - s:selectDate js error in IE in Seam 2.0 Beta

2007-07-26 Thread pdhaigh
Hi all, There appears to a javascript problem preventing the selectDate component working in IE (v7 I have tried, no access to v6) with the released Beta version of Seam. It works fine in Firefox. Is this a known issue, and is there a workaround? Or is it resolved in the imminent CR release?

[jboss-user] [JBoss Seam] - Seam 2.0 Multiple applications 'see' each others components

2007-07-06 Thread pdhaigh
Hi all, Having just started playing with Seam 2.0, I've found that if I deploy 2 applications each having a component of the same name (constants, in this instance), the second one will refuse to deploy, saying: java.lang.IllegalStateException: Two components with the same name and

[jboss-user] [JBoss Seam] - Re: Seam 2.0 Multiple applications 'see' each others compone

2007-07-06 Thread pdhaigh
Ah ok, thanks. Have the defaults changed then? because this didn't occur between a Seam 1.2 app and a Seam 2.0 app, but does between two Seam 2.0 apps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061284#4061284 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam 2.0 Multiple applications 'see' each others compone

2007-07-06 Thread pdhaigh
Scratch that - I noticed I had inadvertantly placed the correct xml in my jboss-app.xml on the 1.2 app :-) thanks again View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4061288#4061288 Reply to the post :

[jboss-user] [JBoss Seam] - IDE support for Seam

2007-06-27 Thread pdhaigh
Hi all, Is there any IDE that currently provides IDE support for Seam - specifically code-completion in .xhtml files? (Lazy, I know) I currently use the MyEclipse plugin to Eclipse, but I understand there may be better support in Netbeans? cheers phil View the original post :

[jboss-user] [JBoss Seam] - Seam PDF with 4.2.0 and no MyFaces (JSF RI)

2007-06-13 Thread pdhaigh
Hi, Has anyone achieved a working example of Seam PDF on JBossAS 4.2.0, using the JSF RI? It works fine on IE, but on Firefox I get: This XML file does not appear to have any style information associated with it. The document tree is shown below. ? | html | ? |

[jboss-user] [JBoss Seam] - Re: Seam PDF with 4.2.0 and no MyFaces (JSF RI)

2007-06-13 Thread pdhaigh
Yep, you're right, copying everything from that example sorted out the issue. It would be fantastic if there was a list of features in Seam 1.2.1.GA that don't work as-is on 4.2.0.. Looking forward to v1.3! View the original post :

[jboss-user] [JBoss Seam] - Seam PDF fontFamily and style

2007-06-13 Thread pdhaigh
Hi all Anyone have a tip as to how to use fontFamily and style for Seam PDFs? The docs state you can just add these to the p:font tag, but it has no effect for me. None of the examples seem to contain any changes of fonts or styles (size works fine) cheers phil View the original post :

[jboss-user] [JBoss Seam] - Re: Seam PDF fontFamily and style

2007-06-13 Thread pdhaigh
Thanks Norman, perfect :-) The docs need updating then, because they say the attribute is familyName. cheers phil View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054134#4054134 Reply to the post :

[jboss-user] [JBoss Seam] - Seam PDF creation

2007-06-09 Thread pdhaigh
Hi all, I'm just investigating the Seam PDF generation features.. and have some difficulties: #1. In FireFox I get: This XML file does not appear to have any style information associated with it. The document tree is shown below. | | ? | html | ? | head |

[jboss-user] [JBoss Seam] - Seam logging with log4j - config

2007-06-06 Thread pdhaigh
Hi all, Is there a way to include a log4j.conf file in my .ear to specify configuration for my apps logging? I know I can do this in the app server log4j config file, but it's quite handy to keep log configuration for each application in it's own place. If so, where do I put the log4j.conf

[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-05-30 Thread pdhaigh
rlhr wrote : Two things that are broken moving to JBoss AS 4.2 CR1 (This is not due to JBoss or Seam, but from switching from MyFaces the Sun JSF implementation) | | - TinyMCE: the content of the textarea is not saved. I have to investigate was going on there. | | | Anyone have

[jboss-user] [JBoss Seam] - Seam 1.2.1, AS 4.2.0 and TinyMCE

2007-05-30 Thread pdhaigh
Hi all rlhr wrote : Two things that are broken moving to JBoss AS 4.2 CR1 (This is not due to JBoss or Seam, but from switching from MyFaces the Sun JSF implementation) | | - TinyMCE: the content of the textarea is not saved. I have to investigate was going on there. | | | Does

[jboss-user] [JBoss Seam] - Re: Seam 1.2.1, AS 4.2.0 and TinyMCE

2007-05-30 Thread pdhaigh
Excellent, thanks! :-) Just in case anyone elses javascript is as weak as mine: function updateValue() | { | var textValue = document.getElementById('webpageForm:mainText'); |

[jboss-user] [JBoss Seam] - Re: JBoss 4.2.0.GA hangs with my Seam application

2007-05-23 Thread pdhaigh
Hi, I am also seeing this issue.. anyone got any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048068#4048068 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048068 ___

[jboss-user] [JBoss Seam] - Re: JBoss 4.2.0.GA hangs with my Seam application

2007-05-23 Thread pdhaigh
After some playing, my issue was resolved by this: !-- | module | javael-ri.jar/java | /module | | module | javael-api.jar/java | /module | -- (in application.xml) The above were needed for 4.0.5 deployments, but crash the server for 4.2.0.GA I'm happy

[jboss-user] [JBoss Seam] - Re: JBoss 4.2.0.GA hangs with my Seam application

2007-05-23 Thread pdhaigh
Hi Michael, I would presume it would be as simple as uncommenting these two sections in your application.xml !-- | module | javael-ri.jar/java | /module | | module | javael-api.jar/java | /module | -- They are commented out in your 4.2.0 examples, but not

[jboss-user] [JBoss Seam] - Re: JBoss 4.2.0.GA hangs with my Seam application

2007-05-23 Thread pdhaigh
ditto, I replied to you before you wrote the second one :-) cheers, phil View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048078#4048078 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048078

[jboss-user] [Installation, Configuration Deployment] - JBoss AS 4.2.0 and JSF

2007-05-21 Thread pdhaigh
Hi, I'm trying to migrate some (fairly recent) JSF applications to 4.2. Everything works fine, except that certain page views just display the output HTML source , rather than rendering correctly. The underlying application logic is executed just fine. Pressing Ctrl-F5 will usually make it

[jboss-user] [JBoss Seam] - Re: Injecting properties using CRUD framework

2007-05-17 Thread pdhaigh
Hi, Thanks for the reply. I knew it was possible extending entityhome, but I was wondering if there was a way to do it via xml configuration? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4046400#4046400 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Access Seam Component

2007-05-10 Thread pdhaigh
(1) wrap the context filter around the servlet Is it possible to access seam components without an HTTP request? e.g. in a background maintenance thread? (perhaps started with a servlet init-on-startup) View the original post :

[jboss-user] [JBoss Seam] - Re: Scoping using Seam App Framework

2007-05-09 Thread pdhaigh
If I use default scoped components then when I submit the form and validation fails, it loses all values on the object (presumably because the object itself falls out of scope) If I use page scoped components then the above is solved (since validation occurs on the same page), and I can add an

[jboss-user] [JBoss Seam] - Re: Scoping using Seam App Framework

2007-05-09 Thread pdhaigh
Thanks :-) For anyone else, this is the simplest solution I ended up with: in pages.xml | page view-id=* | navigation | rule if-outcome=updated | redirect view-id=/confirm.xhtml/ | /rule | rule if-outcome=persisted |

[jboss-user] [JBoss Seam] - Scoping using Seam App Framework

2007-05-08 Thread pdhaigh
Hi, I'm sure this will be a really basic thing I'm missing... but.. I have a simple CRUD application using entityhome etc in components.xml This works fine except for where I have validation on the form, and a non-string property (e.g. I am entering a Vacancy that has a Company object). If