Semantic Forms Inputs 0.2 released

View: New views
4 Messages — Rating Filter:   Alert me  

Semantic Forms Inputs 0.2 released

by Stephan Gambke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I put Semantic Forms Inputs 0.2 online.

Changes:
    * added input type combobox
    * loadpath of css files fixed (patch by Joel Natividad - thanks!)
    * columns of datepicker should all have same width now
    * datepicker can now be used inline (no forced block mode anymore)

The combobox lets a user either insert a value into an input field or
pop up a list of values to choose from. The list of values is narrowed
down when the user starts typing. Basically it behaves like the
autocompletion except it has a button to pop up the list of values
explicitly.

See the full documentation at
http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs

Stephan Gambke

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: Semantic Forms Inputs 0.2 released

by Philipp Zaltenbach :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stephan,

I have played a little bit with your extension and have some remarks.
1) Do you plan to add a timepicker? This would be a useful complement to
the datepicker, because when you want to input a date together with a
time (for one property), one needs to stick with SF's input type=datetime.

2) Another thing that would be helpful is the support for preloading
fields. Most obvious would be to support something like
{{{field|Start date|input type=datepicker|default=now}}} similar to the
"default" parameter in SF.

Regards,
Philipp

Stephan Gambke schrieb:

> I put Semantic Forms Inputs 0.2 online.
>
> Changes:
>     * added input type combobox
>     * loadpath of css files fixed (patch by Joel Natividad - thanks!)
>     * columns of datepicker should all have same width now
>     * datepicker can now be used inline (no forced block mode anymore)
>
> The combobox lets a user either insert a value into an input field or
> pop up a list of values to choose from. The list of values is narrowed
> down when the user starts typing. Basically it behaves like the
> autocompletion except it has a button to pop up the list of values
> explicitly.
>
> See the full documentation at
> http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs
>
> Stephan Gambke
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@...
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>  

--
Professional Services
ontoprise GmbH - know how to use Know-how
- - -
ontoprise has become a Microsoft Certified Partner:
http://www.ontoprise.de/en/home/news/news-en/microsoft-certified-partner/
- - -
An der RaumFabrik 29; 76227 Karlsruhe; Germany
Tel.: +49 721 509809 0; Fax: +49 721 509809 11
eMail: zaltenbach@...; www: http://www.ontoprise.de
Sitz der Gesellschaft: Amtsgericht Mannheim, HRB 109540
Geschäftsführer: Prof. Dr. Jürgen Angele, Dipl.Wi.-Ing. Hans-Peter Schnurr


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: Semantic Forms Inputs 0.2 released

by Neill Mitchell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

I think the datepicker does default to today's date as it is. In fact, I
would like to be able to set it not to do it! The problem is if you edit
an existing page that has an older date. When you click on the
datepicker it opens up showing the current date rather than the one that
is set in the property.

Also, if the page content is less than the height of the datepicker
calendar, it gets truncated. I've had to add <br>'s into such pages to
ensure the calendar fully displays.

Well done on a great extension though, it's good stuff! :)

Cheers
Neill.
Philipp Zaltenbach wrote:

> Hi Stephan,
>
> I have played a little bit with your extension and have some remarks.
> 1) Do you plan to add a timepicker? This would be a useful complement to
> the datepicker, because when you want to input a date together with a
> time (for one property), one needs to stick with SF's input type=datetime.
>
> 2) Another thing that would be helpful is the support for preloading
> fields. Most obvious would be to support something like
> {{{field|Start date|input type=datepicker|default=now}}} similar to the
> "default" parameter in SF.
>
> Regards,
> Philipp
>
> Stephan Gambke schrieb:
>  
>> I put Semantic Forms Inputs 0.2 online.
>>
>> Changes:
>>     * added input type combobox
>>     * loadpath of css files fixed (patch by Joel Natividad - thanks!)
>>     * columns of datepicker should all have same width now
>>     * datepicker can now be used inline (no forced block mode anymore)
>>
>> The combobox lets a user either insert a value into an input field or
>> pop up a list of values to choose from. The list of values is narrowed
>> down when the user starts typing. Basically it behaves like the
>> autocompletion except it has a button to pop up the list of values
>> explicitly.
>>
>> See the full documentation at
>> http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs
>>
>> Stephan Gambke
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Semediawiki-user mailing list
>> Semediawiki-user@...
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>>  
>>    
>
>  


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Re: Semantic Forms Inputs 0.2 released

by Stephan Gambke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Philipp & Neill.

Philipp Zaltenbach wrote:
> I have played a little bit with your extension and have some remarks.
> 1) Do you plan to add a timepicker? This would be a useful complement to
> the datepicker, because when you want to input a date together with a
> time (for one property), one needs to stick with SF's input type=datetime.

It's on my list but right now I'm a bit busy, so better don't hold your
breath on it. The workaround I employ right now is making the input
field editable and attaching a regexp to check it. This way the user can
first select a date and then manually add the time. Pretty crude,
granted. Another idea would be to use two dropdown boxes (hours,
minutes) and assemble it all in the template.
How should a timepicker look like anyway? The two-dropdowns-solution
might work alright, but it seems like a lot of pointing and clicking to
me. Any suggestions for something simpler?


> 2) Another thing that would be helpful is the support for preloading
> fields. Most obvious would be to support something like
> {{{field|Start date|input type=datepicker|default=now}}} similar to the
> "default" parameter in SF.

That should be easy. I'll include it with the next version.

Neill: The calendar opens showing the current date but it should not
change the content of the input box, so if you open the calendar and
click somewhere outside of it it should just close and leave any value
already present in the input field intact.
The problem with opening the calendar at the correct date as shown in
the input field is, that the calendar would have to parse that date. Add
the date format parameter and it becomes quite complex. In the end I
chickened out and did the next best thing: Open the calendar at the
current date. Does anybody know a ready-made javascript function for
parsing dates of an arbitrarily set format?

Stephan.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@...
https://lists.sourceforge.net/lists/listinfo/semediawiki-user