[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss 3.2.7 no longer deploys due to site reorganizatio

2008-06-19 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: Poll: what JSF framework are you using with Seam?

2008-01-31 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Poll: what JSF framework are you using with Seam?

2008-01-30 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: Seam 2.0, Eclipse IDE - Problem creating Webservices

2008-01-16 Thread tim_ph
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 :

[jboss-user] [JBoss OSGi] - Re: OSGi features

2008-01-11 Thread tim_ph
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

[jboss-user] [JBoss Seam] - any instruction for migrating 2.0.0.CR1 to 2.0.GA (or 2.0.1.

2008-01-10 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Re: any instruction for migrating 2.0.0.CR1 to 2.0.GA (or 2.

2008-01-10 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Suggestion for Seam Release packaging

2007-12-19 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.GA is out

2007-11-08 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Re: conversation ended unexpectantly

2007-11-08 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Switching instance of backing bean of JSF page with Seam

2007-11-08 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: Switching instance of backing bean of JSF page with Seam

2007-11-08 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: Switching instance of backing bean of JSF page with Seam

2007-11-08 Thread tim_ph
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(); |

[jboss-user] [JBoss Seam] - Re: Seam, Cache and EJB

2007-11-02 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: Creating and Updating records in single operation: sensi

2007-09-18 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: s:fileUpload using tempFile fails with an OutOfMemoryErr

2007-09-18 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Re: Need to write entity object to XML

2007-09-07 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Need to write entity object to XML

2007-09-04 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: Page begin-transaction flushmode=manual didn't work

2007-09-03 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Page begin-transaction flushmode=manual didn't work

2007-08-31 Thread tim_ph
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(); | }

[jboss-user] [JBoss Seam] - Re: Problems using ajax validation in seam-gen

2007-08-31 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Re: No Seam component Actor injected

2007-08-30 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: No Seam component Actor injected

2007-08-30 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Re: No Seam component Actor injected

2007-08-30 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: No Seam component Actor injected

2007-08-30 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Add Hibernate caching

2007-08-30 Thread tim_ph
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

[jboss-user] [JBoss Seam] - No Seam component Actor injected

2007-08-29 Thread tim_ph
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; |

[jboss-user] [JBoss Seam] - Re: Seam conflict with a4j:include and a4j:support

2007-08-22 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: Seam conflict with a4j:include and a4j:support

2007-08-21 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Re: how to use s:button to execute action first before jump

2007-08-20 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: how to use s:button to execute action first before jump

2007-08-20 Thread tim_ph
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 |

[jboss-user] [JBoss Seam] - Re: Error: don't flush the Session after an exception occurs

2007-08-19 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Warning: beware of Common StringUtils.remove(String, char) ca

2007-08-17 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: how many layer can EL go down?

2007-08-17 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Re: How do folks typically handle initial vs. redeployment a

2007-08-17 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - how to use s:button to execute action first before jump to v

2007-08-17 Thread tim_ph
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 |

[jboss-user] [JBoss Seam] - Re: how many layer can EL go down?

2007-08-15 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: how many layer can EL go down?

2007-08-15 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: how many layer can EL go down?

2007-08-15 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - how many layer can EL go down?

2007-08-14 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: DataModelSelection is null

2007-08-07 Thread tim_ph
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

[jboss-user] [JBoss Seam] - authenticate() called twice

2007-08-06 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: authenticate() called twice

2007-08-06 Thread tim_ph
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 ___

[jboss-user] [JBoss Seam] - Re: Use more than 1 DataModel/DataModelSelection in a form?

2007-08-03 Thread tim_ph
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; | |

[jboss-user] [JBoss Seam] - Re: how to use a defined query in a POJO

2007-08-03 Thread tim_ph
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 ___

[jboss-user] [JBoss Seam] - Re: show me the right way to access row of datatable with Se

2007-08-02 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: @DataModel on Stateful beans (broken?)

2007-08-02 Thread tim_ph
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 |

[jboss-user] [JBoss Seam] - Use more than 1 DataModel/DataModelSelection in a form?

2007-08-02 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Re: show me the right way to access row of datatable with Se

2007-08-01 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: show me the right way to access row of datatable with Se

2007-08-01 Thread tim_ph
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

[jboss-user] [JBoss Seam] - Re: I'm back

2007-08-01 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - show me the right way to access row of datatable with Seam F

2007-07-31 Thread tim_ph
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 |

[jboss-user] [JBoss Seam] - Re: show me the right way to access row of datatable with Se

2007-07-31 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - resource not registered org.richfaces.renderkit.images.TabGr

2007-07-26 Thread tim_ph
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:

[jboss-user] [JBoss Seam] - Re: resource not registered org.richfaces.renderkit.images.T

2007-07-26 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - seam-gen hibernate-console.properties hibernate.connection.p

2007-07-09 Thread tim_ph
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 :

[jboss-user] [JBoss Seam] - Re: Security rules for Role in document not working..

2007-07-06 Thread tim_ph
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); |

[jboss-user] [JBoss Seam] - Security rules for Role in document not working..

2007-07-05 Thread tim_ph
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