OK, so pardon my lack of clue here. This is kind of a minor conundrum, but
maybe someone knows the answer off the top of their head.
I am writing a base class for versioned objects. These versioned objects can
make (dynamically) immutable copies of themselves. I call these copies
"snapshots"
I hate to bump my own post, but... well... I'm pretty sure Gavin could answer
this in 0.005 seconds, so I'm just giving it another shot :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957381#3957381
Reply to the post :
http://www.jboss.com/index.html?modu
Hm. No, actually, that's not the problem. I mean, I was sticking that
@Resource tag into a SeamTest instance. Why should E-EJB inject into a
SeamTest? Nothing else does
What I wanted was the equivalent of "Component.getInstance("sessionContext")"
for the EJB session context, that I coul
Are there any recommended best practices for constructing web services based on
Seam? It would be very nice to get a sample REST-like web services app...
right now the only path into Seam seems to be through JSF.
It looks like you could write a sort of XML-based web service with Facelets,
bu
Hm, my bad, this has been discussed already:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83603
So either wait for JAX-WS (which is not what I want for something cheap and
RESTy like the Flickr API), or just roll my own servlet with filter around
Seam. I'll probably go down the lat
Yer, once I realized that, the TestAction strategy was obvious :-)
What about the auto-rollback? Is that standard EJB3?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957967#3957967
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mo
"[EMAIL PROTECTED]" wrote : I'm actually pretty happy with facelets as a way to
produce XML (I already implemented an RSS feed in the blog example).
Ah cool, I missed that. Will check it out. Not sure how it works to do POSTs
with XML in them to a JSF app, but that's probably just my inner newb
Also Gavin please don't forget the annoying little Log4JLogger issue:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86058
Probably you already fixed it in CVS, but I just got things working with
1.0.1GA, so I'm going to avoid destabilizing my local build with latest CVS for
a couple w
A very close reading of the Javadoc does yield some differences:
get - Return the persistent instance of the given entity class with the given
identifier, or null if there is no such persistent instance. Obtain the
specified lock mode if the instance exists. Returns: a persistent instance or
n
Also, great blog post here:
http://www.sleberknight.com:8080/roller/comments/sleberkn/Weblog/using_spring_with_hibernate3_s
Cheers again!
Rob
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961067#3961067
Reply to the post :
http://www.jboss.com/index.html?m
Personally I am doing it this way:
/**
| * Tiny sugar class for getting the hibernate session from an EntityManager.
| */
| public class GetHibernateSession {
|// wow, cool idiom!
|private static final Logger log = Logger.getLogger(new
Throwable().getStackTrace()[0].getClass()
Basically Tomcat just can't reliably shut down a running webapp, because they
are sloppy with their classloaders. You wind up with all kinds of static class
references that aren't cleaned up properly, and the reloading of your webapp
may or may not work. You can get weird ClassCastExceptions p
I'm playing with the blog example (working on integrating some Google Web
Toolkit functionality into it, which I hope to submit back to Seam a la Todd
Smart's ajax4jsf booking integration).
I'm noticing a couple of squirrelly things under JDK 1.5.0_06 and Tomcat
5.5.12. This is with a brand ne
OK, so it turns out that the spurious pre in the first blog post is due to a
spurious backquote in import.sql:
insert into blogentry (blog_name, id, title, excerpt, body, date) values
('JBoss Seam Blog', 'seamtext', 'Introducing Seam Text', ...+'FooBar`',
'2007-01-18 4:00')
Take out that final
Any suggestions on that? I could look into patching that if we can come up
with a reasonably simple plan. Since I'm actually planning to build a
production-quality blogging app with Seam, broken markup would be a big drag,
so I'm incented to fix it.
Also, can you confirm (or not) the issue wi
Drinks +1. Don't worry Saeed, the focus was mainly on conversation, not on
alcohol per se :-)
I can't make JavaOne (can't get my current employer to spring $1,800 on it,
when I can honestly learn most of it off the net), so I'd definitely like there
to be some kind of meetup that doesn't requi
The GWT integration is coming along, though it is not my day job, so progress
is slow. I should have a working Seam / GWT / JSF example (with some
moderately interesting functionality) by end of May. Certainly GWT can do
arbitrary amounts of runtime UI generation.
Gavin, I dropped you an emai
GWT can definitely do this kind of thing, to the Nth degree. I should have a
working GWT / JSF / Seam example by end of May. (I've said this in two threads
now, looks like I'm committed :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036907#4036907
Repl
Does Seam CVS now deploy JSF 1.2 to Tomcat for the deploy.tomcat targets?
That's the part of Seam 1.3 that I'm really waiting for, as a Tomcat user
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037616#4037616
Reply to the post :
http://www.jboss.com/in
Funny you should ask, people are popping up on the Ajax4JSF users forum asking
about JSF+GWT :-)
Yes, there are some updates:
http://unrealities.com/gwtjsf/20070406/
That's kind of a meaningless (except as a proof of concept) example of a GWT
component in a JSF-based Seam app. But at least you
http://unrealities.com/gwtjsf/20070427
It is still very unpolished, but the basic pieces are all there and reasonably
well assembled. It may now be of interest to anyone working with a similar
technology stack.
Included is:
- Seam 1.2.0 + JSF 1.2
- GWT 1.4 preview build (actually, a slightly
Yer, absolutely. Right now it is definitely not a very compelling use of GWT
in a Seam context.
Gavin told me last month that he was "a complete [expletive deleted] when it
comes to documentation and support" :-) So, yes, I will definitely make sure
that the feature set, the build process (un
Um, well, actually, no, Michael, I wouldn't mind at all :-D I will send you an
email momentarily.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041556#4041556
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041556
___
Hm, it would seem your email is not easily discernable. Drop me a line at
rjellinghaus at gmail dot com and we'll discuss details? Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041563#4041563
Reply to the post :
http://www.jboss.com/index.html?mod
Quick question for Pete and Michael: Any tips on docbook authoring? It looks
like doing some quick docbook documentation might be the fastest way to both
enhance this example for Seam, and to explain to Michael how it works so he can
present it at JavaOne :-)
What's the fastest way to spin
Roger that. Michael Neale of Redhat already contributed some remoting-style
GWT integration to the head of CVS, but I don't know if he documented it. I'll
check. I guess I'll find a decent HTML editor and write it that way, can't go
wrong with that
I wasn't planning to mess with the Seam
OK, well how about this?
http://unrealities.com/gwtjsf/20070501/
Note the article link:
http://unrealities.com/gwtjsf/20070501/article_0.2.html
I have iterated on the article content once with Michael Yuan. All additional
feedback is more than welcome! Also, the demo itself is a lot nicer no
Fudge, sorry for the non-clickable URLs. Darn "quick post" box.
http://unrealities.com/gwtjsf/20070501
http://unrealities.com/gwtjsf/20070501/article_0.2.html
There you go.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042027#4042027
Reply to the post :
htt
With a fresh install of Seam 1.2.1GA, on Windows JDK 1.6.0-b105, and a fresh
build of the blog example under Tomcat, index.xhtml fails to load. The webapp
starts up OK, but going to http://localhost:8080/jboss-seam-blog gives a "Page
not found", and a JGroups-related exception in the log.
I am
This is now in JIRA as issue 1276:
http://jira.jboss.org/jira/browse/JBSEAM-1276
Thanks!
Cheers,
Rob
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042200#4042200
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042200
Well, I can say that this is the ONLY problem I've had on JDK 6. At least, I'm
pretty sure it is. I'll take out the JGroups piece from the blog sample and
see if the rest of it works.
That's big news to me that JDK 6 is basically unsupported for Hibernate and
Seam. Thanks for the info :-O A
OK, so what I'm hearing is: JDK 6.0 is officially unsupported for both
Hibernate and Seam, and fixing JDK 6.0 bugs is not yet a major priority for the
JBoss development team. Hence if users run into JDK 6.0 bugs (especially in
Seam), they are encouraged to fix them themselves and submit patche
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042231
aka
http://jira.jboss.org/jira/browse/JBSEAM-1276
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042232#4042232
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
I would expect the Seam team to have to fix this for Seam 1.3, when the RI will
become the standard Seam JSF implementation. The problem is definitely that
the RI more often emits a content-type of application/xhtml+xml for XHTML
pages, which Firefox tries to parse as XHTML. Arguably this is j
It's a Facelets feature, I think. Google for "Facelets content-type FAQ" and
it'll turn up.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042556#4042556
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042556
_
Will there be one? The Seam BoF is Tuesday at 9 pm (I'll be there to talk
about http://unrealities.com/gwtjsf/20070501). Then the GWT folks are having a
work session on Wednesday night at the W Hotel. Any chance that we could have
a Seam meetup/work session/drinking party on Thursday night?
So... any word on this? Gavin is still out of town, apparently...?
I will be at the Seam BoF on Tuesday night at 9 pm, and at the GWT work session
/ social time at the W Hotel on Wednesday night. It'd be great if the Seam
meetup could be some other night so as to not conflict with those two :-
Sure that's fine. Let's have the JBoss party at the same place as the GWT
party! That way I can go to both at the same time! :-D
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043030#4043030
Reply to the post :
http://www.jboss.com/index.html?module=bb&op
Er, let me rephrase: let's have the post-JBoss party Seam hangout at the W
Hotel, same as the post-GWT work session party. That will be the best for
everyone. TRUST ME ON THIS ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043031#4043031
Reply to the
The "blogEntryId" *is* a page parameter in the blog example.
I don't understand the theme stuff well enough to know of any easy way to pass
the page parameters along with the theme re-request.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043034#4043034
Rep
If GWT is a rich client option for you, you might consider
http://unrealities.com/seamgwt
If you're at JavaOne, and interested, come to the JavaOne Seam/JSF BoF at 9 pm
tonight (Tuesday night)!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043963#4043963
R
Hi folks. I am currently working on integrating the Google Web Toolkit with
Seam, by means of the g4jsf-cdk integration kit written by the ajax4jsf guys:
https://ajax4jsf.dev.java.net/nonav/ajax/gwt/gwt-cdk.html
I've made some patches to GWT and to g4jsf to make it easier to access server
comp
Rats, got the second link wrong above: I meant
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94738, of course.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019618#4019618
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&
Thanks Gavin, that is very good news.
Anyone have an ETA on JBoss 4.2? It looks like it's down to just a dozen or so
JIRA issues, mostly about test suite compliance
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022866#4022866
Reply to the post :
http:
One more quick question: dare I hope that all the examples will have their
tomcat targets updated to use the JSF 1.2 RI also? I'm all tomcat over here
Thanks,
Rob
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022901#4022901
Reply to the post :
http:/
I just now read this thread and mailed Gavin. If I don't hear from him I'll
crash it anyway, as I wouldn't miss this :-)
A local Seam user group sounds great. My personal effort right now is to
integrate the Google Web Toolkit and Seam. My rationale is here:
http://groups.google.com/group/Go
Well, that was fun :-) Great to meet you all, Gavin, Steve, Emmanuel, Max,
Bob, and then some. Even Igor and Sergey were there, who I just had lunch with
on Tuesday! When are you all coming BACK to SF? Better be soon!
Cheers!
Rob
View the original post :
http://www.jboss.com/index.html?mod
Are you using any other JARs in your project that reference Seam in any way?
Or are there any JARs that contain any other custom listeners or
faces-config.xml files?
Can you deploy the existing examples to tomcat with "ant deploy.tomcat" and run
them?
Jason DeTiberus has actually just beaten
Classpath, classpath, classpath, classpath, classpath.
I had some errors like the ones you're seeing once upon a time when I had a
resources directory set as both a source path and a module library path in my
IDE.
Take a stop back and see if you can get one of the base Seam examples deploying
A couple of us have just run into the same issue when trying to integrate g4jsf
(which has its own phase listener, the GwtPhaseListener) and Seam.
See here for more details:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103603
It seems that the ajax4jsf guys consider this a bug:
htt
Why doesn't this work?
@Startup
| @Scope(APPLICATION)
| @Name("replogApplication")
| public class ReplogApplication {
| ...
|@In(create=true)
|private transient EntityManager entityManager;
|
|@Create
|public void init ()
|{
| log.debug("Creating rep
Hm. Well, I tried making it a @Stateful bean, and went through some rigmarole
with needing to put the init() method in the local interface.
But it still fails. I now get this (sorry for the big mangled stacktrace, this
forum isn't kind to long code lines):
[testng] WARN 25-08 00:41:39,828
Well well well. Some random forum surfing and one more try, and now this works:
/**
| * Local interface to replog.
| * TODO: do we really want this??? are we getting into a synchronization
mess?!?!?!?! or is it Just Right
| */
| @Local
| public interface Replog {
|pub
That's a nice stab at an explanation, but it can't be the whole story. Here's
a session-scoped component that's been working just fine in my application for
months now:
@Name("replogSession")
| @Startup
| @Scope(SESSION)
| public class ReplogSession {
| ...
|@In(create=true)
|
See this thread:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89017
The party line seems to be that details of URL formats are properly the concern
of the webapp, not Seam. So use a Tomcat plugin or Apache plugin or something
to mung your URL into request parameters that work with S
I encourage people to vote for that issue. We are having troubles with this at
work (not with a Seam app) and it'd be nice if Seam solved this in some
foundational way.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967593#3967593
Reply to the post :
http:
I have the same situation.
I don't know how to solve the two-persistence-contexts problem (I'm not using
jbpm in my app).
I'm planning to set my import.sql to populate some LocalConfiguration table
with some initial "unset" state, and set hibernate.hbm2ddl.auto=create (as
opposed to create-dro
Your problem seems to make sense to me. You basically want a method something
like:
Component.createComponent(componentClass)
which would return a Seam-wrapped instance of componentClass that was not
stored in any context.
The main thing this loses, though, is any ability for Seam to track th
You want to be using conversation scope, not session scope. This is pretty
much exactly what conversations are for. The CreateGroup action should have
@Begin on the createNewGroup method, and the Group component should be
conversation-scoped. The editing actions should all be conversation-sco
Actually I found another thread that indicates you can potentially do some of
this sort of thing in pages.xml, but the details are tenuous. Sorry I don't
have the thread link handy (and I should be working, not Seam hacking, anyway
;-).
View the original post :
http://www.jboss.com/index.html
@PersistenceContext won't work unless your class is @Stateful or @Stateless,
AFAIK.
Why are you not using a Seam component rather than a POJO? Seam's whole
mission in life is managing your persistence context across multiple requests,
conversations, sessions, etc. In similar cases in my app,
This is with 1.0.1. Haven't tried @Intercept(ALWAYS) yet. Raja, what do you
mean you modified the registration app to do this? That app, in 1.0.1, has no
application-scoped components at all. What changes did you make and what
components did you add?
View the original post :
http://www.jbo
Whoops, sorry for the bad markup in last post. JIRA has been filed:
http://jira.jboss.org/jira/browse/JBSEAM-2183
Cheers,
Rob
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100078#4100078
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=pos
Aah, rats. So it looks like now JBoss Embedded has to be installed manually
under Tomcat before any Seam examples can be deployed there?
http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedAndTomcat
This is a pretty big drag, since it means that I can no longer publish a
Seam-based example as a s
I have Java 1.6.0_03. I can build Seam 2.0.0CR2 without difficulty (Maven 2
fires right up and seems to pull everything). I can then "cd examples/blog"
and "ant tomcat.deploy". I take jboss-seam-blog.war from the place it puts it,
and drop it into my actual Tomcat 5.5.12 webapps directory, an
1.5 supports Java 1.5 syntax, which will make it a lot easier to send Seam
components over GWT RPC, which has all kinds of interesting uses. (Mainly,
being able to avoid a whole crappy DTO layer just because you want to send some
simple little @Entities over the wire.)
I'd like to see a GWT14S
You want to run your GWT hosted mode with the "-noserver" flag. By default the
GWT hosted mode has its own little embedded webserver. This is really only
useful for loading static resources.
What you really want is to run GWT hosted mode with just your GWT client code,
so that your GWT hosted
In Seam 1.2 and prior, you could specify your own PhaseListener in
faces-config.xml, which could delegate to SeamPhaseListener internally. I
relied on this when doing the Seam/GWT/JSF integration demoable here:
http://unrealities.com/seamgwt
Seam 2.0.0 installs SeamPhaseListener internally, so
Can *you* run the GWT example on JBoss 4.2.2.GA? (I mean, the standard example
straight out of the Seam 2.0.0.GA distribution?)
That ClassNotFoundException is weird. My understanding was that in the
built-in Seam/GWT remoting, you post to a GWT service using its fully qualified
classname. Ca
What is the problem you're specifically having?
http://unrealities.com/seamgwt has an example of calling a Seam component with
an injected EntityManager, so I know it's possible.
Unfortunately, that example uses Seam 1.2, and there are some problems getting
it to work with Seam 2 (which I've bl
Hi folks, Shane says in http://jira.jboss.org/jira/browse/JBSEAM-1748 that GWT
1.3 support will be removed in a future version of Seam.
Now that 2.0.0.GA is out, the question arises, what future version would that
be? GWT 1.5 is churning along. I finally looked at the GWTService
implementatio
So Shane, do you want to do the cleaned-up GWTService that drops 1.3 support,
or shall I take a shot at it? Might as well do it in CVS...? Or maybe in a
separate package or something, just so it's there for when the trigger gets
pulled.
View the original post :
http://www.jboss.com/index.htm
I wasn't talking to you, I was talking to romant1 :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102814#4102814
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102814
___
j
See my blog post above, it links to an article that has the code. Or just look
here:
http://unrealities.com/seamgwt/article_0.2.html#How_does_the_current_project_integrate
Don't sweat it too much, I am pretty sure the current GWTJSF code could be
simplified a lot to work with the existing Seam
Gavin King and I had lunch last week, and talked quite a bit about the work
I've been doing to integrate GWT, JSF, and Seam (see
http://unrealities.com/seamgwt for more on that).
In the process, we came up with a (perhaps harebrained) scheme for building JSF
components with GWT in a declarative
No, go ahead and jump in. I will be working on landing the actual updates to
the GWTJSF integration kit in Ajax4JSF's SVN repository in the next week or
two, now that GWT 1.4RC1 is out. I'll also work on some additional
documentation of what the library is and how it functions.
Then I will li
76 matches
Mail list logo