[jboss-user] [JBoss Seam] - Re: Simplest s:fileUpload usage

2007-05-26 Thread [EMAIL PROTECTED]
evl123 wrote : | From my code snippets, can you tell what I did wrong that resulted in null injection of org.apache.myfaces.custom.fileupload.UploadedFile component? | Could it be some incompatible issue in the jar files - tomahawk-1.1.5, commons-fileupload-1.1.jar, and commons-io-1.2.jar?

[jboss-user] [JBossWS] - Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails

2007-05-26 Thread Juergen.Zimmermann
Meanwhile I switched to JBoss 4.2 and the problem is gone View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048821#4048821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048821 ___

[jboss-user] [JBoss jBPM] - Re: ADF Faces with Facelets in jBPM 3.2GA

2007-05-26 Thread javalau
http://wiki.java.net/bin/view/Projects/FaceletsTaglibFiles View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048822#4048822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048822 ___

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Jboss/Tomcat and xhtml files

2007-05-26 Thread gommo
Hi, I've just stared developing web apps with jboss4.0.5.GA (Experienced with thick client) and ran into a problem trying to save my pages as xhtml in readiness for playing around with jboss seam. When I try load a simple hello world type page (index.xhtml) my browser initiates a download of

[jboss-user] [JBoss Seam] - Re: JBoss AS 4.2.0, seam 1.2.1 and seamgen

2007-05-26 Thread ge0ffrey
I just found out that the seam book I bough actually has the answer, page314 :) Apparently I need to do some stuff in the web.xml and the faces-config. Still it worries me that jboss 4.2 breaks backwards compatibility, because some jars might or might not be in it's classpath. This means if I

[jboss-user] [JBoss Seam] - Seam security question, in vpn environment

2007-05-26 Thread liudan2005
I have some pages under /admin/* that I don't want them publicly available. I have a virtual NIC with IP 10.3.0.1, I need to allow access to /admin/* that comes from this NIC. It would be nice if Seam support this: | page view-id=/admin/* only-from-nic=10.3.0.1/ | I don't know if there's

[jboss-user] [JBoss jBPM] - Re: selectManyCheckbox and jBPM variables

2007-05-26 Thread javalau
Maybe the selectManyCheckbox value attribute must be a value-binding expression to a property of type List, but the object of list type can not persist in jbpm3.2. How to solve the problem ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048827#4048827 Reply

[jboss-user] [JBoss Seam] - Re: JBoss AS 4.2.0, seam 1.2.1 and seamgen

2007-05-26 Thread [EMAIL PROTECTED]
ge0ffrey, Do not forget to remove the el-*.jar files from the app and from application.xml as well (on page 315 ;)). Go to the book web site to download all sample projects for 4.2.0 (as well as for 4.0.5). Yes, migrating from 4.0.5 to 4.2.0 is a pain because we switched from MyFaces to JSF

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate and XML persistence implementation

2007-05-26 Thread pattchen
Thanks for your answer Andy, I've explored documentation about Hibernate and XML.It seems that I must open a database session before open a DOM4J session. Moreover,It is not possible to retrieve objects from an xml storage. Here is an example of what i want to achieve: /**XMLSession is an

[jboss-user] [JBossCache] - Re: Object is not replicated after field update

2007-05-26 Thread FredrikJ
As a note I finally got it working by adding the arguments: -javaagent:lib/jboss-aop-jdk50.jar -Djboss.aop.path=src/conf/META-INF/pojocache-aop.xml and copying the pojocache-aop.xml from the distribution /resources. I must say, I do find the documentation for this rather... confusing. It is not

[jboss-user] [JBoss Seam] - Re: JBoss AS 4.2.0, seam 1.2.1 and seamgen

2007-05-26 Thread ge0ffrey
Now I have this exception though: | 11:59:03,359 INFO [TomcatDeployer] deploy, ctxPath=/bbaseamgen, warUrl=.../tmp/deploy/tmp19512bbaseamgen.ear-contents/bbaseamgen-exp.war/ | 11:59:03,593 INFO [ContextConfig] WARNING: Security role name NONE used in an auth-constraint without being

[jboss-user] [JBoss Seam] - Re: JBoss AS 4.2.0, seam 1.2.1 and seamgen

2007-05-26 Thread ge0ffrey
I had to comment out rg.jboss.seam.jsf.SeamPhaseListener because a org.jboss.seam.jsf.TransactionalSeamPhaseListener was configured, hope that's not a problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048836#4048836 Reply to the post :

[jboss-user] [JBoss Seam] - Re: JBoss AS 4.2.0, seam 1.2.1 and seamgen

2007-05-26 Thread ge0ffrey
Looks like richfaces is the guilty part the jar contains 3.0.1-SNAPSHOT, while that error is fixed for 3.0.2: http://jira.jboss.com/jira/browse/RF-44 The generated code uses a lot of richfaces in the facelets, so dumping it doesn't seem like an option. Is there a new version available

[jboss-user] [JBoss Seam] - Enum Internationalised

2007-05-26 Thread [EMAIL PROTECTED]
This is probably obvious to all of you, but taken me days to get this working (and still not sure how!). Inside an Entity I have an internationalised enum (as I am hoping to persist a value of its kind with the Entity): | @SuppressWarnings(serial) | @Entity // Defines this as an Entity

[jboss-user] [JBoss Portal] - Re: jboss portal 2.6 and jboss AS 4.2

2007-05-26 Thread grininger.h
thanks, the wiki page helped me, now jboss portal is deploying correctly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048839#4048839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048839

[jboss-user] [JBoss Seam] - Re: Seam security question, in vpn environment

2007-05-26 Thread fhh
Add a page action to /admin/* check the ip. You can get via the facesContext. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048840#4048840 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048840

[jboss-user] [EJB 3.0] - Re: Best Practice Question

2007-05-26 Thread fhh
This problem is not jpa specific. What database schema works best is at least depending on a.) the relationship of the attributes, b.) how many of those attributes are actually needed during procesing, c.) the expected amount of data. So I would suggest you create an entity relationship

[jboss-user] [Beginners Corner] - Re: Problem with JBoss4.2.0GAJDK6

2007-05-26 Thread mithilwane
Hi, cornfield i'm getting the same error for Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85) Did you get this solved Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048842#4048842 Reply to the post :

[jboss-user] [JBoss Seam] - Re: lookup of remote EntityQuery (from seam-gen) for Eclipse

2007-05-26 Thread cupdike
Hi Micheal- Unless I misunderstand your intention, I don't want to use a servlet because I will no longer be working with domain objects in RCP, thus losing a lot of the potential richness and having to break objects down into data for the wire. I'd like to try out AS 4.2.0 GA but I didn't

[jboss-user] [JBoss Seam] - Re: Seam security question, in vpn environment

2007-05-26 Thread liudan2005
Great. It works. Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048844#4048844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048844 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - model validation failed:String index out of range: -1

2007-05-26 Thread umk
Hello, I'm trying to bind a Map entry to h:inputText. The code below successfully extracts the value for the key when the page is loaded, but when I submit it, the page reloads with an error alongside the field: model validation failed:String index out of range: -1 From the .xhtml |

[jboss-user] [JBoss Portal] - page create, layout and theme on per user basis

2007-05-26 Thread javatwo
I am using JSF on JBoss, and thinking about using Portal. I am new to JBoss portal, and have several questions, please help. 1. can a normal user(not admin) create a page, add portlets, design layout and apply theme, then persist them? on per user basis? 2. can page layout/theme be

[jboss-user] [JBoss Seam] - Re: dateformat not working?

2007-05-26 Thread hhf8
Hi thanks for the reply, I ended up just going with the format that it would revert too, My system should be able to work with that aswell, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048847#4048847 Reply to the post :

[jboss-user] [JBoss Portal] - Re: page create, layout and theme on per user basis

2007-05-26 Thread [EMAIL PROTECTED]
javatwo wrote : | 1. can a normal user(not admin) create a page, add portlets, design layout and apply theme, then persist them? on per user basis? | In the 2.6 version, users have their dahsboard, it's per user. They can add/remove pages, add/remove portlets. javatwo wrote : | 2.

[jboss-user] [EJB 3.0] - Re: Best Practice Question

2007-05-26 Thread mduc
Felix, Thanks for your reply. I am all new to this thing so excuse my newbieness. Ok, so what if I have a table named participants and each row represent 1 participant with the 400 or so data elements collected for that participant. What would be the best way to handle that with EJB3? Most

[jboss-user] [JBoss Seam] - s:selectDate in datatable

2007-05-26 Thread shakenbrain
Is it possible to use the s:selectDate component in a datatable? If so, how does one populate the for attribute? rich:dataTable id=fundings value=#{fundings} var=f | rich:column | f:facet name=header | h:outputText value=#{messages.ReceivedDate}/ | /f:facet |

[jboss-user] [EJB 3.0] - Re: Best Practice Question

2007-05-26 Thread fhh
This is not so much an EJB question but a question of database design. There is no such thing as the right way to it. It all depends on the data and what you want to do with it. One of the key question is: Should you normalize the data? This depends on what you want to do with that data. For

[jboss-user] [JBoss Portal] - Re: page create, layout and theme on per user basis

2007-05-26 Thread javatwo
Thanks for quick reply, very helpful. In my JSF application, I have a User table that keeps username and password. Do I have to use the User Portlet coming with portal? some different properties are needed in my case. I did not use FORM based authentication or any standard ones. My

[jboss-user] [Beginners Corner] - Re: Problem with JBoss4.2.0GAJDK6

2007-05-26 Thread camunda
I have the same exception. The funny thing: If you delete the class Log4jLoggerPlugin completly from from the jar, it works fine ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048858#4048858 Reply to the post :

[jboss-user] [JBoss Seam] - Domain model duplicates validation

2007-05-26 Thread goku2
If a have a entity like this(is just an example :D) | @Entity | @Name(person) | public class Person implements Serializable { | private Long id; | private String firstName; | private String lastName; | private int age; | | @Id | @GeneratedValue |

[jboss-user] [Messaging, JMS JBossMQ] - Re: Stop MDB processing for some amount of time

2007-05-26 Thread noxis
[EMAIL PROTECTED] wrote : | Yes, stopDelivery() as explained in the MDB docs. Thanks. I have tried to execute stopDelivery() on my MDB, but... there is no such a method shown in jmx-console (tested on JBossAS 4.0.5 and 4.2.0). Maybe because of this -

[jboss-user] [JBoss Messaging] - JBoss Messaging RMI/IIOP

2007-05-26 Thread snecu001
I am trying to get the iiop service to work in the messaging configuration but when I put iiop-service.xml in the JBOSS_HOME/server/messaging/deploy JBoss is complaining and looking for jars that are in JBOSS_HOME/client. Questions is what do I need to do to start the iiop service under the

[jboss-user] [JBoss Seam] - s:conversationPropagation has no effect with h:commandButton

2007-05-26 Thread gena777
Hello it seems, that the s:conversationPropagation doesn't affect the h:commandButton behaivour. This code works, but doesn't cause a submition of form values s:button propagation=begin action=offer/createOffer value=#{uib.Next} styleClass=submit |

[jboss-user] [JBoss Portal] - java.lang.ClassCastException: com.sun.facelets.component.Rep

2007-05-26 Thread javatwo
I downloaded jboss-portal-ha-2.6-CR2 and deployed it into JBoss AS 4.0.5GA as instructed, but got the following exception: 08:03:33,026 ERROR [FacesConfigurator] failed to configure class com.sun.facelets.component.RepeatRenderer java.lang.ClassCastException:

[jboss-user] [JBoss Portal] - Re: pages in dashboard

2007-05-26 Thread javatwo
[EMAIL PROTECTED] wrote : | This is the default use case. | Modify the portal called template to create the 4 pages. | | Every user logging in his dashboard will see the 4 pages, he will be able to modify those pages. keep the position, add content and this will only be visible by him.

[jboss-user] [JBoss Seam] - Re: Seam and maven2 running tests

2007-05-26 Thread Lightguard
I figured it out, don't worry about the previous error. I have it figured out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048869#4048869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048869

[jboss-user] [JBoss Seam] - Re: problem with session timeout and ajax calls

2007-05-26 Thread henrik.lindberg
I gave up on this, and changed my solution to submit the values the regular way instead - could not make it work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048870#4048870 Reply to the post :

[jboss-user] [JBoss Seam] - problem with page parameter and back

2007-05-26 Thread henrik.lindberg
I am using a page parameter (I have a search result that is displayed, the user clicks on a link with a parameter being the id of a document to view). Everything works fine as long as the user is moving forward - i.e. display something, then search again, select something etc. But, if user

[jboss-user] [JBoss Seam] - Re: problem with page parameter and back

2007-05-26 Thread henrik.lindberg
The weirdest thing is that I can go back once, and select something else, but if I go back a second time and pick (a third choice), the second choice gets stuck. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048872#4048872 Reply to the post :

[jboss-user] [Beginners Corner] - A serious error has occured while assembling the SOAP Fault

2007-05-26 Thread wizard_nitrkl
I'm new to JBOSS but I can configure juddi on previos versions of JBOSS with MySQL and its working fine but when I try on JBOSS 4.2.0GA I get an error code 500 while publishing or making some inquiry while jUDDI is happy. Error log is like ERROR org.apache.juddi.registry.AbstractService -

[jboss-user] [JBoss Portal] - 6 questions, should I use JBoss Portal?

2007-05-26 Thread javatwo
I am using JSF/JBOSS/Hibernate. I have asked some questions and looked through this forum. But I am still not clear. Can JBoss Portal allow me to do the following: 1. each user can create account, and be able to create pages, create his own layout and themes, all of these need to be persisted,

[jboss-user] [JBoss Seam] - Will Seam 1.3 work with woodstock components?

2007-05-26 Thread mgrouch
Will Seam 1.3 work with woodstock components? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048875#4048875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048875 ___

[jboss-user] [JBoss Seam] - What am i doing wrong here? - (datamodel selection question)

2007-05-26 Thread kasim
So i have a SFSB AirlineService. It has 2 datamodels on it, one for departure one for return. Now obviously these display the same sets of information but have different queries. So i thought in the datamodel i'd switch a flag to know what is selected .. like so - | h:dataTable

[jboss-user] [JBoss Seam] - Conversation Scope performance

2007-05-26 Thread cormet
Hi All, I am having serious performance issue when using conversation. If i just used default scope (event scope), page loading time is not that bad. however, if i switch to conversation scope, page loading time is increadibly slow. Would any one teach me what do i need to configure/tune to

[jboss-user] [JBoss Seam] - Re: s:validateAll in custom tag/template

2007-05-26 Thread mgrouch
Facelets didn't have any releases for a long time. Might be Seam would need to include its own version of facelets? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048878#4048878 Reply to the post :

[jboss-user] [JBoss Seam] - Re: s:validateAll in custom tag/template

2007-05-26 Thread hstang
Is Seam concerned about Facelets ongoing development (or lack thereof) for the future? If you check their dev forums and # of commits they had in previous months, it's pretty dead. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048879#4048879 Reply to the

[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-26 Thread matt.drees
Are you using a s:validate or s:validateAll on that h:inputText? If so, I'm fairly certain you can't do that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048880#4048880 Reply to the post :

[jboss-user] [JBoss Portal] - window name UTF-8? menu does not stay

2007-05-26 Thread javatwo
Hello, I am experiencing JBoss Portal. Seeing some issues: 1. When I use UTF8(for example, chinese characters) as window name for adding portlets, it did not show up correctly, like 产品分类, no one can recognize. but page name is OK with UTF8. 2. Sub pages show as drop down menu, but very

[jboss-user] [JBoss Portal] - How to make user's pages visible to public

2007-05-26 Thread javatwo
I have asked many questions in a short time. I am completely new to JBoss portal. Please help me. I create a portal called MyPortal and some pages(A, B, C, D) on the portal. Then I create a user called scott. After login as scott, I copied page A and B on MyPortal to the dashboard. In