adminfaces / admin-starter Goto Github PK
View Code? Open in Web Editor NEWhttps://adminfaces.github.io/admin-starter/
https://adminfaces.github.io/admin-starter/
<f:view locale="..">
is traditionaly used for multilanguage application. It would be nice if adminfaces has support for it.
Suggestion: use bean localeManager as in https://stackoverflow.com/questions/5388426/jsf-2-0-set-locale-throughout-session-from-browser-and-programmatically
See adminfaces/admin-template#75 for details.
see AdminLTE control sidebar.
PS: It is already integrated in Admin Showcase.
<h:form>
<p:focus context="@Form"/>
<p:ajax event="rowSelectCheckbox" update="@(.ui-button, .ui-confirm-dialog)" listener="#{schAttListMB.onChecked(c.opno)}"/>
<p:ajax event="rowUnselectCheckbox" update="@(.ui-button, .ui-confirm-dialog)" listener="#{schAttListMB.onChecked(c.opno)}"/>
<p:ajax event="rowSelect" update="@(.ui-button, .ui-confirm-dialog)"/>
<p:ajax event="rowUnselect" update="@(.ui-button, .ui-confirm-dialog)"/>
<!-- Teachers ID Column -->
<p:column headerText="ID #" width="5%" filterBy="#{c.opno}" sortBy="#{c.opno}"
filterMatchMode="contains">
<f:facet name="filter">
<p:autoComplete value="#{schAttListMB.filter.entity.opno}" forceSelection="true"
minQueryLength="2" queryDelay="500" dropdown="true"
completeMethod="#{schAttListMB.completeModelOpno}" maxResults="10">
<p:ajax event="itemSelect" process="@this" update="@none"
oncomplete="PF('patientsTable').filter()"/>
</p:autoComplete>
</f:facet>
<p:link value="#{c.opno}" >
<f:param name="opno" value="#{c.opno}"/>
</p:link>
</p:column>
<!-- End Teachers ID Column -->
<p:column headerText="Present" selectionMode="multiple" styleClass="align-center" sortBy="#{c.status}"/>
<p:column headerText="Absent" selectionMode="multiple" styleClass="align-center" sortBy="#{c.status}"/>
</p:dataTable>
</div>
</div>
</h:form>
The demo with primefaces 6.2 show this error The import org.primefaces.model.LazyDataModel cannot be resolved.
The demo work with primefaces 6.1
How can I modify "content-header" section in template ?
I want to add an img/icon to page description, and change font size.
replace
package com.github.adminfaces.showcase.bean;
by
package com.github.adminfaces.starter.bean;
Hi, working on a vanilla clone, I've set Primefaces to v. 11.0.0 and it breaks the app.
Moreover, it seems that even v. 10.0.0 isn't working as expected, out-of-the box because apparently the newer versions (after 8) have different requirements for LazyDataModel() - see load() method signature in CarListMB:
old (working):
public List<Car> load(int first, int pageSize,
String sortField, SortOrder sortOrder,
Map<String, FilterMeta> filters){...}
new (expected):
@Override
public List<Car> load(int first, int pageSize, Map<String, SortMeta> map,
Map<String, FilterMeta> map1) {...}
Hi,
I'm using AdminStarter Project.
In order to implement password recovery on login, how can I by-pass AdminSession.isLoggedIn mechanism ?
I need to link from login page to an external page (passwordRecovery.xhtml) without user is logged.
But I am always redirected to login page.
Add minimum requirements for PWAs.
Hi,
if I switch to another page on the car table, the loading animation does not disappear. As it seems to be defined in the admin template itself, I'm not sure how to modify it.
Sorry and thank you
Hi, I need to set !important in my css to overwrite theme.css rules or others .
I put my css include in template.xhtml below your starter.css include.
It's possible to set css in other places in order to have a better priority, so I can remove !important ?
Here you can see Firefox debugger that shows where is my css rule in the page:
Can you please change the (div id="content") element that exist in the admin-template-1.0.0-RC20.jar "admin.xhtml" to support update with primeface JSF component ?
Hi,
Is RTL page direction supported?
Regards,
create a maven archetype from starter project
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.