Re: Not seeing .css or images

Splash Forums Rewrite Users Not seeing .css or images Re: Not seeing .css or images

#22182

Tony Herstell
Participant

Yes it worked (especially when I put ALL my resources in the right place)

:)

Now since I heavilly reuse a page:

/pages/users/CRUDUser.xhtml

I need to dig into what available to see if I can find which of these is actually the page useage so I can just allow though Register…

//Tell prettyfaces to use this bean when the pattern matches and show the manageUsers page. Also support a Query Param (cid).

@URLMappings(mappings = { @URLMapping(id = "manageUsers", pattern = "/users/manage", viewId = "/pages/users/manageUsers.xhtml"),
@URLMapping(id = "registerUser", pattern = "/users/register", viewId = "/pages/users/CRUDUser.xhtml"),
@URLMapping(id = "createUser", pattern = "/users/create", viewId = "/pages/users/CRUDUser.xhtml"),
@URLMapping(id = "readUser", pattern = "/users/view", viewId = "/pages/users/CRUDUser.xhtml"),
@URLMapping(id = "updateUser", pattern = "/users/update", viewId = "/pages/users/CRUDUser.xhtml"),
@URLMapping(id = "deleteUser", pattern = "/users/delete", viewId = "/pages/users/CRUDUser.xhtml") })

I have conversation scoped data which tells the page which way to render the page:

private CRUDMode cRUDMode;
private CreateMode createMode; // CREATE OR REGISTER

I figure SOMETHING will be available for me to set the rule against.

;)