On Sat, Nov 14, 2009 at 3:46 AM, Kevin <[email protected]> wrote:
> Not sure why, but I thought I had to have the action page defined the way I
> did... turns out, I can call it
>
> itdept.create.solutions  instead of action.itdept.solutions.create and it
> works like I was looking for.

Yes, you can put forms anywhere you want. They don't have to be in the
actions hierarchy. The action hierarchy only allows you to impose an
action over an other page (ie display the action) while retaining the
info of the underlying page. In creating a new solution, that may not
be necessary, but if you wanted to edit a solution, it may be.

One solution is to make your edit link like this:

[[itdept.edit.solution&mypage={p}|Edit]] then use {?mypage} for {p}.

But of course the normal

[[{p}&action=edit|Edit]] works because it uses the itdept.solutions
page as the root page which sets the skin and style sheet.

Which is why I suggested

[[{p}&action=create]] vs [[action.create]].

Both call the same action, but the first uses the skin of the local
page, the latter, the skin of the action hierarchy. This is also what
DrunkenMonk suggested. Doesn't seem like you tried that, did you?

Cheers,
Dan

P.S. I wonder if for this reason we shouldn't rewrite the markup in
the create link of the action bar to do this by default?

--

You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=.


Reply via email to