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
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
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
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
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
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 :
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}
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
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
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/
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
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
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;
|
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
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)} .../
|
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
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
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} /
|
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
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
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
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
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.
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
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 :
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
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
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:
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
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
|
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 :
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 :
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
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
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
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
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
|
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,
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
39 matches
Mail list logo