[JBoss Seam] - Restrict
by tony.herstellï¼ gmail.com
In my pages file i have this:
| <page view-id="/userRegistration.xhtml">
| <restrict>#{!identity.loggedIn}</restrict>
| </page>
|
| <page view-id="/userFind.xhtml">
| <restrict>#{identity.loggedIn}</restrict>
| </page>
| <page view-id="/userCRUD.xhtml">
| <restrict>#{identity.loggedIn}</restrict>
| </page>
| <page view-id="/userConfirm.xhtml">
| <restrict>#{identity.loggedIn}</restrict>
| </page>
|
| <page view-id="/organisationFind.xhtml">
| <restrict>#{identity.loggedIn}</restrict>
| </page>
| <page view-id="/organisationCRUD.xhtml">
| <restrict>#{identity.loggedIn}</restrict>
| </page>
| <page view-id="/organisationConfirm.xhtml">
| <restrict>#{identity.loggedIn}</restrict>
| </page>
|
| <page view-id="/upload.xhtml">
| <restrict>#{identity.loggedIn}</restrict>
| </page>
|
Now I have facelets template page parts and want to stop people accessing this page, ever! as its sucked into other pages.
e.g.
userFieldsNonEditable.xhtml
is there a way to do this?
| <page view-id="/userFieldsNonEditable.xhtml">
| <restrict/>
| </page>
|
seems the obvious choice, but that is already used for something else (that I haven't figured out from the doco yet; but hopefully will when I look at drools I guess)
anonymous wrote :
| By default, if a value is not provided for the restrict element, an implied permission of {viewId}:render will be checked for whenever accessing that page.
|
Anyhow, is there a way?
| <page view-id="/userFieldsNonEditable.xhtml">
| <restrict>always</restrict>
| </page>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016659#4016659
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016659
19Â years, 2Â months
[JBoss Seam] - Re: duplicate id error using ICE data paginator - need help
by tony.herstellï¼ gmail.com
This works for my page.
See if adding in the other parameters kicks it into life.
Have you psoted this on the icefaces forum ( they were really helpful to us Seamies.. gone a bit quiet now as hopefully they are getting a new release out for us :) )
| <ice:dataPaginator id="organisationsTablePaginatorComponentIcons"
| for="organisationsTableComponent"
| fastStep="10"
| pageCountVar="pageCount"
| pageIndexVar="pageIndex"
| paginator="true"
| paginatorMaxPages="9">
|
| <f:facet name="first" >
| <ice:graphicImage url="./xmlhttp/css/xp/css-images/arrow-first.gif" style="border:none;"/>
| </f:facet>
|
| <f:facet name="last">
| <ice:graphicImage url="./xmlhttp/css/xp/css-images/arrow-last.gif" style="border:none;" />
| </f:facet>
|
| <f:facet name="previous">
| <ice:graphicImage url="./xmlhttp/css/xp/css-images/arrow-previous.gif" style="border:none;" />
| </f:facet>
|
| <f:facet name="next">
| <ice:graphicImage url="./xmlhttp/css/xp/css-images/arrow-next.gif" style="border:none;" />
| </f:facet>
|
| <f:facet name="fastforward">
| <ice:graphicImage url="./xmlhttp/css/xp/css-images/arrow-ff.gif" style="border:none;" />
| </f:facet>
|
| <f:facet name="fastrewind">
| <ice:graphicImage url="./xmlhttp/css/xp/css-images/arrow-fr.gif" style="border:none;" />
| </f:facet>
|
| </ice:dataPaginator>
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016652#4016652
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016652
19Â years, 2Â months