[jboss-user] [JBoss Seam] - Re: iText PDF not working with DocumentStore and SeamServlet

2007-11-26 Thread uke
Thanks alot for sharing. This saved a whole bunch of hours for me. When the documentation is wrong, it's always really helpful to find out as soon as possible. Usually, it's the last thing you question when things aren't working. :-) View the original post : http://www.jboss.com/index.html?mod

[jboss-user] [JBoss Seam] - Re: Multiple entities on same page

2007-11-05 Thread uke
In this situation, I'm managing two entities. Does that mean I need to create two separate entityhome, or is there an easy way to have two instances of the same entityhome-class simultaneously? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101765#4101765 Re

[jboss-user] [JBoss Seam] - Multiple entities on same page

2007-11-05 Thread uke
There might be a really simple solution for this, but I haven't found anything on it in the seam reference. What's the preferred way of rendering two or more entities on the same page, using the entity-home-dao? Just having multiple factories in the same dao and using different variables in js

[jboss-user] [JBoss Seam] - Re: Problems when paginating with search criterias

2007-10-31 Thread uke
After a lot of trying around, I've put the search criteria-string into an object, so that I can control the getter and setter for it. With the setter looking like this | this.criteria = new String(criteria.getBytes("ISO-8859-1"), "UTF-8"); | The search works when the criteria is sent as a

[jboss-user] [JBoss Seam] - Re: Problems when paginating with search criterias

2007-10-29 Thread uke
Hi! Thanks for your response. All I've specified is the content-type (as an html meta-tag) in my template, which is set to utf-8. Though now when you mentioned it, I looked through the seam reference again and added this to my components.xml. Although, that didn't make any difference either. S

[jboss-user] [JBoss Seam] - Re: Problems when paginating with search criterias

2007-09-28 Thread uke
This is the code as it looks now. One problem is that the s:links put the searchCriteria as a get-parameter, which messes up some characters. Is it possible to html-encode it in some way? I tried to solve problem no2 by adding a hidden field in the search-form, which sets firstResult to 0, but

[jboss-user] [JBoss Seam] - Problems when paginating with search criterias

2007-09-27 Thread uke
Hi! I've combined the seam reference's pagination and search criteria-examples in the entity-query section, and it's working great. Two problems though: 1. When moving between search pages, letters like åäö in the search field become corrupted. Perhaps this has to do with how they are read from

[jboss-user] [JBoss Seam] - Re: Finding an entity using a [EMAIL PROTECTED] unique identifier

2007-08-22 Thread uke
it works when I reload the page. Thanks uke View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076750#4076750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076750 __

[jboss-user] [JBoss Seam] - Finding an entity using a [EMAIL PROTECTED] unique identifier

2007-08-22 Thread uke
ng works perfectly. So somehow, my solution closes the session that I'm keeping the Employee in. I'm not sure if this is a good solution for this at all, so any help or suggestions would be greatly appreciated. :) /uke View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [JBoss Seam] - Re: Request parameters with s:link

2007-08-16 Thread uke
Btw. I tried propagation="none", but that only stripped the conversation-related parameters from the url, leaving it with a clean viewObject.seam?id=1 as a result. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075090#4075090 Reply to the post : http://www.

[jboss-user] [JBoss Seam] - Request parameters with s:link

2007-08-16 Thread uke
then clicking the "create object"-s:link (aimed at viewObject.xhtml), the id-parameter stays put, and thus ruins the point of the link. Any way around this, or is my design just flawed from the start? Thanks uke View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Seam] - Updating one item in a datatable

2007-08-07 Thread uke
Hi! I have a list of items in a datatable. It doesn't have a backing @datamodel-variable though, because it's based on the viewed entity (through #{orderDao.instance.items}). Now I want to, say, change the amount of one of these items, without saving any changes made in the gui to the others.

[jboss-user] [JBoss Seam] - Re: Redirect based on identity-roles

2007-08-03 Thread uke
Is there a possible work-around, or should I start digging into the world of version-migrating? :) Perhaps there is a way to get identity.login to return the view-id that I want to be redirected to? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070493#40704

[jboss-user] [JBoss Seam] - Re: Redirect based on identity-roles

2007-08-03 Thread uke
Sorry about that. I should've mentioned that from the start. It's 1.2.1 GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070469#4070469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070469 ___

[jboss-user] [JBoss Seam] - Re: Redirect based on identity-roles

2007-08-03 Thread uke
Thanks for your replies. That's very similar to what I tried. Could you specify what the main difference is between these approaches? This following code gives me a "Functions not supported in expressions."-error.. | | | | |

[jboss-user] [JBoss Seam] - Redirect based on identity-roles

2007-08-01 Thread uke
Hi. Is there a neat way to declaratively send users to different pages at login, based on their roles? I tried around some in pages.xml with hasRole and page/navigation/redirect-tags, but couldn't get it to work. Regards, Sebastian View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [JBoss Seam] - Re: Changing SESSION-scoped instance in entityhome

2007-07-31 Thread uke
Thanks for your response. Sorry I haven't been able to get back to you sooner. "Putting it in the request scope" equals using request parameters throughout the page, right? Is there an easy way to do this, ie does s:link for example have an option to forward existing page parameters automaticall

[jboss-user] [JBoss Seam] - Changing SESSION-scoped instance in entityhome

2007-07-27 Thread uke
Hi! I've got a declaratively created entity-home component "fooDao". And also a factory for instances of its entity class: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068196#4068196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068196 __