[jboss-user] [JBoss Seam] - s:link without the href? Only for the onclick

2008-02-02 Thread EricJava
Simple question here: I'm setting up my entire site in such a way that it will display pages, and the various sections of the page will have an edit button next to them. When the user clicks edit, there is a DHTML operation that transforms the static display into a form. The user can then do

[jboss-user] [JBoss Seam] - s:link-action calling restricted method

2008-01-23 Thread Toby451
I have an s:link with an action calling a method that I have annotated as: | @Restrict(#{identity.loggedIn}) | - If I am not logged in when clicking the link I am redirected to the login page, as expected. - After having logged in I am returned to the page I was coming from, as expected

[jboss-user] [JBoss Seam] - s:link + method parameter

2008-01-16 Thread w17chm4n
I`m having a problem, couse I have to use s:link but this component cannot pass the parameter to the method. The view | div id=#{cat.categoryName} class=showhide | h:dataTable styleClass=dataTable columnClasses=categoryName var=question

[jboss-user] [JBoss Seam] - s:link javascript href change problem

2008-01-03 Thread Stateless Bean
Hi, I got a href ling generated from my s:link component, whitch looks like: | a href=/Universum/pages/Galaxy.seam?cid=66actionMethod=pages%2FGalaxy.xhtml%3AalianceInfoAction.alianceInfoidAliance=37 id=Aliance1 class=change1Root/a | in this link i got param idAliance=37 and I want to

[jboss-user] [JBoss Seam] - s:link propagation

2007-11-14 Thread trickyvail
When you use a s:link tag the tag propagates long-running conversations by default. You can change it's behavior with the use of the propagation attribute: anonymous wrote : propagation - determines the conversation propagation style: begin, join, nest, none or end. Shouldn't there also be a

[jboss-user] [JBoss Seam] - s:link builds absolute path

2007-11-03 Thread emsa
s:link builds absolute paths for me, (just like this: http://jira.jboss.org/jira/browse/JBSEAM-2144) does anyone know why? thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101550#4101550 Reply to the post :

[jboss-user] [JBoss Seam] - s:link performance issues

2007-10-26 Thread dmitriy.lapko
Did anybody compared performance of s:link and h:commandLink? I traced my application and found that switching from s:link to h:commandLink produces decrease of RENDER_RESPONSE phase from 520ms to 250ms... Here is the code: s:link view-id=/item.xhtml action=#{itemManager.viewItem}

[jboss-user] [JBoss Seam] - s:link id assignment not working as expected Seam 2 CR1

2007-09-24 Thread nathandennis
it would seem that s:link id assignment is still not working as expected Seam 2 CR1. i first discovered the problem in 2 beta version download from csv around 081707. i found one tread that was discussing a simular issue with commandLink and JIRA issue said it was fixed for 2 CR1... so i

[jboss-user] [JBoss Seam] - s:link in 1.2.1GA strange work...

2007-09-20 Thread Stateless Bean
Hi, When I write: s:link value= action=# onclick=javascript:grab('1'); rendered=#{currentPerson.premium == 1} I get: | a id=_id64 href=http://localhost:8080/Universum/pages/Galaxy.seam?trajectory=2actionMethod=pages%2FGalaxy.xhtml%3AgalaxyAction.diplomacycid=5clr=true; | Why action isn't

[jboss-user] [JBoss Seam] - s:link with simultaneous action and view attributes applie

2007-09-04 Thread asookazian
Is it possible to do that? I need to pre-populate a multi checkbox (h:selectManyCheckbox) in an .xhtml page by calling a method in a SFSB first, then rendering the JSF as follows: s:link id=viewUserRoleSummary value=View User-Role Summary action=userRoleSearch.test view=/filterRoles.xhtml/

[jboss-user] [JBoss Seam] - s:link tags not being rendered

2007-08-31 Thread jbenilov
Hi, I'm working with the hibernate2 example from the Seam 2.0.0 CVS HEAD (today's). I have more or less succeeded in getting it to run on Tomcat 5.5; however my problem is that the s:link tags seem to be ignored by the Seam filter. Here is a snippet of the produced code: | div

[jboss-user] [JBoss Seam] - s:link jta - transaction, rollbackonly

2007-08-29 Thread motte1979
Hi ! Im using s:link with @DataModelSelection to delete an entity. a jsfc=s:link value=#{messages['action.delete']} action=#{labelFilter.delete}/ If i have opened two pages with the same content and simulate simultan user-action 'delete' on the same entity, i got an OptimisticLockException on

[jboss-user] [JBoss Seam] - s:link works, h:commandButton doesn't

2007-08-23 Thread dkane
Hello. ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:f=http://java.sun.com/jsf/core; |

[jboss-user] [JBoss Seam] - s:link id broken

2007-08-15 Thread Stateless Bean
Hi, I think s:link component is broken. Why when id add id to my s:link, its not rendered? when I add | s:link id=testID value= #{messages['mainPage.testFive']} action=/Help.xhtml styleClass=h1 style=color: gold; / | then I get: | a

[jboss-user] [JBoss Seam] - s:link EL bug, seam-2.0.0.BETA1

2007-08-08 Thread msznapka
Hello, i moved my project to seam-2.0.0.BETA1, because of great new jboss-el PROBLEM: i am looping over conversation scoped array and generating links with action with integer parameter: | ui:repeat value=#{someArray} var=item | h:commandLink action=#{util.action(item.id)} .../ |

[jboss-user] [JBoss Seam] - s:link page parameters and performance

2007-07-25 Thread dustismo
I have been doing most of the navigation of my site using s:link and page parameters. Now I am doing profiling and realize that every page parameter is evaluated in its backing bean! Ack.. So for every s:link I use; the backing bean is created and the params evaluated (so basically EVERY

[jboss-user] [JBoss Seam] - s:link adds page parameters into URL automatically?

2007-06-21 Thread azalea
Hi, s:link seems to add page parameters into URL automatically. Is this right? | s:link view=/DepartmentList.xhtml value=Department List propagation=none/ | For example, this s:link tag created the following URL: http://localhost:8080/myseam/DepartmentList.xhtml?order=name+desc order is

[jboss-user] [JBoss Seam] - s:link does not work in rich:tree

2007-06-19 Thread deved
Hi all. I'm using the rich:tree component. Here is the code: rich:tree switchType=ajax value=#{menu.tree} | var=item nodeFace=#{item.type} | rich:treeNode type=none | h:outputText value=#{item.text} / |

[jboss-user] [JBoss Seam] - s:link and expression language #{}

2007-06-12 Thread tkalactomo
I have a tomahawk tree component which I'm trying to use as a navigator for my applicationThis tree component uses as value my katalog.katalog which is my type of implementation of treenode.I did that because i need one more proprety to get one more value besides, description and

[jboss-user] [JBoss Seam] - s:link: how to disable page parameter propagation

2007-05-10 Thread hstang
Is there a way to disable s:link/s:button transparent page parameter propagation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044755#4044755 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044755

[jboss-user] [JBoss Seam] - s:link

2007-05-07 Thread KoniKoni
There are like titel attribute in s:link? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043586#4043586 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043586 ___ jboss-user

[jboss-user] [JBoss Seam] - s:link/s:button in RichFaces or Trinidad

2007-05-01 Thread straubp
Hi all, I have a table with a button in each row to open the details. | t:dataTable value=#{listManager.dataModel} var=item rowIndexVar=idx | ... | h:column | f:facet name=header | h:outputText value=Details / | /f:facet | s:button

[jboss-user] [JBoss Seam] - s:link invoking page action for CURRENT page during postback

2007-04-30 Thread JohnEChesher
Scenario: Page A contains an s:link to go to page B. Page A has a page action defined in pages.xml. From Page A, when I click on the s:link to go to Page B, it invokes the page action for Page A before redirecting to Page B. I have this scenario in multiple instances within my application.

[jboss-user] [JBoss Seam] - s:link and page action

2007-04-25 Thread sradford
Hi, I have a page 'index.xhtml' with a page action defined in pages.xml. On this page I have a s:link with an action that starts a conversation and a pageflow, redirecting to another page, 'pageA.xhtml'. Now when I click the link the page action is invoked as the link is directed towards

[jboss-user] [JBoss Seam] - s:link fragment

2007-04-12 Thread heinzw
Hello, I try to use s:link with a fragment identifier, but it dosent work. s:link fragment=#{var.id}/ Have you any idea? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4036628#4036628 Reply to the post :

[jboss-user] [JBoss Seam] - s:link bug?

2007-03-23 Thread waynebagguley
I've got a h:datatable like this: | h:dataTable value=#{jobListHandler.jobList} var=jobStore | Nested inside are some h:column elements as you'd expect. I want to include an s:link in one of the columns but before I did that I noticed that 'jobListHandler.jobList' was getting called

[jboss-user] [JBoss Seam] - s:link

2007-01-23 Thread lightbulb432
Does s:link always output a lot of text as its rendered HTML? Is there any way to get rid of this to result in more friendly URLs? (e.g. put that stuff in hidden form fields or something) I noticed the outputted URL has lots of parameters like actionMethod, dataModelSelection...out of

[jboss-user] [JBoss Seam] - s:link and nested propagation not working

2006-12-31 Thread hstang
I am trying to start a new nested conversation using | s:link view=/a.xhtml propagation=nest value=Go to A/ | but I am getting an exception (see below). But the exception disappears if I start a nested conversation in an action method. So, it'll work if I re-write with the following:

[jboss-user] [JBoss Seam] - s:link dataModelSelection parm missing when in t:columns

2006-12-24 Thread pdpantages
Hello Seamers, Merry Christmas to all. I am using seam 1.0.1.GA, ajax4jsf 1.0.2, Jboss 4.0.4.GA I have another s:link question. This time, I am trying to render an s:link inside a table, using the t:columns mechanism. Everything works as expected, except that the dataModelSelection is mssing

[jboss-user] [JBoss Seam] - s:link missing conversationId, sometimes

2006-12-18 Thread pdpantages
Fyi, Using Seam 1.0.1GA, ajax4jsf 1.0.2, Jboss 4.0.4.GA Hello Seamers, I have a question about rendering of s:link. I have a simple icon that I use an s:link with; | t:div styleClass=icontool |s:link | title=Create a new scheduled trigger |

[jboss-user] [JBoss Seam] - s:link linkStyle is now throwing a not in TLD expression?

2006-12-16 Thread SmokingAPipe
I'm using Seam 1.1.0 GR. All my pages that used to have linkStyle attributes in them are no longer working since I switched from CR2 to GR. Surely this is a bug in the TLD file? It's no big deal; buttons and links are both fine in my usage here, but I'm wondering. View the original post :

[jboss-user] [JBoss Seam] - s:link action attribute

2006-12-13 Thread petemuir
The action attribute of s:link seems to no longer take a String (but a MethodBinding) which means its not possible to specify an JSF outcome when using s:link. Is it possible for it to be changed back or for there to be an outcome attribute or similar? View the original post :

[jboss-user] [JBoss Seam] - s:link and JavaScript

2006-11-30 Thread dahm
Hello, I've got a problem using the s:link tag. I'm using it in a data table just like in the examples | h:dataTable var=v value=#{mydata} | ... | h:column |s:link value=Delete action=#{listAction.delete linkStyle=button | onclick=javascript:return confirm('Do you really want

[jboss-user] [JBoss Seam] - s:link cannot understand Facelets params?

2006-11-09 Thread bfo81
Yes, I'm back *g*. Simplified scenario: I'm using a template for data tables listing entities with an edit link at the end of each row. The concrete list entries and the editor bean are put into the template via ui-params. The list template: h:dataTable

[jboss-user] [JBoss Seam] - s:link... / - how to generate links?

2006-10-02 Thread superfis
Hello, I'm wandering how to generate links using s:link / tag in loop. I've got object with method returning List of URLs. I had prepared s:link tag to achieve view={$...} parameter functionality, but it's uncomfortable for a long distans, so I decided to return to original library. Because

[jboss-user] [JBoss Seam] - s:link does not apply the form values to my bean

2006-08-07 Thread armita
I have just created a simple application using the reveng tool, and I wanted to try s:link on a page. But when the form submits, the values of the request does not come in my bean. Could anybody know what is the problem? I tried using commandLink also but the famous bug makes it not call the

[jboss-user] [JBoss Seam] - s:link exceptions

2006-08-01 Thread jason_rency
when rendering a new page with a s:link, the page can be rendered successfully but with following exceptions. any idea? thanks 13:51:10,275 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) afterPhase | java.lang.IllegalStateException: No active application scope |

[jboss-user] [JBoss Seam] - s:link does not work after JBoss restart

2006-07-26 Thread chane
On a results screen I use the s:link tag in a table. The results screen is generated from a SFSB with ScopeType.EVENT. When the user clicks on the s:link / action, a new screen opens up from another SFSB with ScopeType.CONVERSATION. This works great until JBoss is restarted. Once restarted,

[jboss-user] [JBoss Seam] - s:link view=

2006-07-21 Thread superfis
Hello, I'm looking for solution which could give me a posibility like this: s:link view=#{...} / Every next step in my wizard depends on user choices made on current wizard-site. I've modified HtmlLink.java a bit to achieve this functionality but it's workaround only. Gavin, could it be