[jboss-user] [Installation, Configuration DEPLOYMENT] - Trying to run Jboss 4.2.2.GA on Fedora Core 6

2008-04-22 Thread spambob
Hello you all, Would you mind giving me some tips for making jboss to run? Here's the log: | = | | JBoss Bootstrap Environment | | JBOSS_HOME: /usr/jboss/jboss-4.2.2.GA | | JAVA:

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Trying to run Jboss 4.2.2.GA on Fedora Core 6

2008-04-22 Thread spambob
These are the lines inside /etc/hosts | 127.0.0.1 localhost cityspace.com | 176.17.*.* cityspace.com | Any clues? Thanks ^^ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4145921#4145921 Reply to the post :

[jboss-user] [JBoss Portal] - dashboard theme configuration

2008-02-20 Thread spambob
Was wondering where I can find the file that specify the theme for dashboard (Configure dashboard) on login? thx in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4130808#4130808 Reply to the post :

[jboss-user] [JBoss Tools (users)] - Unable to create Seam runtime

2007-12-18 Thread spambob
Hello, could you please enlighten me how I am supposed to create a new Seam runtime? It always complains Home folder points to a location that does not look like seam home folder ('jboss-seam.jar' is missing) while this clearly is not the case. And yes, i double triple checked the path! How

[jboss-user] [JBoss Tools (users)] - Re: Unable to create Seam runtime

2007-12-18 Thread spambob
nvm - for some mysterious reason it decided to work now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113737#4113737 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113737 ___

[jboss-user] [JBoss Tools (users)] - Update site ...

2007-12-10 Thread spambob
Hello, I just read that JBoss Developer Studio is released. As far as I understood it - please correct me if I''m wrong - this is a preconfigured bundle containing Eclipse, the former Exadel Studio and what you changed in it and much more. Further it was my understanding that the important

[jboss-user] [Installation, Configuration DEPLOYMENT] - SSL AES-256 Encryption

2007-08-02 Thread spambob
Hello, I've been searching for 4 days without finding anything regarding this subject so please give me a hint how to achieve this. I'm using JBoss AS 4.2.1.GA and SSL is configured correctly and working fine BUT only using AES-128 as encryption algorithm. So please tell me how I have to

[jboss-user] [Security JAAS/JBoss] - Re: server.policy question

2007-07-03 Thread spambob
Instead of confusing J2EE security with the Java Security Manager (as anil did), or making up completely nonsense comments(like scott did), maybe JBoss should write a sensible server.policy that could be used in the real world where you want to use the Java 2 Security Model to restrict things

[jboss-user] [JBoss Seam] - Re: How to gather Hibernate Statistic when using seam manage

2007-04-26 Thread spambob
I might be wrong but you are probably able to cast the injected entitymanager to org.hibernate.ejb.HibernateEntityManager, and then do castedEntityManager.getSession().getSessionFactory() / getStatistics() View the original post :

[jboss-user] [JBoss Seam] - Re: Custom JSF Component escaping html

2007-04-17 Thread spambob
Sorry, I screwed up! I want: anonymous wrote : #x6c; #x65; #x2e; #x63; #111; #109; but I get: anonymous wrote : amp;#x6c;amp;#x65;amp;#x2e;amp;#x63;amp;#111;amp;#109; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038162#4038162 Reply to the post :

[jboss-user] [JBoss Seam] - Custom JSF Component escaping html

2007-04-17 Thread spambob
Hi, this is more a JSF question but perhaps you could help me out with that too ;) I want to write an email obfuscator and therefore need a custom JSF tag that outputs html entities. So I derived the tag class from UIComponentBase and write the output in encodeBegin. The problem is that my

[jboss-user] [JBoss Seam] - Re: Custom JSF Component escaping html

2007-04-17 Thread spambob
Thanks a lot for your help Pete, now it is working as intended! Gimme a few days to get it finished then I will post my stuff in JIRA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038184#4038184 Reply to the post :

[jboss-user] [JBoss Seam] - Page Context Security

2007-04-13 Thread spambob
Regarding page context the reference documentation says: anonymous wrote : The state is actually serialized to the client, so this construct is extremely robust with respect to multi-window operation and the back button.(at

[jboss-user] [JBoss Seam] - Re: Page Context Security

2007-04-13 Thread spambob
Thanks Peter! Perhaps this could be clarified a bit more in the docs - or my english fooled me once again :D View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037253#4037253 Reply to the post :

[jboss-user] [JBoss Seam] - Re: captcha

2007-04-11 Thread spambob
[EMAIL PROTECTED] wrote : Yep, the JCaptcha default engine needs a graphics display buffer. This is not good and won't run on servers without displays. In fact, I think integrating JCaptcha wasn't the best idea we ever had, it's slow, has unusable default output (I really can't read it), and

[jboss-user] [JBoss Seam] - Re: auto tag completion in eclipse?

2007-04-10 Thread spambob
I use Eclipse WTP without anything else (Seam related) and have working content assist for JSF, Seam, ... tags. If I remember right everything necessary to get it working was to associate the file extensions you use with the JSP editor (I use .xhtml which was only associated with the HTML

[jboss-user] [JBoss Seam] - Re: Help required with eclipse setup

2007-04-10 Thread spambob
AFAIK you should use import existing project to get a seam-gen generated project into eclipse not new, ... Just follow the instructions described in chapter 2 of the refdoc! I just tried it and it works. View the original post :

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-04-08 Thread spambob
[EMAIL PROTECTED] wrote : ...we are currently working on a better concept that involves entry points. Not sure yet how that will exactly look like in code and pages.xml... Do you know if this will make it into 1.3 (which hopefully will be availabe a short time after AS 4.2GA)? Or if not can you

[jboss-user] [JBoss Seam] - Re: Minimal JBoss configuration for seam

2007-04-08 Thread spambob
[EMAIL PROTECTED] wrote : ...15 seconds from cache cold start. Redeploy takes about 5 seconds. So if you follow the getting started guidelines, you should see some other numbers already... Whats the spec of this machine from hell you use? I use an Core 2 Duo (Merom) with 2,13 GHz 1GB Ram and

[jboss-user] [JBoss Seam] - Re: Multiple Domain Quesiton

2007-04-07 Thread spambob
Lolz, you misunderstood me! I don't have the intention to build a security model relying on the http referrer or similar stuff instead of seams security model. I just want to send different responses for security exceptions depending on the view id that is accessed. E.g. I normally would

[jboss-user] [JBoss Seam] - Re: Multiple Domain Quesiton

2007-04-06 Thread spambob
rjstanford wrote : ...If they visit http://theirsite.com/admin;) though, even though to the app its a legitimate endpoint, I wish to present them with a 404 error since its not known to their URL... I was thinking about how to do this best too for some time and I really think this is useful,

[jboss-user] [JBoss Seam] - Re: p:barCode seamPDF + iText barcodes

2007-04-06 Thread spambob
I never used iText Barcodes but if you can convert your barcode to com.lowagie.text.Element you should be able to show it with p:element (have a look at http://www.jboss.com/index.html?module=bbop=viewtopict=105900) View the original post :

[jboss-user] [JBoss Seam] - Re: Multiple Domain Quesiton

2007-04-06 Thread spambob
Thank you very much for your response Peter! In fact http://jira.jboss.com/jira/browse/JBSEAM-769 seems to be exactly what I want but unfortunately I'm not this deep into Seams inner mechanics (in fact I don't have the slightest bit of an idea how this is implemented internally) - and I'm

[jboss-user] [JBoss Seam] - Re: Hot deployment of JSF file at development time?

2007-04-01 Thread spambob
If you are looking for a small eclipse plugin give http://andrei.gmxhome.de/filesync/index.html a try. It can keep every folder inside of your workspace in sync with some other folder somewhere else. Downside is that you have to manually restart the AS (touch application.xml) if you change

[jboss-user] [JBoss Seam] - Re: Planning to remove @Begin(id=..)? Help Needed!

2007-03-27 Thread spambob
+1 to let @Begin(id=..) stay - I find it really useful! Further I would like to ask how one is supposed to set a custom conversation id within pages.xml or what Shane meant in jira with the new natural conversation ids feature because I haven't found an example in the docs or examples -

[jboss-user] [JBoss Seam] - Error in question regarding docs

2007-03-27 Thread spambob
1. I think the copy paste devil got you and the last two lines in chapter 7.1.1 - the seam navigation rules - should state: /navigation | /page 2. This is probably more a problem with my great english skillz ;): The last sentence in chapter 2.7 states: anonymous wrote : However, seam-gen

[jboss-user] [JBoss Seam] - Re: Linux install

2007-03-08 Thread spambob
This should help you: http://docs.jboss.com/jbossas/guides/installguide/r1/en/html_single/#automated_install In short: you either install locally with the GUI and then copy it over, or use the installation configuration script generated with said GUI installer to duplicate an installation or

[jboss-user] [JBoss Seam] - Eclipse, JBoss exploded deployment

2007-03-07 Thread spambob
Hello, I'm spent the whole day trying to figure out how to convince the Exadel Studio to deploy ear, war, ... to my JBoss AS in an _exploded_ format (just like seam-gens ant script does). I don't care if I use Exadel, JBoss IDE or just plain Eclipse with WTP but I would like to use Eclipse

[jboss-user] [JBoss Seam] - Re: Eclipse, JBoss exploded deployment

2007-03-07 Thread spambob
Thanks to symbolic links I have it working now but I have one more question: According to http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployTipsAndBuildSampleScripts (the Exploded EAR, JAR, SAR, WAR Deployment (Option 1) approach) it would work if I put my .ear and my .war in the _same_ directory

[jboss-user] [JBoss Seam] - Re: How can I pass parameters to action methods

2007-03-06 Thread spambob
Sorry to jump in here but I actually had the same problem! [EMAIL PROTECTED] wrote : ...And the last and best way is to put it into the conversation context in the first request, name the context variable in the action method as a parameter, and let Seam look it up from the conversation

[jboss-user] [JBoss Seam] - Re: How can I pass parameters to action methods

2007-03-06 Thread spambob
Ahh, I see. Thank you very much! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025633#4025633 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025633 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Redirect to HTTPS

2007-03-01 Thread spambob
Hi Shane, while I'm certainly happy that http-https switching functionality is available (that's what I've been asking for) I was wondering if you implemented any security precautions because by switching from https back to http you open a security hole if you rely only on the jsessionid

[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?

2007-03-01 Thread spambob
mjek2 wrote : ... I can only partially agree with it: sure, excel is proprietary, but it's a de-facto standard, whether we like it or not (and yes, I use OpenOffice too ;). And AFAIK OpenDocument file format is rather complex (and JExcel is rather simple and hence can be integrated faster). But

[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?

2007-02-28 Thread spambob
While this certainly sounds interesting I was wondering why you guys want to use MS Excel instead of OpenDocument file format (http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office#technical) ? Sure MS Office is widely spread but ODF is an international industry standard that is

[jboss-user] [JBoss Seam] - refdoc ant target is broken in CVS

2007-02-18 Thread spambob
Hi guys, the refdoc ant target is broken in current CVS! The build javadoc targets work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4018519#4018519 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018519

[jboss-user] [JBoss Seam] - Question regarding Identity.hasPermission(...)

2007-02-16 Thread spambob
I'm probably missing the obvious but according to the docs the check for s:hasPermission(...) is implemented in org.jboss.seam.security.Identity.hasPermission(...) but this method always returns false (CVS from today). So isn't this stuff implemented yet (I thought it was but I haven't used it

[jboss-user] [JBoss Seam] - Re: Question regarding Identity.hasPermission(...)

2007-02-16 Thread spambob
As I said: I'm missing the obvious - thanks for enlightening me :D However, I have 3 more questions (regarding the security stuff in the seamspace example): 1. the security-rules.drl requires - i.e. - a Member in the working memory: is it right that those objects are inserted into the working

[jboss-user] [JBoss Seam] - Re: Question regarding Identity.hasPermission(...)

2007-02-16 Thread spambob
Having played a bit with the security API I assume the answer on 1. 2. is Yes - please correct me if I'm wrong. Regarding 3.: anonymous wrote : Why do you add activation-group permissions in the security-rules.drl file (the rules should be mutually exclusive because there is just one

[jboss-user] [JBoss Seam] - Re: Question about conversations

2007-02-16 Thread spambob
You can either end the conversation if you like for or you can later come back to this conversation. Have a look at the conversation switcher menu as described in the docs (6.7.3 or http://docs.jboss.com/seam/1.1.6.GA/reference/en/html/conversations.html#d0e4544). View the original post :

[jboss-user] [JBoss Seam] - Re: Question regarding Identity.hasPermission(...)

2007-02-16 Thread spambob
Thank you Shane for clearing this up! I think I get it now :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017940#4017940 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017940

[jboss-user] [JBoss Seam] - Re: iText (PDF) support in Seam

2007-02-15 Thread spambob
Hi Norman, I just wanted to ask if there's any progress on the control where how the text is placed ? I.e. 5 inch from above, 3 inch from the left in 12 point verdana with a max with of 6 inch - like I requested on the previous side (you probably get the idea). View the original post :

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread spambob
Sorry to hijack this because my problem isn't related to the security stuff but more to redirect.captureCurrentView redirect.returnToCapturedView. What I'm really missing is the possiblity to start a new pageflow within an existing one and to return upon the end of the inner one to the page

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread spambob
I'm not sure if I understood you right (may be my english ;)). I don't consider a pageflow a transaction but more something like a workflow / unit of work - therefore stuff is probably only saved at the end of the pageflow when all necessary input is entered (at least this is how I used it

[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

2007-02-12 Thread spambob
^ Reading the above again I wrote I down wrong: actually I consider a pageflow a transaction (with a manual flush mode so stuff is saved at the end of the pageflow / transaction). What I mean is that I would expect to get the transaction from the inner pageflow merged into the transaction of

[jboss-user] [JBoss Seam] - Re: Caching pages in browser

2007-02-07 Thread spambob
With s:cache you cache part of pages serverside - i.e. a dynamic part of a page that changes from time to time but is expensive to compute. With meta tags in html headers you cache whole pages clientside - you can tell the client to ask everytime if theres a newer version available, to use the

[jboss-user] [JBoss Seam] - Question regarding application scoped persistence context

2007-02-07 Thread spambob
Hello, I would like to know how expensive an extended application scoped persistence context is. I.e. I have a menu consisting out of 1000+ elements that I need for every request. Therefore I would like to cache it - naturally in the application scope. Now, instead of reading the whole menu

[jboss-user] [JBoss Seam] - Re: iText (PDF) support in Seam

2007-01-24 Thread spambob
[EMAIL PROTECTED] wrote : Just to make sure I am hearing you correctly - you want to take an existing PDF document and define precise rectangles over it in which seam should generate a page overlay, essentially filling in the document? Exactly! This way I could create a PDF Template with

[jboss-user] [JBoss Seam] - Re: iText (PDF) support in Seam

2007-01-23 Thread spambob
Hello Norman, congratulation on your PDF library! While I partially agree that PDF Forms are nice I run in some problems with them (while using iText): 1. One isn't able to format the label the inputfield 2. The input is always displayed in some typewriter font (Please correct me if I'm wrong

[jboss-user] [JBoss Seam] - Re: Global navigation rules in pages.xml

2007-01-19 Thread spambob
Is this also supposed to work when I refer to global navigation rules from pageflow .jpdl.xml files? I.e. I have in a jpdl.xml file: page name=home view-id=home redirect=true | end-conversation/ | /page And in my pages.xml file: page view-id=* | navigation | rule

[jboss-user] [JBoss Seam] - Re: Recursive facelets

2007-01-15 Thread spambob
There's a feature request mentioning recursive use of compositional components. Further it asks for multiple bodies and overwriteable default content in compositional components. See https://facelets.dev.java.net/issues/show_bug.cgi?id=202. Vote for it so it get's done quickly ;) View the

[jboss-user] [JBoss Seam] - Re: ajax4jsf parameters in EL methods

2007-01-14 Thread spambob
Is there any news on this subject? Or is there any ETA? I would really love to use the EL with parameters because without it I have to write methods x times just to deal with the missing parameter :( (I don't want to do this since I know how nice it can be with parameters ;)). View the

[jboss-user] [JBoss Seam] - Re: Any experience with SeamFaceletViewHandler?

2006-12-26 Thread spambob
Without knowing more about your configuration files I can't help you except saying they might be flawed (surprise ?!) - i.e. the org.jboss.seam.ui.facelet.SeamFaceletViewHandler is configured in my web.xml _not_ in faces-config.xml. If I were you I would use seam-gen (as described at

[jboss-user] [JBoss Seam] - Re: pageflow step description problem

2006-12-24 Thread spambob
Now it works again. Thanks a lot for the fix Norman! PS: Merry Xmas ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3996093#3996093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996093

[jboss-user] [JBoss Seam] - Re: pageflow step description problem

2006-12-23 Thread spambob
Could one of you please enlighten me if this is a bug or if the way to set the description was changed! Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3996055#3996055 Reply to the post :

[jboss-user] [JBoss Seam] - pageflow step description problem

2006-12-22 Thread spambob
The EL in the pageflow description list isn't working! I use the latest CVS version and my page is configured like this: page name=edit view-id=/editUsecase.xhtml redirect=true no-conversation-view-id=/home.xhtml | descriptionEdit Usecase: #{usecase.name}/description | transition

[jboss-user] [JBoss Seam] - Re: EL enhancement of parameters working?

2006-12-22 Thread spambob
I was wondering myself too some days ago why one can't use actionListeners with s:link s:button. Is there a reason for this? If no could it please be added?! ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3995929#3995929 Reply to the post :

[jboss-user] [JBoss Seam] - ajax4jsf parameters in EL methods

2006-12-19 Thread spambob
Hello, I get a parsing error when I try to use EL methods with paramters in ajax4jsf tags. I.e. this works: s:button value=Remove Precondition action=#{usecasesBean.removeCondition(usecase.preconditions)}/ but when i try: a4j:commandButton value=Remove Precondition

[jboss-user] [JBoss Seam] - Re: Request for feedback

2006-12-17 Thread spambob
I prefer it the new way - it's less verbose without getting cryptic gives me more possibilities! Nice one :) Regarding learning / ease of use IMHO the best way is to provide *up to date* dtds or xsds so one can use content assist in an IDE. This together with the docs / examples would

[jboss-user] [JBoss Seam] - Re: Question regarding EL method parameters

2006-12-17 Thread spambob
^ I meant h:commandButton _not_ s:commandLink! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3994560#3994560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3994560 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Question regarding EL method parameters

2006-12-17 Thread spambob
The brain I am I forgot f:param. What I want can be achieved with something like: c:forEach items=#{usecase.preconditions} var=condition varStatus=status | li | h:inputTextarea value=#{condition.description}/ | s:button value=Remove Precondition

[jboss-user] [JBoss Seam] - Re: if no-conversation-view-id redirect bug / question

2006-12-16 Thread spambob
Hello Gavin, I just saw that you introduced 'conversation-required' for pages.xml - thanks for that! But how can I use that in pageflow.jpdl.xml files? I'm asking because the CVS booking demo has only pages.xml examples and there's no similar attribute in the pageflow.Page class. View the

[jboss-user] [JBoss Seam] - Re: if no-conversation-view-id redirect bug / question

2006-12-16 Thread spambob
Ah, I see - i had a thinking error: thought it's using my .jpdl.xml file, but why should it if there's no cid. Now it's working as expected - thanks again for the change :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=399#399 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Referencing global view-id variables from .jpdl.xml

2006-12-15 Thread spambob
Hey Gavin, thank you very much for this change! I really appreciate this :) Just allow me 2 more questions: 1. How am I supposed to extend this / bind my own class in seam? What i tried was: I copied the whole org.jboss.seam.core.Pageflow class, changed the package declaration and set the

[jboss-user] [JBoss Seam] - Re: Referencing global view-id variables from .jpdl.xml

2006-12-15 Thread spambob
Thanks Gavin, now it's working like a charm :) In case anyone is interested my solution is the following: package com.example.usecases.web; | | import java.io.File; | import java.util.HashMap; | import java.util.Iterator; | | import javax.faces.context.FacesContext; | import

[jboss-user] [JBoss Seam] - Re: Seam Maven2

2006-12-15 Thread spambob
mzeijen wrote : The first thing I need is a complete dependency list of all the libraries including the libraries that are packed in the thirdparty-all.jar. Per library I need the version that are used. I would be really interested in those dependencies too, especially that stuff in

[jboss-user] [JBoss Seam] - Re: my jsf pages can not find any seam beans???

2006-12-15 Thread spambob
It has to be in the jar that contains your components. Have a look at http://docs.jboss.com/seam/1.1GA/reference/en/html/configuration.html#d0e6240 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3994330#3994330 Reply to the post :

[jboss-user] [JBoss Seam] - log4j configuration with JBoss AS Seam

2006-12-15 Thread spambob
Hello, how can I configure log4j (the logging level, the appenders, ...)? I would like to have one configuration file per application and log to one file per application in /server/{server-configuration}/log/{applicationname}.log. Last but not least i would like to use log4j.xml, not

[jboss-user] [JBoss Seam] - Re: log4j configuration with JBoss AS Seam

2006-12-15 Thread spambob
Thanks for your response. All i did was adding category name=com.example | priority value=DEBUG / | /category to /server/{server-configuration}/conf/log4j.xml but JBoss seems to ignore this entry (code is executed but the logging statement is omitted because the logging level is set to

[jboss-user] [JBoss Seam] - Re: Referencing global view-id variables from .jpdl.xml

2006-12-14 Thread spambob
I'm sorry to bring this up again but I spent the last 10 hours trying to figure out how to do this with .xsd xml schemes with the result that I'm utterly sick tired of this xml crap but nothing else. As far as I understood it external entities work only if one uses dtds not with xsds?! All I

[jboss-user] [JBoss Seam] - Re: Referencing global view-id variables from .jpdl.xml

2006-12-14 Thread spambob
Hey Norman, thanks a lot for your help. But IMHO this xml solution isn't really good because: 1. it is not possible to have more than one entity per file (please correct me if I'm wrong on that), therefore one would end up with a lot of files just containing '/foo.xhmtl', '/bar.xhtml', ...

[jboss-user] [JBoss Seam] - Re: Seam 1.1 GA, at last!

2006-12-13 Thread spambob
Congrats thanks a lot! The more i use it the more i love it :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3993426#3993426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3993426

[jboss-user] [JBoss Seam] - Referencing global view-id variables from .jpdl.xml

2006-12-13 Thread spambob
Hello, is it somehow possible to declare 'global view-id variables' and reference them in .jpdl.xml files? I.e. one has a 20+ pageflows that all end on the 'home' page. Now, instead of setting the view-id of the end state of every single of these 20 pageflows to '/home.xhtml', one sets the

[jboss-user] [JBoss Seam] - Re: if no-conversation-view-id redirect bug / question

2006-12-13 Thread spambob
I created a JIRA issue here: http://jira.jboss.com/jira/browse/JBSEAM-589. IMO it doesn't matter if one transmits no or a not existing conversation id - the result is the same: no conversation is restored. Further most - if not all - pages in a pageflow rely on conversations (why would one

[jboss-user] [JBoss Seam] - Re: Referencing global view-id variables from .jpdl.xml

2006-12-13 Thread spambob
Hey Gavin, sorry for being so pushy but could you please tell me if this is possible - or if this isn't possible ATM consider implementing this ;) IMHO it would be very useful to have that additional layer of indirection - if one wants / needs it - to manage bigger projects. Thanks a lot in

[jboss-user] [JBoss Seam] - Re: Referencing global view-id variables from .jpdl.xml

2006-12-13 Thread spambob
Thank you for your answer, but I'm not sure if you understood me right. What I want to do is to define some '_virtual_ location', like some logical place in my app - i.e. 'home' to be 'home.xhtml' in navigation.xml. Now i would like to refer to 'home' in my .jpdl.xml files. The advantage is -

[jboss-user] [JBoss Seam] - Re: Referencing global view-id variables from .jpdl.xml

2006-12-13 Thread spambob
Sry, pressed on submit instead of preview. Was that wat you understood? If so could you please give me a hint / link - if you have one at hand - where i can find some information about 'XML external entity definition'. Thanks a lot View the original post :

[jboss-user] [JBoss Seam] - jPDL dtd or xsd description attribute for @Begin

2006-12-08 Thread spambob
Hello, I have a few questions regarding jPDL / jBPM: 1. where can I find a dtd or xsd for jPDL? I was only able to find a xsd describing jBPM (org.jbpm.xml.jpdl-3.1.xsd) but this doesn't help me for pageflows.. 2. Is this one (org.jbpm.xml.jpdl-3.1.xsd) available online too? I'm asking

[jboss-user] [JBoss Seam] - Re: jPDL dtd or xsd description attribute for @Begin

2006-12-08 Thread spambob
Forget 3.! The description is on a per page not on a per pageflow base - therefore such an attribute would be useless - sorry! But I would still love to get an answer to 1. 2. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992352#3992352 Reply to the post

[jboss-user] [JBoss Seam] - How do you keep the overview?

2006-12-06 Thread spambob
How do you guys keep the overview over which #{xyz} is which bean? With a small project it is manageable but a bigger one can be quiet confusing if one has to look at the sources after a few month of absence. IMO this is one of the few things for which xml config files were really useful. So

[jboss-user] [JBoss Seam] - LIE with Seam-managed transactions

2006-12-06 Thread spambob
Hello, I somehow manage to get a LazyInitializationException when I use Seam-managed transactions. What I want to do is retrieve an id from a request, load the usecase with said id and make it available to my jsf page - just like the dvd.xhtml in the dvd store example does for dvds. When I

[jboss-user] [JBoss Seam] - Re: LIE with Seam-managed transactions

2006-12-06 Thread spambob
I got it working by changing @PersistenceContext | private EntityManager em; in @In(create = true) | private EntityManager entityManager; But if used the wrong entitymanager why did it work for @Factory and not with @Out ? View the original post :

[jboss-user] [JBoss Seam] - Re: Injection and disinjection control

2006-11-30 Thread spambob
Could you please elaborate a bit why injection is happening for every method call instead of only 1 time on the 1st call. I'm asking because I thought that configuration with xml or with annotations leads to the same result. Further, if i declare a request scoped bean I expect it to be there

[jboss-user] [JBoss Seam] - Re: Searchengine friendly links

2006-11-25 Thread spambob
Now I don't understand it too - a classic case of 'I don't see the forest cause of all the trees'. Thanks for your clarification patience! EDIT: i just saw normans post while editing mine - so i post my solution, feel free to integrate / modify it: The filterclass: public class

[jboss-user] [JBoss Seam] - Re: Searchengine friendly links

2006-11-25 Thread spambob
The board somehow screwed my code. The line servletRequest.setAttribute(variableNames, request.substring(start, end)); should be servletRequest.setAttribute(variableNames[ i ], request.substring(start, end)); View the original post :

[jboss-user] [JBoss Seam] - Re: Searchengine friendly links

2006-11-24 Thread spambob
Hi Gavin, now I wrote me a little filter which extracts request scoped variables from a URL and forwards to some target page. I.e. from a URL http://www.example.com/products/12345.xhtml; a request variable 'productId' with value '12345' is extracted and the request is forwarded to

[jboss-user] [JBoss Seam] - Re: Searchengine friendly links

2006-11-24 Thread spambob
Thank you for your answer. I'm just not sure if I understood the concept of thread safety in Seam or when exactly stuff is in- outjected. So would a component like this: @Name(productService) | @Scope(STATELESS) | public class ProductServiceBean { | | @In private EntityManager

[jboss-user] [JBoss Seam] - Searchengine friendly links

2006-11-22 Thread spambob
I would like to have URLs that look like static links although they are dynamic links. I.e: something like 'www.example.com/products/12345.html' where 12345 is the product id. That is all requests for '/products/xyz.html' get mapped to '/products/showProduct.seam?productId=xyz'. Normally i

[jboss-user] [JBoss Seam] - Question regarding jBPM and Actor assignment

2006-11-21 Thread spambob
Am I correct by saying that the 'pooledTaskInstanceList' shows all tasks who currently don't have an assigned actor and to which the current actor can be assigned? Further the 'taskInstanceList' and the 'taskInstanceListForType' show all tasks to which the current actor is assigned (the later

[jboss-user] [JBoss Seam] - Re: Question regarding jBPM and Actor assignment

2006-11-21 Thread spambob
Thank you for your answer Gavin. In the pooledTask component there's only a method to assign the current actor to a task ('assignToCurrentActor()'). Therefore: can we please have a 'assignToActor(String actorId)' method in the pooledTask component - i.e. for a supervisor to assign tasks to his

[jboss-user] [JBoss Seam] - Re: Question regarding jBPM and Actor assignment

2006-11-21 Thread spambob
Shame on me I mixed it up (perhaps because it's 5am)! The 2nd part is perfectly clear now, I have to assign myself too for the shipping task. Sorry for wasting your time. But i would really love to get a 'PooledTask.assignToActor(String actorId)' method - IMHO it would be very usefull.

[jboss-user] [JBoss Seam] - Re: Question regarding jBPM and Actor assignment

2006-11-21 Thread spambob
Thank you very much Gavin, much appreciated :) PS: I never thought of the possibility to outject the new actorId. Although I still have to get used to think this way it's just another proof how damn sweet this concept is. View the original post :