Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[FIXED] new label system no longer working for me 22 Nov 2012 23:36 #5625

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
Tested the new labelkey system earlier and it worked fine. Downloaded a new version of my projet since and now it does not seem to work any more

I am altering
<field name="coroner"
				label="MOLExxx_FIELD_CORONER"
				alias="_coroner_name"
				filter="INT"
				listKey="id"
				labelKey="surname"
				type="ckcombo"
				nullLabel="MOLExxx_JSEARCH_SELECT_CORONER"/>

in the XML form file to
<field name="coroner"
				label="MOLExxx_FIELD_CORONER"
				alias="_coroner_name"
				filter="INT"
				listKey="id"
				labelKey="<%title%> <%surname%>, <%firstname%>"
				type="ckcombo"
				nullLabel="MOLExxx_JSEARCH_SELECT_CORONER"/>

and I am getting

Fatal error: Call to a member function getFieldsets() on a non-object in /home/content/86/8981786/html/_websites/xxx.info/administrator/components/com_xxxfuneral/views/funeralitem/tmpl/funeralitem_basicdetails.php on line 22

I have tried with just <%surname%> as an experiment and get exactly the same error
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

Please Log in or Create an account to join the conversation.

Re: new <% %> label system no longer working for me 23 Nov 2012 05:33 #5626

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
I already stated that in another post, we're waiting for admin answer.

Please Log in or Create an account to join the conversation.

Re: new <% %> label system no longer working for me 26 Nov 2012 16:52 #5644

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
Anything new on this ?

Please Log in or Create an account to join the conversation.

Re: new <% %> label system no longer working for me 28 Nov 2012 13:20 #5672

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed, but...

'<%' and '%>' are not possible in XML form. It wasn't a good choice to use these chars.

So I decided to change the patterns.
use { } instead. (Much better)

<% %> are still handled for the moment in JDom.

In your example
labelKey="{title} {surname}, {firstname}"
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Re: new <% %> label system no longer working for me 28 Nov 2012 13:49 #5679

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
Thanks, will test it tonight

Please Log in or Create an account to join the conversation.

Re: new <% %> label system no longer working for me 28 Nov 2012 22:22 #5688

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
Works for me... thanks

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.072 seconds

WOW.. WOW... WOW... This is awesome... in less than 3 hours of work I have my application done... this is simply the best tool I ever tried to generate Joomla Components... Thank you very much for this tool and your answer.. it helped me a lot... My friends here in Brazil are going nuts with this...
Griiettner (Forum)

Get Started