Sign in

E-mail *, (xx@domain.com)
Password *

Register | Forgot password

wm-user-authorization

The "WCB: JSP front-end design" forum contains threads on issues that are related to JSP front-end design while programming a WCB (WebManager Component Bundle). The Presentation & Element component contain JSPs that will be used for front-end rendering. Ask your questions related to these JSPs here. Some example topics: integration of AJAX, use of the taglibs, how to handle multiple websites, and so forth.

Answered
Not marked as answered yet

Forums  >  WCB: JSP Front-end design  >  wm-user-authorization


Author wm-user-authorization
bartvandijk



Posts: 11

Posted: 13-04-2010 17:48

I am trying to make af few changes on the forum page concerning the login needed for the forum.

The idea is to create a new page presentation which checks if a user is logged in. If he/she is logged in a page section to log off will be displayed. If not logged in a page section to log in.

When I browsed through page_forum.jsp from the forum.jar I found <wm-user-authorization mode="loggedon">.

My question....
Is there en mode="loggedoff" or something like that?

Greetings, Bart

williamb



Posts: 310

Posted: 13-04-2010 22:36 Solved

Hi Bart,

I'm not sure if there exists such a XSL for the forum, but I can hand you over a more generic approach on how to find it:

- Search in the WCB for an XSL file that contains wm-user-authorization, check the logic in that XSL-template to see if mode="loggedon" exists.
- If it's not in the WCB, it might also be in GX WebManager in the 'personalization'-panel.
Or
- Use ?xsldebug=true to see all the XSL-file that your XML is translated on.

If it isn't there yet, you can always just create it yourself. All you need for that is in those XSL files already :).

Back to top

New message: "wm-user-authorization"
Message:
bold boitalicd underline url quote code smile cool eek grin mad razz sad wink
 
© 2012 GX Software B.V.

Disclaimer

This website (Connect.gxsoftware.com) may discuss or contain opinions, (sample) coding, software or other information that does not include GX official interfaces, instructions or guidelines and therefore is not supported by GX. Changes made based on this information are not supported.  GX will not be held liable for any damages caused by using or misusing the information, software, instructions, code or methods suggested on this website, and anyone using these methods does so at his/her own risk. GX offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this website, including any liability resulting from incompatibility between the content of this website and the materials and services offered by GX. By using this website you will not hold, or seek to hold, GX responsible or liable with respect to the content of this website.