Pete,
To get the problem I saw you need to do this as I got to do when I started from
a seam-generated project a couple weeks ago (things changed in seam-gen since,
I think now there is join instead of begin):
>From a list view (with query) go to create new entity page with a propagation
>begi
Building from CVS...
Reference documentation chapter on remoting still tells to use
SeamRemotingServlet.
I get class not found, obviously. Removed it from web.xml, but then remoting
doesn't work. Now trying to keep up with the changes from JBSEAM-790, looking
at configuration chapter.
Point
While I didn't look close enough to determine whether there are other problems,
from my own experience I know sooner or later you could run into a problem with
that factory being invoked only once in a conversation, and hence your factory
made instance not being the same as the one home uses.
H
Jarkko,
You have mentioned in a past posting you got it to work. Can you share a
working project?
If your project is confidential, I'd suggest make a super simple table, e.g.
(Oracle example)
CREATE TABLE THINGS
| (
|ID VARCHAR(30) PRIMARY KEY not null,
|TITLE VARCHAR(100) not n
Can't get it to work. Anyone success running any Seam (xhtml, not jsp) in a
portal?
In the end supposed to run in Liferay, but even success in JBoss Portal would
be nice.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015895#4015895
Reply to the post :
ht
That implies currently there isn't a "simple" way to "end all nested
conversations without keeping them around", i.e. not at the level above Java
coding. Or is there?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012388#4012388
Reply to the post :
http://
Seam reference 6.1 reads "Note that disabling conversation context propagation
is absolutely not the same thing as ending the conversation."
Thought I had figured the difference, but as something behaves funny, I thought
maybe someone who knows could answer the question in positive terms: What
Problem solved much better with in
jboss-seam/doc/reference/build.xml
in every
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012072#4012072
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012072
___
These are .xhtml files, and JTidy doesn't show up for them as an option. It
does show up as an option for .xml files though.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011494#4011494
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posti
I only got the idea to do it that way because of shorter syntax promised in
seam_reference, in chapter 10.2 Home objects, "adding a @Factory".
If I think of what a factory normally does, how contexts normally work, etc.
then of course it seems I should stick with carHome.instance.
Now, having f
Problem pinpointed better. Now, is that a feature or a bug?
The problem is after the second time in the same conversation coming in with
when having
@Factory("car")
| public Car initCar() {
| return getInstance();
| }
then when that second time coming in with a different id then carH
Starting out from seam-gen. Let's say we have three kinds of entities, Car,
Boat and Plane. We only need Car to illustrate.
There is a page each like CarList.xhtml, Car.xhtml, CarEdit.xhtml and their
CarList.page.xml, Car.page.xml, CarEdit.page.xml.
It all works fine with the generated code.
Let's say I wrote
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
With Eclipse | Window | Preferences | Web and XML | XML Files | XML Source I
have settings: OFF Clear all blank lines. Same for HTML Files | HTM
Just to clarify above post, I do both new-project and generate-entities for the
old and the new version of Seam, then compare old and new version.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010310#4010310
Reply to the post :
http://www.jboss.com/index.ht
I take the same database, seam-gen both versions, then diff the output
directories.
That is seam new-project and seam generate-entities.
I actually keep around a couple of old copies of that output (i.e.
directories), named uniquely.
I'm using DiffDog, which is nice because of how it is smart
Sound like off-topic, but what we're trying to do it to be very Seam centric,
and so using JBoss IDE is the natural choice, and you know we're using XHTML,
and regrettably ...
the formatting of XHTML in JBoss IDE (Eclipse) with Shift-Ctrl-F is (looks)
horrible.
Most annoying: Elements startin
Is there a reason not to implement in package org.jboss.seam.pages class Param
next to setConverterId(String converterId) another method
setConverterForClass(Class targetClass) plus supporting code.
Goal is http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010166#4010166
Reply to the po
As I see from JBSEAM-758 I'm not the only one struggling with making a patch
that only shows the lines that actually have changed.
Can't readily tell from looking at that patch what has changed.
Took me a while a couple of weeks ago to get a patch "right" myself.
I'd be submitting more patches
Both antlr .jar are coming from drools\lib, I guess.
Is that intentional, or is that an oversight, which one should be it?
Afraid those two versions might conflict.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009706#4009706
Reply to the post :
http://www
seam-gen with generate-entities keeps generating methods like setSomethingId()
and getSomethingId() in
public class SomethingHome extends EntityHome {
|
| public void setSomethingId(String id) {
| setId(id);
| }
|
| public String getSomethingId() {
|
The problem hasn't gone away yet.
Seems that in target "refdoc" that ant task to build the subproject doesn't use
ANT_OPTS, or at least not -Xmx or -Xms.
Still getting apparently random success or failure at getting a good
seam_reference.pdf, almost but not exactly tied to an out of memory erro
Make that set ANT_OPTS=-Xmx500m or more.
I watched memory use today, and while Ant makes the seam_reference.pdf the
memory use is way up.
400 meg wasn't enough after I wrote the previous post.
What's heinous about it is that if you don't notice it there isn't a complaint
at the end of the buil
Discovered too many problems with portal and facelets, i.e. using JSF instead
of JSP like in the example.
My mode: Trying to take code from seam-gen (new-project and
generate-entities), see it run as application, then modifying it to run at
least one view page in a portlet.
I get something.ht
When building Seam from sources, that works better after a set ANT_OPTS=-Xmx400m
I found that out today. Without it, the symptom was a defective
seam_reference.pdf. The build still said it completed successfully, but the
PDF generation was the first part of the build process to fail under memo
Then you put the name of your subclass into portlet.xml into element
portlet-class. Obviously, also make sure the compiled class is in your
application.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006534#4006534
Reply to the post :
http://www.jboss.com/
Seam reference 13.8 "Configuring Seam in a Portal" should:
mention TransactionalSeamPortletPhaseListener instead of
SeamExtendedManagedPersistencePortletPhaseListener.
Also, maybe it should mention not to use
org.apache.myfaces.webapp.StartupServletContextListener.
Also, maybe it should give m
Ran seam generate-entities a couple of weeks ago. Wanted to know what has
changed in Seam, wanted to run seam generate-entities a second time and then
diff the directories. Problem:
At seam-gen/view/list.xhtml.ftl line 30 there was an undefined
property.value.typeName.
But the real reason th
Would like to know what the defined / expected behavior is. Have many real
examples, but here is a simplistic one for illustration.
I want to know what the default behavior is. What is considered "normal".
Sure, workarounds are nice to know, but what is the "intended" way?
User U1 enters onl
Had no luck with diff against CVS with Eclipse on Windows, neither with
TortoiseCVS. Probably a line-feed on platform problem. Then tried WinCVS. Is
this a good format?
RCS file:
/cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/framework/Query.java,v
| retrieving revision 1.14
| diff -u
Here is my code. I'll try again with CVS, I've figured out anonymous CVS for
Seam, I've figured out you want JIRA to submit diff, but both with TortoiseCVS
and with Eclipse (to a Windows machine) I'm getting double line breaks, so my
diff is wrong. I try again in a couple of days.
Meanwhile s
Method getCountEjbql() could use an intermediate variable String ejbqlLowerCase
= ejbql.toLowerCase() and use that ejbqlLowerCase for the two indexOf calls.
That lower case I'm sure about.
Further, it might be better to have extra spaces to make that an indexOf("
order ") to avoid mistaking ord
I've seen both kind of code:
public class PotatoQuery extends EntityQuery {
|
| public PotatoQuery() {
| setEjbql("SELECT potato FROM Potato potato");
| }
as well as
@Override
| public String getEjbql() {
| return "SELECT potato FROM Potato potato";
| }
Are both equally valid
Seems the right way to do this instead is in seam_reference.pdf (I'm using CVS
20070111) section 6.8. Seam-managed persistence contexts and atomic
conversations.
Don't forget to read section 13.4. Seam managed transactions.
Does this mean Yuan & Heute's section 9.4 "Simulate a Multi-page Transa
In Yuan & Heute's book version 12/6/2006 in section 9.4 "Simulate a Multi-page
Transaction" ...
method confirm() is annotated
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) and contains a
call em.flush().
Per javax.persistence.EntityManager though for method flush() it @throws
Several suggestions listed below.
Using jboss-seam-CVS.20070102.zip, jems-installer-1.2.0.CR1.jar and
JBossIDE-2.0.0.Beta2-Bundle-win32.zip.
Following seam_reference.pdf Chapter 2. Getting started with Seam using
seam-gen.
In 2.1 it says "add your JBoss installation to the JBoss Server View".
Documentation (seam_reference.pdf) in jboss-seam-CVS.20061105 in section 12.2
incorrectly says to define
getNewInstance(
when instead it should be to define
createInstance(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984789#3984789
Reply to the post :
In jboss-seam-CVS.20061105 in package org.jboss.seam.core in class Exceptions
on line 172
final int code = Integer.parseInt( error.attributeValue("view-id") );
causes
java.lang.NumberFormatException: null
because (I assume) after
Element error = exception.element("http-error");
it intstead s
Was using Fisheye for Seam (mostly its RSS feed) to keep track of what was
changing in CVS releases. Being "educated" I was fetching releases about twice
a week. That RSS feed (from Fisheye for Seam) hasn't been working since Oct
23rd, so I don't know any more what has been changed. Changelog
Let's say I have an action method
@End
| public String submit() {
| }
and let's say there is logic in it by which normally I am done with the
conversation, but in one case I want to stay in the conversation (e.g. go back
to a page to fix up information) and traditional validation can't catc
The warning is not to use the Tomahawk extension of MyFaces? Right? It is ok
to use MyFaces? Right? We actually are using MyFaces 1.1.4.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977682#3977682
Reply to the post :
http://www.jboss.com/index.html?mod
Would be nice if the source code of package org.jboss.seam.example.booking
class LoggedInInterceptor would have a comment or another explaining it,
specifically if not in INVOKE_APPLICATION. Why invoke if not void, but not with
proceed()?
Then one can decide better: Is this generally applicabl
Oops, that meant using
xmlns:ui="http://java.sun.com/jsf/facelets";
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975864#3975864
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975864
___
I can give more details, but for now my analysis is this:
In a set of .xhtml files,
using
http://www.jboss.com/wiki/Wiki.jsp?page=JBossSeam
I have in on .xhtml a
and in another .xhtml in the (hence included)
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975863#3975863
Reply to
101 - 143 of 143 matches
Mail list logo