I wonder if there is a forum for Drools questions.
thank you
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4203366#4203366
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4203366
thank you Max,
- Faceted Project Validation Builder
Your project would have to be faceted...not something that is easily done in
Eclipse 3.3, Ganymede maybe.
could you tell me if this is very useful for a seam project? (in that case I
would try with Ganymede)
- Project Verifier
Actually not
Hi,
If I create a new seam web project , project properties builders include the
following:
- Java Builder
- Faceted Project Validation Builder
- Validation
- Project Verifier
- Seam Builder
- Hibernate Builder
I have a project I created time ago before upgrading my eclipse and installing
jboss
Btw, my eclipse version is 3.3.2 (eclipse-jee-europa-winter-322 release) and my
JBoss Tools is 2.1.0.GA.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4156042#4156042
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4156042
I am having same problem with JBoss 4.2.2 deploying a seam 2.0.2 GA
application. I have only one log4j.xml file
These are my appenders:
| appender name=CONSOLE class=org.apache.log4j.ConsoleAppender
| errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/
|
thank you Vicky!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4136315#4136315
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136315
___
jboss-user mailing list
Hi,
I am using JBoss 4.2.2 with jdbc3.(jcon3.jar)
For some operations that access a database I have this error:
| 2008-03-12 13:14:53,653 INFO
[org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a
connection for you. Please close them yourself: [EMAIL PROTECTED]
|
I
Hi,
I am using JBoss 4.2.2 with jdbc3.(jcon3.jar)
For some operations that access a database I have this error:
| 2008-03-12 13:14:53,653 INFO
[org.jboss.resource.connectionmanager.CachedConnectionManager] Closing
| a connection for you. Please close them yourself:
hi,
I have solved my problem. I desfribe my solution in case it helps. The matter
was that in other rule I had in my security.drl (and that I did not post to my
message) I had a syntax error.
With that error the rule I described before does not work, and once the syntax
is correct, both rules
hi!
I have just started to work with the latest releases (SEAM 2.0.1.GA and JBOSS
4.2.2)
I am testing the security and something strange happens with my application.
Restrictions defined in my pages.xml with s:hasRole work ok, but in the .drl
file they are not working properly.
This is my
Pete, I have not said you that I am using SEAM 1.2.1 Before opening a JIRA
maybe I should wait until checking this with SEAM 2. what do you think?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122937#4122937
Reply to the post :
hi,
I have added some restrictions taking into consideration the user's roles to
access some pages. They work ok and when the
org.jboss.seam.security.AuthorizationException appears the flow is redirected
properly.
Howewer I find that the very first time after starting the server or deploying
I have checked that no matter to what restricted page you are attempting to
acces, first time exception is swallowed (for instance to a.xml), second time
yo try to view a restricted page exception is not swallowed. So, you do not
have to acces twice eahc restricted page, and this only first
hi,
I had the same problem with files time ago. I solved it using InputStream ,
BufferedInputStream and flushing. For instance:
| FileOutputStream fw = ...whatever...
| String filename = ...whatever...
| InputStream in = null;
| int bytesRead;
| try {
| in = new
Yeah, passing a long value works ok and solves the problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4119956#4119956
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4119956
hello,
I have a seam-gened app, so its port is 8080.
I want to use a different port to access the application,for instance 6000,
but I want the web-console and jmx-console to go on being accessed by means of
8080.
I have tried changing server.xml this way:
| Connector port=6000
hello,
I have a seam-gened app, so its port is 8080.
I want to use a different port to access the application,for instance 6000,
but I want the web-console and jmx-console to go on being accessed by means of
8080.
I have tried changing server.xml this way:
| Connector port=6000
hello,
I have a seam-gened app, so its port is 8080.
I want to use a different port to access the application,for instance 6000, but
I want the web-console and jmx-console to go on being accessed by means of 8080.
I have tried changing server.xml this way:
|
| Connector port=6000
ok, sorry!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4117875#4117875
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4117875
___
jboss-user mailing list
did you find a solution? the same happens to me.
When I press F5 the query does not refresh porperly.
thanks you!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113724#4113724
Reply to the post :
Hi, did you find any solution to this problem? the same is hapenning to me!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4111985#4111985
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111985
By the way, in my case I am not using a s:button but a s:link.
| s:link
view=/RstInstrumentValuationExList.xhtml
| id=rstInstrumentValuation2
|
hi,
in a form I want to validate that the code asigned in a field is one that
already exists.
For instance, IÃÂôve a field for currencies. I have a table for them, and
I want to check that the currency filled is already on the database to avoid
foreign keys problems.
IÃÂôve found 2
ok, I´m trying it with JSF validators.
I´ve found a problem with them, ValidatorException expects a
javax.faces.application.FacesMessage, and I´m using
org.jboss.seam.core.FacesMessages to access to my message_en.properties.
is there a good way to tackle this?
thanks!
View the original post
hi,
in a xhtml, accessing to a messages_en.properties is easy, just by using
messages component. for instance:
| #{messages['org.jboss.seam.ProcessNotFound']}
|
Now, I want to acces to that from a java class. For instance:
| String message1 = org.jboss.seam.ProcessNotFound;
| //look
hi,
With a seam-gened app, whenever you create something it displays a facesmessage
with text Successfully created
I do not want it to be displayed in any case. I have read that to prevent a
seam-gened message to be displayed you just have to assign an empty value in
the language properties
Hi,
I wonder if there is an EL expression for accessing a set?
For instance, Iôve this objects:
| public class AssetType implements java.io.Serializable {
|
| private long idAsset;
| private String type;
|
| private SetInstrument instruments = new
hi,
I wonder if there is a special syntax for defining queries with outer joins in
seam.
I am trying this query defined in my components.xml file
| framework:entity-query name=innerJoinQueryList
| ejbql=select instruFund, instru, cash
|
thanks for the idea!
Error selecting object doesn´t appear anymore, but now it´s turn for this one:
value is required (javax.faces.component.UIInput.REQUIRED)
This is the code I´ve added: (following your sample)
In RstReportHome.java
|
| private Firm specialFirm;
|
| public Firm
thank you! that´s perfect!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4102111#4102111
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102111
___
jboss-user mailing list
hi,
In a form I´ve a h:selectOneMenu which is filled according to the values of a
List.
| s:decorate id=firmCodeDecoration
template=layout/edit.xhtml
| ui:define name=label#{messages['Firm']}/ui:define
| h:selectOneMenu
hi,
In a edit form I have a button (s:button, I don´t want to submit). When I press
it I invoke a java method. In that method I want to access to the bean related
to the conversation to check some values. Is that possible?
|
| if(getConversation()!= null)
| { //Aqui
thank you, but I want to access to the same bean. I´ll explain myself a bit
further:
I´ve a form to create a new POJO. I´m using flush-mode=manual in the
.page.xml, and while filling the info in the wire or whatever method of the
pojoHome I´ve no way of accessing to the info filled up to that
Hi,
In a form I´m using s:selectItems to get the values that are to be shown by
means of a selectOneRadio.
This is the code:
| s:decorate id=varMethodologyDecorationSelect
template=layout/edit.xhtml
| ui:define
name=label#{messages['RstReport.rstMethodology']}/ui:define
hi,
I´ve a seam-gened form with the tipical fields that use the edit.xhtml template.
For instance
|
| s:decorate id=benchmarkDesDecoration
template=layout/edit.xhtml
| ui:define
name=label#{messages['CfgBenchmark']}/ui:define
|
I don´t want to submit in this case, so s:button has been the solution
(unforgettable mistake!)
thank you
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4100315#4100315
Reply to the post :
hi,
Terry I´m trying to pass empty Id param, to check if it solves the problem I
explained in the last post.
My pojo id param is rstReportCode.
I´m trying with this 3 ways and no one works ;-((
| rich:menuItem value=#{messages['New']} F param
Um, I don´t see where do yo use Contexts.removeFromAllContexts in that persist
method. I thought you used it in the persist, update and remove.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099129#4099129
Reply to the post :
thank you Pete, Is that compatible with seam 1.2.1? That´s the version I´m
using.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099186#4099186
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099186
Sorry I wrote it right away, and then I realised yo hav just said that!!! I´ll
prepare a post with more details and code.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099202#4099202
Reply to the post :
hello again,
Terry, Pete and whoever.., this is the problem I´m facing:
I´ve created an app by means of seam-gen without EJB3 (seam version is 1.2.1)
Let´s call the table RstReport, the following steps work fine:
- creating new data (RstReportEdit.xhtml and RstReportEdit.page)
- details of a new
hi, I´ve found a problem with what I´ve described before.
My RstReport has some attributes with are other objects. With them the edit
doesn´t work.
This is the object:
| @Entity
| @Table(name = RST_REPORT, catalog = prisk)
| public class RstReport implements java.io.Serializable {
|
good job !! congratulations!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099322#4099322
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099322
___
jboss-user mailing list
I tried in the wire after checking a param, but it doesn´t work as good as I
thought. What string do you return in the override persist, remove and update
methods?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4098882#4098882
Reply to the post :
Finally I´ve managed to work it properly with Contexts.removeFromAllContexts.
Thank you Terry and Nick.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097781#4097781
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097781
Where should Contexts.removeFromAllContexts be used?
I´ve a clean seam-gened app. No scopes or annotations added up to now. I´ve
added some data in the database. If I go the the list of a POJO and view the
details they are showed. But if after that I want to create a new register of
that POJO
Thank you, but it doesn´t work (I´ve created a new method wich is invoked from
the button. The method after persisting executes
Contexts.removeFromAllContexts..)
I´ll start a new thread with this issue in the forum with more details. Thank
you anyway!!
By the way, could you provide an example
thank you very much Terry.
I´m not passing any parameter to the page, I´m just invoking this way:
rich:menuItem value=#{messages['New']} action=/RstReportEdit.xhtml/
And in teh Info.page,xml fiel
there is by default:
I´ve changed it to:
and it doesn´t work either. ;-(
View the
Hello,
I´ve created an app by means of seam-gen without EJB3.
I haven´t added anything to the java or the view (xhtml and .page.xml) files up
to now.
Let´s call the table Info, the following steps work fine:
- creating new data (InfoEdit.xhtml and InfoEdit.page)
- details of a new Info
thank you very much! getInstance was what I needed and that example is a really
useful one for this!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4083308#4083308
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083308
Hello,
by means of seam-gen I have a POJO with an id attribute. The id is in fact
another POJO. All is ok according to the database.
I´ve defined a query in componentes.xml. It works properly:
| framework:entity-query name=POJOView
| ejbql=select pojo from
Hello,
I have problems trying to use a query from a servlet.
I´ve defined the following query in componentes.xml
| framework:entity-query name=QueryJMP
| ejbql=select jmp from Jmp jmp
| /framework:entity-query
On the other hand I´ve
Thank you for your assistance. All works fine now. I do appreciate the help of
this forum.
Pete I´ve read the manual but the first time you´re tackling a new technology
it´s difficult to remember and assimilate all you´ve read and tried. Hope my
asking this question to this forum hasn´t
Thank you, but the same error keeps on happenning
14:31:45,765 ERROR [DebugPageHandler] redirecting to debug page
org.jboss.seam.RequiredException: In attribute requires non-null value:
rstReportHome.repTemp
The code is now:
| @Name(rstReportHome)
| public class RstReportHome extends
Thank you Pete, but what do you mean with RTM?
I´ve tried with this:
@In RstReportTemplate repTemp;
and then in the wire method... repTemp = new RstReportTemplate();
| repTemp.processTemplate();
This way I have this error:
11:47:59,484 ERROR [DebugPageHandler] redirecting to debug
hello,
This issue is somehow strange, so I provide you with the related code to make
my explanation clear.
I´ve defined this entity-query in my components.xml file.
framework:entity-query name=RstReportTemplate2
| ejbql=select rstReport from RstReport
rstReport
hello,
starting JBoss 4.0.5 I have the following error:
10:45:49,640 WARN [ServiceController] Problem creating service
jboss.jca:service=ConnectionFactoryDeployer
java.lang.ClassFormatError: Unknown constant tag 114 in class file
org/apache/xalan/templates/ElemExsltFunction
¿any idea? thanks in
hello,
starting JBoss 4.0.5 I have the following error:
10:45:49,640 WARN [ServiceController] Problem creating service
jboss.jca:service=ConnectionFactoryDeployer
java.lang.ClassFormatError: Unknown constant tag 114 in class file
org/apache/xalan/templates/ElemExsltFunction
¿any idea? thanks
hello,
I´ve found the solution I was looking for. I had removed the ds.xml file from
my deploy directory. In that file was defined the datasource that
jboss.jca:service=DataSourceBinding was expecting. After restarting with this
file all have worked out succesfully.
regards!
View the original
hello,
I´ve found the solution I was looking for. I had removed the ds.xml file from
my deploy directory. In that file was defined the datasource that
jboss.jca:service=DataSourceBinding was expecting. After restarting with this
file all have worked out succesfully.
regards!
View the original
thank you! that was what I was looking for!
As for the queries you´re right, as long as they have different restrictions
they aren´t the same. It was just an idea.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4070520#4070520
Reply to the post :
thank you! That´s perfect!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4070522#4070522
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070522
___
jboss-user mailing list
hi!
setting the order of a query result by configuration may be done this way:
framework:entity-query name=jmpRstReport4
ejbql=select rstReport from RstReport rstReport
order=code desc/
I wonder if there is a way of doing the same by extension.
I have a POJO DAO this way:
hi!
I have some queries defined in components.xml. I use them from my .xhtml files
by means of #{queryName.resultlist} and they are really suitable to fill GUI
tables.
Now I need to use some of them from a POJO. is there a way to reuse a query in
a POJO? I want to check in a business logic POJO
hello,
I´m testing files generated by means of seam-gen. When I run the seam app there
is this error:
An Error Occurred:
/RstReportList.xhtml @39,62 rendered=#{empty myPOJO.resultList}: Exception
getting value of property resultList of base of type : action.package.MyPOJO
_$$_javassist_11
In
I´ve realised that seam-gen hasn´t created a hibernate.cfg.xml. I´ve done it
but the same error goes on. I´m not sure if that hibernate.cfg file is being
readed.
I have started with a database, and with seam-gen I´ve generated the pojos and
views. The error happens when invoking the view
hi,
I´ve a database and I´ve generated persistence POJOs by means of hibernate
tools. I would like to develop a GUI with forms that will populate the already
generated POJOs. Then with hibernate I will save session information in the
database. I don´t want to use EJBs, hibernate sessionfactory
hi,
I´ve a database and I´ve generated persistence POJOs by means of hibernate
tools. I would like to develop a GUI with forms that will populate the already
generated POJOs. Then with hibernate I will save session information in the
database. I don´t want to use EJBs, hibernate sessionfactory
hi,
I´ve a database and I´ve generated persistence POJOs by means of hibernate
tools. I would like to develop a GUI with forms that will populate the already
generated POJOs. Then with hibernate I will save session information in the
database. I don´t want to use EJBs, hibernate sessionfactory
hi,
I´ve a database and I´ve generated persistence POJOs by means of hibernate
tools. I would like to develop a GUI with forms that will populate the already
generated POJOs. Then with hibernate I will save session information in the
database. I don´t want to use EJBs, hibernate sessionfactory
70 matches
Mail list logo