This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.webfirmframework.samplecode.component; | |
import com.webfirmframework.wffweb.tag.html.attribute.event.mouse.OnClick; | |
import com.webfirmframework.wffweb.tag.html.formsandinputs.Button; | |
import com.webfirmframework.wffweb.tag.html.stylesandsemantics.Div; | |
import com.webfirmframework.wffweb.tag.htmlwff.TagContent; | |
public class GetGeolocationExample extends Div { | |
public GetGeolocationExample() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.webfirmframework.wffweb.tag.html.AbstractHtml; | |
import com.webfirmframework.wffweb.tag.html.attribute.AttributeNameConstants; | |
import com.webfirmframework.wffweb.tag.html.attribute.Value; | |
import com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute; | |
import com.webfirmframework.wffweb.tag.html.attribute.event.form.OnChange; | |
import com.webfirmframework.wffweb.tag.html.formsandinputs.Input; | |
public class StatefulInput extends Input { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.webfirmframework.wffweb.tag.html.Body; | |
import com.webfirmframework.wffweb.tag.html.Html; | |
import com.webfirmframework.wffweb.tag.html.TitleTag; | |
import com.webfirmframework.wffweb.tag.html.attribute.global.Id; | |
import com.webfirmframework.wffweb.tag.html.metainfo.Head; | |
import com.webfirmframework.wffweb.tag.html.stylesandsemantics.Div; | |
import com.webfirmframework.wffweb.tag.htmlwff.NoTag; | |
import com.webfirmframework.wffweb.tag.repository.TagRepository; | |
public class RootTagOnTagUsage { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Collection; | |
import com.webfirmframework.wffweb.tag.html.Body; | |
import com.webfirmframework.wffweb.tag.html.Br; | |
import com.webfirmframework.wffweb.tag.html.Html; | |
import com.webfirmframework.wffweb.tag.html.TagNameConstants; | |
import com.webfirmframework.wffweb.tag.html.TitleTag; | |
import com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute; | |
import com.webfirmframework.wffweb.tag.html.attribute.global.Id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.logging.Logger; | |
import com.webfirmframework.wffweb.tag.html.AbstractHtml; | |
import com.webfirmframework.wffweb.tag.html.Br; | |
import com.webfirmframework.wffweb.tag.html.attribute.Checked; | |
import com.webfirmframework.wffweb.tag.html.attribute.Name; | |
import com.webfirmframework.wffweb.tag.html.attribute.Type; | |
import com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute; | |
import com.webfirmframework.wffweb.tag.html.attribute.event.ServerAsyncMethod; | |
import com.webfirmframework.wffweb.tag.html.attribute.event.form.OnSubmit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This file is contributed by one of the wffweb users but he doesn't like to publish his name. | |
*/ | |
import java.util.Arrays; | |
import java.util.HashSet; | |
import java.util.Set; | |
import com.webfirmframework.wffweb.css.FontFamily; | |
import com.webfirmframework.wffweb.css.FontStyle; | |
import com.webfirmframework.wffweb.css.FontWeight; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2014-2016 Web Firm Framework | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
box-sizing: border-box; | |
padding: 0px 20px; | |
} | |
*, | |
*:before, | |
*:after { | |
box-sizing: inherit; | |
padding: 20px; | |
font-family: "Open Sans", sans-serif; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Set; | |
import com.webfirmframework.wffweb.css.BackgroundColor; | |
import com.webfirmframework.wffweb.css.Border; | |
import com.webfirmframework.wffweb.css.BorderBottom; | |
import com.webfirmframework.wffweb.css.BorderTop; | |
import com.webfirmframework.wffweb.css.Bottom; | |
import com.webfirmframework.wffweb.css.Clear; | |
import com.webfirmframework.wffweb.css.Color; | |
import com.webfirmframework.wffweb.css.CssLengthUnit; |