where all those go
20:50 < Wombert> fields can have multiple error messages, remember
20:50 < impl> ohh.
20:51 < Wombert> so actually you'd need to provide only the location info for the container, and all errors would be inserted as childs there
20:51 < Wombert> that makes things complicated a little
20:51 < Wombert> or even worse :p
20:51 < Wombert> what if the container is already there
20:51 < Wombert> oh man
20:51 < impl> yes, and the container would have to have a
]]>
15:38 < Wombert> for instance
15:38 < Wombert> RossC0: it is!
15:39 < Wombert> that's the point
15:39 < Wombert> you can do it in the view as well by just setting the params into the fpf namespace
15:39 < Wombert> you can do that with all config params of the FPF
15:39 < RossC0> k
15:39 < Wombert> i.e. you could even set parse_xhtml_as_xml at runtime or so
15:39 < RossC0> ok wait
15:39 < RossC0> explain your example
15:39 -!- shoan [n=shoan@59.92.184.164] has joined #agavi
15:40 < Wombert> the xpath is matched against the erroneous element
15:40 < Wombert> in order
15:40 < RossC0> I handle checkboxes dfine
15:40 < RossC0> -d
15:40 < Wombert> yes but
15:40 < Wombert> in case your html needs to be different for a checkbox
15:42 < E_mE> it keeps executing executeRead()?!?!
15:42 < Wombert> no
15:43 < Wombert> does your form have method="post"
15:43 < RossC0> hmm
15:43 < RossC0> ok Wombert sounds cool
15:43 < Wombert> you know what I'm saying, RossC0?
15:43 < Wombert> if the element is a checkbox, then the msg is inserted without a div
15:43 < E_mE> Wombert: thanx.. .i was stupid and had type="post"
15:43 < Wombert> now here's the cool part
15:43 -!- Whisller [n=mail@194.110.240.145] has quit [Read error: 110 (Connection timed out)]
15:43 < v-dogg> guys, can I interrupt you for one second?-) I need your opinion because your are the agavi overlords: is a filter the best way to implement breadcrumbs (I need to be able to redirect the user back where he came from after the job is finished)?
15:43 < Wombert> lawl
15:43 * Wombert hugs v-dogg
15:44 < Wombert> set it in the session
15:44 < RossC0> well sounds like complication to me
15:44 < Wombert> maybe in user::startup(), v-dogg?
15:44 < v-dogg> Wombert: sure but in a filter?
15:44 < v-dogg> ah, yeah
15:44 < Wombert> and save the URL there
15:44 < RossC0> but if theres a cool part - I'm happy to see it
15:44 < RossC0> :D
15:44 < Wombert> but then you cannot have a description for it
15:44 < Wombert> RossC0: there is!
15:44 < Wombert> because
15:44 < Wombert> if FPF could not insert an error message
15:44 < Wombert> for whatever reason
15:44 < Wombert> then
15:44 < Wombert> it appends it to a request attribute
15:44 < v-dogg> Wombert: I don't need a description. I just need to be able to jump back 1-n pages
15:45 < Wombert> you can then output those above the form
15:45 < RossC0> v-dogg: session ftw!
15:45 < v-dogg> Wombert: user::startup is perfect, thanks
15:45 < Wombert> like "your passwords did not match"... does not belong to a form
15:45 < Wombert> v-dogg: with pleasure
15:45 < E_mE> mmmm... do i need to setup all types of images i Allow to upload. such as image/png, image/jpg etc?
15:46 < Wombert> ?
15:46 < RossC0> I put that imbetween the passwords :)
15:46 < RossC0> k cool
15:46 < E_mE> i uploaded: /home/wenseritj/Desktop/Lorna's Boosh Pix/p1010342.jpg
15:46 < E_mE> recievedAgaviWebRequestDataHolder Object ( [files:protected] => Array ( ) [cookies:protected] => Array ( [Agavi] => 9653aaa16f9298d7b56392db9b042d9b ) [headers:protected] => Array ( [HOST] => 192.168.0.8 [USER_AGENT] => Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty) [ACCEPT] => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 [ACCEPT_LANGUAGE] => en-us,en;q=0.5
15:46 < E_mE> [ACCEPT_ENCODING] => gzip,deflate [ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 [KEEP_ALIVE] => 300 [CONNECTION] => keep-alive [REFERER] => http://192.168.0.8/foodherbs/upload/ [COOKIE] => Agavi=9653aaa16f9298d7b56392db9b042d9b ) [uploadedFileClass:protected] => AgaviUploadedFile [sourceNames:private] => Array ( [cookies] => cookie [files] => file [headers] => header [parameters] => parameter ) [parameters:protected] => Array ( [pictureurl] => p1010342.jpg
15:46 < E_mE> [module] => foodandherbs [action] => UploadImage ) ) 1
15:46 < E_mE> opps sorry
15:47 < E_mE> says image/png,
15:47 < Wombert> ouch
15:48 < RossC0> I also had a problem with having two dates for a date range inline and then having only one el-$id to have error handling for them
15:48 < RossC0> so the question is how much configuration?
15:48 < Wombert> RossC0: dat's teh thing
15:49 < RossC0> and more importantly will it slot in for me
15:49 < E_mE> should i ignore this: [ACCEPT] => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png
15:49 < Wombert> yes
15:49 < E_mE> ok :)
15:50 < RossC0> woot
15:50 < RossC0> ok
15:52 < E_mE> how do i add extra variables to $this->context->getUser() object?
15:52 < E_mE> what should i use to be more precise
15:53 -!- shoan_ [n=shoan@59.96.47.220] has joined #agavi
15:55 < RossC0> E_mE: setAttribute
15:55 < E_mE> :)
15:57 < RossC0> well Wombert - configs I had are: error_display_inline, error_element_container, error_message_container, error_element_form_xpath, error_element_insert_postion
15:58 -!- E_mE [n=E_mE@81.168.18.2] has quit [Remote closed the connection]
15:58 -!- JamieWolf [n=JamieWol@p54AB7401.dip.t-dialin.net] has joined #agavi
15:59 < Wombert> RossC0: the idea is that for every selector, you could specify a container markup, and a message markup
16:00 < RossC0> something like:
16:00 < RossC0>