I wonder if there is a forum for Drools questions.
thank you
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203366#4203366
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4156042#4156042
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156
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
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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
thank you Vicky!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136315#4136315
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136315
___
jboss-user mailing list
jboss-user@lis
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:
org.jboss.resource.ada
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 f
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 wo
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 authen
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=bb&op=viewtopic&p=4122937#4122937
Reply to the post :
http://www.jboss.com/index.ht
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 time
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
if
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 BufferedI
Yeah, passing a long value works ok and solves the problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119956#4119956
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119956
__
ok, sorry!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117875#4117875
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117875
___
jboss-user mailing list
jboss-user@lists.jbo
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:
|
|
|
but as I supposed not o
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:
|
|
but as I supposed not only
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:
|
|
| but as I supposed not o
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=bb&op=viewtopic&p=4113724#4113724
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply
By the way, in my case I am not using a s:button but a s:link.
|
|
|
|
|
|
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=bb&op=viewtopic&p=4111985#4111985
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111985
___
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
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 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 sol
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 fi
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
|
|
|
I am using this query from a xhtml file (called RstReportInstruValuList.xhtml )
this way
|
|
|
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 Set instruments = new HashSet(0);
| ...
|
| p
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 g
hi,
In a form I´ve a h:selectOneMenu which is filled according to the values of a
List.
|
| #{messages['Firm']}
|
|
|
|
|
thank you! that´s perfect!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102111#4102111
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102111
___
jboss-user mailing list
jbo
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:
|
| #{messages['RstReport.rstMethodology']}
|
|
|
|
|
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 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 me
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=bb&op=viewtopic&p=4100315#4100315
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
hi,
I´ve a seam-gened form with the tipical fields that use the edit.xhtml template.
For instance
|
|
| #{messages['CfgBenchmark']}
|
|
|
|
|
When I pre
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 ;-((
|
|
|
good job !! congratulations!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099322#4099322
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099322
___
jboss-user mailing list
jb
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 {
|
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 Rs
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=bb&op=viewtopic&p=4099202#4099202
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting
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=bb&op=viewtopic&p=4099186#4099186
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099186
___
Thank you very much, now I manage to clean the context. After creating a new
register, if just after that, I create a new one, the edit window doesn´t
display anymore the data of the previous crerated one and the new one is
created withouth overriding the info of the former.
One more question,
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=bb&op=viewtopic&p=4099129#4099129
Reply to the post :
http://www.jboss.com/index.html
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=bb&op=viewtopic&p=4098882#4098882
Reply to the post :
http://www
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=bb&op=viewtopic&p=4097781#4097781
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097781
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 displayed
thank you very much Terry.
I´m not passing any parameter to the page, I´m just invoking this way:
And in teh Info.page,xml fiel
there is by default:
I´ve changed it to:
and it doesn´t work either. ;-(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p
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 of
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 th
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:
|
|
| pojo.atb1 = #{object.atb1}
|
|
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=bb&op=viewtopic&p=4083308#4083308
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083308
_
Hello,
I have problems trying to use a query from a servlet.
I´ve defined the following query in componentes.xml
|
|
On the other hand I´ve defined this servlet in my web.xml
|
| LogicServlet
| mypackage.LogicServlet
|
|
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 bothered
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 En
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.
|
If I use it directly from a view xhtml file it works ok. For example
|
|
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 p
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 p
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 in
thank you! That´s perfect!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070522#4070522
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070522
___
jboss-user mailing list
jbo
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=bb&op=viewtopic&p=4070520#4070520
Reply to the post :
http://www.j
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 POJ
hi!
setting the order of a query result by configuration may be done this way:
I wonder if there is a way of doing the same by extension.
I have a POJO DAO this way:
@Name("rstReportList")
private static final String[] RESTRICTIONS = {
"lower(rstReport.rstStatus.description) li
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 becau
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
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 w
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 w
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 w
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 w
71 matches
Mail list logo