Aaah.. the behavior of DataModel has changed a lot (earlier it did provide some
pseudo @In/@Out functionality)!
Is there a way that I can get the changed stuff from "sections" back into the
DataModel and displayed?
(Apologies for grabbing so much airtime with this!)
L
View the original pos
Pete,
that is very very cute !!! Works nicely. Thanks.
Another way (using the old approach combined with this new method) which works
as well is:
| @In(required = false,value="#{sections.rowIndex}")
| private int selectedSectionIndexNr;
|
|
| public String selectSection() {
Oops.. title should have read:
@In(required = false,value="#{sections.rowData}") issues
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094537#4094537
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094537
_
Hi,
this with reference to:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121008
I have two beans: questionnaireManagementBean which outjects a DataModel :
@DataModel
| private List sections;
and renders an jsf page. From the JSF page two actions can be executed (on the
second
Thanks Pete... my Eclipse code completetion, combined with the "default value"
tripped me up a bit.
Thanks
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094362#4094362
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply
One question regarding:
| @In("#{sections.rowData}")
| @Out(required = false, scope = ScopeType.CONVERSATION)
| private Section section;
|
Is there a way that one can say .. required=false using the above annotation.
At this point I get an exception when I try to use execute ano
Great stuff. Thanks Pete.
(I will have to update my code in a few places where I have used this behavior,
but not a big problem)
A quick test showed that it needs to be :
| @In("#{sections.wrappedData}")
| private List sections;
|
| @In("#{sections.rowData}")
| @Out(required =
Hi,
some time ago I ran into this problem (which was fixed in CVS), but seems to
have re-appeared with Seam 2.0 CR2
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=106625
Briefly...
I have a SFSB (questionnaireManagementBean) where I create/populate a
datamodel ("sections"), which is
Hi Pete. No problem re. the delayed reply.
I have rebuilt the latest Seam from CVS today (Sept 6). Somewhere along the
line Seam has actually resolved this problem (or it appears that way from my
testing ;-).
I will deploy this version and keep an eye on the log files and report back if
I s
Hi,
bandwidth constraints prevents me from downloading regular nightly builds.
However, I can keep up to date by just building it locally after doing a svn
update. Unfortunately I havent found any documentation of how to actually build
the various plugins...
Does somebody have a pointer for th
I have the following in my pages.xml. The issue comes in that the method on
the bean gets called (which requires all the injections to take place) way
before we actually get to the navigation part.
|
|
|
|
|
|
Hi,
we have a problem that used to be addressed by @Conversational. However with
Seam 2 I am not sure how to address it. The scenario:
I have a current long running conversation. During this conversation a page
(view.xhtml) is displayed. view.xhtml contains an s:link with an action in a
state
What we do is the following:
| public enum GenderEnum {
| FEMALE, MALE;
|
| public final static String translatedGenders[][] = {
| {"Female", "Male"},
| {"Vroulik", "Manlik"},
| {"Female - Zulu", "Male -Zulu"},
The CVS build I made now (Thu Jul 19 14:04:12 SAST 2007) works again !
Thanks
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065747#4065747
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065747
Hi,
using a build from CVS 18/07/2007 I can no longer access the debug.jsf page. I
get the following exception:
| 8:08:45,946 WARN [lifecycle] phase(RENDER_RESPONSE 6,[EMAIL PROTECTED])
threw exception: javax.faces.FacesException:
javax.el.PropertyNotFoundException:
/file:/home/lcoetzee
Hmmmseems the names have changed.
Changing:
#{org$jboss$seam$web$isUserInRole['ServiceTopicManager']}
into
#{isUserInRole['ServiceTopicManager']}
Solves the problem.
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062921#4062921
Reply to the post :
Hi,
with this mornings update of Seam (Wed Jul 11 07:56:18 SAST 2007) it seems as
if the isUserInRole functionality has stopped working.
I see the following in the log file:
| 2007-07-11 12:28:26,092 INFO [org.jboss.seam.init.Initialization] two
components with same name, higher precedence
Hmm... trying:
| Class deproxied = org.hibernate.Hibernate.getClass(clazz);
results in :
Executing deproxy on csir.structure.par.Topic_$$_javassist_21 -->java.lang.Class
which is not quite what I had in mind ;-). I need to get the subclass of Topic.
L
View the original post :
http://www
I have made some progress with your suggestion.. (e.g. implemented a facelets
function). Unfortunately the getEntityClass returns the base class and not the
inherited class.. e.g
| Executing deproxy on csir.structure.par.Topic_$$_javassist_226
-->csir.structure.par.Topic
In this case the d
Hmmm.. but the problem comes in later. I do
|
| bla bla bla
|
|
Which works very well to display a specific thing based on the class type.
Issue is that because of this manipulation, those that have been manipulated
are of the wrong type
So why are only some of them manipulated
Hi,
I have quite an interesting issue (which at this point has me stumped).
I have a class Service that has a one-to-many to Topic (which is a base clase).
Topic is extended into three other (CMSTopic, DFTopic and MMTopic).
Service
| @Entity
| @Name("service")
| @Table(name = "service")
I have played around a bit more and have seen that the issue is related to the
following:
| Context ctx = Contexts.getConversationContext();
|
| if (ctx != null) {
| ctx.remove("needSelections");
| ctx.flush();
|
I have hacked down my application as much as I could. Hopefully you will be
able to make sense of it ;-)
http://jira.jboss.com/jira/browse/JBSEAM-1564
Thanks
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058321#4058321
Reply to the post :
http://www.
Hi,
I have run into the following Exception:
| 12:03:57,002 ERROR [SeamPhaseListener] uncaught exception
| java.lang.NullPointerException
| at
org.jboss.seam.contexts.PassivatedEntity.passivateEntity(PassivatedEntity.java:155)
| at org.jboss.seam.contexts.EntityBean.passi
Confirmed. Working again.
Thanks for the quick response.
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057423#4057423
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057423
Hi,
somewhere along the line I have lost the ability to enable the redirect filter
(CVS build Mon Jun 25 morning SAST).
I have the following configured in web.xml:
|
| Seam Filter
| org.jboss.seam.web.SeamFilter
|
|
|
| Seam Filter
Aahh.. That is good information.
I have fixed up the code a bit and now works as expected (from what we have
tested here).
Thanks a stack.
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055543#4055543
Reply to the post :
http://www.jboss.com/index.htm
I will check it, but this is code that has worked with all the Seam CVS's prior
to the weekend. My feeling is that, that detatched thing would have popped
earlier.
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055486#4055486
Reply to the post :
http://
A new day ;-)
I have changed my EntityManager to be container managed:
| @PersistenceContext(type=PersistenceContextType.EXTENDED,
name="napEntityManager")
| EntityManager em;
I now get the following:
2007-06-19 09:29:04,036 ERROR
[csir.content.management.seam.ContentManagementBean] F
Aahh.. makes sense.
I will change it tomorrow and give feedback.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055362#4055362
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055362
_
Jip... this is what we have:
@In(create = true, value = "napEntityManager")
| EntityManager em;
|
We do all sorts of things (e.g. sometimes we have to evict a touched entity)...
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055355#4055355
Re
Hmm.. something else... my method where this happens (save) is annotated with a
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
and the sfsb with
| @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
Dont know if that might give some insight.
L
View the original post
Seam thinks that the version numbers are different (the values of the
versions). These values do not correlate with the version value in the database
(8910 and 8904 with 1 in the db).
I am using :
| private Integer version;
|
| @Version
| public Integer getVersion() {
|
I have tested and seems to be working. Thanks.
However, the following exception has cropped up (from functionality that did
work previously).
I will look into it a bit more to see if I can see what is going on.
L
2007-06-18 18:32:27,210 ERROR
[csir.content.management.seam.ContentManagementB
Hi,
I am tracking Seam's CVS. Some changes done very recently (over the weekend or
Friday 15/06/2007) is creating some weird things.
I see that there is no more SeamExtendedManagedPersistencePhaseListener. I have
taken that out from my faces-config.xml. I assume that the normal
SeamPhaseListen
Just for interest sake I have uploaded a very small example of using OpenLaszlo
(which compiles into swf) with Seam to the JBossSeam page on the wiki some time
ago.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSeam. Look at the example under
OpenLaszlo + Seam - a basic example using OpenLaszlo
Verified! Logout is working again!
Thanks for the quick response.
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052422#4052422
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052422
__
Hi,
we have been using the Seam.invalidateSession for a long time with great
success. Very recently this seems to have stopped working (just tested with a
very new Seam cvs build...(Thu Jun 7 18:14:16 SAST 2007)). For some reason my
session does not get invalidated.
I have also tried to end
Hi,
I have added a very basic example to the Seam Wiki.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSeam
Look at:
anonymous wrote : OpenLaszlo + Seam - a basic example using OpenLaszlo to
create a swf object (explode in examples/remoting)
|
Regards
L
View the original post :
http:/
I haven't had the time to work a lot on it. I am currently porting the example
to the latest Seam cvs and jboss 4.2.0-CR2. I will place it on the wiki (will
post here once I have done that), might be useful !
Regards
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=
I am making slow progress.
The fix for
com.sun.faces.application.ApplicationImpl.addELResolver(javax.el.ELResolver)
error is the following (points 1 and 2):
1. in application.xml I only have
| jboss-seam.jar
|
|
| jboss-el.jar
|
I have managed to get the relevant part of my app running under the new
jb4.2.0. Seems the fix has done the trick !
Great stuff.
Thanks.
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038459#4038459
Reply to the post :
http://www.jboss.com/index.htm
Based on the following:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss5AndMyFaces I am encouraged to
dig a bit more. I have resolved the
Error configuring application listener of class
org.apache.myfaces.webapp.StartupServletContextListener error (still
had a myfaces listener configure
Hi,
This post with reference to:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=106625
I want to migrate my application to use the latest Seam cvs (to test a fix
which has been submitted) which requires jboss 4.2.0CR. It seems that jb4.2.0
uses the JSF1.2 RI and not the myfaces jsf a
My applications is still running on jboss 4.0.5, which means that I can't test
the new Seam (as Seam is now dependent on jboss 4.2.0).
I have been trying to port my app to run with the new jboss and seam.
Unfortunately I am struggling a bit (the move from myfaces to jsf-ri appears to
be problem
Hi,
I have an interesting issue with DataModels. Any suggestions would be
appreciated.
The setup:
I have Bean "A" which has a list ("sections") annotated as DataModel.
"sections" is available in my current conversation. When invoking a method from
my JSF page (which calls a method in my secon
The Seam wiki contains an example (now outdated). Look under the Deprecated &
Old Stuff heading.
http://www.jboss.com/wiki/Wiki.jsp?page=JBossSeam
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032341#4032341
Reply to the post :
http://www.jboss.com/ind
Hi,
we make use of several different CSS to improve the accessibility of the page
currently viewed. While a page is viewed we have a long running conversation. I
make use of some javascript to change the default style sheet to one with a
different background and fonts. In this CSS a new backgr
Posted in Jira:
http://jira.jboss.org/jira/browse/JBSEAM-700
Thanks
Louis
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006678#4006678
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006678
Interestingly enough I can make it work when I change my JavaBean into an
Entity:
| @Entity //this makes it work
| @Name("person")
| public class Person implements Serializable{
| ..
|
results in this:
| 15:16:30,024 INFO [STDOUT] Received value: dummyvalue
| 15:16:30,02
Hi,
I am playing around with the Seam remoting. I am playing with the helloworld
seam application:
I am attempting to pass a seam object (JavaBean) from the browser to the
backend. When invoking the method with the parameter, the method is called, but
the object is not populated with any value
I have made significant progress by using Seam remoting.
Using flash.external.ExternalInterface opens up the various Javascript
methods in the xhtml (as well as the ActionScript in the Flash movie). I have
hacked the helloworld example (seam remoting), thus invoking the Seam method
from with
Hi,
we have developed and released a very substantial application using Seam
http://www.napsa.org.za/portal and had a lot of fun while doing it.
My group is now in the process of starting development of a new application.
Currently the thinking is to use a more "flashy" type of presentation la
Great work Shane et. al.
I love Seam! Has made my life so much easier !
Had a quick look in the Seam code. Appears to be using polling. However I think
it will work well (as long as one doesn't have massive number of people killing
the server in terms of load).
L
View the original post :
Hi,
I have been looking a bit at implementing some kind of chat room funcitonality
in my application using Seam and Ajax. From the Seam docs I see that the Ajax
uses polling to contact the server to retrieve updates. I have been wondering
if it wont be possible to implement some kind of "Push"
Gavin,
excellent example (had a quick look/play with it now). That is the way I was
thinking (to use a message topic, publish/subscribe etc. (just looked at the
JMS Messaging in the docs as well)).
>From what I can see this example does not use the normal polling mechanism (I
>have just bro
Thanks. I have added it ! I will keep an eye on the log file to see if it has
solved it !
Interesting that the seam examples do not contain it though.
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988081#3988081
Reply to the post :
http://www.jboss.com
Jip.
In my WAR:
| WEB-INF/lib/el-api.jar
| WEB-INF/lib/el-ri.jar
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988059#3988059
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988059
What I can see in the log file is that the bean (viewContentBean), which
outjects the element initially (selectedGroupingForView) has been destroyed
earlier[org.jboss.seam.interceptors.RemoveInterceptor] Stateful component was
removed: viewContentBean
but it seems that the conversation is still
Hi,
at times I see a NoClassDefFoundError exception in my log file. Normally occurs
when the RemoveInterceptor is removing. Below is a typical exception. Note the
ELContext exception:
Caused by: java.lang.NoClassDefFoundError: javax/el/ELContext
Any idea why this happens ?
| 2006-11-22 10:
I agree that it is a conversation timeout.
I have
| /public/error/errorPage.xhtml
|
| in components.xml
as well as
| ...
| in pages.xml.
As I understand it, it should through me out if I try to access the bean
without the conversation.
The complete method call from
Jira:
http://jira.jboss.com/jira/browse/JBSEAM-503
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986138#3986138
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986138
___
I think Pete is refering to something as suggested in
http://forum.java.sun.com/thread.jspa?forumID=427&threadID=657727
This method saves a list of messages in the session which gets re-instated
later on. I have used it before but had a few issues where the same error
message gets displayed twic
I have looked a bit at the FacesMessages.java. I think I understand why I loose
my messages when I have @End(beforeRedirect=true). facesMessages is
conversation scoped:
@Scope(ScopeType.CONVERSATION)
| @Name("facesMessages")
| @Intercept(NEVER)
| public class FacesMessages implements Seria
Hi,
I am struggling a bit to propagate my FacesMessage over redirects when used in
conjunction with @End(beforeRedirect=true).
When not ending the conversation, my faces message is displayed on the desired
page. However, the moment I try to force an end using the above annotation,
the message
Gavin, works like a dream after I wrapped it !
Thanks
Louis
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982868#3982868
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982868
___
Hi,
we would like to use the EL enhancement which would allow us to send a Enum
param back. allLanguagesManager is an arraylist containing all the enums:
|
|
|
|
|
Strange how writing things down helps the mind :-)
I see in the blog example that the faces servlet is mapped to:
| Faces Servlet
| /seam/*
|
|
while I use:
| Faces Servlet
| *.jsf
|
and the important one
| j
Hi,
I have been trying to create a rss feed publishing things (new elements) along
the line of the example in the jboss-seam blog example. For some very weird
reason I am not able to get Seam to inject/unwrap when the rss news feed page
is accessed.
my rss page looks something like this(rssNew
Interestingly enough the problem is solved when configuring the errorpage as a
jsf not xhtml
| 404
| /public/error/errorPage.jsf
|
I have noticed that the Seam blog example uses
| 404
| /seam/404.xhtml
|
Hi,
I have annotated my exception class with the @HttpError to return the 404 error
code:
@ApplicationException(rollback=true)
| @HttpError(errorCode=HttpServletResponse.SC_NOT_FOUND)
| public class NAPEntityNotFoundException extends Exception implements
Serializable {
|
When I throw th
Jira. Will do.
One possible solution for now is probably just to have different exceptions
classes, each one annotated to point to a different viewId. Slightly
cumbersome, but it will also do the trick (if you remember to throw the right
exception in the right place ;-).
Thanks
L
View the o
Hi,
I am making use of the @Redirect tag as below:
@ApplicationException(rollback=true)
| @Redirect(viewId = "/secure/structure/management/adminHome.xhtml")
| public class NAPException extends Exception implements Serializable {
This works well. However, ideally I would like to configure the
For those guys out there using postgresql this is how to create a UTF-8 db:
#On linux su to postgres user
su -c "su -s /bin/sh postgres"
#Create the db user
createuser -d -P -E dbUser
#create the instance
createdb -E UNICODE instance -O dbUser
#To see if it worked:
psql -l
#Results in
ins
I will be giving a Seam introduction/overview on 31/08/2006 (17h30 SAST) at our
local Java User Group in Pretoria (South Africa).
For those people in the vicinity (or those feeling like experiencing Africa and
who want to quickly fly over) all are welcome ;-).
Regards
Dr. Louis Coetzee
louis.c
Welcome back. Hope you had an excellent rest ! Looking forward to see what you
have planned for Seam next ;-)
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966878#3966878
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=re
Aah. Good. Well deserved ! Looking forward to have a rested Gavin back.
Thanks
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966598#3966598
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966598
___
Hi all,
is Gavin on leave ? I haven't seen a posting from him since about 10 Aug (and
almost no activiy on the CVS of Seam).
Anyway, me just curious ;-)
Louis
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966596#3966596
Reply to the post :
http://www.j
Hi,
I have been stuggling a bit to resume my parent conversation after the end of
a nested (inner) conversation. I have seen quite a bit of postings regarding
the topic but as yet I have not been able to resume my parent conversation.
I have the following scenario:
I am in a current convers
Hi,
I have been playing around with nested conversations and ran into an iteresting
situation. I would like to try and clarify my understanding...
I have a conversation with some outjected variables e.g. an oujected variable :
"component".
1.
When I start a nested conversation (@Begin(join=tr
Excellent. thanks Gavin.
Later
Louis
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958652#3958652
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958652
___
jboss-user mail
Jip. I think in this case it is more a case of getting Tomahawk working with
Facelets. The whole thing falls apart in a specific class that was written to
allow for the usage in Facelets.
I will keep an eye on the Trinidad stuff.
With regard to the current solution:
I am still searching for goo
Jip, it will work. My one fear of using the RequestParameter stuff is that I
need to add a bit more error handling to ensure that somebody isn't messing
with the url (e.g sending a bogus row value).
Thanks
L
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
I have found a way using MyFaces Tomahawk's updateActionListener. Something
like:
|
|
|
|
|
|
|
|
Hi,
I want to nest datatable, with the inside loop containing a s:link with an
action.
Something like:
|
| #{currentSection.sectionLabel}
|
| #{currentQuestion.questionLabel}
|
85 matches
Mail list logo