Hi Pete,
(this may be totally wrong now because I still don't really understand jsf, but)
I'd like to change what's included dynamically. My webapp should be multidomain/multilingual in a way that I can say: includeTemplate( 'article' ) and depending on my context it would include e.g. "article_page1_en_US_top.jsf".
I'm sorry if this is a trivial problem in jsf which I simply didn't understand but I'm trying to evaluate if I can use jsf/seam/ejb3 for my project while I haven't worked with neither of them by now.
Regards,
Florian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072609#4072609
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072609
Ah ha.. very cool. So I have to do it "manually".. Never thought of that..
Ok, one small problem which you alluded to: i can't see the link. I had to encompass the h:commandLink in a form (otherwise it would not deploy. The code now looks like:
<h:form>
| <h:column>
| <f:facet name="header">Calendar</f:facet>
| <h:commandLink action="#{uploadWorkout.selectAthlete(athlete)}">
| <h:outputText value="Calendar"/>
| </h:commandLink>
| </h:column>
| </h:form>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072608#4072608
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072608
I'm using a pojo webservice on JBoss 4.0.5.GA with JBossWS 1.2.1GA installed over the prepackaged JBossWS libs. With the JBossWS 1.0.1 that comes with
Jboss 4.0.5 my webservice works fine but with JBossWS 1.2.1 all WebParams are set to the string "null". Unfortunately, I need to use JBossWS 1.2.1 for some other functionality.
the following webservice returns "null_test" when invoked.
this looks like a configuration problem but I haven't been able to nail it down.
| @Stateless()
| @WebService( name = "TestWebService", targetNamespace = http://ws.test.com/", serviceName = "TestWebService")
| public class TestWebService {
| @WebMethod
| public String testit(@WebParam(name="instring" ) String instring) {
| return instring+"_test";
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072606#4072606
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072606
Hi,
I'm trying to secure a portal page so that it requires login with the role "Authenticated" that JBoss Portal 2.6.1 comes with. I've followed the instructions on the JBoss Portal Reference Manual http://docs.jboss.com/jbportal/v2.6/referenceGuide/html/security.html
However, I'm unable to secure access to the portal page. This is what I have done so far:
In my portal-object.xml:
| <?xml version="1.0" encoding="UTF-8"?>
| <deployments>
| <deployment>
| <if-exists>overwrite</if-exists>
| <parent-ref>default</parent-ref>
| <properties/>
|
| <page>
| <page-name>My Portal</page-name>
| <window>
| <window-name>MyPortletPageWindow</window-name>
| <instance-ref>MyPortletInstance</instance-ref>
| <region>center</region>
| <height>0</height>
| </window>
|
| <security-constraint>
| <policy-permission>
| <role-name>Authenticated</role-name>
| <action-name>view</action-name>
| </policy-permission>
| </security-constraint>
| </page>
| </deployment>
| </deployments>
|
Can someone please point out what I'm missing or if there is an extra step involved?
Thanks,
Nitesh
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072602#4072602
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072602