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;
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
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
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
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
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
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
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
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
___
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
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
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);
|
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
___
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/*
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
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:
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 :
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
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
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
|
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
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
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
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
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 :
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 :
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:
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
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
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
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
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
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
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
___
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 :
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:
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
|
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
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
|
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
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
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
|
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
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 :
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()
| {
|
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
|
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
___
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 :
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?
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
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 :
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 :
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 :
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
| ?
|
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 :
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 :
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 :
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
|
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
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
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
Excellent, thanks! :-)
Just in case anyone elses javascript is as weak as mine:
function updateValue()
| {
| var textValue =
document.getElementById('webpageForm:mainText');
|
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
___
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
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
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
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
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 :
(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 :
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
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
|
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
72 matches
Mail list logo