Shouldn't JBoss use the DTD from jar files instead? what option should I look
into for changing that?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4159395#4159395
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4159395
so, did any of you try Seam/Richfaces tree with interactive features (click on
expanded node)?
I see the Seam-built new SeamFramework.org without any tree structure. Guess
people already know something about it.
How about GWT? some brave souls has attempted, but the conversion is not
I guess most of us using the default integrated Richfaces with Seam, but I
found some disturbing bugs in Richfaces (like Tree nodeSelectListener
classloader problem that renders the tree usage very much useless), plus a
not-very-responsive forum.
I don't mean to blast Richfaces since other
I got it working on 2.0.0.CR1.
The interface should have @Remote instead of @WebService
standard-jaxws-endpoint-config.xml should be in your deployed
proj.ear/proj.jar/META-INF directory.
That should do it.
View the original post :
I think it's really substantial. If Spring has it, and JBoss doesn't. It's a
big disadvantage.
Updating modules on-the-fly is a dream on any deployment scenario.
Please put that in JBoss or Seam.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4119229#4119229
I know some libraries changes - merged and splitted - in Seam and Richfaces,
but I haven't been able to successfully migrate my seam-gen app to new version
after changed these library files.
Release Note doesn't have anything on it.
View the original post :
I didn't see that
I use seam-gen to generate new project and try to match that with my own. I
missed some subtle changes in build.xml when the new library files are split
out into different places.
Finally, got it working. Thanks!
View the original post :
I'd like to make a suggest to include any future Seam release the build/support
libs of any third-party framework that Seam uses.
For instance, with Drools, Seam (2CR1) only includes 4 lib jars:
antlr-3.0b7.jar drools-compiler-4.0.0.MR2.jar drools-core-4.0.0.MR2.jar
janino-2.5.6.jar
This is awesome! Quick agile development.
We've been working with Beta1 and very happy to get GA for our coming release.
Good work! Thanks all!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4102976#4102976
Reply to the post :
Now, that explains it. I've been working around this problem for a long time.
Finally, figure out eventsQueue is the only thing that helps. Not 100% though.
These actions are just update and validate field data, but result has got into
timeout almost every time unless you enter a value, sip
I got this scenario that requires to switch view page to new copied of old
backing instance.
- A JSF page of current instance object is used to modify the object.
- The action results in a new clone of object is created with modified data.
- Both objects are persisted.
- I want to show the JSF
Well, I use one page with backing bean in Seam Framework.
- page.xml set id, which backing object Home use to load up the instance from DB
- page.xhtml get loaded with instance populated
- one page for view, one for edit
I try to switch old bean with new one as in objHome.setInstance() and
It's very sticky.
After setting id to new object and return success from method action, the URL
is showing applicationId = new application ID, but the instance on the page is
still the same old one! Arghhh...
| Long id = newclone.getId();
|
Hibernate does that for you automatically.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4101378#4101378
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101378
___
jboss-user
The way I do it is different because the way I define object relationship in
hibernate (collection of items SAVE / DELETE_ORPHAN).
- Create a table of existing items in collection and hidden panel for object
edit.
- Click add item: Create new object and add to collection
- Show edit panel of new
It uses ByteArrayOutputStream to hold data. The buffer grows as data adding to
it. Look like you may have to increase the heap size -Xmx
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4085723#4085723
Reply to the post :
solution: Got to write your own clone() in the object and each dependent ones,
so that the cloning process will do traversing down the tree to each containing
object. You will have the whole obj structure back, then to XML it goes.
View the original post :
I got a need to serialize the object out as XML, but current persistent entity
gives too much unrelated stuff. I can't break out of current transaction to get
to detached object because it is needed in another step.
So, I just wonder if any of you see the same problem and has a work-around
I probably have to wait for next drop then. I got the workaround at wire()
call, so it's no biggie for now.
Thanks,
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080653#4080653
Reply to the post :
When transaction declaration is defined in my .page.xml like this
begin-conversation join=true flush-mode=manual /
the conversation didn't know about that in ApplicationHome code when I have end
transaction declared in the code
| @End
| public void save() {
| super.persist();
| }
is there a rich:panel or any panel that these a:support are inside? It can
make a difference as other post had mentioned.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080140#4080140
Reply to the post :
I tried that also @In(create=true) private Actor actor; but got same error.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079617#4079617
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079617
No, I can't find it anywhere in the log. Is there configuration step for it?
I use Seam Framework from Seam 2.0.0Beta.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079637#4079637
Reply to the post :
Got it! After put it empty it works. I plan to use it later on :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079692#4079692
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079692
Thanks, Pete.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079693#4079693
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079693
___
jboss-user mailing list
To add EhCache for Hibernate second-level caching:
1/. add ehcache.jar to ear directory
2/. add!-- Hibernate cache -- to application.xml (I hate this step why
can't it load all jars in ear directory instead of looking for specified one
here)
ehcache-1.2.4.jar
3/. add
When I inject Actor into authenticator() generated by seam-gen, there is no
actor injected into the variable and it fails at login.
| @Scope(ScopeType.APPLICATION) // doesn't matter the scope
| @Name(authenticator)
| public class Authenticator
| {
| @Logger private Log log;
|
Gents,
I believe it also has something to do with Ajax2j because I find out when I
switch over to use rich:tabPanel and rich:tab, everything is working fine.
That's how my pages work before but not after my simple change.
Try it out and let me know. Don't use rich:panel
View the original post
Seem to be the problem I got right now. Things seem fine yesterday, now all
hell broke lose without a cause. After you jump off the field, everything
disappears. So weird.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4076526#4076526
Reply to the post :
I've been thinking how to make this transition form Joshua's suggestion and
Pete's.
I can't do what Joshua said addLocation() to action because that will make
LocationEdit.xhtml not suitable for the case where we use existing location id
from dataTable list.
I'm trying to figure out how
Ok, it works if I use navigation with redirect AND param.
(I've been using Seam Framework generated by seam-gen with modification to jump
start my app.)
In ApplicationEdit.page.xhtml
| ...
|navigation from-action=#{applicationHome.addLocation}
| rule if-outcome=done
|
use manual flush like
begin-transaction .. flush-mode=manual/
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4075557#4075557
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075557
I got every unit test passed the javabean code but when running it under Seam,
the call stops cold without returning anything. I have to use step-by-step
debugging to find out the hard way.
Don't have time to look at their source code right now but just want to warn
you guys when things
This is the problem with Common StringUtils.remove() call that I warned people.
I remove it from example code because I thought that simple call can be trusted.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4075269#4075269
Reply to the post :
Once the app is stablelized with minimal update, you can set auto = update in
persistence-dev.xml like this
| property name=hibernate.hbm2ddl.auto value=update/
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4075287#4075287
Reply to the post :
Is there a way to for action on s:button first before it jumps to the view page
with params?
This is JSF code:
| rich:dataTable values=#{locations} var=location...
| ...
| a:commandLink value=Remove action=#{applicationHome.deleteLocation}/
| ...
| /rich:dataTable
|
Sure does.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4074431#4074431
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074431
___
jboss-user mailing list
I should have provided more context info on this.
This happens on page 2 of a long-running conversation. After user finished page
1, they hit next to go to page two to select value from drop-down list. Boolean
value select has no problem.
On page 1, ApplicationEdit.page.xhtml is
| ?xml
Never mind. I found something else in my underlying code that might cause the
trouble. Why i didn't throw exception or log that out is still a mystery.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4074515#4074515
Reply to the post :
Well, I got a JSF code like this
| h:selectOneMenu id=application_Test_limit
value=#{applicationHome.instance.test.limit.value}
| f:selectItem itemValue=$10/
| f:selectItem itemValue=$100/
| /h:selectOneMenu
|
but
try scope CONVERSATION or wider
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4071721#4071721
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071721
___
jboss-user mailing list
Have anyone noticed authenticate() is called twice when user log in?
| 11:28:21,215 INFO [Authenticator] Authenticating tim
| 11:28:21,246 INFO [Authenticator] current user is Tim
| 11:28:21,246 INFO [Authenticator] assign admin role name to tim
automatically
| 11:28:21,246 INFO
Never mind. That happens I add @Create in front of it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4071299#4071299
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071299
___
Ah, never mind. I find the option to assign name of DataModel to
DataModelSelection.
| @org.jboss.seam.annotations.datamodel.DataModel(applicationPersonnels)
| private java.util.ListPersonnel applicationPersonnels;
|
|
Wow, that actually can work.. Awe some ext EL, guys.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4070626#4070626
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070626
___
Holly cow! Today, it just works. No problem at all. You are my lucky star, Pete.
I removed all the clutters, and leave minimal code in there. Even though I
don't like the part where I have to use single string name for Factory, I have
to use it for now rather spend more time on this.
Here's
I see similar problem before. You need a @Factory on the call to initialize
@DataModel list. There's no other way. I spent couple days trying to figure
that out with the help of Pete.
Check out the link
http://www.jboss.com/index.html?module=bbop=viewtopict=114929
but here's short answer
|
What can I do if I have to use 2 or more DataModel and DataModelSelection in a
form? each map to a DataTable and selected item.
Is it possible?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4070302#4070302
Reply to the post :
When I did that @DataModel(scope=ScopeType.CONVERSATION)
it failed to deploy with this error
| 2007-08-01 10:25:30,590 INFO [org.jboss.seam.Component] Component:
applicationHome, scope: CONVERSATION, type: JAVA_BEAN, class:
com.insolve.policy.ApplicationHome
| 2007-08-01
Haven't gone far on this. I made it @Factory as you suggest, Smith. Also add
@Out for datamodel, otherwise it won't see personnels value on the page.
| @DataModel
| @Out(required=false)
| private ListPersonnel personnels;
|
then stumble on this error:
| 12:51:49,243 ERROR
Pete,
Please look at my issue on accessing row in datatable on this link
http://www.jboss.com/index.html?module=bbop=viewtopict=114929
I believe it's the most frustrate part of using Seam right now. I can't believe
how hard it is to use the thing correctly.
View the original post :
I've been trying and trying but cannot do a simple thing like this:
| h:dataTable var=personnel value=#{applicationHome.personnels}
| h:column
| f:facet name=headeraction/f:facet
|s:link value=Select action=#{applicationHome.selectPersonnel}/
| /h:column
|
Correction: when using selectPersonnel(Personnel p) with
#{applicationHome.selectPersonnel(personnel)}, it is NOT NULL. But the value is
always the value of the first row of the list, no matter what row you click on.
View the original post :
I keep seeing this error after the server restarts. I think it prevents some
error problem from displaying nicely on the page. Does anyone know what's the
problem is?
| 2007-07-26 11:03:00,222 INFO [org.jboss.system.server.Server] JBoss (MX
MicroKernel) [4.2.0.GA (build:
Thanks. I'll wait for next release to download the latest Richfaces jar file
then.
Somehow my search on this forum didn't turn up that item. Weird!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4067953#4067953
Reply to the post :
Well, default setting in hibernate-console.properties is (missing =)
hibernate.connection.provider_class
org.hibernate.connection.DriverManagerConnectionProvider
Right now, it didn't seem to cause any problem to me (probably default).
View the original post :
Yes, I return true in authenticate() call
| public boolean authenticate() {
| String user = identity.getUsername();
| log.info(authenticating #0, user);
| if (tim.equals(user)) {
| //identity.addRole(admin);
|
I follow the documentation of Seam 2.0.0.Beta1 to put some security rules to
check for page access permission, but it didn't work the way it documented. If
anyone can explain how Role got created and used in the framework, that would
be real helpful.
In security.drl (as documentation explains
58 matches
Mail list logo